Re: [PATCH 5/5] iommu/vt-d: Remove hard coding PGSNP bit in PASID entries

2022-05-04 Thread Baolu Lu
On 2022/5/2 21:19, Jason Gunthorpe wrote: On Sun, May 01, 2022 at 07:24:34PM +0800, Lu Baolu wrote: As enforce_cache_coherency has been introduced into the iommu_domain_ops, the kernel component which owns the iommu domain is able to opt-in its requirement for force snooping support. The iommu

Re: [PATCH 5/5] iommu/vt-d: Remove hard coding PGSNP bit in PASID entries

2022-05-02 Thread Jason Gunthorpe via iommu
On Sun, May 01, 2022 at 07:24:34PM +0800, Lu Baolu wrote: > As enforce_cache_coherency has been introduced into the iommu_domain_ops, > the kernel component which owns the iommu domain is able to opt-in its > requirement for force snooping support. The iommu driver has no need to > hard code the

[PATCH 5/5] iommu/vt-d: Remove hard coding PGSNP bit in PASID entries

2022-05-01 Thread Lu Baolu
As enforce_cache_coherency has been introduced into the iommu_domain_ops, the kernel component which owns the iommu domain is able to opt-in its requirement for force snooping support. The iommu driver has no need to hard code the page snoop control bit in the PASID table entries anymore.