[PATCH v2 02/13] iommufd/fault: Move iommufd_fault_iopf_handler() to header
Tian, Kevin
kevin.tian at intel.com
Tue Dec 10 23:30:31 PST 2024
> From: Nicolin Chen <nicolinc at nvidia.com>
> Sent: Wednesday, December 4, 2024 6:10 AM
>
> The new vIRQ object will need a similar function for drivers to report the
> vIOMMU related interrupts. Split the common part out to a smaller helper,
> and place it in the header so that CONFIG_IOMMUFD_DRIVER_CORE can
> include
> that in the driver.c file for drivers to use.
>
> Then keep iommufd_fault_iopf_handler() in the header too, since it's quite
> simple after all.
>
> Signed-off-by: Nicolin Chen <nicolinc at nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian at intel.com>
More information about the linux-arm-kernel
mailing list