mirror_ubuntu-kernels/drivers/platform/x86/intel/pmc
David E. Box 7c13f365ae
platform/x86/intel/pmc: Add suspend callback
Add a suspend callback to struct pmc for performing platform specific tasks
before device suspend. This is needed in order to perform GBE LTR ignore on
certain platforms at suspend-time instead of at probe-time and replace the
GBE LTR ignore removal that was done in order to fix a bug introduced by
commit 804951203a ("platform/x86:intel/pmc: Combine core_init() and
core_configure()").

Fixes: 804951203a ("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-4-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>
2023-12-29 15:31:08 +02:00
..
adl.c platform/x86:intel/pmc: Add support to handle multiple PMCs 2023-06-20 12:51:08 +02:00
cnp.c platform/x86:intel/pmc: Add support to handle multiple PMCs 2023-06-20 12:51:08 +02:00
core_ssram.c platform/x86:intel/pmc: Discover PMC devices 2023-06-20 12:51:08 +02:00
core.c platform/x86/intel/pmc: Add suspend callback 2023-12-29 15:31:08 +02:00
core.h platform/x86/intel/pmc: Add suspend callback 2023-12-29 15:31:08 +02:00
icl.c platform/x86:intel/pmc: Add support to handle multiple PMCs 2023-06-20 12:51:08 +02:00
Kconfig
Makefile platform/x86:intel/pmc: Discover PMC devices 2023-06-20 12:51:08 +02:00
mtl.c platform/x86:intel/pmc: Add Meteor Lake IOE-M PMC related maps 2023-06-20 12:51:08 +02:00
pltdrv.c platform/x86/intel: pmc: Don't unconditionally attach Intel PMC when virtualized 2022-11-15 16:53:17 +01:00
spt.c platform/x86:intel/pmc: Add support to handle multiple PMCs 2023-06-20 12:51:08 +02:00
tgl.c platform/x86:intel/pmc: Add support to handle multiple PMCs 2023-06-20 12:51:08 +02:00