diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2024-10-31 03:20:48 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2024-11-05 13:24:17 +0300 |
commit | e89573cf4a13ca4e314d03d56ac84c0ba2af464b (patch) | |
tree | f8046f2dcbef9c36131a7043cb0346c6babc5d00 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 807404d66fcf898d4bcc6a3e3edb07ffd5b88400 (diff) | |
download | linux-e89573cf4a13ca4e314d03d56ac84c0ba2af464b.tar.xz |
iommu/arm-smmu-v3: Report IOMMU_CAP_ENFORCE_CACHE_COHERENCY for CANWBS
HW with CANWBS is always cache coherent and ignores PCI No Snoop requests
as well. This meets the requirement for IOMMU_CAP_ENFORCE_CACHE_COHERENCY,
so let's return it.
Implement the enforce_cache_coherency() op to reject attaching devices
that don't have CANWBS.
Reviewed-by: Nicolin Chen <nicolinc@nvidia.com>
Reviewed-by: Mostafa Saleh <smostafa@google.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Reviewed-by: Donald Dutile <ddutile@redhat.com>
Tested-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/4-v4-9e99b76f3518+3a8-smmuv3_nesting_jgg@nvidia.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions