Shaik Sameeruddin has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/72746 )
Change subject: raptorlake: Add c-state latencies and residencies in coreboot ......................................................................
raptorlake: Add c-state latencies and residencies in coreboot
Signed-off-by: Sameeruddin shaik shaik.sameeruddin@intel.com Change-Id: I49f37af2c8193f2dfb73c0fbe24528a53c5884ef --- M src/soc/intel/alderlake/acpi.c M src/soc/intel/alderlake/include/soc/cpu.h 2 files changed, 16 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/46/72746/1
diff --git a/src/soc/intel/alderlake/acpi.c b/src/soc/intel/alderlake/acpi.c index 9e0e1bd..6122282 100644 --- a/src/soc/intel/alderlake/acpi.c +++ b/src/soc/intel/alderlake/acpi.c @@ -108,7 +108,9 @@
static int cstate_set_s0ix[] = { C_STATE_C1, - C_STATE_C6_LONG_LAT, + C_STATE_C1E, + C_STATE_C6_SHORT_LAT, + C_STATE_C8, C_STATE_C10 };
diff --git a/src/soc/intel/alderlake/include/soc/cpu.h b/src/soc/intel/alderlake/include/soc/cpu.h index 424e02a..bbbda02 100644 --- a/src/soc/intel/alderlake/include/soc/cpu.h +++ b/src/soc/intel/alderlake/include/soc/cpu.h @@ -5,11 +5,11 @@
/* Latency times in us */ #define C1_LATENCY 1 -#define C6_LATENCY 127 +#define C6_LATENCY 325 #define C7_LATENCY 253 -#define C8_LATENCY 260 +#define C8_LATENCY 425 #define C9_LATENCY 487 -#define C10_LATENCY 1048 +#define C10_LATENCY 525
/* Power in units of mW */ #define C1_POWER 0x3e8