diff options
author | Balbir Singh <[email protected]> | 2016-11-30 11:35:36 +1100 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2016-11-30 17:19:01 +1100 |
commit | 0ab5171b8971282d7562b77f9b14137a827117fc (patch) | |
tree | 7136afdb2aa02fd3aa05ab376a2ee434f9701b7d /scripts/gdb/linux/modules.py | |
parent | f0f7fe1ac35330f077357c787ec5bd8958bf300d (diff) |
powerpc/mm: Fix no execute fault handling on pre-POWER5
Aneesh/Ben reported that the change to do_page_fault() we made in commit
1d18ad026844 ("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: 1d18ad026844 ("powerpc/mm: Detect instruction fetch denied and report")
Reported-by: Aneesh Kumar K.V <[email protected]>
Acked-by: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Balbir Singh <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions