aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++
diff options
context:
space:
mode:
authorJean-Philippe Brucker <[email protected]>2021-01-22 16:10:56 +0100
committerWill Deacon <[email protected]>2021-01-22 15:44:32 +0000
commit9111aebf770d6a6c9fcfd6301da4a0025f2d610f (patch)
tree63506115873570e9f7afea2b183fbcde607767cf /tools/perf/util/c++
parent51d113c3be09ff5b916576b1109daf413549cacc (diff)
iommu/arm-smmu-v3: Add support for VHE
ARMv8.1 extensions added Virtualization Host Extensions (VHE), which allow to run a host kernel at EL2. When using normal DMA, Device and CPU address spaces are dissociated, and do not need to implement the same capabilities, so VHE hasn't been used in the SMMU until now. With shared address spaces however, ASIDs are shared between MMU and SMMU, and broadcast TLB invalidations issued by a CPU are taken into account by the SMMU. TLB entries on both sides need to have identical exception level in order to be cleared with a single invalidation. When the CPU is using VHE, enable VHE in the SMMU for all STEs. Normal DMA mappings will need to use TLBI_EL2 commands instead of TLBI_NH, but shouldn't be otherwise affected by this change. Acked-by: Will Deacon <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Signed-off-by: Jean-Philippe Brucker <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/util/c++')
0 files changed, 0 insertions, 0 deletions