Message ID | 41f013b885b19ee7362272bb646ddd8a46d09fbb.1627710766.git.gayatri.kammela@intel.com (mailing list archive) |
---|---|
State | Changes Requested, archived |
Headers | show |
Series | Add Alder Lake PCH-S support to PMC core driver | expand |
On Sat, Jul 31, 2021 at 9:10 AM Gayatri Kammela <gayatri.kammela@intel.com> wrote: > Alder PCH uses the same Gigabit Ethernet (GBE) device as Tiger Lake PCH Alder Lake > which cannot achieve PC10 without ignoring the PMC GBE LTR. Add this > work around for Alder Lake PCH as well. ... > /* > - * On TGL, due to a hardware limitation, the GBE LTR blocks PC10 when > - * a cable is attached. Tell the PMC to ignore it. > + * On TGL and ADL, due to a hardware limitation, the GBE LTR blocks PC10 > + * when a cable is attached. Tell the PMC to ignore it. > */ TGL -> Tiger Lake ADL -> Alder Lake
diff --git a/drivers/platform/x86/intel/pmc/core.c b/drivers/platform/x86/intel/pmc/core.c index e645ede591d8..7c4bf7d22fd5 100644 --- a/drivers/platform/x86/intel/pmc/core.c +++ b/drivers/platform/x86/intel/pmc/core.c @@ -1983,10 +1983,10 @@ static int pmc_core_probe(struct platform_device *pdev) pmc_core_get_tgl_lpm_reqs(pdev); /* - * On TGL, due to a hardware limitation, the GBE LTR blocks PC10 when - * a cable is attached. Tell the PMC to ignore it. + * On TGL and ADL, due to a hardware limitation, the GBE LTR blocks PC10 + * when a cable is attached. Tell the PMC to ignore it. */ - if (pmcdev->map == &tgl_reg_map) { + if (pmcdev->map == &tgl_reg_map || pmcdev->map == &adl_reg_map) { dev_dbg(&pdev->dev, "ignoring GBE LTR\n"); pmc_core_send_ltr_ignore(pmcdev, 3); }