Skip to contentSkip to conversation

ARM: imx: always use TWD on IMX6Q

PATCH New Sebastian Andrzej Siewior 2 participants 2 messages Apr 6, 2016 – Apr 12, 2016

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

PATCH 1/1 ARM: imx: always use TWD on IMX6Q

There is no reason to limit the TWD to be used on SMP kernels only if the hardware has it available.
On Wandboard i.MX6SOLO, running PREEMPT-RT and cyclictest I see as max immediately after start in idle:
UP : ~90us
SMP: ~50us
UP + TWD: ~20us.
Based on this numbers I prefer the TWD over the slightly slower MXC timer.

---
 arch/arm/mach-imx/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-imx/Kconfig +1 -1
index 8ceda2844c4f..08bcf8fb76f2 100644
@@ -524,7 +524,7 @@ config SOC_IMX6Q
 	bool "i.MX6 Quad/DualLite support"
 	select ARM_ERRATA_764369 if SMP
 	select HAVE_ARM_SCU if SMP
-	select HAVE_ARM_TWD if SMP
+	select HAVE_ARM_TWD
 	select PCI_DOMAINS if PCI
 	select PINCTRL_IMX6Q
 	select SOC_IMX6
Signature · 1 line
2.8.0.rc3
Applied
#1 lore raw

PATCH 1/1 ARM: imx: always use TWD on IMX6Q

Quoted 11 lines · Sebastian Andrzej Siewior

There is no reason to limit the TWD to be used on SMP kernels only if the hardware has it available.
On Wandboard i.MX6SOLO, running PREEMPT-RT and cyclictest I see as max immediately after start in idle:
UP : ~90us
SMP: ~50us
UP + TWD: ~20us.
Based on this numbers I prefer the TWD over the slightly slower MXC timer.

Applied, thanks.