[PATCH 0/4] Convert highbank to use PSCI calls
Rob Herring
robherring2 at gmail.com
Wed Feb 27 08:51:53 EST 2013
On 02/27/2013 02:58 AM, Arnd Bergmann wrote:
> On Wednesday 27 February 2013, Rob Herring wrote:
>> From: Rob Herring <rob.herring at calxeda.com>
>>
>> This series converts highbank to use PSCI calls for secondary core boot,
>> hotplug, cpuidle, suspend/resume, reset, and poweroff. Doing this removes
>> about 200 lines of platform code (1/3 of it) and abstracts out the A9 and
>> A15 differences (some of which are not yet in place).
>
> Hi Rob,
>
> This looks pretty cool. Can you or Will comment on what is still left
> for the SMP ops that is actually required as platform specific code?
>
> Specifically, I'm wondering if we could have a set of default smp_ops
> based on this that we could use with the default machine descriptor [1]
> and any platform that has SMP enabled but a NULL smp_ops pointer.
My smp code is exactly the same as mach-virt with this, but adds cpu_die
for hotplug. smp_secondary_init will go away with Catalin's series to
use notifiers for the gic secondary init. This leaves smp_boot_secondary.
We could move these remaining smp_ops to psci.c and create psci_smp_ops.
That probably needs to be after the gic notifier changes.
Your patch, psci smp ops, and converting the arch timers to use
OF_CLKSRC_DECLARE will eliminate mach-virt unless Will has more things
planned for it.
Rob
More information about the linux-arm-kernel
mailing list