]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm/hash: Compute the segment size correctly for ISA 3.0
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 19 May 2016 07:54:30 +0000 (13:24 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 8 Jun 2016 04:36:22 +0000 (14:36 +1000)
commit680bbc5ec899a705ffcf59c5e6d87edd13c700a7
treeea983092d82099c94831e991c45b502e60843028
parentcc59ea615d0b92576e20a87db8dcae920eaa3063
powerpc/mm/hash: Compute the segment size correctly for ISA 3.0

PowerISA 3.0 encodes the segment size in the second half of hash page
table entry. Update hpte_decode() accordingly.

Fixes: fa607afff427 ("powerpc/mm/hash: Add support for Power9 Hash")
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/hash_native_64.c