diff options
author | Allen Pais <allen.pais@oracle.com> | 2013-03-05 23:47:59 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-11 05:06:27 -0700 |
commit | 76950e6e54ccfc98a25b501dbb1bc879cce1aa29 (patch) | |
tree | d1d01120b00361e525c5a56d4f1170d6cd769ad7 /arch/sparc/kernel/cpu.c | |
parent | a29564289973a519dae0d8936d2e4c414416e2e0 (diff) | |
download | linux-76950e6e54ccfc98a25b501dbb1bc879cce1aa29.tar.gz linux-76950e6e54ccfc98a25b501dbb1bc879cce1aa29.tar.bz2 linux-76950e6e54ccfc98a25b501dbb1bc879cce1aa29.zip |
sparc64: correctly recognize SPARC64-X chips
The following patch adds support for correctly
recognizing SPARC-X chips.
cpu : Unknown SUN4V CPU
fpu : Unknown SUN4V FPU
pmu : Unknown SUN4V PMU
Signed-off-by: Katayama Yoshihiro <kata1@jp.fujitsu.com>
Signed-off-by: Allen Pais <allen.pais@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.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sparc/kernel/cpu.c b/arch/sparc/kernel/cpu.c index a6c94a2bf9d4..5c5125895db8 100644 --- a/arch/sparc/kernel/cpu.c +++ b/arch/sparc/kernel/cpu.c @@ -493,6 +493,12 @@ static void __init sun4v_cpu_probe(void) sparc_pmu_type = "niagara5"; break; + case SUN4V_CHIP_SPARC64X: + sparc_cpu_type = "SPARC64-X"; + sparc_fpu_type = "SPARC64-X integrated FPU"; + sparc_pmu_type = "sparc64-x"; + break; + default: printk(KERN_WARNING "CPU: Unknown sun4v cpu type [%s]\n", prom_cpu_compatible); |