RE: [RFC 1/8] iommu: Introduce a replace API for device pasid

2023-09-27 Thread Tian, Kevin
> From: Baolu Lu > Sent: Wednesday, September 27, 2023 10:05 AM > > On 9/26/23 5:26 PM, Yi Liu wrote: > > > > +/** > > + * iommu_replace_device_pasid - replace the domain that a pasid is > attached to > > + * @domain: new IOMMU domain to replace with > > + * @dev: the physical device > > + * @pas

Re: [RFC 1/8] iommu: Introduce a replace API for device pasid

2023-09-26 Thread Baolu Lu
On 9/26/23 5:26 PM, Yi Liu wrote: From: Lu Baolu Provide a high-level API to allow replacements of one domain with another for specific pasid of a device. This is similar to iommu_group_replace_domain() and it is also expected to be used only by IOMMUFD. Signed-off-by: Lu Baolu Signed-off-by: