]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/arm-smmu: Fix the values of ARM64_TCR_{I,O}RGN0_SHIFT
authorZhen Lei <thunder.leizhen@huawei.com>
Fri, 26 Jun 2015 08:32:59 +0000 (09:32 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 8 Jul 2015 16:24:39 +0000 (17:24 +0100)
commit55777a4532830cbe8f9d05780278e3dc1ad8afb3
tree7689601af671e3aa4a4bab385028e736b054d51d
parentb9a736118d1d46a366c587705819575c8a9aecf6
iommu/arm-smmu: Fix the values of ARM64_TCR_{I,O}RGN0_SHIFT

The arm64 CPU architecture defines TCR[8:11] as holding the inner and
outer memory attributes for TTBR0.

This patch fixes the ARM SMMUv3 driver to pack these bits into the
context descriptor, rather than picking up the TTBR1 attributes as it
currently does.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu-v3.c