]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: Use the correct SLB(LLP) encoding in tlbie instruction
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 4 Jul 2013 05:04:45 +0000 (10:34 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 24 Jul 2013 04:42:24 +0000 (14:42 +1000)
commitba863d33f4fab465492e4d95a19a19ff397097c0
tree6cf60e3ca5a7db688da71047619a4f92261bec18
parentc1d5ae23f710cba87f635197b1dd540dd761ebe5
powerpc/mm: Use the correct SLB(LLP) encoding in tlbie instruction

The sllp value is stored in mmu_psize_defs in such a way that we can easily OR
the value to get the operand for slbmte instruction. ie, the L and LP bits are
not contiguous. Decode the bits and use them correctly in tlbie.
regression is introduced by 9c0f26ebc2f27e65a85797aa77f4e8408c25899c
"powerpc: Update tlbie/tlbiel as per ISA doc"

Reported-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/hash_native_64.c