All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] xen/x86: fix implementation of subpage r/o MMIO
@ 2025-04-17 15:25 Roger Pau Monne
  2025-04-17 15:25 ` [PATCH v3 1/4] xen/io: provide helpers for multi size MMIO accesses Roger Pau Monne
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Roger Pau Monne @ 2025-04-17 15:25 UTC (permalink / raw)
  To: xen-devel
  Cc: Roger Pau Monne, Jan Beulich, Andrew Cooper, Anthony PERARD,
	Michal Orzel, Julien Grall, Stefano Stabellini

Hello,

Following series include some bugfixes and improvements to the handling
of subpage r/o MMIO accesses.

Patch 1 introduces a helper to reduce code duplication when performing
MMIO accesses.

Patch 2 is a bugfix for using subpage in HVM guest, and patch 3 is an
optimization to only register the HVM subpage handler when needed.

Finally patch 4 moves some PV only code to a PV specific file.

Thanks, Roger.

Roger Pau Monne (4):
  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/Makefile              |   1 +
 xen/arch/x86/hvm/emulate.c             |  54 ++---------
 xen/arch/x86/hvm/hvm.c                 |  18 ++--
 xen/arch/x86/hvm/mmio.c                | 125 +++++++++++++++++++++++++
 xen/arch/x86/hvm/vmsi.c                |  47 +---------
 xen/arch/x86/include/asm/hvm/emulate.h |   1 -
 xen/arch/x86/include/asm/hvm/io.h      |   3 +
 xen/arch/x86/include/asm/mm.h          |  21 +++--
 xen/arch/x86/mm.c                      | 101 +++++---------------
 xen/arch/x86/pv/ro-page-fault.c        |  34 +++++++
 xen/drivers/vpci/msix.c                |  47 +---------
 xen/include/xen/io.h                   |  70 ++++++++++++++
 12 files changed, 289 insertions(+), 233 deletions(-)
 create mode 100644 xen/arch/x86/hvm/mmio.c
 create mode 100644 xen/include/xen/io.h

-- 
2.48.1



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

end of thread, other threads:[~2025-04-23  8:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-17 15:25 [PATCH v3 0/4] xen/x86: fix implementation of subpage r/o MMIO Roger Pau Monne
2025-04-17 15:25 ` [PATCH v3 1/4] xen/io: provide helpers for multi size MMIO accesses Roger Pau Monne
2025-04-17 15:32   ` Jan Beulich
2025-04-17 15:25 ` [PATCH v3 2/4] x86/hvm: fix handling of accesses to partial r/o MMIO pages Roger Pau Monne
2025-04-17 15:38   ` Jan Beulich
2025-04-17 16:23     ` Roger Pau Monné
2025-04-22  6:46       ` Jan Beulich
2025-04-23  8:21         ` Roger Pau Monné
2025-04-23  8:32           ` Jan Beulich
2025-04-23  8:52             ` Roger Pau Monné
2025-04-17 15:25 ` [PATCH v3 3/4] x86/hvm: only register the r/o subpage ops when needed Roger Pau Monne
2025-04-17 15:25 ` [PATCH v3 4/4] x86/mm: move mmio_ro_emulated_write() to PV only file Roger Pau Monne

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.