Skip to contentSkip to conversation

arm: socfpga: Enable ARM_TWD for socfpga

PATCH Superseded dinguyen at altera.com 2 participants 2 messages Oct 1, 2013 – Nov 7, 2013

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

PATCH v2 1/1 arm: socfpga: Enable ARM_TWD for socfpga

From: Dinh Nguyen <[email protected]>

Update SOCFPGA's Kconfig to include building the ARM TWD timer for SMP use.

CC Arnd Bergmann <[email protected]>
CC Olof Johansson <[email protected]>
Cc Pavel Machek <[email protected]>
Cc linux-arm-kernel at lists.infradead.org

---
v2:
- Add a condition 'if SMP' for HAVE_ARM_TWD

---
 arch/arm/mach-socfpga/Kconfig |    1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-socfpga/Kconfig +1 -0
index dd86db4..823de65 100644
@@ -11,6 +11,7 @@ config ARCH_SOCFPGA
 	select GENERIC_CLOCKEVENTS
 	select GPIO_PL061 if GPIOLIB
 	select HAVE_ARM_SCU
+	select HAVE_ARM_TWD if SMP
 	select HAVE_SMP
 	select MFD_SYSCON
 	select SPARSE_IRQ
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH v2 1/1 arm: socfpga: Enable ARM_TWD for socfpga

Hi Arnd/Olof,

Quoted 23 lines · dinguyen at altera.com

From: Dinh Nguyen <[email protected]>

Update SOCFPGA's Kconfig to include building the ARM TWD timer for SMP use.

CC Arnd Bergmann <[email protected]>
CC Olof Johansson <[email protected]>
Cc Pavel Machek <[email protected]>
Cc linux-arm-kernel at lists.infradead.org

---
v2:
- Add a condition 'if SMP' for HAVE_ARM_TWD

---
 arch/arm/mach-socfpga/Kconfig |    1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-socfpga/Kconfig +0 -0
index dd86db4..823de65 100644

arch/arm/mach-socfpga/Kconfig config ARCH_SOCFPGA · line 17

Quoted 7 lines
arch/arm/mach-socfpga/Kconfig +1 -0
@@ -11,6 +11,7 @@ config ARCH_SOCFPGA
 	select GENERIC_CLOCKEVENTS
 	select GPIO_PL061 if GPIOLIB
 	select HAVE_ARM_SCU
+	select HAVE_ARM_TWD if SMP
 	select HAVE_SMP
 	select MFD_SYSCON
 	select SPARSE_IRQ

If it's not too late, can you apply this?

Thanks,
DInh