linux/arch/powerpc/include/asm/book3s/64
Aneesh Kumar K.V 20717e1ff5 powerpc/mm: Fix little-endian 4K hugetlb
When we switched to big endian page table, we never updated the hugepd
format such that it can work for both big endian and little endian
config. This patch series update hugepd format such that it is looked at
as __be64 value in big endian page table config.

This patch also switch hugepd_t.pd from signed long to unsigned long.
I did update the FSL hugepd_ok check to check for the top bit instead
of checking > 0.

Fixes: 5dc1ef858c ("powerpc/mm: Use big endian Linux page tables for book3s 64")
Cc: stable@vger.kernel.org # v4.7+
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-01-18 11:58:50 +11:00
..
hash-4k.h powerpc/mm: Fix little-endian 4K hugetlb 2017-01-18 11:58:50 +11:00
hash-64k.h powerpc/64: get rid of MIN_HUGEPTE_SHIFT 2016-11-18 22:40:37 +11:00
hash.h powerpc/mm: Fix memory hotplug BUG() on radix 2017-01-17 10:05:43 +11:00
hugetlb.h powerpc/mm: Introduce _PAGE_LARGE software pte bits 2016-11-28 22:37:41 +11:00
mmu-hash.h powerpc/64: Simplify adaptation to new ISA v3.00 HPTE format 2016-11-16 15:43:25 +11:00
mmu.h powerpc/mm: Move register_process_table() out of ppc_md 2016-08-04 20:22:34 +10:00
pgalloc.h powerpc fixes for 4.7 #4 2016-06-25 06:01:48 -07:00
pgtable-4k.h powerpc/mm: use _raw variant of page table accessors 2016-07-17 16:42:51 +10:00
pgtable-64k.h powerpc/mm: use _raw variant of page table accessors 2016-07-17 16:42:51 +10:00
pgtable.h powerpc updates for 4.10 2016-12-16 09:26:42 -08:00
radix-4k.h powerpc/mm/radix: Add radix pte #defines 2016-05-01 18:32:52 +10:00
radix-64k.h powerpc/mm/radix: Add radix pte #defines 2016-05-01 18:32:52 +10:00
radix.h powerpc/mm: Batch tlb flush when invalidating pte entries 2016-11-28 22:45:49 +11:00
tlbflush-hash.h powerpc/mm: remove flush_tlb_page_nohash 2016-08-01 11:15:13 +10:00
tlbflush-radix.h powerpc/mm: Add radix__tlb_flush_pte_p9_dd1() 2016-11-28 22:43:45 +11:00
tlbflush.h powerpc/mm: remove flush_tlb_page_nohash 2016-08-01 11:15:13 +10:00