From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1bINI5-0001lF-UU for mharc-grub-devel@gnu.org; Wed, 29 Jun 2016 17:45:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bINI3-0001l8-G0 for grub-devel@gnu.org; Wed, 29 Jun 2016 17:45:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bINHz-00064o-DX for grub-devel@gnu.org; Wed, 29 Jun 2016 17:44:58 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:39539) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bINHz-00064e-4o for grub-devel@gnu.org; Wed, 29 Jun 2016 17:44:55 -0400 Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u5TLiqi1002831 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 29 Jun 2016 21:44:53 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u5TLiqxF010422 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 29 Jun 2016 21:44:52 GMT Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id u5TLiox6005367 for ; Wed, 29 Jun 2016 21:44:51 GMT Received: from ca-qasparc20.us.oracle.com (/10.147.24.73) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 29 Jun 2016 14:44:50 -0700 From: Eric Snowberg To: grub-devel@gnu.org Cc: Eric Snowberg Subject: [PATCH 00/15] Add missing SPARC support Date: Wed, 29 Jun 2016 14:43:13 -0700 Message-Id: X-Mailer: git-send-email 1.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Source-IP: userv0021.oracle.com [156.151.31.71] Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by aserp1040.oracle.com id u5TLiqi1002831 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2016 21:45:00 -0000 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=E2=80=99t a single SAS HBA that was enumerat= ed correctly=20 on SPARC. I went back 10 years and believe I have added every HBA with OF= =20 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(-)