summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPeter Griffin <peter.griffin@linaro.org>2026-09-11 21:21:06 +0000
committerWill Deacon <will@kernel.org>2026-10-02 15:25:20 +0000
commit937bbba25930d457d95c151cbe7587ae84fdc5a8 (patch)
treef2eb4a90579b466c6958782d728942d4b1be2a25 /tools/perf/scripts/python
parent93f51579e7df248780214094418f205253383cc5 (diff)
iommu/arm-smmu-v3: Add support for arm,instdata-override DT property
The Google Tensor G5 SoC (Laguna) has a silicon errata with the SMMU integration where the AxPROT[2] signal is always 1, which makes all transactions appear as instructions. To avoid F_PERMISSION faults (due to the VMSAv8-64 requirement that unprivilieged writable buffers are treated as Privileged Execute-Never (PXN)), as a software workaround we make use of the INSTCFG override feature to force all incoming traffic to data. To enable this workaround, the "arm,instdata-override" DT property can be provided in the device tree entry for the SMMU, similar to how existing errata workarounds are handled by this driver. Note this is added for "stage-1" and "stage-2" but we intentionally leave out "bypass" as nothing is downstream of the SMMU that makes use of the Instruction/Data attribute. [peter.griffin: ported to upstream, updated commit message, remove feature flag] Signed-off-by: Pranjal Shrivastava <praan@google.com> Signed-off-by: Peter Griffin <peter.griffin@linaro.org> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions