From: Prarit Bhargava Date: Mon, 20 Apr 2020 14:10:54 +0000 (-0400) Subject: intel-speed-select: Fix speed-select-base-freq-properties output on CLX-N X-Git-Tag: v5.10.7~2503^2~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4c35527a92a0f9b63d7c1fae095ddfa5c8ac900f;p=platform%2Fkernel%2Flinux-rpi.git intel-speed-select: Fix speed-select-base-freq-properties output on CLX-N On CLX-N, the perf-profile-level's output is terminated before the speed-select-base-freq-properties are output which results in a corrupt json file. Adjust the output of speed-select-base-freq-properties by one on CLX-N. Signed-off-by: Prarit Bhargava Cc: Srinivas Pandruvada Cc: platform-driver-x86@vger.kernel.org Signed-off-by: Srinivas Pandruvada --- diff --git a/tools/power/x86/intel-speed-select/isst-display.c b/tools/power/x86/intel-speed-select/isst-display.c index 51dbaa5..f6e2ce1 100644 --- a/tools/power/x86/intel-speed-select/isst-display.c +++ b/tools/power/x86/intel-speed-select/isst-display.c @@ -470,7 +470,7 @@ void isst_ctdp_display_information(int cpu, FILE *outf, int tdp_level, _isst_pbf_display_information(cpu, outf, tdp_level, &ctdp_level->pbf_info, - level + 1); + level + 2); continue; }