Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/80665?usp=email )
Change subject: soc/intel/adl: Set slp-s0 counter frequency ......................................................................
soc/intel/adl: Set slp-s0 counter frequency
System sleep time (SLP_S0 signal asserted) is measured in ticks, for Alder Lake soc in 122us (i.e. ~8197Hz) granularity/ticks.
BUG=b:301854636 TEST=/sys/devices/system/cpu/cpuidle/ low_power_idle_system_residency_us" will show system idle residency time
Change-Id: I449f7ed0d9ef891ae5266e8fd784a063a75e38eb Signed-off-by: Marx Wang marx.wang@intel.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/80665 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Sukumar Ghorai sukumar.ghorai@intel.com Reviewed-by: Kapil Porwal kapilporwal@google.com Reviewed-by: Subrata Banik subratabanik@google.com --- M src/soc/intel/alderlake/Kconfig 1 file changed, 5 insertions(+), 0 deletions(-)
Approvals: Sukumar Ghorai: Looks good to me, but someone else must approve Subrata Banik: Looks good to me, approved Kapil Porwal: Looks good to me, approved build bot (Jenkins): Verified
diff --git a/src/soc/intel/alderlake/Kconfig b/src/soc/intel/alderlake/Kconfig index b81bfdd..2d42cad 100644 --- a/src/soc/intel/alderlake/Kconfig +++ b/src/soc/intel/alderlake/Kconfig @@ -549,4 +549,9 @@ config HAVE_BMP_LOGO_COMPRESS_LZMA default n
+config SOC_INTEL_COMMON_BLOCK_ACPI_SLP_S0_FREQ_HZ + default 0x2005 + help + slp_s0_residency granularity in 122us ticks (i.e. ~8.2KHz). + endif