All of lore.kernel.org
 help / color / mirror / Atom feed
* Dropping "depends on SMP" for HAVE_ARM_TWD
@ 2015-03-26 13:57 Mason
  0 siblings, 0 replies; only message in thread
From: Mason @ 2015-03-26 13:57 UTC (permalink / raw)
  To: linux-arm-kernel

Hello everyone,

In http://thread.gmane.org/gmane.linux.ports.arm.kernel/389931/focus=392348
Stephen Boyd wrote:

> I don't see any problem with the TWD dropping the dependency on SMP.
> The code should work the same on a UP configuration [...]

However, this commit seems to imply some kind of limitation:

commit 904464b91eca8c665acea033489225af02eeb75a
Author: Shawn Guo <shawn.guo@linaro.org>
Date:   Fri Feb 22 14:01:42 2013 +0100

     ARM: 7655/1: smp_twd: make twd_local_timer_of_register() no-op for nosmp
     
     When booting a SMP build kernel with nosmp on kernel cmdline, the
     following fat warning will be hit.

     ------------[ cut here ]------------
     WARNING: at arch/arm/kernel/smp_twd.c:345
     twd_local_timer_of_register+0x7c/0x90()
     twd_local_timer_of_register failed (-6)
     Modules linked in:
     Backtrace: [snip]


I would like to be able to use the TWD on a UP system (Cortex A9 MPcore
with a single core).

Is it possible to revert commit 904464b9, and drop "depends on SMP"
from the "config HAVE_ARM_TWD" definition?

Are there UP systems that simply don't have a TWD?

Regards.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-26 13:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-26 13:57 Dropping "depends on SMP" for HAVE_ARM_TWD Mason

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.