Messages in this thread | | | Date | Mon, 25 Jul 2022 11:49:18 -0300 | From | Jason Gunthorpe <> | Subject | Re: [PATCH v10 10/12] iommu: Prepare IOMMU domain for IOPF |
| |
On Sun, Jul 24, 2022 at 10:04:50PM +0800, Baolu Lu wrote: > > Why do we need two falut callbacks? The only difference is that one is > > recoverable and the other is not, right? > > > > Can we run both down the same op? > > The iommu_fault_handler_t is for report_iommu_fault() which could be > replaced with the newer iommu_report_device_fault(). > > https://lore.kernel.org/linux-iommu/Yo4Nw9QyllT1RZbd@myrica/
Okay, sounds like a good future project, maybe add a fixme comment or something so others understand.
Jason
| |