Skip to content

Commit fbddf68

Browse files
spandruvadaij-intel
authored andcommitted
platform/x86: ISST: Correct locked bit width
SST-PP locked bit width is set to three bits. It should be only one bit. Use SST_PP_LOCK_WIDTH define instead of SST_PP_LEVEL_WIDTH. Fixes: ea009e4 ("platform/x86: ISST: Add SST-PP support via TPMI") Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Cc: stable@vger.kernel.org Link: https://patch.msgid.link/20260323153635.3263828-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>
1 parent e02ea3a commit fbddf68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/platform/x86/intel/speed_select_if/isst_tpmi_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ static int isst_if_get_perf_level(void __user *argp)
872872
_read_pp_info("current_level", perf_level.current_level, SST_PP_STATUS_OFFSET,
873873
SST_PP_LEVEL_START, SST_PP_LEVEL_WIDTH, SST_MUL_FACTOR_NONE)
874874
_read_pp_info("locked", perf_level.locked, SST_PP_STATUS_OFFSET,
875-
SST_PP_LOCK_START, SST_PP_LEVEL_WIDTH, SST_MUL_FACTOR_NONE)
875+
SST_PP_LOCK_START, SST_PP_LOCK_WIDTH, SST_MUL_FACTOR_NONE)
876876
_read_pp_info("feature_state", perf_level.feature_state, SST_PP_STATUS_OFFSET,
877877
SST_PP_FEATURE_STATE_START, SST_PP_FEATURE_STATE_WIDTH, SST_MUL_FACTOR_NONE)
878878
perf_level.enabled = !!(power_domain_info->sst_header.cap_mask & BIT(1));

0 commit comments

Comments
 (0)