Re: [PATCH v4 08/14] iommufd/viommu: Add iommufd_viommu_report_event helper

From: Baolu Lu
Date: Sun Jan 05 2025 - 21:53:48 EST


On 1/4/25 03:43, 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.

Signed-off-by: Nicolin Chen<nicolinc@xxxxxxxxxx>
---
include/linux/iommufd.h | 11 ++++++++++
drivers/iommu/iommufd/driver.c | 40 ++++++++++++++++++++++++++++++++++
2 files changed, 51 insertions(+)

Reviewed-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>