Re: [PATCH v7 07/14] iommufd/viommu: Add iommufd_viommu_report_event helper

From: Jason Gunthorpe
Date: Tue Feb 25 2025 - 10:41:15 EST


On Sat, Feb 22, 2025 at 07:54:04AM -0800, Nicolin Chen wrote:
> Similar to iommu_report_device_fault, this allows IOMMU drivers to report
> vIOMMU events from threaded IRQ handlers to user space hypervisors.
>
> Reviewed-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
> Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>
> Signed-off-by: Nicolin Chen <nicolinc@xxxxxxxxxx>
> ---
> include/linux/iommufd.h | 11 ++++++++
> drivers/iommu/iommufd/driver.c | 48 ++++++++++++++++++++++++++++++++++
> 2 files changed, 59 insertions(+)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason