diff options
author | David E. Box <david.e.box@linux.intel.com> | 2023-12-23 06:25:45 +0300 |
---|---|---|
committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2023-12-29 16:31:22 +0300 |
commit | 70681aa0746ae61d7668b9f651221fad5e30c71e (patch) | |
tree | 0832ec870e789cdc82519b092300fa1527933f36 /drivers/platform/x86/p2sb.c | |
parent | 6f9cc5c1f94daa98846b2073733d03ced709704b (diff) | |
download | linux-70681aa0746ae61d7668b9f651221fad5e30c71e.tar.xz |
platform/x86/intel/pmc: Move GBE LTR ignore to suspend callback
Commit 804951203aa5 ("platform/x86:intel/pmc: Combine core_init() and
core_configure()") caused a network performance regression due to the GBE
LTR ignore that it added at probe. This was needed in order to allow the
SoC to enter the deepest Package C state. To fix the regression and at
least support PC10 during suspend, move the LTR ignore from probe to the
suspend callback, and enable it again on resume. This solution will allow
PC10 during suspend but restrict Package C entry at runtime to no deeper
than PC8/9 while a network cable it attach to the PCH LAN.
Fixes: 804951203aa5 ("platform/x86:intel/pmc: Combine core_init() and core_configure()")
Signed-off-by: "David E. Box" <david.e.box@linux.intel.com>
Link: https://lore.kernel.org/r/20231223032548.1680738-6-david.e.box@linux.intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/p2sb.c')
0 files changed, 0 insertions, 0 deletions