Hello,
Following series include some bugfixes and improvements to the handling
of subpage r/o MMIO accesses.
First patch is a bugfix that applies to subpage accesses for both PV and
HVM.
Patch 2 introduces a helper to reduce code duplication when performing
MMIO accesses.
Patch 3 is a bugfix for using subpage in HVM guest, and patch 4 is an
optimization to only register the HVM subpage handler when needed.
Finally patch 5 moves some PV only code to a PV specific file.
Thanks, Roger.
Roger Pau Monne (5):
x86/mm: account for the offset when performing subpage r/o MMIO access
xen/io: provide helpers for multi size MMIO accesses
x86/hvm: fix handling of accesses to partial r/o MMIO pages
x86/hvm: only register the r/o subpage ops when needed
x86/mm: move mmio_ro_emulated_write() to PV only file
xen/arch/x86/hvm/emulate.c | 47 +-----------
xen/arch/x86/hvm/hvm.c | 90 +++++++++++++++++++---
xen/arch/x86/hvm/vmsi.c | 47 +-----------
xen/arch/x86/include/asm/hvm/emulate.h | 1 -
xen/arch/x86/include/asm/mm.h | 21 ++---
xen/arch/x86/mm.c | 102 ++++++-------------------
xen/arch/x86/pv/ro-page-fault.c | 34 +++++++++
xen/drivers/vpci/msix.c | 47 +-----------
xen/include/xen/io.h | 63 +++++++++++++++
9 files changed, 218 insertions(+), 234 deletions(-)
create mode 100644 xen/include/xen/io.h
--
2.48.1