diff options
author | Srinivas Pandruvada <[email protected]> | 2024-02-28 16:26:59 -0800 |
---|---|---|
committer | Ilpo Järvinen <[email protected]> | 2024-03-12 12:47:58 +0200 |
commit | e8b4223dbf12cb6b722e1b8c48a9386cb096d4fb (patch) | |
tree | 3dd8518d70e9002137c5d21b573075e9ef21ea9d /tools/perf/util/trace-event-scripting.c | |
parent | a6dcd3f1725e048de521e9d9421b0751ba0aa379 (diff) |
platform/x86: ISST: Allow reading core-power state on HWP disabled systems
When HWP (Hardware P-states) is disabled, dynamic SST features are
disabled. But user should still be able to read the current core-power
state, with legacy P-states. This will allow users to read current
configuration with static SST enabled from BIOS.
To address this, do not call disable_dynamic_sst_features() when the
request is for reading the state.
Signed-off-by: Srinivas Pandruvada <[email protected]>
Reviewed-by: Kuppuswamy Sathyanarayanan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions