]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
MIPS: mm: c-r4k: Panic if IL or DL fields have a reserved value
authorMarkos Chandras <markos.chandras@imgtec.com>
Thu, 19 Sep 2013 17:18:41 +0000 (18:18 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 22 Jan 2014 19:18:56 +0000 (20:18 +0100)
commit175cba8c7457a4d1c331a45323600368ba977fbf
treeb38fcbe0290b5f68f8dd168ed7b563d9d51a5877
parent40149889ce4d3c99fdbea6b6ca803bb872daebb5
MIPS: mm: c-r4k: Panic if IL or DL fields have a reserved value

According to MIPS32 and MIPS64 PRA documents,
a value of 7 in IL and DL fields is marked as "Reserved"
so panic if the core uses this value in the config1 register.
Also simplify the code a little bit.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/5861/
arch/mips/mm/c-r4k.c