From 73be9641002c34a5f5b9052598486ed695bd1059 Mon Sep 17 00:00:00 2001 From: Jamie Ryu Date: Fri, 16 Aug 2024 00:49:05 -0700 Subject: [PATCH] soc/intel/ptl: Dump SoC QDF from report_cpu_info in bootblock This enables SOC_QDF_DYNAMIC_READ_PMC and adds pmc_dump_soc_qdf_info to report_cpu_info to dump QDF information from bootblock. Change-Id: Iaf6f46cd9be831dde345c3b3728cd66145746d68 Signed-off-by: Jamie Ryu Reviewed-on: https://review.coreboot.org/c/coreboot/+/83940 Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik Reviewed-by: Saurabh Mishra --- src/soc/intel/pantherlake/Kconfig | 1 + src/soc/intel/pantherlake/bootblock/report_platform.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/soc/intel/pantherlake/Kconfig b/src/soc/intel/pantherlake/Kconfig index 83d6292f50..9a5fc61fb1 100644 --- a/src/soc/intel/pantherlake/Kconfig +++ b/src/soc/intel/pantherlake/Kconfig @@ -31,6 +31,7 @@ config SOC_INTEL_PANTHERLAKE_BASE select SOC_INTEL_COMMON_PCH_CLIENT select SOC_INTEL_COMMON_RESET select SOC_INTEL_IOE_DIE_SUPPORT + select SOC_QDF_DYNAMIC_READ_PMC select SSE2 select SUPPORT_CPU_UCODE_IN_CBFS select TSC_MONOTONIC_TIMER diff --git a/src/soc/intel/pantherlake/bootblock/report_platform.c b/src/soc/intel/pantherlake/bootblock/report_platform.c index 7fc6d4b13f..22cda26982 100644 --- a/src/soc/intel/pantherlake/bootblock/report_platform.c +++ b/src/soc/intel/pantherlake/bootblock/report_platform.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -153,6 +154,7 @@ static void report_cpu_info(void) mode[aes], mode[txt], mode[vt]); car_report_cache_info(); + pmc_dump_soc_qdf_info(); } static void report_mch_info(void)