]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/iommu/arm-smmu.c
iommu/arm-smmu: Fix 16-bit ASID configuration
authorSunil Goutham <sgoutham@cavium.com>
Tue, 28 Mar 2017 10:41:12 +0000 (16:11 +0530)
committerWill Deacon <will.deacon@arm.com>
Thu, 6 Apr 2017 15:06:42 +0000 (16:06 +0100)
commit125458ab3aefe9cf2f72dcfe7338dc9ad967da0b
treee2ba9f68bdf1b410d8e2b9c1dc50f719806c5afa
parent53c35dce45713d2a554109c21a8cd617d09eba50
iommu/arm-smmu: Fix 16-bit ASID configuration

16-bit ASID should be enabled before initializing TTBR0/1,
otherwise only LSB 8-bit ASID will be considered. Hence
moving configuration of TTBCR register ahead of TTBR0/1
while initializing context bank.

Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
[will: rewrote comment]
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu.c