Skip to content

Commit

Permalink
platform/x86/intel/pmc/lnl: Add GBE LTR ignore during suspend
Browse files Browse the repository at this point in the history
mainline:6f9fac5535ba2038063c656f0afb496d7f87bcc1
severity: Moderate

upstream commit 6f9fac5 ("platform/x86/intel/pmc/lnl: Add GBE LTR ignore during suspend")

Add the GBE LTR ignore suspend time fix for Lunar Lake.

Fixes: 119652b855e6 ("platform/x86/intel/pmc: Add Lunar Lake M support to intel_pmc_core driver")

Intel-SIG: commit 6f9fac5 ("platform/x86/intel/pmc/lnl: Add GBE LTR ignore during suspend")

Signed-off-by: David E. Box <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
[ Quanxian Wang: amend commit log ]
Signed-off-by: Quanxian Wang <[email protected]>
  • Loading branch information
debox1 authored and matrix-wsk committed Jun 14, 2024
1 parent db5b912 commit 533eb44
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/platform/x86/intel/pmc/lnl.c
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,8 @@ static void lnl_d3_fixup(void)
static int lnl_resume(struct pmc_dev *pmcdev)
{
lnl_d3_fixup();
pmc_core_send_ltr_ignore(pmcdev, 3, 0);

return pmc_core_resume_common(pmcdev);
}

Expand All @@ -521,6 +523,7 @@ int lnl_core_init(struct pmc_dev *pmcdev)

lnl_d3_fixup();

pmcdev->suspend = cnl_suspend;
pmcdev->resume = lnl_resume;
pmcdev->regmap_list = lnl_pmc_info_list;
ret = pmc_core_ssram_init(pmcdev, func);
Expand Down

0 comments on commit 533eb44

Please sign in to comment.