Skip to content

xen: fix dom0 PV boot on some AMD machines

Juergen Gross lkml xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5xen: use correct end address of kernel for conflict checkingarch/x86/xen/setup.c+1 -10 replies
2/5xen: introduce generic helper checking for memory map conflictsarch/x86/xen/mmu_pv.c arch/x86/xen/setup.c arch/x86/xen/xen-ops.h+31 -110 replies
3/5xen: move checks for e820 conflicts further uparch/x86/xen/setup.c+22 -220 replies
4/5xen: move max_pfn in xen_memory_setup() out of function scopearch/x86/xen/setup.c+27 -260 replies
5/5xen: tolerate ACPI NVS memory overlapping with Xen allocated memoryarch/x86/xen/setup.c+132 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] xen: fix dom0 PV boot on some AMD machines

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.

Juergen Gross (5):
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: tolerate ACPI NVS memory overlapping with Xen allocated memory

 arch/x86/xen/mmu_pv.c  |   5 +-
 arch/x86/xen/setup.c   | 242 +++++++++++++++++++++++++++++++++--------
 arch/x86/xen/xen-ops.h |   3 +-
 3 files changed, 201 insertions(+), 49 deletions(-)
Signature · 1 line
2.43.0