[RFC PATCH v2 2/3] ARM: SoC: Add per SoC SMP and CPU hotplug operations
Santosh
santosh.shilimkar at ti.com
Fri Sep 9 13:06:37 EDT 2011
On Friday 09 September 2011 08:36 PM, Arnd Bergmann wrote:
> On Friday 09 September 2011, Santosh wrote:
>> 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
More information about the linux-arm-kernel
mailing list