diff options
author | Jason Gunthorpe <[email protected]> | 2024-10-30 21:20:48 -0300 |
---|---|---|
committer | Will Deacon <[email protected]> | 2024-11-05 10:24:17 +0000 |
commit | e89573cf4a13ca4e314d03d56ac84c0ba2af464b (patch) | |
tree | f8046f2dcbef9c36131a7043cb0346c6babc5d00 /tools/perf/scripts/python/libxed.py | |
parent | 807404d66fcf898d4bcc6a3e3edb07ffd5b88400 (diff) |
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 <[email protected]>
Reviewed-by: Mostafa Saleh <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Reviewed-by: Jerry Snitselaar <[email protected]>
Reviewed-by: Donald Dutile <[email protected]>
Tested-by: Nicolin Chen <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions