Skip to content

RIXI fixes.

Ralf Baechle linux-mips 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2MIPS: Handle page faults of executable but unreadable pages correctly.arch/mips/mm/fault.c+2 -12 replies
2/2MIPS: Partially disable RIXI support.arch/mips/mm/cache.c+4 -41 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchJames Hogan
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] RIXI fixes.

As part of unrelated work I ran into issus with RIXI support which allows the creation of pages that are executable but not readable. Problems arise with instruction emulation on such pages, for example when a load or store instruction is taking an unaligned exception, is an FPU instruction that requires emulation, a trap or break instruction of which the break code needs to bread and more.

A better solution would be to create a temporary mapping using kmap_coherent() but that's more complex so left for a later stage.

These patches have been sitting in a shady git tree for years but seem to work for me. Nevertheless Comments appreciated.

Cheers,

Ralf

Ralf Baechle (2):
MIPS: Handle page faults of executable but unreadable pages correctly.
MIPS: Partially disable RIXI support.

 arch/mips/mm/cache.c | 8 ++++----
 arch/mips/mm/fault.c | 3 ++-
 2 files changed, 6 insertions(+), 5 deletions(-)
Signature · 1 line
2.4.3