]> git.baikalelectronics.ru Git - kernel.git/commitdiff
intel-speed-select: Fix speed-select-base-freq-properties output on CLX-N
authorPrarit Bhargava <prarit@redhat.com>
Mon, 20 Apr 2020 14:10:54 +0000 (10:10 -0400)
committerSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Mon, 11 May 2020 18:30:25 +0000 (11:30 -0700)
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 <prarit@redhat.com>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: platform-driver-x86@vger.kernel.org
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
tools/power/x86/intel-speed-select/isst-display.c

index 51dbaa5f02ec5b733f9080dde42ed733cbaaa87c..f6e2ce1811234a2321c09a1d5308a327a8864e89 100644 (file)
@@ -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;
                }