big.LITTLE low-level CPU and cluster power management
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 16 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 16 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 00/16] big.LITTLE low-level CPU and cluster power management
Quoted 31 lines · Nicolas Pitre
Quoted 13 lines · Joseph Lo
Hi Nicolas,
Quoted 9 lines · Nicolas Pitre
This is the initial public posting of the initial support for big.LITTLE. Included here is the code required to safely power up and down CPUs in a b.L system, whether this is via CPU hotplug, a cpuidle driver or the Linaro b.L in-kernel switcher[*] on top of this. Only SMP secondary boot and CPU hotplug support is included at this time. Getting to this point already represents a significcant chunk of code as illustrated by the diffstat below.
Quoted 5 lines
Thanks for introducing this series.
I am taking a look at this series. It introduced an algorithm for syncing and avoid racing when syncing the power status of clusters and CPUs. Do you think these codes could have a chance to become a generic framework?Yes. As I mentioned before, the
bL_prefix is implied only by the fact that big.LITTLE was the motivation for creating this code.Quoted 1 line
The Tegra chip series had a similar design for CPU clusters and it
had
Quoted 5 lines
limitation that the CPU0 always needs to be the last CPU to be shut down before cluster power down as well. I believe it can also get benefits of this works. We indeed need a similar algorithm to sync CPUs power status before cluster power down and switching.
Quoted 9 lines
Quoted 6 lines
The "
bL_entry.c", "bL_entry.S", "bL_entry.h", "vlock.h" and "vlock.S" looks have a chance to be a common framework for ARM platform even if it just support one cluster. Because some systems had the limitations for cluster power down. That's why the coupled cpuidle been introduced. And this framework could be enabled automatically if platform dependent or by menuconfig.Absolutely.
So do you have a plan to make it become a generic framework in this series or later work?
(And I will add some common power sync wrapper functions that based on this framework for all Tegra series.)
Quoted 8 lines
Quoted 5 lines
For ex,
select CPUS_CLUSTERS_POWER_SYNC_FRAMEWORK if SMP && CPU_PMHow do you think of this suggestion?
I'd prefer a more concise name though.
Sure. :-)
Thanks,
Joseph