[RFC PATCH] ARM: mvebu: Let the device-tree determine smp_ops

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Nov 6 07:33:27 PST 2014


Dear Andrew Lunn,

On Thu, 6 Nov 2014 16:21:35 +0100, Andrew Lunn wrote:

> Any idea what order things are done?
> 
> Would it be possible to remove the .smp entry, and then in
> mvebu_dt_init() check if there are smp operations set. If not, then
> set them to armada_xp_smp_ops?

->init_machine() is *way* too late for SMP. ->init_early() is also too
late as far as I remember. ->dt_fixup() would work, though I believe.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the linux-arm-kernel mailing list