aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorGiovanni Gherdovich <[email protected]>2020-05-31 20:24:52 +0200
committerPeter Zijlstra <[email protected]>2020-06-15 14:10:02 +0200
commit51beea8862a3095559862df39554f05042e1195b (patch)
treedef1b72a6ceaf020d21c10721ca5c0891bf9cce4 /scripts/gcc-plugins/sancov_plugin.c
parente2b0d619b400ae326f954a018a1d65d736c237c5 (diff)
x86, sched: Bail out of frequency invariance if turbo frequency is unknown
There may be CPUs that support turbo boost but don't declare any turbo ratio, i.e. their MSR_TURBO_RATIO_LIMIT is all zeroes. In that condition scale-invariant calculations can't be performed. Fixes: 1567c3e3467c ("x86, sched: Add support for frequency invariance") Suggested-by: Ricardo Neri <[email protected]> Signed-off-by: Giovanni Gherdovich <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Rafael J. Wysocki <[email protected]> Tested-by: Ricardo Neri <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions