vEVENTQ support for accelerated SMMUv3 devices
Status from this message: Applied to target-arm.next, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest5 patches 8 repliesApplied
- v75 patches 11 repliesSuperseded
- v65 patches 11 repliesSuperseded
Earlier versions · 5
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v5 | 5 patches | 16 replies | Superseded | |
| v4 | 5 patches | 9 replies | Superseded | |
| v3 | 4 patches | 9 replies | Superseded | |
| v2 | 4 patches | 10 replies | Superseded | |
| v1 RFC | 4 patches | 6 replies | Superseded |
Changes in v8 from the cover letter
Patches in v8 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | backends/iommufd: Introduce iommufd_backend_alloc_veventqbackends/ backends/ include/ | +46 | 0 replies | |
| 2/5 | hw/arm/smmuv3-accel: Add viommu free helperhw/ | +15 | 0 replies | |
| 3/5 | hw/arm/smmuv3-accel: Allocate vEVENTQ for accelerated SMMUv3 deviceshw/ hw/ hw/ | +71 | 0 replies | |
| 4/5 | hw/arm/smmuv3: Introduce a helper function for event propagationhw/ hw/ hw/ | +19 | 0 replies | |
| 5/5 | hw/arm/smmuv3-accel: Read and propagate host vIOMMU eventshw/ | +64 | 6 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Nicolin Chen | Eric Auger | Jonathan Cameron |
|---|---|---|---|
| 1/5 | T-b R-b | R-b T-b | R-b |
| 2/5 | R-b | R-b T-b | R-b |
| 3/5 | T-b | R-b T-b | |
| 4/5 | R-b T-b | R-b T-b | R-b |
| 5/5 | T-b R-b | R-b T-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v8 0/5] vEVENTQ support for accelerated SMMUv3 devices
Hi,
Changes from v7:
https://lore.kernel.org/qemu-devel/[email protected]/
-Picked up R-by/T-by tags. Thanks!
-No code changes. Commit messages updated to improve descriptions (Patch #3)
I think this is now ready for 11.0. Please consider.
Note: There may be a minor conflict with Philippe's CONFIG_DEVICES cleanup series[0] if that goes first.
Thanks,
Shameer
[0] https://lore.kernel.org/qemu-devel/[email protected]/
---
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(-)
Signature · 1 line
2.43.0