grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: Eric Snowberg <eric.snowberg@oracle.com>
To: grub-devel@gnu.org
Cc: Eric Snowberg <eric.snowberg@oracle.com>
Subject: [PATCH 00/15] Add missing SPARC support
Date: Wed, 29 Jun 2016 14:43:13 -0700	[thread overview]
Message-ID: <cover.1467232724.git.eric.snowberg@oracle.com> (raw)

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	other threads:[~2016-06-29 21:45 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-29 21:43 Eric Snowberg [this message]
2016-06-29 21:43 ` [PATCH 01/15] sparc64: fix OF path names for sun4v systems Eric Snowberg
2016-06-29 21:43 ` [PATCH 02/15] sparc64: Add blocklist GPT support for SPARC Eric Snowberg
2017-05-10 22:42   ` Vladimir 'phcoder' Serbinenko
2017-05-10 23:20     ` Eric Snowberg
2017-05-11  0:37       ` Vladimir 'phcoder' Serbinenko
2017-05-11  0:40         ` Vladimir 'phcoder' Serbinenko
2017-05-11  2:05           ` Eric Snowberg
2016-06-29 21:43 ` [PATCH 03/15] grub-install: fix memory leak Eric Snowberg
2016-06-29 21:43 ` [PATCH 04/15] sparc64: Use the correct disk name in core.img Eric Snowberg
2016-06-29 21:43 ` [PATCH 05/15] ieee1275: fix segfault in grub-ofpathname Eric Snowberg
2016-06-29 21:43 ` [PATCH 06/15] ieee1275: add nvme support within ofpath Eric Snowberg
2016-06-29 21:43 ` [PATCH 07/15] ofdisk: memory corruption fix Eric Snowberg
2016-06-29 21:43 ` [PATCH 08/15] ofdisk: move open logic Eric Snowberg
2016-06-29 21:43 ` [PATCH 09/15] ieee1275: ofdisk - don't continue to query block-size after we have it Eric Snowberg
2016-06-29 21:43 ` [PATCH 10/15] ofdisk: refactor open logic Eric Snowberg
2016-06-29 21:43 ` [PATCH 11/15] sparc64: boot performance improvements Eric Snowberg
2016-06-29 21:43 ` [PATCH 12/15] ofdisk: only add aliases that exist Eric Snowberg
2016-06-29 21:43 ` [PATCH 13/15] sparc64: add disks that don't have a devalias to the device list Eric Snowberg
2016-06-29 21:43 ` [PATCH 14/15] parser: Remove escape from the state transitions Eric Snowberg
2016-06-29 21:43 ` [PATCH 15/15] sparc64: ignore hypervisor reboot memory block device Eric Snowberg
2016-07-01  6:52 ` [PATCH 00/15] Add missing SPARC support Daniel Kiper
2016-07-26 10:24   ` Daniel Kiper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1467232724.git.eric.snowberg@oracle.com \
    --to=eric.snowberg@oracle.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).