]> 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)
commitf0f333f13dac37b4a43cd76272bf1cb3ed7f815e
treeea983092d82099c94831e991c45b502e60843028
parent38a6622337580a2913663c3fc3a60a717c46fcf5
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: 0666fb66b8f5 ("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