Convert highbank to use PSCI calls
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 4 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 4 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] Convert highbank to use PSCI calls
Quoted 8 lines · Arnd Bergmann
Quoted 6 lines · Rob Herring
From: Rob Herring <[email protected]>
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).
Quoted 8 lines
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_opsbased on this that we could use with the default machine descriptor [1] and any platform that has SMP enabled but a NULLsmp_opspointer.
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