linux_dsm_epyc7002/arch/powerpc/mm
Reza Arbab a0615a16f7 powerpc/mm: Use the correct pointer when setting a 2MB pte
When setting a 2MB pte, radix__map_kernel_page() is using the address

	ptep = (pte_t *)pudp;

Fix this conversion to use pmdp instead. Use pmdp_ptep() to do this
instead of casting the pointer.

Fixes: 2bfd65e45e ("powerpc/mm/radix: Add radix callbacks for early init routines")
Cc: stable@vger.kernel.org # v4.7+
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Reza Arbab <arbab@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-01-30 15:35:13 +11:00
..
8xx_mmu.c
40x_mmu.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
44x_mmu.c
copro_fault.c powerpc/mm/coproc: Handle bad address on coproc slb fault 2016-11-22 11:57:08 +11:00
dma-noncoherent.c
dump_hashpagetable.c
dump_linuxpagetables.c powerpc/mm: Fix page table dump build on non-Book3S 2016-12-01 16:20:18 +11:00
fault.c powerpc/mm: Fix no execute fault handling on pre-POWER5 2016-11-30 17:19:01 +11:00
fsl_booke_mmu.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
hash64_4k.c powerpc/mm: Fix lazy icache flush on pre-POWER5 2016-11-29 23:59:40 +11:00
hash64_64k.c powerpc/mm: Fix lazy icache flush on pre-POWER5 2016-11-29 23:59:40 +11:00
hash_low_32.S
hash_native_64.c Merge branch 'topic/ppc-kvm' into next 2016-11-24 22:14:52 +11:00
hash_utils_64.c powerpc/mm: Fix memory hotplug BUG() on radix 2017-01-17 10:05:43 +11:00
highmem.c
hugepage-hash64.c
hugetlbpage-book3e.c
hugetlbpage-hash64.c powerpc/mm: Fix little-endian 4K hugetlb 2017-01-18 11:58:50 +11:00
hugetlbpage-radix.c
hugetlbpage.c powerpc/mm: Fix little-endian 4K hugetlb 2017-01-18 11:58:50 +11:00
icswx_pid.c
icswx.c
icswx.h
init_32.c
init_64.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
init-common.c powerpc: Fix pgtable pmd cache init 2017-01-18 11:58:30 +11:00
Makefile Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/scottwood/linux into next 2016-12-16 15:05:38 +11:00
mem.c
mmap.c
mmu_context_book3s64.c powerpc/mm/iommu, vfio/spapr: Put pages on VFIO container shutdown 2016-12-02 14:38:34 +11:00
mmu_context_hash32.c
mmu_context_iommu.c powerpc/mm/iommu, vfio/spapr: Put pages on VFIO container shutdown 2016-12-02 14:38:34 +11:00
mmu_context_nohash.c
mmu_decl.h
numa.c cpu/hotplug: Cleanup state names 2016-12-25 10:47:44 +01:00
pgtable_32.c powerpc: port 64 bits pgtable_cache to 32 bits 2016-12-09 22:48:01 -06:00
pgtable_64.c powerpc/64: Provide functions for accessing POWER9 partition table 2016-11-23 10:32:11 +11:00
pgtable-book3e.c
pgtable-book3s64.c powerpc/mm: Fix memory hotplug BUG() on radix 2017-01-17 10:05:43 +11:00
pgtable-hash64.c
pgtable-radix.c powerpc/mm: Use the correct pointer when setting a 2MB pte 2017-01-30 15:35:13 +11:00
pgtable.c powerpc/mm: update radix__ptep_set_access_flag to not do full mm tlb flush 2016-11-28 22:44:33 +11:00
ppc_mmu_32.c
slb_low.S
slb.c
slice.c
subpage-prot.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
tlb_hash32.c
tlb_hash64.c
tlb_low_64e.S
tlb_nohash_low.S
tlb_nohash.c powerpc/8xx: Implement support of hugepages 2016-12-09 22:49:07 -06:00
tlb-radix.c powerpc updates for 4.10 2016-12-16 09:26:42 -08:00
vphn.c
vphn.h