Re: [PATCH] powerpc/mm/radix: Update Radix tree size as per ISA 3.0

2016-06-15 Thread Balbir Singh
On 16/06/16 13:21, Aneesh Kumar K.V wrote: > ISA 3.0 updated it to be encoded as Radix tree size = 2^(RTS + 31). We > have it encoded as 2^(RTS + 28). Add a helper with the correct encoding > and use it instead of opencoding. > > Fixes commit 2bfd65e45e87 ("powerpc/mm/radix: Add radix callbacks

[PATCH] powerpc/mm/radix: Update Radix tree size as per ISA 3.0

2016-06-15 Thread Aneesh Kumar K.V
ISA 3.0 updated it to be encoded as Radix tree size = 2^(RTS + 31). We have it encoded as 2^(RTS + 28). Add a helper with the correct encoding and use it instead of opencoding. Fixes commit 2bfd65e45e87 ("powerpc/mm/radix: Add radix callbacks for early init routine ") Signed-off-by: Aneesh Kumar