]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Detect DSP v3 support
authorZubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Tue, 29 Mar 2016 14:50:25 +0000 (15:50 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:01:57 +0000 (14:01 +0200)
commit838bbd4da983baa6b33a94bf1902f46287afad17
tree992cd11b5d9330905d9a4e71cceed9345b5693f2
parent1288d02700f0fe9aef455c6296786605e3f1a6a8
MIPS: Detect DSP v3 support

DSPv3 is supported on all MIPSr6 systems which indicate support for DSPv2.

This doesn't require any changes to the kernel's handling of DSP
resources. The patch is to detect support and indicate it in /proc/cpuinfo

DSP v3 introduces a new instruction BPOSGE32C

Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Reviewed-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12918/
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
arch/mips/kernel/proc.c