summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/cpu.c
diff options
context:
space:
mode:
authorKhalid Aziz <khalid.aziz@oracle.com>2016-04-19 11:12:54 -0600
committerDavid S. Miller <davem@davemloft.net>2016-04-21 16:43:47 -0400
commitc5b8b5beee1e2aadef0409dba555b7085d57910d (patch)
tree141dbfd81121c82f06c5a68b75426ae2ab77517b /arch/sparc/kernel/cpu.c
parent5bde2c9be701c4583f0a9243bd46590ec401bfba (diff)
downloadop-kernel-dev-c5b8b5beee1e2aadef0409dba555b7085d57910d.zip
op-kernel-dev-c5b8b5beee1e2aadef0409dba555b7085d57910d.tar.gz
sparc64: recognize and support Sonoma CPU type
Add code to recognize SPARC-Sonoma cpu correctly and update cpu hardware caps and cpu distribution map. SPARC-Sonoma is based upon SPARC-M7 core along with additional PCI functions added on and is reported by firmware as "SPARC-SN". Signed-off-by: Khalid Aziz <khalid.aziz@oracle.com> Acked-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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sparc/kernel/cpu.c b/arch/sparc/kernel/cpu.c
index dfad8b1..493e023 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_SN:
+ sparc_cpu_type = "SPARC-SN";
+ sparc_fpu_type = "SPARC-SN integrated FPU";
+ sparc_pmu_type = "sparc-sn";
+ break;
+
case SUN4V_CHIP_SPARC64X:
sparc_cpu_type = "SPARC64-X";
sparc_fpu_type = "SPARC64-X integrated FPU";
OpenPOWER on IntegriCloud