[3.13.y.z extended stable] Patch "sparc64: support M6 and M7 for building CPU distribution map" has been added to staging queue

Kamal Mostafa kamal at canonical.com
Fri Oct 31 20:53:29 UTC 2014


This is a note to let you know that I have just added a patch titled

    sparc64: support M6 and M7 for building CPU distribution map

to the linux-3.13.y-queue branch of the 3.13.y.z extended stable tree 
which can be found at:

 http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.13.y-queue

This patch is scheduled to be released in version 3.13.11.11.

If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.13.y.z tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable

Thanks.
-Kamal

------

>From 379ca5047957cbe1cf3605d68a7dc4527c77c488 Mon Sep 17 00:00:00 2001
From: Allen Pais <allen.pais at oracle.com>
Date: Mon, 8 Sep 2014 11:48:54 +0530
Subject: sparc64: support M6 and M7 for building CPU distribution map

[ Upstream commit 9bd3ee33f6b97de092610d8dcabc4cb98d99505c ]

Add M6 and M7 chip type in cpumap.c to correctly build CPU distribution map that spans all online CPUs.

Signed-off-by: Allen Pais <allen.pais at oracle.com>
Signed-off-by: David S. Miller <davem at davemloft.net>
Signed-off-by: Kamal Mostafa <kamal at canonical.com>
---
 arch/sparc/kernel/cpumap.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/sparc/kernel/cpumap.c b/arch/sparc/kernel/cpumap.c
index cb5d272..b031c9c 100644
--- a/arch/sparc/kernel/cpumap.c
+++ b/arch/sparc/kernel/cpumap.c
@@ -327,6 +327,8 @@ static int iterate_cpu(struct cpuinfo_tree *t, unsigned int root_index)
 	case SUN4V_CHIP_NIAGARA3:
 	case SUN4V_CHIP_NIAGARA4:
 	case SUN4V_CHIP_NIAGARA5:
+	case SUN4V_CHIP_SPARC_M6:
+	case SUN4V_CHIP_SPARC_M7:
 	case SUN4V_CHIP_SPARC64X:
 		rover_inc_table = niagara_iterate_method;
 		break;
--
1.9.1





More information about the kernel-team mailing list