summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/cpu.c
diff options
context:
space:
mode:
authorAllen Pais <allen.pais@oracle.com>2017-07-24 08:14:18 +0200
committerDavid S. Miller <davem@davemloft.net>2017-08-04 20:08:53 +0200
commit7d484acb2f90643de7e242fd47e48c3ebb22df3a (patch)
tree81bdd10b755d48275984c845d3ad9588c0c2b288 /arch/sparc/kernel/cpu.c
parentsparc64: properly name the cpu constants (diff)
downloadlinux-7d484acb2f90643de7e242fd47e48c3ebb22df3a.tar.xz
linux-7d484acb2f90643de7e242fd47e48c3ebb22df3a.zip
sparc64: recognize and support sparc M8 cpu type
Recognize SPARC-M8 cpu type, hardware caps and cpu distribution map. Signed-off-by: Allen Pais <allen.pais@oracle.com> Signed-off-by: David Aldridge <david.j.aldridge@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/cpu.c')
-rw-r--r--arch/sparc/kernel/cpu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sparc/kernel/cpu.c b/arch/sparc/kernel/cpu.c
index 493e023a468a..ef4f18f7a674 100644
--- a/arch/sparc/kernel/cpu.c
+++ b/arch/sparc/kernel/cpu.c
@@ -506,6 +506,12 @@ static void __init sun4v_cpu_probe(void)
sparc_pmu_type = "sparc-m7";
break;
+ case SUN4V_CHIP_SPARC_M8:
+ sparc_cpu_type = "SPARC-M8";
+ sparc_fpu_type = "SPARC-M8 integrated FPU";
+ sparc_pmu_type = "sparc-m8";
+ break;
+
case SUN4V_CHIP_SPARC_SN:
sparc_cpu_type = "SPARC-SN";
sparc_fpu_type = "SPARC-SN integrated FPU";