All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 0/5] vEVENTQ support for accelerated SMMUv3 devices
@ 2026-02-19  9:00 Shameer Kolothum
  2026-02-19  9:00 ` [PATCH v7 1/5] backends/iommufd: Introduce iommufd_backend_alloc_veventq Shameer Kolothum
                   ` (5 more replies)
  0 siblings, 6 replies; 24+ messages in thread
From: Shameer Kolothum @ 2026-02-19  9:00 UTC (permalink / raw)
  To: qemu-arm, qemu-devel
  Cc: eric.auger, peter.maydell, nicolinc, nathanc, mochs, jan, jgg,
	jonathan.cameron, zhangfei.gao, zhenzhong.duan, kjaju,
	skolothumtho

Hi,

Changes from v6:
 https://lore.kernel.org/qemu-devel/20260213103942.142823-1-skolothumtho@nvidia.com/
 
 -Addressed feedback and picked up R-by/T-by tags. Thanks!
 -Updated error report (patch #3)

Please take a look and let me know.

Thanks,
Shameer

---
Background(From v2):

When accel=on is enabled for an SMMUv3 instance, the host hardware SMMUv3
may generate Stage-1 (S1) event notifications that are intended for the
vIOMMU instance in userspace.

This series adds QEMU support for receiving such host events through the
vEVENTQ interface and propagating them to the guest. The implementation
uses the vEVENTQ support provided by the IOMMUFD subsystem in the kernel.

I have tested this on a Grace platform using some hacks to generate
events. Further testing and feedback are welcome.
---


Nicolin Chen (2):
  backends/iommufd: Introduce iommufd_backend_alloc_veventq
  hw/arm/smmuv3-accel: Allocate vEVENTQ for accelerated SMMUv3 devices

Shameer Kolothum (3):
  hw/arm/smmuv3-accel: Add viommu free helper
  hw/arm/smmuv3: Introduce a helper function for event propagation
  hw/arm/smmuv3-accel: Read and propagate host vIOMMU events

 hw/arm/smmuv3-accel.h    |   6 ++
 hw/arm/smmuv3-internal.h |   4 ++
 include/system/iommufd.h |  14 ++++
 backends/iommufd.c       |  31 +++++++++
 hw/arm/smmuv3-accel.c    | 146 ++++++++++++++++++++++++++++++++++++---
 hw/arm/smmuv3.c          |  26 +++++--
 backends/trace-events    |   1 +
 hw/arm/trace-events      |   2 +-
 8 files changed, 215 insertions(+), 15 deletions(-)

-- 
2.43.0



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

end of thread, other threads:[~2026-02-24 16:03 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-19  9:00 [PATCH v7 0/5] vEVENTQ support for accelerated SMMUv3 devices Shameer Kolothum
2026-02-19  9:00 ` [PATCH v7 1/5] backends/iommufd: Introduce iommufd_backend_alloc_veventq Shameer Kolothum
2026-02-24 14:09   ` Jonathan Cameron via
2026-02-24 14:09     ` Jonathan Cameron via qemu development
2026-02-19  9:01 ` [PATCH v7 2/5] hw/arm/smmuv3-accel: Add viommu free helper Shameer Kolothum
2026-02-24 14:13   ` Jonathan Cameron via
2026-02-24 14:13     ` Jonathan Cameron via qemu development
2026-02-24 14:45     ` Shameer Kolothum Thodi
2026-02-19  9:01 ` [PATCH v7 3/5] hw/arm/smmuv3-accel: Allocate vEVENTQ for accelerated SMMUv3 devices Shameer Kolothum
2026-02-24 14:28   ` Jonathan Cameron via
2026-02-24 14:28     ` Jonathan Cameron via qemu development
2026-02-24 14:41     ` Shameer Kolothum Thodi
2026-02-24 15:01       ` Jonathan Cameron via
2026-02-24 15:01         ` Jonathan Cameron via qemu development
2026-02-24 15:18         ` Shameer Kolothum Thodi
2026-02-24 16:02           ` Jonathan Cameron via
2026-02-24 16:02             ` Jonathan Cameron via qemu development
2026-02-19  9:01 ` [PATCH v7 4/5] hw/arm/smmuv3: Introduce a helper function for event propagation Shameer Kolothum
2026-02-24 14:30   ` Jonathan Cameron via
2026-02-24 14:30     ` Jonathan Cameron via qemu development
2026-02-19  9:01 ` [PATCH v7 5/5] hw/arm/smmuv3-accel: Read and propagate host vIOMMU events Shameer Kolothum
2026-02-24 14:33   ` Jonathan Cameron via
2026-02-24 14:33     ` Jonathan Cameron via qemu development
2026-02-24 13:52 ` [PATCH v7 0/5] vEVENTQ support for accelerated SMMUv3 devices Eric Auger

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.