[PATCH 1/1] iommu/arm-smmu: modify the calculation of PASize and SEP fields
leizhen
thunder.leizhen at huawei.com
Mon Dec 15 03:16:43 PST 2014
On 2014/12/12 18:57, Will Deacon wrote:
> On Fri, Dec 12, 2014 at 08:41:03AM +0000, Zhen Lei wrote:
>> 1. the calculation appear 3 times, it's good to define a function.
>> 2. VA_BITS is dynamic determined by CONFIG_ARM64_VA_BITS yet, but current
>> switch..case can not cover all possible values.
>> 3. change TTBCR2_ADDR_xx to ADDR_SIZE_xx, because it's not only TTBCR2 use it.
>
> Please take a look at the pgtable rework I posted recently -- it moves a
> bunch of this into a generic framework.
>
> http://lists.infradead.org/pipermail/linux-arm-kernel/2014-November/306786.html
>
> (I plan to post v2 soon).
>
> Will
>
> .
>
OK, I saw.
More information about the linux-arm-kernel
mailing list