]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: pgtable-bits: Fix XPA damage to R6 definitions.
authorMarkos Chandras <markos.chandras@imgtec.com>
Fri, 29 May 2015 13:43:52 +0000 (14:43 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 9 Jun 2015 08:45:05 +0000 (10:45 +0200)
commitc82f898e676f8c020f389a1481fbf1025fdd06d3
tree43438580e90d21d6376f5ef825d700647718d3e9
parent88c7f971858b0c9b873e363fc1f9280262becfbd
MIPS: pgtable-bits: Fix XPA damage to R6 definitions.

Commit e4641ac505e2 ("MIPS: Rearrange PTE bits into fixed positions.")
rearranged the PTE bits into fixed positions in preparation for the XPA
support. However, this patch broke R6 since it only took R2 cores
into consideration for the RI/XI bits leading to boot failures. We fix
this by adding the missing CONFIG_CPU_MIPSR6 definitions

Fixes: e4641ac505e2 ("MIPS: Rearrange PTE bits into fixed positions.")
Cc: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10208/
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/pgtable-bits.h