RE: [PATCH v2 07/17] iommufd: Make sw_msi_start a group global

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

 



> From: Jason Gunthorpe <jgg@xxxxxxxxxx>
> Sent: Wednesday, March 8, 2023 8:36 AM
> 
> The sw_msi_start is only set by the ARM drivers and it is always constant.
> Due to the way vfio/iommufd allow domains to be re-used between
> devices we have a built in assumption that there is only one value
> for sw_msi_start and it is global to the system.
> 
> To make replace simpler where we may not reparse the
> iommu_get_resv_regions() move the sw_msi_start to the iommufd_group so
> it
> is always available once any HWPT has been attached.
> 
> Signed-off-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