From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aGN5N-0002lc-CY for mharc-grub-devel@gnu.org; Tue, 05 Jan 2016 03:35:21 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGN5L-0002lU-EL for grub-devel@gnu.org; Tue, 05 Jan 2016 03:35:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGN5I-0002bb-6o for grub-devel@gnu.org; Tue, 05 Jan 2016 03:35:19 -0500 Received: from mx2.suse.de ([195.135.220.15]:54770) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGN5H-0002bP-LK for grub-devel@gnu.org; Tue, 05 Jan 2016 03:35:16 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 7A6D5ABA2; Tue, 5 Jan 2016 08:35:12 +0000 (UTC) Subject: Re: [PATCH 0/6] grub-xen: support booting huge pv-domains To: The development of GNU GRUB , xen-devel@lists.xen.org, phcoder@gmail.com References: <1446443495-10376-1-git-send-email-jgross@suse.com> From: Juergen Gross Message-ID: <568B803F.6040402@suse.com> Date: Tue, 5 Jan 2016 09:35:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <1446443495-10376-1-git-send-email-jgross@suse.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 195.135.220.15 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2016 08:35:20 -0000 On 02/11/15 06:51, Juergen Gross wrote: > The Xen hypervisor supports starting a dom0 with large memory (up to > the TB range) by not including the initrd and p2m list in the initial > kernel mapping. Especially the p2m list can grow larger than the > available virtual space in the initial mapping. > > The started kernel is indicating the support of each feature via > elf notes. > > This series enables grub-xen to do the same as the hypervisor. > > Tested with: > - 32 bit domU (kernel not supporting unmapped initrd) > - 32 bit domU (kernel supporting unmapped initrd) > - 1 GB 64 bit domU (kernel supporting unmapped initrd, not p2m) > - 1 GB 64 bit domU (kernel supporting unmapped initrd and p2m) > - 900GB 64 bit domU (kernel supporting unmapped initrd and p2m) > > > Juergen Gross (6): > xen: factor out p2m list allocation into separate function > xen: factor out allocation of special pages into separate function > xen: factor out allocation of page tables into separate function > xen: add capability to load initrd outside of initial mapping > xen: modify page table construction > xen: add capability to load p2m list outside of kernel mapping > > grub-core/lib/i386/xen/relocator.S | 47 ++-- > grub-core/lib/x86_64/xen/relocator.S | 41 ++- > grub-core/lib/xen/relocator.c | 22 +- > grub-core/loader/i386/xen.c | 521 +++++++++++++++++++++++++---------- > grub-core/loader/i386/xen_fileXX.c | 7 + > include/grub/xen/relocator.h | 6 +- > include/grub/xen_file.h | 3 + > 7 files changed, 446 insertions(+), 201 deletions(-) Can I help in some way to get this patchset into grub2? Juergen