]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: mm: Panic if an XPA kernel is run without RIXI
authorPaul Burton <paul.burton@imgtec.com>
Tue, 19 Apr 2016 08:25:11 +0000 (09:25 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 13:30:25 +0000 (15:30 +0200)
commit73ccd9ab86ec3ce4be2569f109d7b1f85a7bbc5c
treee1c41054ca9fe9a46872a6bd6c485ae6299ce176
parent9aa0f076ddf2335d66da5bb1c578f2ee82cc8c0a
MIPS: mm: Panic if an XPA kernel is run without RIXI

XPA kernels hardcode for the presence of RIXI - the PTE format & its
handling presume RI & XI bits. Make this dependence explicit by panicing
if we run on a system that violates it.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Reviewed-by: James Hogan <james.hogan@imgtec.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/13125/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/tlbex.c