All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] xen/x86: fix implementation of subpage r/o MMIO
@ 2025-04-11 10:54 Roger Pau Monne
  2025-04-11 10:54 ` [PATCH 1/5] x86/mm: account for the offset when performing subpage r/o MMIO access Roger Pau Monne
                   ` (4 more replies)
  0 siblings, 5 replies; 26+ messages in thread
From: Roger Pau Monne @ 2025-04-11 10:54 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.

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



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

end of thread, other threads:[~2025-04-15 12:53 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-11 10:54 [PATCH 0/5] xen/x86: fix implementation of subpage r/o MMIO Roger Pau Monne
2025-04-11 10:54 ` [PATCH 1/5] x86/mm: account for the offset when performing subpage r/o MMIO access Roger Pau Monne
2025-04-11 12:00   ` Andrew Cooper
2025-04-11 10:54 ` [PATCH 2/5] xen/io: provide helpers for multi size MMIO accesses Roger Pau Monne
2025-04-11 18:44   ` Denis Mukhin
2025-04-14  6:07   ` Jan Beulich
2025-04-14  7:49     ` Julien Grall
2025-04-14  8:52       ` Jan Beulich
2025-04-11 10:54 ` [PATCH 3/5] x86/hvm: fix handling of accesses to partial r/o MMIO pages Roger Pau Monne
2025-04-14  6:33   ` Jan Beulich
2025-04-14 13:53     ` Roger Pau Monné
2025-04-14 15:24       ` Jan Beulich
2025-04-14 16:13         ` Roger Pau Monné
2025-04-15  7:32           ` Jan Beulich
2025-04-15  8:34             ` Roger Pau Monné
2025-04-15  9:41               ` Jan Beulich
2025-04-15 10:04                 ` Roger Pau Monné
2025-04-15 10:18                   ` Jan Beulich
2025-04-15 10:40                     ` Marek Marczykowski
2025-04-15 10:50                       ` Jan Beulich
2025-04-15 12:47                     ` Roger Pau Monné
2025-04-15 12:53                       ` Jan Beulich
2025-04-11 10:54 ` [PATCH 4/5] x86/hvm: only register the r/o subpage ops when needed Roger Pau Monne
2025-04-14  6:36   ` Jan Beulich
2025-04-11 10:54 ` [PATCH 5/5] x86/mm: move mmio_ro_emulated_write() to PV only file Roger Pau Monne
2025-04-14  6:37   ` Jan Beulich

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.