diff options
author | Zhang Rui <rui.zhang@intel.com> | 2022-08-18 15:18:03 +0200 |
---|---|---|
committer | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2023-03-22 21:36:54 +0100 |
commit | b1e9b87b3b5999786685eb882afb99c468af94c1 (patch) | |
tree | bdec1727b5d8260087ad4ffba9da287e6aeca28d /tools/power | |
parent | tools/power/x86/intel-speed-select: Show level 0 name for new api_version (diff) | |
download | linux-b1e9b87b3b5999786685eb882afb99c468af94c1.tar.xz linux-b1e9b87b3b5999786685eb882afb99c468af94c1.zip |
tools/power/x86/intel-speed-select: Display fact info for non-cpu power domain
Allow displaying SST-TF info for non-cpu power domain.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Diffstat (limited to 'tools/power')
-rw-r--r-- | tools/power/x86/intel-speed-select/isst-display.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/power/x86/intel-speed-select/isst-display.c b/tools/power/x86/intel-speed-select/isst-display.c index 4ad5df30ee83..1723e88411f5 100644 --- a/tools/power/x86/intel-speed-select/isst-display.c +++ b/tools/power/x86/intel-speed-select/isst-display.c @@ -253,7 +253,8 @@ static void _isst_fact_display_information(struct isst_id *id, FILE *outf, int l if (fact_bucket != 0xff && fact_bucket != j) continue; - if (!bucket_info[j].hp_cores) + /* core count must be valid for CPU power domain */ + if (!bucket_info[j].hp_cores && id->cpu >= 0) break; print = 1; |