grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 00/15] Add missing SPARC support


From: Eric Snowberg
Subject: [PATCH 00/15] Add missing SPARC support
Date: Wed, 29 Jun 2016 14:43:13 -0700

First set of patches to add sun4v SPARC support to grub.

Major additions include:

* Properly scan for both SAS and SCSI disks
* Increasing boot performance
* GPT support
* NVMe support
* Various bug fixes

Before this patch, there isn’t a single SAS HBA that was enumerated correctly 
on SPARC. I went back 10 years and believe I have added every HBA with OF 
support.

Without these patches, on larger systems, it took 15+ minutes to get
to the grub menu.  Now it takes about a second.

This code has been tested on T1, T2, T4, T5, and T7 hardware.

Eric Snowberg (15):
  sparc64: fix OF path names for sun4v systems
  sparc64: Add blocklist GPT support for SPARC
  grub-install: fix memory leak
  sparc64: Use the correct disk name in core.img
  ieee1275: fix segfault in grub-ofpathname
  ieee1275: add nvme support within ofpath
  ofdisk: memory corruption fix
  ofdisk: move open logic
  ieee1275: ofdisk - don't continue to query block-size after we have
    it
  ofdisk: refactor open logic
  sparc64: boot performance improvements
  ofdisk: only add aliases that exist
  sparc64: add disks that don't have a devalias to the device list
  parser: Remove escape from the state transitions
  sparc64: ignore hypervisor reboot memory block device

 grub-core/disk/ieee1275/ofdisk.c           |  499 +++++++++++++++++++++++++---
 grub-core/kern/ieee1275/cmain.c            |    8 +
 grub-core/kern/ieee1275/ieee1275.c         |   88 +++++
 grub-core/kern/parser.c                    |    1 -
 grub-core/kern/sparc64/ieee1275/ieee1275.c |  111 ++++++
 grub-core/osdep/linux/blocklist.c          |    5 +
 grub-core/osdep/linux/ofpath.c             |  208 ++++++++++++-
 include/grub/emu/getroot.h                 |    2 +
 include/grub/ieee1275/ieee1275.h           |   13 +
 include/grub/sparc64/ieee1275/ieee1275.h   |    4 +
 util/grub-install.c                        |   14 +
 util/ieee1275/grub-ofpathname.c            |    4 +-
 util/probe.c                               |    2 +-
 util/setup.c                               |   12 +-
 14 files changed, 910 insertions(+), 61 deletions(-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]