diff options
| author | Vincent Guittot <[email protected]> | 2024-01-17 19:05:45 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-01-31 00:01:22 +0000 |
| commit | 98323e9d70172f1b46d1cadb20d6c54abf62870d (patch) | |
| tree | 3dc1234d7ab041a927f525432b9441280e6cf9a6 /scripts/clang-tools/gen_compile_commands.py | |
| parent | Linux 6.8-rc2 (diff) | |
| download | kernel-98323e9d70172f1b46d1cadb20d6c54abf62870d.tar.gz kernel-98323e9d70172f1b46d1cadb20d6c54abf62870d.zip | |
topology: Set capacity_freq_ref in all cases
If "capacity-dmips-mhz" is not set, raw_capacity is null and we skip the
normalization step which includes setting per_cpu capacity_freq_ref.
Always register the notifier but skip the capacity normalization if
raw_capacity is null.
Fixes: 9942cb22ea45 ("sched/topology: Add a new arch_scale_freq_ref() method")
Signed-off-by: Vincent Guittot <[email protected]>
Acked-by: Sudeep Holla <[email protected]>
Tested-by: Pierre Gondois <[email protected]>
Tested-by: Mark Brown <[email protected]>
Tested-by: Paul Barker <[email protected]>
Reviewed-by: Dietmar Eggemann <[email protected]>
Tested-by: Dietmar Eggemann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
