]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/arm-smmu: Enlarge STRTAB_L1_SZ_SHIFT to support larger sidsize
authorZhen Lei <thunder.leizhen@huawei.com>
Tue, 7 Jul 2015 03:30:17 +0000 (04:30 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 8 Jul 2015 16:24:39 +0000 (17:24 +0100)
commita2b7e4802cd1bb7e2ccab777b1a7384a4a41b8a6
tree959c14ce9b8e53ca73aba64a8f46f8ccd9965e58
parent55777a4532830cbe8f9d05780278e3dc1ad8afb3
iommu/arm-smmu: Enlarge STRTAB_L1_SZ_SHIFT to support larger sidsize

Because we will choose the minimum value between STRTAB_L1_SZ_SHIFT and
IDR1.SIDSIZE, so enlarge STRTAB_L1_SZ_SHIFT will not impact the platforms
whose IDR1.SIDSIZE is smaller than old STRTAB_L1_SZ_SHIFT value.

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