MIPS: Ensure Config5.UFE is clear on boot
authorPaul Burton <paul.burton@imgtec.com>
Thu, 11 Sep 2014 07:30:19 +0000 (08:30 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:07 +0000 (07:45 +0100)
commitd175ed2bd6544474dcc99d74f8155c2ba44e8db2
treed4c3f724b8dbc6a0bf85216d0afe36bb23eed219
parentadac5d535d4e364324b92798bfb68336197e815e
MIPS: Ensure Config5.UFE is clear on boot

As is done for UFR, ensure that userland cannot directly manipulate the
mode by clearing the UFE bit during boot.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: linux-fsdevel@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/7677/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/cpu-probe.c