original_kernel/arch/powerpc/mm
Aneesh Kumar K.V 7b868e81be powerpc/mm: Return NULL for not present hugetlb page
We need to check whether pte is present in follow_huge_addr() and
properly return NULL if mapping is not present. Also use READ_ONCE
when dereferencing pte_t address.

Without this patch, we may wrongly return a zero pfn page in
follow_huge_addr().

Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2015-05-12 11:04:29 +10:00
..
40x_mmu.c
44x_mmu.c
Makefile
copro_fault.c
dma-noncoherent.c
fault.c
fsl_booke_mmu.c
hash_low_32.S
hash_low_64.S
hash_native_64.c
hash_utils_64.c powerpc/mm: Fix build error with CONFIG_PPC_TRANSACTIONAL_MEM disabled 2015-04-23 17:42:14 +10:00
highmem.c
hugepage-hash64.c
hugetlbpage-book3e.c
hugetlbpage-hash64.c
hugetlbpage.c powerpc/mm: Return NULL for not present hugetlb page 2015-05-12 11:04:29 +10:00
icswx.c
icswx.h
icswx_pid.c
init_32.c
init_64.c
mem.c
mmap.c
mmu_context_hash32.c
mmu_context_hash64.c
mmu_context_nohash.c
mmu_decl.h
numa.c
pgtable.c
pgtable_32.c
pgtable_64.c powerpc/thp: Serialize pmd clear against a linux page table walk. 2015-05-12 11:03:29 +10:00
ppc_mmu_32.c
slb.c
slb_low.S
slice.c
subpage-prot.c
tlb_hash32.c
tlb_hash64.c
tlb_low_64e.S
tlb_nohash.c
tlb_nohash_low.S
vphn.c
vphn.h