From 31ed8856f9c6f06b8594f80b4abc39952ee84247 Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Fri, 15 Jan 2021 13:29:14 -0700 Subject: soc/intel/xeon_sp/acpi.c: Add ACPI C-State table Add the soc ACPI _CST table. The table may be customized to support the different state combinations and set by the mainboard config. Tested on deltalake with acpi_idle driver. Note, intel_idle may not use ACPI _CST table. Change-Id: I359daa9556edbe263ab0a7f1849c96c8fe1a0da0 Signed-off-by: Marc Jones Reviewed-on: https://review.coreboot.org/c/coreboot/+/49494 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: Jay Talbott --- src/soc/intel/xeon_sp/skx/chip.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/soc/intel/xeon_sp/skx') diff --git a/src/soc/intel/xeon_sp/skx/chip.h b/src/soc/intel/xeon_sp/skx/chip.h index 4ee1ac0a0d..b852c4a128 100644 --- a/src/soc/intel/xeon_sp/skx/chip.h +++ b/src/soc/intel/xeon_sp/skx/chip.h @@ -5,6 +5,7 @@ #include #include +#include #include #include @@ -73,6 +74,8 @@ struct soc_intel_xeon_sp_skx_config { /* TCC activation offset */ uint32_t tcc_offset; + + enum acpi_cstate_mode cstate_states; }; typedef struct soc_intel_xeon_sp_skx_config config_t; -- cgit v1.2.3