diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2015-07-23 11:10:59 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-08-03 09:25:11 +0200 |
commit | 55fdcb2d56b6edc027657fde9da0c4f224d32303 (patch) | |
tree | 7a56bedf84ec15530dadee70047359e2f079c94e /arch/mips/loongson64/loongson-3 | |
parent | e070dab73523bcbf2409ba8b5c342d53bccc0959 (diff) | |
download | op-kernel-dev-55fdcb2d56b6edc027657fde9da0c4f224d32303.zip op-kernel-dev-55fdcb2d56b6edc027657fde9da0c4f224d32303.tar.gz |
MIPS: Partially disable RIXI support.
Execution of break instruction, trap instructions, emulation of unaligned
loads or floating point instructions - anything that tries to read the
instruction's opcode from userspace - needs read access to a page.
RIXI (Read Inhibit / Execute Inhibit) support however allows the creation of
pags that are executable but not readable. On such a mapping the attempted
load of the opcode by the kernel is going to cause an endless loop of
page faults.
The quick workaround for this is to disable the combinations that the kernel
currently isn't able to handle which are executable mappings.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/loongson64/loongson-3')
0 files changed, 0 insertions, 0 deletions