> From: Nicolin Chen <nicolinc@xxxxxxxxxx> > 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@xxxxxxxxxx> Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>