diff options
| author | Juri Lelli <[email protected]> | 2016-10-17 16:46:45 +0100 |
|---|---|---|
| committer | Catalin Marinas <[email protected]> | 2016-11-07 18:15:03 +0000 |
| commit | 7202bde8b7aea7c914e33c7bc2dfb145587f1bdc (patch) | |
| tree | b52b66bce99af25b770000fc7bbdaa0d246fdcb7 /net/unix/af_unix.c | |
| parent | de42fe116dcc157b08d5db367bde4742d4e76af3 (diff) | |
arm64: parse cpu capacity-dmips-mhz from DT
With the introduction of cpu capacity-dmips-mhz bindings, CPU capacities
can now be calculated from values extracted from DT and information
coming from cpufreq. Add parsing of DT information at boot time, and
complement it with cpufreq information. Also, store such information
using per CPU variables, as we do for arm.
Caveat: the information provided by this patch will start to be used in
the future. We need to #define arch_scale_cpu_capacity to something
provided in arch, so that scheduler's default implementation (which gets
used if arch_scale_cpu_capacity is not defined) is overwritten.
Cc: Will Deacon <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: Sudeep Holla <[email protected]>
Signed-off-by: Juri Lelli <[email protected]>
Acked-by: Vincent Guittot <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions