Skip to content

x86/pvh: workaround missing MMIO regions in dom0 p2m

Roger Pau Monne xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 5 repliesIn review
  2. v12 patches 11 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/emul: dump unhandled memory accesses for PVH dom0xen/arch/x86/hvm/emulate.c+3 -00 replies
2/2x86/dom0: attempt to fixup p2m page-faults for PVH dom0CHANGELOG.md docs/misc/xen-command-line.pandoc xen/arch/x86/dom0_build.c +2 more+105 -35 replies

Reviews trailers per patch

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

PatchJan BeulichOleksii Kurochko
1/2A-b
2/2R-b A-b

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

Read the v2 thread

Cover letter [PATCH v2 0/2] x86/pvh: workaround missing MMIO regions in dom0 p2m

Hello,

The aim of this series is to provide a workaround for better handling missing MMIO regions in a PVH dom0 p2m. Xen doesn't know the complete host memory layout, as it's not able to parse any information from dynamic ACPI tables. Hence the p2m built for a PVH dom0 might be missing some MMIO regions only described in ACPI.

Since a PVH dom0 has no way to request the mapping of such regions (and adding one would also require dom0 kernel modifications) instead provide an option for Xen to add those MMIO regions as part of handling p2m page-faults. The option is currently off by default.

Thanks, Roger.

Roger Pau Monne (2):
x86/emul: dump unhandled memory accesses for PVH dom0 x86/dom0: attempt to fixup p2m page-faults for PVH dom0

 CHANGELOG.md                           | 10 ++++
 docs/misc/xen-command-line.pandoc      | 16 +++++-
 xen/arch/x86/dom0_build.c              |  5 ++
 xen/arch/x86/hvm/emulate.c             | 73 ++++++++++++++++++++++++++
 xen/arch/x86/include/asm/hvm/emulate.h |  3 ++
 5 files changed, 106 insertions(+), 1 deletion(-)
Signature · 1 line
2.46.0