diff options
author | Jean-Philippe Brucker <jean-philippe@linaro.org> | 2020-09-18 13:18:50 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-09-29 01:48:06 +0300 |
commit | d744f9e6c222c8086376bc56c86e4380595350bd (patch) | |
tree | 7d321bd8985731609a9733e8cfa299bb230674a9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3e63033675c9b1e79b14655481a8c4ecaf23821f (diff) | |
download | linux-d744f9e6c222c8086376bc56c86e4380595350bd.tar.xz |
iommu/arm-smmu-v3: Check for SVA features
Aggregate all sanity-checks for sharing CPU page tables with the SMMU
under a single ARM_SMMU_FEAT_SVA bit. For PCIe SVA, users also need to
check FEAT_ATS and FEAT_PRI. For platform SVA, they will have to check
FEAT_STALLS.
Introduce ARM_SMMU_FEAT_BTM (Broadcast TLB Maintenance), but don't
enable it at the moment. Since the entire VMID space is shared with the
CPU, enabling DVM (by clearing SMMU_CR2.PTM) could result in
over-invalidation and affect performance of stage-2 mappings.
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20200918101852.582559-11-jean-philippe@linaro.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions