diff options
author | Vincent Guittot <[email protected]> | 2024-01-17 20:05:45 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-01-30 16:01:22 -0800 |
commit | 98323e9d70172f1b46d1cadb20d6c54abf62870d (patch) | |
tree | 3dc1234d7ab041a927f525432b9441280e6cf9a6 /lib/test-string_helpers.c | |
parent | 41bccc98fb7931d63d03f326a746ac4d429c1dd3 (diff) |
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 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions