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)
commitd7b631419b3d230a4d383a8c5f5f294f3bc564f9
tree43438580e90d21d6376f5ef825d700647718d3e9
parentd4a4f75cd8f29cd9464a5a32e9224a91571d6649
MIPS: pgtable-bits: Fix XPA damage to R6 definitions.

Commit be0c37c985ed ("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: be0c37c985ed ("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