Skip to contentSkip to conversation

Kconfig changes for MSM to enable SMP

GIT PULL Daniel Walker 2 participants 4 messages Nov 23, 2010 – Nov 29, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Russell,

I've been trying to get these in for a while now. They're just Kconfig changes that allow MSM to use SMP. One of the patch does have a slight clean up where it moves the "\" out one space under "config SMP". I think that was the product of some feedback I received.

Please pull, or let me know if you want them done differently.

Daniel

--

The following changes since commit 3561d43fd289f590fdae672e5eb831b8d5cf0bf6:

Linux 2.6.37-rc3 (2010-11-21 15:18:56 -0800)

are available in the git repository at:
git://codeaurora.org/quic/kernel/dwalker/linux-msm.git for-russell

Daniel Walker (2):
arm: kconfig: enable SMP for MSM targets
arm: kconfig: dis-allow hotplug on MSM

 arch/arm/Kconfig          |   10 ++++++----
 arch/arm/mach-msm/Kconfig |    2 ++
 2 files changed, 8 insertions(+), 4 deletions(-)
arch/arm/Kconfig +6 -4
index db524e7..c8fa144 100644
@@ -1205,10 +1205,11 @@ config SMP
 	depends on EXPERIMENTAL
 	depends on GENERIC_CLOCKEVENTS
 	depends on REALVIEW_EB_ARM11MP || REALVIEW_EB_A9MP || \
-		 MACH_REALVIEW_PB11MP || MACH_REALVIEW_PBX || ARCH_OMAP4 ||\
-		 ARCH_S5PV310 || ARCH_TEGRA || ARCH_U8500 || ARCH_VEXPRESS_CA9X4
+		 MACH_REALVIEW_PB11MP || MACH_REALVIEW_PBX || ARCH_OMAP4 || \
+		 ARCH_S5PV310 || ARCH_TEGRA || ARCH_U8500 || ARCH_VEXPRESS_CA9X4 || \
+		 ARCH_MSM_SCORPIONMP
 	select USE_GENERIC_SMP_HELPERS
-	select HAVE_ARM_SCU
+	select HAVE_ARM_SCU if !ARCH_MSM_SCORPIONMP
 	help
 	  This enables support for systems with more than one CPU. If you have
 	  a system with only one CPU, like most personal computers, say N. If
@@ -1283,6 +1284,7 @@ config NR_CPUS
 config HOTPLUG_CPU
 	bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
 	depends on SMP && HOTPLUG && EXPERIMENTAL
+	depends on !ARCH_MSM
 	help
 	  Say Y here to experiment with turning CPUs off and on.  CPUs
 	  can be controlled through /sys/devices/system/cpu.
@@ -1291,7 +1293,7 @@ config LOCAL_TIMERS
 	bool "Use local timer interrupts"
 	depends on SMP
 	default y
-	select HAVE_ARM_TWD
+	select HAVE_ARM_TWD if !ARCH_MSM_SCORPIONMP
 	help
 	  Enable support for local timers on SMP platforms, rather then the
 	  legacy IPI broadcast method.  Local timers allows the system
arch/arm/mach-msm/Kconfig +2 -0
index dbbcfeb..31e5fd6 100644
@@ -49,6 +49,8 @@ endchoice
 
 config MSM_SOC_REV_A
 	bool
+config  ARCH_MSM_SCORPIONMP
+	bool
 
 config  ARCH_MSM_ARM11
 	bool
Signature · 3 lines
Sent by an consultant of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora
Forum.
#1 lore raw
Quoted 8 lines · Daniel Walker

Russell,

I've been trying to get these in for a while now. They're just Kconfig changes that allow MSM to use SMP. One of the patch does have a slight clean up where it moves the "\" out one space under "config SMP". I think that was the product of some feedback I received.

Please pull, or let me know if you want them done differently.

Could you give me some feedback on why your not pulling this? I need these changes to go in in order to add SMP support, which I have planned to add this coming merge window.

Do you want these going into you patch system? Do you not like the lack of TWD and SCU support or the way I accomplished the removal of them?

Gimme some hints please ..

Daniel

Signature · 2 lines
Sent by a consultant of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
#2 lore raw
Quoted 10 lines · Daniel Walker
Quoted 8 lines · Daniel Walker

Russell,

I've been trying to get these in for a while now. They're just Kconfig changes that allow MSM to use SMP. One of the patch does have a slight clean up where it moves the "\" out one space under "config SMP". I think that was the product of some feedback I received.

Please pull, or let me know if you want them done differently.

Quoted 8 lines

Could you give me some feedback on why your not pulling this? I need these changes to go in in order to add SMP support, which I have planned to add this coming merge window.

Do you want these going into you patch system? Do you not like the lack of TWD and SCU support or the way I accomplished the removal of them?

Gimme some hints please ..

commit 612275ad3966dd7ba491d5fe94e894a3861c9062
Merge: 698fd6a2 176bfc4
Author: Russell King <[email protected]>
Date: Fri Nov 26 10:26:10 2010 +0000

Merge branch 'for-russell' of git://codeaurora.org/quic/kernel/dwalker/linux-msm into devel-stable

?

#3 lore raw
Quoted 25 lines · Russell King - ARM Linux
Quoted 10 lines · Daniel Walker
Quoted 8 lines · Daniel Walker

Russell,

I've been trying to get these in for a while now. They're just Kconfig changes that allow MSM to use SMP. One of the patch does have a slight clean up where it moves the "\" out one space under "config SMP". I think that was the product of some feedback I received.

Please pull, or let me know if you want them done differently.

Quoted 8 lines

Could you give me some feedback on why your not pulling this? I need these changes to go in in order to add SMP support, which I have planned to add this coming merge window.

Do you want these going into you patch system? Do you not like the lack of TWD and SCU support or the way I accomplished the removal of them?

Gimme some hints please ..

commit 612275ad3966dd7ba491d5fe94e894a3861c9062
Merge: 698fd6a2 176bfc4
Author: Russell King <[email protected]>
Date: Fri Nov 26 10:26:10 2010 +0000

Quoted 4 lines

Merge branch 'for-russell' of git://codeaurora.org/quic/kernel/dwalker/linux-msm into devel-stable

?

Great! Thanks.

Daniel

Signature · 2 lines
Sent by a consultant of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.