MIPS: Probe the P6600 core
authorPaul Burton <paul.burton@imgtec.com>
Wed, 3 Feb 2016 03:26:39 +0000 (03:26 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:01:52 +0000 (14:01 +0200)
Support probing the P6600 core now that cases for handling it have been
added throughout the core MIPS kernel code.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Maciej W. Rozycki <macro@imgtec.com>
Cc: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12344/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/cpu-probe.c

index 388503867657fe70bc8059bf45cbf84ab6226da5..0aa5bb06bb476b1e6be8a7c00b43031db81346ed 100644 (file)
@@ -1317,6 +1317,10 @@ static inline void cpu_probe_mips(struct cpuinfo_mips *c, unsigned int cpu)
                c->cputype = CPU_P5600;
                __cpu_name[cpu] = "MIPS P5600";
                break;
+       case PRID_IMP_P6600:
+               c->cputype = CPU_P6600;
+               __cpu_name[cpu] = "MIPS P6600";
+               break;
        case PRID_IMP_I6400:
                c->cputype = CPU_I6400;
                __cpu_name[cpu] = "MIPS I6400";