All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] x86/pvh: workaround missing MMIO regions in dom0 p2m
@ 2025-02-14  9:29 Roger Pau Monne
  2025-02-14  9:29 ` [PATCH 1/2] x86/emul: dump unhandled memory accesses for PVH dom0 Roger Pau Monne
  2025-02-14  9:29 ` [PATCH 2/2] x86/dom0: attempt to fixup p2m page-faults " Roger Pau Monne
  0 siblings, 2 replies; 14+ messages in thread
From: Roger Pau Monne @ 2025-02-14  9:29 UTC (permalink / raw)
  To: xen-devel
  Cc: Roger Pau Monne, Jan Beulich, Andrew Cooper, Oleksii Kurochko,
	Community Manager, Anthony PERARD, Michal Orzel, Julien Grall,
	Stefano Stabellini

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          |  4 ++++
 xen/arch/x86/hvm/emulate.c         | 33 ++++++++++++++++++++++++++++++
 xen/arch/x86/hvm/hvm.c             | 31 ++++++++++++++++++++++++++++
 xen/arch/x86/include/asm/hvm/hvm.h |  5 +++++
 6 files changed, 98 insertions(+), 1 deletion(-)

-- 
2.46.0



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

end of thread, other threads:[~2025-02-17 10:59 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-14  9:29 [PATCH 0/2] x86/pvh: workaround missing MMIO regions in dom0 p2m Roger Pau Monne
2025-02-14  9:29 ` [PATCH 1/2] x86/emul: dump unhandled memory accesses for PVH dom0 Roger Pau Monne
2025-02-14 11:23   ` Jan Beulich
2025-02-14  9:29 ` [PATCH 2/2] x86/dom0: attempt to fixup p2m page-faults " Roger Pau Monne
2025-02-14 11:53   ` Jan Beulich
2025-02-14 12:38     ` Roger Pau Monné
2025-02-14 13:07       ` Jan Beulich
2025-02-17  8:25         ` Roger Pau Monné
2025-02-17  8:44           ` Jan Beulich
2025-02-17 10:20             ` Roger Pau Monné
2025-02-17 10:27               ` Jan Beulich
2025-02-17 10:51                 ` Roger Pau Monné
2025-02-17 10:58                   ` Jan Beulich
2025-02-14 14:42   ` Andrew Cooper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.