grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/6] grub-xen: support booting huge pv-domains
@ 2016-02-11  7:53 Juergen Gross
  2016-02-11  7:53 ` [PATCH v2 1/6] xen: factor out p2m list allocation into separate function Juergen Gross
                   ` (5 more replies)
  0 siblings, 6 replies; 28+ messages in thread
From: Juergen Gross @ 2016-02-11  7:53 UTC (permalink / raw)
  To: grub-devel, xen-devel, phcoder, daniel.kiper, mchang; +Cc: Juergen Gross

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)

Changes in V2:
- rebased patch 5 to current master

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 |  44 ++-
 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, 447 insertions(+), 203 deletions(-)

-- 
2.6.2



^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2016-02-12 14:47 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-11  7:53 [PATCH v2 0/6] grub-xen: support booting huge pv-domains Juergen Gross
2016-02-11  7:53 ` [PATCH v2 1/6] xen: factor out p2m list allocation into separate function Juergen Gross
2016-02-11 12:19   ` Daniel Kiper
2016-02-11 12:38     ` Juergen Gross
2016-02-11 17:09       ` Daniel Kiper
2016-02-12  6:27         ` Juergen Gross
2016-02-11  7:53 ` [PATCH v2 2/6] xen: factor out allocation of special pages " Juergen Gross
2016-02-11 12:21   ` Daniel Kiper
2016-02-11 12:38     ` Juergen Gross
2016-02-11  7:53 ` [PATCH v2 3/6] xen: factor out allocation of page tables " Juergen Gross
2016-02-11 12:27   ` Daniel Kiper
2016-02-11 12:53     ` Juergen Gross
2016-02-11 17:14       ` Daniel Kiper
2016-02-12  6:26         ` Juergen Gross
2016-02-12 12:20       ` Vladimir 'φ-coder/phcoder' Serbinenko
2016-02-11  7:53 ` [PATCH v2 4/6] xen: add capability to load initrd outside of initial mapping Juergen Gross
2016-02-11 12:33   ` Daniel Kiper
2016-02-11 14:13     ` Juergen Gross
2016-02-11 17:25       ` Daniel Kiper
2016-02-12  6:25         ` Juergen Gross
2016-02-12  8:15           ` Daniel Kiper
2016-02-12 12:24       ` Vladimir 'φ-coder/phcoder' Serbinenko
2016-02-12 14:47         ` Juergen Gross
2016-02-11  7:53 ` [PATCH v2 5/6] xen: modify page table construction Juergen Gross
2016-02-11 12:47   ` Daniel Kiper
2016-02-11 14:35     ` Juergen Gross
2016-02-11 17:48       ` Daniel Kiper
2016-02-11  7:53 ` [PATCH v2 6/6] xen: add capability to load p2m list outside of kernel mapping Juergen Gross

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).