platform/x86: ISST: Restore SST-PP control to all domains
Subsystems (3)
Srinivas Pandruvada
maintainerPATCH 1/1 platform/x86: ISST: Restore SST-PP control to all domains
From: Srinivas Pandruvada <[email protected]>
The SST-PP control offset is only restored to power domain 0 after resume. During suspend, control values are read and stored for all power domains.
Use pd_info->sst_base instead of power_domain_info->sst_base, which only points to power domain 0 base address.
--- drivers/platform/x86/intel/speed_select_if/isst_tpmi_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/intel/speed_select_if/isst_tpmi_core.c +1 -1
@@ -1804,7 +1804,7 @@ void tpmi_sst_dev_resume(struct auxiliary_device *auxdev)if (!(pd_info->sst_header.cap_mask &SST_PP_CAP_PP_ENABLE ))continue ; -writeq (pd_info->saved_pp_control, power_domain_info->sst_base + +writeq (pd_info->saved_pp_control, pd_info->sst_base + pd_info->sst_header.pp_offset +SST_PP_CONTROL_OFFSET ); } }
Signature · 1 line
2.54.0
Ilpo Järvinen
maintainerQuoted 8 lines · Srinivas Pandruvada
The SST-PP control offset is only restored to power domain 0 after resume. During suspend, control values are read and stored for all power domains.
Use
pd_info->sst_baseinstead ofpower_domain_info->sst_base, which only points to power domain 0 base address.[...]
Thank you for your contribution, it has been applied to my local review-ilpo-next branch. Note it will show up in the public platform-drivers-x86/review-ilpo-next branch only once I've pushed my local branch there, which might take a while.
The list of commits applied:
[1/1] platform/x86: ISST: Restore SST-PP control to all domains
commit: 2565a28cdcdcb035e151d285efcba26bccb3726e
--
i.