diff mbox series

[6/8] platform/x86/intel/pmc/arl: Add GBE LTR ignore during suspend

Message ID 20231223032548.1680738-7-david.e.box@linux.intel.com (mailing list archive)
State Accepted, archived
Headers show
Series Intel PMC Core GBE LTR regression fix | expand

Commit Message

David E. Box Dec. 23, 2023, 3:25 a.m. UTC
Add the GBE LTR ignore suspend time fix for Arrow Lake.

Fixes: f34dcf397286 ("platform/x86/intel/pmc: Add Arrow Lake S support to intel_pmc_core driver")
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
---
 drivers/platform/x86/intel/pmc/arl.c | 3 +++
 1 file changed, 3 insertions(+)

Comments

Hans de Goede Jan. 2, 2024, 12:24 p.m. UTC | #1
Hi,

On 12/23/23 04:25, David E. Box wrote:
> Add the GBE LTR ignore suspend time fix for Arrow Lake.
> 
> Fixes: f34dcf397286 ("platform/x86/intel/pmc: Add Arrow Lake S support to intel_pmc_core driver")
> Signed-off-by: David E. Box <david.e.box@linux.intel.com>

Thank you for your patch, I've applied this patch to my review-hans 
branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans

Note it will show up in my review-hans branch once I've pushed my
local branch there, which might take a while.

Once I've run some tests on this branch the patches there will be
added to the platform-drivers-x86/for-next branch and eventually
will be included in the pdx86 pull-request to Linus for the next
merge-window.

Regards,

Hans



> ---
>  drivers/platform/x86/intel/pmc/arl.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/platform/x86/intel/pmc/arl.c b/drivers/platform/x86/intel/pmc/arl.c
> index 31e1fa538e32..ae3a9a96f845 100644
> --- a/drivers/platform/x86/intel/pmc/arl.c
> +++ b/drivers/platform/x86/intel/pmc/arl.c
> @@ -685,6 +685,8 @@ void arl_d3_fixup(void)
>  int arl_resume(struct pmc_dev *pmcdev)
>  {
>  	arl_d3_fixup();
> +	pmc_core_send_ltr_ignore(pmcdev, 3, 0);
> +
>  	return pmc_core_resume_common(pmcdev);
>  }
>  
> @@ -696,6 +698,7 @@ int arl_core_init(struct pmc_dev *pmcdev)
>  	bool ssram_init = true;
>  
>  	arl_d3_fixup();
> +	pmcdev->suspend = cnl_suspend;
>  	pmcdev->resume = arl_resume;
>  	pmcdev->regmap_list = arl_pmc_info_list;
>
diff mbox series

Patch

diff --git a/drivers/platform/x86/intel/pmc/arl.c b/drivers/platform/x86/intel/pmc/arl.c
index 31e1fa538e32..ae3a9a96f845 100644
--- a/drivers/platform/x86/intel/pmc/arl.c
+++ b/drivers/platform/x86/intel/pmc/arl.c
@@ -685,6 +685,8 @@  void arl_d3_fixup(void)
 int arl_resume(struct pmc_dev *pmcdev)
 {
 	arl_d3_fixup();
+	pmc_core_send_ltr_ignore(pmcdev, 3, 0);
+
 	return pmc_core_resume_common(pmcdev);
 }
 
@@ -696,6 +698,7 @@  int arl_core_init(struct pmc_dev *pmcdev)
 	bool ssram_init = true;
 
 	arl_d3_fixup();
+	pmcdev->suspend = cnl_suspend;
 	pmcdev->resume = arl_resume;
 	pmcdev->regmap_list = arl_pmc_info_list;