Add missing SPARC support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest15 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | sparc64: fix OF path names for sun4v systemsgrub-core/ | +160 | 0 replies | |
| 2/15 | sparc64: Add blocklist GPT support for SPARCgrub-core/ util/ | +14 | 5 replies | |
| 3/15 | grub-install: fix memory leakutil/ | +1 | 0 replies | |
| 4/15 | sparc64: Use the correct disk name in core.imginclude/ util/ util/ | +16 | 0 replies | |
| 5/15 | ieee1275: fix segfault in grub-ofpathnameutil/ | +3 | 0 replies | |
| 6/15 | ieee1275: add nvme support within ofpathgrub-core/ | +46 | 0 replies | |
| 7/15 | ofdisk: memory corruption fixgrub-core/ | +13 | 0 replies | |
| 8/15 | ofdisk: move open logicgrub-core/ | +14 | 0 replies | |
| 9/15 | ieee1275: ofdisk - don't continue to query block-size after we have itgrub-core/ | +13 | 0 replies | |
| 10/15 | ofdisk: refactor open logicgrub-core/ | +29 | 0 replies | |
| 11/15 | sparc64: boot performance improvementsgrub-core/ grub-core/ include/ | +22 | 0 replies | |
| 12/15 | ofdisk: only add aliases that existgrub-core/ grub-core/ grub-core/ +3 more | +440 | 0 replies | |
| 13/15 | sparc64: add disks that don't have a devalias to the device listgrub-core/ | +144 | 0 replies | |
| 14/15 | parser: Remove escape from the state transitionsgrub-core/ | +0 | 0 replies | |
| 15/15 | sparc64: ignore hypervisor reboot memory block devicegrub-core/ grub-core/ include/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/15] Add missing SPARC support
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(-)