Attention is currently required from: Jakub Czapiga, Kapil Porwal, Subrata Banik, Tarun Tuli.
Wonkyu Kim has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/76124?usp=email )
Change subject: soc/intel/meteorlake: Report CPU clock info ......................................................................
soc/intel/meteorlake: Report CPU clock info
Signed-off-by: Wonkyu Kim wonkyu.kim@intel.com Change-Id: I0b056fb8db04eca345dd7a240d03463de7c59fc2 --- M src/soc/intel/meteorlake/bootblock/report_platform.c 1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/24/76124/1
diff --git a/src/soc/intel/meteorlake/bootblock/report_platform.c b/src/soc/intel/meteorlake/bootblock/report_platform.c index 3e8bc56..b449f46 100644 --- a/src/soc/intel/meteorlake/bootblock/report_platform.c +++ b/src/soc/intel/meteorlake/bootblock/report_platform.c @@ -10,6 +10,7 @@ #include <device/pci.h> #include <device/pci_ids.h> #include <device/pci_ops.h> +#include <intelblocks/cpulib.h> #include <soc/bootblock.h> #include <soc/pci_devs.h>
@@ -107,6 +108,10 @@ printk(BIOS_DEBUG, "CPU: ID %x, %s, ucode: %08x\n", cpu_id, cpu_type, get_current_microcode_rev());
+ printk(BIOS_DEBUG, "CPU: Measured:%dMHz Max-Turbo:%dMHz\n", + cpu_get_measured_freq_mhz(), + cpu_get_max_turbo_ratio() * CONFIG_CPU_BCLK_MHZ); + cpu_feature_flag = cpu_get_feature_flags_ecx(); aes = !!(cpu_feature_flag & CPUID_AES); txt = !!(cpu_feature_flag & CPUID_SMX);