summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMitchel Humpherys <mitchelh@codeaurora.org>2015-03-04 09:46:33 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:11:48 -0700
commit6864dee3f0252b5c08a0741e55d9d714a4e8987f (patch)
treea70e1e813061cb18fcb85a910a166eec8e64bdb8 /include/linux
parent838a1831b0dd40fabba45d882ba89a562ab426c9 (diff)
iommu/arm-smmu: add DT option to avoid enabling translations on attach
There are certain use cases that require the stream matching table to be programmed without actually enabling translations on the SMMU (i.e. leaving SCR0.M=0). For example, when a hypervisor is controlling the stage-2 context bank of a nested configuration where stage-1 needs to be bypassed. This mode of operation is described in the ARM SMMU spec as "stage 1 and stage 2 contexts are valid, but the SMMU is not enabled for stage 1 translation" (Section 2.1: "Overview of SMMU operation"). The easiest way to get the stream-matching table programmed correctly is to program it as usual from Linux but just leave SCR0.M=0. Add a DT option to do this. Change-Id: I065a38f845ae8873bc51221fe64a39b1908032d6 Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions