From 1537c89e8d7c321b3e8e6cf5d00c28e981a798a9 Mon Sep 17 00:00:00 2001 From: Jeremy Compostella Date: Wed, 4 Jun 2025 22:21:25 -0700 Subject: [PATCH] soc/intel/cmn/block/power_limit: Enforce variant PL4 for Fast VMode Adds a new assignment in variant_update_cpu_power_limits() to enforce the desired PL4 power limit regardless of whether Fast VMode is enabled or not. Change-Id: I8b376d283b2a28333c8efc932bc2f776dfb5584a Signed-off-by: Jeremy Compostella Reviewed-on: https://review.coreboot.org/c/coreboot/+/87958 Reviewed-by: Subrata Banik Tested-by: build bot (Jenkins) --- src/soc/intel/common/block/power_limit/power_limit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/soc/intel/common/block/power_limit/power_limit.c b/src/soc/intel/common/block/power_limit/power_limit.c index 5f71d2eb95..16917835cd 100644 --- a/src/soc/intel/common/block/power_limit/power_limit.c +++ b/src/soc/intel/common/block/power_limit/power_limit.c @@ -283,6 +283,7 @@ void variant_update_cpu_power_limits(const struct cpu_tdp_power_limits *limits, settings->pl2.min_power = limits[index].pl2_min_power; settings->pl2.max_power = limits[index].pl2_max_power; soc_config->tdp_pl4 = DIV_ROUND_UP(limits[index].pl4_power, MILLIWATTS_TO_WATTS); + soc_config->tdp_pl4_fastvmode = soc_config->tdp_pl4; printk(BIOS_INFO, "Overriding power limits PL1 (mW) (%u, %u) PL2 (mW) (%u, %u) PL4 (W) (%u)\n", settings->pl1.min_power, settings->pl1.max_power,