Commit 66a91c00 authored by David E. Box's avatar David E. Box Committed by Hans de Goede

platform/x86/intel: pmc/core: Add GBE Package C10 fix for Alder Lake PCH

Alder PCH uses the same Gigabit Ethernet (GBE) device as Tiger Lake PCH
which cannot achieve PC10 without ignoring the PMC GBE LTR. Add this
work around for Alder Lake PCH as well.

Cc: Chao Qin <chao.qin@intel.com>
Cc: Srinivas Pandruvada <srinivas.pandruvada@intel.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: default avatarYou-Sheng Yang <vicamo.yang@canonical.com>
Acked-by: default avatarRajneesh Bhardwaj <irenic.rajneesh@gmail.com>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: default avatarDavid E. Box <david.e.box@linux.intel.com>
Link: https://lore.kernel.org/r/9168e8bd687f2d0d5eb0ed116e08d0764eadf7b3.1629091915.git.gayatri.kammela@intel.comSigned-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 6cfce3ef
...@@ -2020,10 +2020,10 @@ static int pmc_core_probe(struct platform_device *pdev) ...@@ -2020,10 +2020,10 @@ static int pmc_core_probe(struct platform_device *pdev)
pmc_core_get_tgl_lpm_reqs(pdev); pmc_core_get_tgl_lpm_reqs(pdev);
/* /*
* On TGL, due to a hardware limitation, the GBE LTR blocks PC10 when * On TGL and ADL, due to a hardware limitation, the GBE LTR blocks PC10
* a cable is attached. Tell the PMC to ignore it. * 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"); dev_dbg(&pdev->dev, "ignoring GBE LTR\n");
pmc_core_send_ltr_ignore(pmcdev, 3); pmc_core_send_ltr_ignore(pmcdev, 3);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment