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