[PATCH v2 0/7] xen: fix dom0 PV boot on some AMD machines

Juergen Gross posted 7 patches 3 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
arch/x86/include/asm/acpi.h        |   8 ++
arch/x86/kernel/acpi/boot.c        |  10 ++
arch/x86/kernel/mmconf-fam10h_64.c |   2 +-
arch/x86/kernel/x86_init.c         |   2 +-
arch/x86/xen/mmu_pv.c              |   5 +-
arch/x86/xen/p2m.c                 |  95 ++++++++++++++
arch/x86/xen/setup.c               | 203 ++++++++++++++++++++++-------
arch/x86/xen/xen-ops.h             |   6 +-
8 files changed, 279 insertions(+), 52 deletions(-)
[PATCH v2 0/7] xen: fix dom0 PV boot on some AMD machines
Posted by Juergen Gross 3 months ago
There have been reports of failed boots with Xen due to an overlap of
the kernel's memory with ACPI NVS reported in the E820 map of the host.

This series fixes this issue by moving the NVS area in dom0 to some
higher address.

Changes in V2:
- split of v1 patch 5
- new patch 6

Juergen Gross (7):
  xen: use correct end address of kernel for conflict checking
  xen: introduce generic helper checking for memory map conflicts
  xen: move checks for e820 conflicts further up
  xen: move max_pfn in xen_memory_setup() out of function scope
  xen: add capability to remap non-RAM pages to different PFNs
  xen: allow mapping ACPI data using a different physical address
  xen: tolerate ACPI NVS memory overlapping with Xen allocated memory

 arch/x86/include/asm/acpi.h        |   8 ++
 arch/x86/kernel/acpi/boot.c        |  10 ++
 arch/x86/kernel/mmconf-fam10h_64.c |   2 +-
 arch/x86/kernel/x86_init.c         |   2 +-
 arch/x86/xen/mmu_pv.c              |   5 +-
 arch/x86/xen/p2m.c                 |  95 ++++++++++++++
 arch/x86/xen/setup.c               | 203 ++++++++++++++++++++++-------
 arch/x86/xen/xen-ops.h             |   6 +-
 8 files changed, 279 insertions(+), 52 deletions(-)

-- 
2.43.0