Hi,
On 2/19/26 10:00 AM, Shameer Kolothum wrote:
> 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, this looks ready now!
Feel free to grab my
Tested-by: Eric Auger <eric.auger@redhat.com>
Eric
>
> 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(-)
>