summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2015-03-04 12:21:03 +0000
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:14:50 -0700
commitab1900e31088ad5a62199b6abd797aa9e9f79971 (patch)
tree66be154e9e66b7ca7ba898014506fc1a91b44444 /include/linux
parent1805fabc3e76b80e2dcc73f78e70ee9b61406e9b (diff)
iommu/arm-smmu: ensure CBA2R is initialised before CBAR on SMMUv2
The VMID16 (8.1) extension to SMMUv2 added a 16-bit VMID16 field to the CBA2R registers. Unfortunately, if software writes this field as zero after setting an 8-bit VMID in a stage-2 CBAR, then the VMID may also be overwritten with zero on some early implementations (the architecture was later updated to fix this issue). This patch ensures that we initialise CBA2R before CBAR, therefore ensuring that the VMID is set correctly. Tested-by: Manish Jaggi <mjaggi@caviumnetworks.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions