All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Revert broken C0_Pagegrain[PG_IEC] support.
@ 2014-12-20  0:33 David Daney
  2014-12-20  0:33   ` David Daney
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: David Daney @ 2014-12-20  0:33 UTC (permalink / raw)
  To: linux-mips, ralf; +Cc: Leonid Yegoshin, David Daney

From: David Daney <david.daney@cavium.com>

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(-)

-- 
1.7.11.7

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-12-20  1:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-20  0:33 [PATCH 0/2] Revert broken C0_Pagegrain[PG_IEC] support David Daney
2014-12-20  0:33 ` [PATCH 1/2] Revert "MIPS: Use dedicated exception handler if CPU supports RI/XI exceptions" David Daney
2014-12-20  0:33   ` David Daney
2014-12-20  0:33 ` [PATCH 2/2] Revert "MIPS: kernel: cpu-probe: Detect unique " David Daney
2014-12-20  0:33   ` David Daney
2014-12-20  0:43 ` [PATCH 0/2] Revert broken C0_Pagegrain[PG_IEC] support Leonid Yegoshin
2014-12-20  0:43   ` Leonid Yegoshin
2014-12-20  0:49   ` Leonid Yegoshin
2014-12-20  0:49     ` Leonid Yegoshin
2014-12-20  0:52     ` Ralf Baechle
2014-12-20  1:10       ` David Daney
2014-12-20  1:19         ` Leonid Yegoshin
2014-12-20  1:19           ` Leonid Yegoshin
2014-12-20  0:55   ` David Daney
2014-12-20  0:55     ` David Daney

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.