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

Jason Gunthorpe
2025-02-25T15:40:49Z

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@linux.intel.com>
> Reviewed-by: Kevin Tian <kevin.tian@intel.com>
> Signed-off-by: Nicolin Chen <nicolinc@nvidia.com>
> ---
> include/linux/iommufd.h | 11 ++++++++
> drivers/iommu/iommufd/driver.c | 48 ++++++++++++++++++++++++++++++++++
> 2 files changed, 59 insertions(+)

Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>

Jason