linux/arch/powerpc
Balbir Singh 0ab5171b89 powerpc/mm: Fix no execute fault handling on pre-POWER5
Aneesh/Ben reported that the change to do_page_fault() we made in commit
1d18ad0268 ("powerpc/mm: Detect instruction fetch denied and report")
needs to handle the case where CPU_FTR_COHERENT_ICACHE is missing but we
have CPU_FTR_NOEXECUTE. In those cases the check added for
SRR1_ISI_N_OR_G might trigger a false positive.

This patch adds a check for CPU_FTR_COHERENT_ICACHE in addition to the
MSR value.

Fixes: 1d18ad0268 ("powerpc/mm: Detect instruction fetch denied and report")
Reported-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-11-30 17:19:01 +11:00
..
boot powerpc/boot: Fix rebuild when changing kernel endian 2016-11-29 21:42:34 +11:00
configs powerpc/configs: Turn on PPC crypto implementations in the server defconfigs 2016-11-18 23:02:19 +11:00
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2016-10-10 14:04:16 -07:00
include powerpc/mm: Batch tlb flush when invalidating pte entries 2016-11-28 22:45:49 +11:00
kernel powerpc/64e: Don't branch to dot symbols 2016-11-28 22:32:30 +11:00
kvm KVM: PPC: Book3S HV: Fix build error when SMP=n 2016-10-22 08:44:37 +11:00
lib powerpc/lib: Fix randconfig build failure in sstep.c 2016-11-18 22:40:42 +11:00
math-emu
mm powerpc/mm: Fix no execute fault handling on pre-POWER5 2016-11-30 17:19:01 +11:00
net powerpc/bpf: Add support for bpf constant blinding 2016-10-04 20:33:20 +11:00
oprofile powerpc/sparse: Make a bunch of things static 2016-09-13 17:35:47 +10:00
perf powerpc/sparse: Make a bunch of things static 2016-09-13 17:35:47 +10:00
platforms Merge branch 'topic/ppc-kvm' into next 2016-11-24 22:14:52 +11:00
scripts
sysdev powerpc: Add support for relative exception tables 2016-11-14 11:11:51 +11:00
xmon powerpc/xmon: Add 'dt' command to dump trace buffers 2016-11-25 14:30:27 +11:00
Kconfig powerpc: Initial stack protector (-fstack-protector) support 2016-11-23 22:57:15 +11:00
Kconfig.debug powerpc/mm: Dump linux pagetables 2016-11-17 17:11:46 +11:00
Makefile powerpc: Stop passing ARCH=ppc64 to boot Makefile 2016-11-29 21:42:34 +11:00
relocs_check.sh powerpc/64: whitelist unresolved modversions CRCs 2016-09-22 14:46:31 +02:00