RIXI fixes.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | MIPS: Handle page faults of executable but unreadable pages correctly.arch/ | +2 | 2 replies | |
| 2/2 | MIPS: Partially disable RIXI support.arch/ | +4 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | James Hogan |
|---|---|
| 1/2 | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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