MIPS: detect presence of MAARs
authorPaul Burton <paul.burton@imgtec.com>
Mon, 14 Jul 2014 09:32:14 +0000 (10:32 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 1 Aug 2014 22:06:45 +0000 (00:06 +0200)
commit1f6c52ff7225789d20c1d69883f263d502b7eda7
treec97ef1d8e597e9b046b6adecf305df488d6543c2
parente19d5dbad5b4ea445be29d7146dd6a1cd9b51b97
MIPS: detect presence of MAARs

Detect the presence of MAAR using the MRP bit in Config5, and record
that presence using a CPU option bit. A cpu_has_maar macro will then
allow code to conditionalise upon the presence of MAARs.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7330/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/cpu-features.h
arch/mips/include/asm/cpu.h
arch/mips/kernel/cpu-probe.c
This page took 0.035963 seconds and 5 git commands to generate.