Skip to content

Revert broken C0_Pagegrain[PG_IEC] support.

David Daney linux-mips 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Revert "MIPS: Use dedicated exception handler if CPU supports RI/XI exceptions"arch/mips/kernel/traps.c arch/mips/mm/tlbex.c+2 -90 replies
2/2Revert "MIPS: kernel: cpu-probe: Detect unique RI/XI exceptions"arch/mips/include/asm/mipsregs.h arch/mips/kernel/cpu-probe.c+0 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Revert broken C0_Pagegrain[PG_IEC] support.

From: David Daney <[email protected]>

The two patches reverted here break eXecute-Inhibit (XI) memory protection support. Before the patches we get SIGSEGV when attempting to execute in non-executable memory, after the patches we loop forever in handle_tlbl.

It is probably possible to make C0_Pagegrain[PG_IEC] work, but I think the most prudent thing is to revert these patches, and then only reapply something that works after it has been well tested.

David Daney (2):
Revert "MIPS: Use dedicated exception handler if CPU supports RI/XI
exceptions"
Revert "MIPS: kernel: cpu-probe: Detect unique RI/XI exceptions"

 arch/mips/include/asm/mipsregs.h | 1 -
 arch/mips/kernel/cpu-probe.c     | 9 ---------
 arch/mips/kernel/traps.c         | 7 -------
 arch/mips/mm/tlbex.c             | 4 ++--
 4 files changed, 2 insertions(+), 19 deletions(-)
Signature · 1 line
1.7.11.7