RE: [PATCH v5 10/12] iommu: Separate SVA and IOPF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
> Sent: Thursday, September 14, 2023 4:57 PM
> 
> Add CONFIG_IOMMU_IOPF for page fault handling framework and select it
> from its real consumer. Move iopf function declaration from iommu-sva.h
> to iommu.h and remove iommu-sva.h as it's empty now.
> 
> Consolidate all SVA related code into iommu-sva.c:
> - Move iommu_sva_domain_alloc() from iommu.c to iommu-sva.c.
> - Move sva iopf handling code from io-pgfault.c to iommu-sva.c.
> 
> Consolidate iommu_report_device_fault() and iommu_page_response() into
> io-pgfault.c.
> 
> Export iopf_free_group() for iopf handlers implemented in modules. Some
> functions are renamed with more meaningful names. No other intentional
> functionality changes.
> 
> Signed-off-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
> Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux