]> git.ipfire.org Git - thirdparty/linux.git/commit
platform/x86: ISST: Reset core count to 0
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Wed, 25 Mar 2026 19:26:38 +0000 (12:26 -0700)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 27 Mar 2026 11:00:32 +0000 (13:00 +0200)
commite1415b9418eb22b4a7a1ef4b4aec9dd0a49e3fa7
treedeed9478e59a9f40679dd26900770a68d68df73a
parentfbddf68d7b4e1e6da7a78dd7fbd8ec376536584a
platform/x86: ISST: Reset core count to 0

Based on feature revision, number of buckets can be less than the
TRL_MAX_BUCKETS. In that case core counts in the remaining buckets
can be set to some invalid values.

Hence reset core count to 0 for all buckets before assigning correct
values.

Fixes: 885d1c2a30b7 ("platform/x86: ISST: Support SST-TF revision 2")
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20260325192638.3417281-1-srinivas.pandruvada@linux.intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/intel/speed_select_if/isst_tpmi_core.c