summaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu/ieee754sp.c
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2015-07-13 18:12:44 +0200
committerRalf Baechle <ralf@linux-mips.org>2016-04-03 10:39:26 +0200
commit091bc3a4049cb0cb28b8e3e71d8738387b91a007 (patch)
treecd102c6a2e4ec7e8d1c467723467066cbc62bcc0 /arch/mips/math-emu/ieee754sp.c
parentMIPS: zboot: Remove copied source files on clean (diff)
downloadlinux-091bc3a4049cb0cb28b8e3e71d8738387b91a007.tar.xz
linux-091bc3a4049cb0cb28b8e3e71d8738387b91a007.zip
MIPS: tlb-r4k: panic if the MMU doesn't support PAGE_SIZE
After writing the appropriate mask to the cop0 PageMask register, read the register back & check it matches what we want. If it doesn't then the MMU does not support the page size the kernel is configured for and we're better off bailing than continuing to do odd things with TLB exceptions. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: Steven J. Hill <Steven.Hill@imgtec.com> Cc: Joshua Kinard <kumba@gentoo.org> Cc: Rafał Miłecki <zajec5@gmail.com> Cc: James Hogan <james.hogan@imgtec.com> Cc: Markos Chandras <markos.chandras@imgtec.com> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/10691/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu/ieee754sp.c')
0 files changed, 0 insertions, 0 deletions