]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/mm: Change the swap encoding in pte.
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 17 Jun 2015 02:43:41 +0000 (08:13 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 19 Jun 2015 07:10:29 +0000 (17:10 +1000)
commite148315852855f8f06b8bb4601c8cade34af8df3
tree74c75d4cc7201523a0aa9cf498a270aae818a531
parent02505cebc1db06707d31635e9c9b342d58f887b7
powerpc/mm: Change the swap encoding in pte.

Current swap encoding in pte can't support large pfns
above 4TB. Change the swap encoding such that we put
the swap type in the PTE bits. Also add build checks
to make sure we don't overlap with HPTEFLAGS.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/pgtable-ppc64.h
arch/powerpc/include/asm/pte-book3e.h
arch/powerpc/include/asm/pte-hash64.h