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]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux