]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools/power/x86/intel-speed-select: Reset isst_turbo_freq_info for invalid buckets
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Wed, 11 Jun 2025 18:29:49 +0000 (11:29 -0700)
committerSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Wed, 3 Dec 2025 16:29:13 +0000 (08:29 -0800)
commit3bd486e2d990194bf696423f9a639b3674d8c4e5
treef52b4fe9c054ceb14f50d3b8a850ec52a207b752
parent6dc93d689068a2e41cca3c8977f2d3efd47146ee
tools/power/x86/intel-speed-select: Reset isst_turbo_freq_info for invalid buckets

With SST-TF version 2 only 3 buckets are present. The information in
others buckets can be junk. So initialize the info structure of type
isst_turbo_freq_info, before issing ioctl to get bucket information.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
tools/power/x86/intel-speed-select/isst-core-tpmi.c