Thread (12 messages) flat view 12 messages, 4 authors, 2011-09-09
STALE5444d

[RFC PATCH v2 2/3] ARM: SoC: Add per SoC SMP and CPU hotplug operations

From: Santosh <hidden>
Date: 2011-09-09 17:06:37

On Friday 09 September 2011 08:36 PM, Arnd Bergmann wrote:
On Friday 09 September 2011, Santosh wrote:
quoted
Sorry for such a basic question but I don't understand the need
of these wrappers.
I am not upto speed on this topic but what is the motivation
behind the soc_smp_ops(). All of above functions are CPU specific
and not really soc specific though, I agree that every SOC,
implements it's own version.
We have two separate problems to solve that we should not confuse:

1. Get multiple soc platforms to compile together in a single kernel
    binary.
2. Share as much code as possible between similar soc platforms.

Marc's patch only addresses the first problem, and we need that
anyway if we want to get e.g. cortex-a9 based systems to be
supported in the same kernel as Qualcomm and Marvell CPU based
ones.

The other part is useful too, but it's easier to do after this one.
Agree. Thanks for the clarification.

Regards
Santosh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help