[PATCH 7/8] platform/x86/intel/pmc/lnl: Add GBE LTR ignore during suspend

From: David E. Box
Date: Fri Dec 22 2023 - 22:26:38 EST


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")
Signed-off-by: David E. Box <david.e.box@xxxxxxxxxxxxxxx>
---
drivers/platform/x86/intel/pmc/lnl.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/drivers/platform/x86/intel/pmc/lnl.c b/drivers/platform/x86/intel/pmc/lnl.c
index fe97ad09a1a6..eb350d64efdf 100644
--- a/drivers/platform/x86/intel/pmc/lnl.c
+++ b/drivers/platform/x86/intel/pmc/lnl.c
@@ -509,6 +509,8 @@ void lnl_d3_fixup(void)
int lnl_resume(struct pmc_dev *pmcdev)
{
lnl_d3_fixup();
+ pmc_core_send_ltr_ignore(pmcdev, 3, 0);
+
return pmc_core_resume_common(pmcdev);
}

@@ -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);
--
2.34.1