linux/arch/powerpc/mm
Frederic Barrat 88b1bf7268 powerpc/mm: Add missing global TLB invalidate if cxl is active
Commit 4c6d9acce1 ("powerpc/mm: Add hooks for cxl") converted local
TLB invalidates to global if the cxl driver is active. This is necessary
because the CAPP snoops invalidations to forward them to the PSL on the
cxl adapter. However one path was forgotten. native_flush_hash_range()
still does local TLB invalidates, as found out the hard way recently.

This patch fixes it by following the same logic as previously: if the
cxl driver is active, the local TLB invalidates are 'upgraded' to
global.

Fixes: 4c6d9acce1 ("powerpc/mm: Add hooks for cxl")
Cc: stable@vger.kernel.org # v3.18+
Signed-off-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-04-05 22:13:37 +10:00
..
8xx_mmu.c
40x_mmu.c
44x_mmu.c
Makefile
copro_fault.c
dma-noncoherent.c
dump_hashpagetable.c
dump_linuxpagetables.c
fault.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/task_stack.h> 2017-03-02 08:42:36 +01:00
fsl_booke_mmu.c
hash64_4k.c
hash64_64k.c
hash_low_32.S
hash_native_64.c powerpc/mm: Add missing global TLB invalidate if cxl is active 2017-04-05 22:13:37 +10:00
hash_utils_64.c sched/headers: Prepare to remove the <linux/mm_types.h> dependency from <linux/sched.h> 2017-03-02 08:42:37 +01:00
highmem.c
hugepage-hash64.c
hugetlbpage-book3e.c
hugetlbpage-hash64.c
hugetlbpage-radix.c
hugetlbpage.c
icswx.c
icswx.h
icswx_pid.c
init-common.c
init_32.c
init_64.c Revert "powerpc/64: Disable use of radix under a hypervisor" 2017-03-21 16:50:28 +11:00
mem.c
mmap.c sched/headers: Prepare for new header dependencies before moving more code to <linux/sched/mm.h> 2017-03-02 08:42:30 +01:00
mmu_context_book3s64.c
mmu_context_hash32.c
mmu_context_iommu.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/signal.h> 2017-03-02 08:42:29 +01:00
mmu_context_nohash.c
mmu_decl.h
numa.c
pgtable-book3e.c
pgtable-book3s64.c sched/headers: Prepare to remove the <linux/mm_types.h> dependency from <linux/sched.h> 2017-03-02 08:42:37 +01:00
pgtable-hash64.c sched/headers: Prepare to remove the <linux/mm_types.h> dependency from <linux/sched.h> 2017-03-02 08:42:37 +01:00
pgtable-radix.c powerpc fixes for 4.11 #3 2017-03-07 10:46:10 -08:00
pgtable.c
pgtable_32.c
pgtable_64.c
ppc_mmu_32.c
slb.c sched/headers: Prepare to remove the <linux/mm_types.h> dependency from <linux/sched.h> 2017-03-02 08:42:37 +01:00
slb_low.S
slice.c
subpage-prot.c
tlb-radix.c
tlb_hash32.c
tlb_hash64.c
tlb_low_64e.S
tlb_nohash.c
tlb_nohash_low.S
vphn.c
vphn.h