Skip to content
Commit 8b8a7634 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

MIPS: Disable usermode switching of the FR bit for MIPS R5 CPUs.



Currently the kernel will always use the FR=0 register model for O32.  If
an O32 application did enable FR=1 mode, some data from another application
might be leaked in the extra registers becoming visible.

Iow, this patch is meant to make the kernel MIPS R5 tolerant but leaves
proper MIPS R5 support to a future patchset.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 2f9ee82c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment