Skip to content

xen: fix dom0 PV boot on some AMD machines

Juergen Gross linux-acpi lkml llvm oe-kbuild-all xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 5 repliesIn review
  2. v27 patches 13 repliesSuperseded
  3. v15 patches 6 repliesSuperseded

Changes in v3 from the cover letter

- addressed comments

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7xen: use correct end address of kernel for conflict checkingarch/x86/xen/setup.c+1 -10 replies
2/7xen: 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/7xen: move checks for e820 conflicts further uparch/x86/xen/setup.c+22 -220 replies
4/7xen: move max_pfn in xen_memory_setup() out of function scopearch/x86/xen/setup.c+26 -260 replies
5/7xen: add capability to remap non-RAM pages to different PFNsarch/x86/xen/p2m.c arch/x86/xen/xen-ops.h+68 -02 replies
6/7xen: allow mapping ACPI data using a different physical addressarch/x86/include/asm/acpi.h arch/x86/kernel/acpi/boot.c arch/x86/kernel/mmconf-fam10h_64.c +3 more+55 -32 replies
7/7xen: tolerate ACPI NVS memory overlapping with Xen allocated memoryarch/x86/xen/setup.c+91 -11 reply

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchMarek Marczykowski-GóreckiJan Beulich
1/7T-b R-b
2/7T-b R-b
3/7T-b R-b
4/7T-b R-b
5/7R-b
6/7R-b
7/7T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/7] 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.

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

Changes in V3:
- addressed comments

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                 |  99 ++++++++++++++
 arch/x86/xen/setup.c               | 202 ++++++++++++++++++++++-------
 arch/x86/xen/xen-ops.h             |   6 +-
 8 files changed, 282 insertions(+), 52 deletions(-)
Signature · 1 line
2.43.0