powerpc/fsl-booke: Use HW PTE format if CONFIG_PTE_64BIT
Switch to using the Power ISA defined PTE format when we have a 64-bit PTE. This makes the code handling between fsl-booke and book3e-64 similiar for TLB faults. Additionally this lets use take advantage of the page size encodings and full permissions that the HW PTE defines. Also defined _PMD_PRESENT, _PMD_PRESENT_MASK, and _PMD_BAD since the 32-bit ppc arch code expects them. Signed-off-by:Kumar Gala <galak@kernel.crashing.org> Signed-off-by:
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Showing
- arch/powerpc/include/asm/pgtable-ppc32.h 2 additions, 0 deletionsarch/powerpc/include/asm/pgtable-ppc32.h
- arch/powerpc/include/asm/pte-book3e.h 3 additions, 0 deletionsarch/powerpc/include/asm/pte-book3e.h
- arch/powerpc/include/asm/pte-fsl-booke.h 0 additions, 7 deletionsarch/powerpc/include/asm/pte-fsl-booke.h
- arch/powerpc/kernel/head_fsl_booke.S 25 additions, 11 deletionsarch/powerpc/kernel/head_fsl_booke.S
Loading
Please register or sign in to comment