diff mbox

ARM: imx: always use TWD on IMX6Q

Message ID 1459957147-10133-1-git-send-email-bigeasy@linutronix.de
State New
Headers show

Commit Message

Sebastian Andrzej Siewior April 6, 2016, 3:39 p.m. UTC
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.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
 arch/arm/mach-imx/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Shawn Guo April 12, 2016, 8:04 a.m. UTC | #1
On Wed, Apr 06, 2016 at 05:39:07PM +0200, Sebastian Andrzej Siewior wrote:
> 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.
> 
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

Applied, thanks.
diff mbox

Patch

diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 8ceda2844c4f..08bcf8fb76f2 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -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