coreboot/src/mainboard/intel
Subrata Banik 6d3346068b intel/common/block: Program the right power_limits_config entry
When variant_update_cpu_power_limits() programs PL4, it systematically
sets the first entry of the power_limits_config SoC chip data
structure. This approach is problematic because the current SoC SKU
may align with a different data structure entry, introducing
inconsistencies.

This commit introduces the power_limits_index field to the
cpu_tdp_power_limits data structure. This field specifies the specific
power limits entry that should be updated.

All data structures utilized by this function are updated accordingly.

BUG=b:380408956
TEST=Able to retrieve collect 28W power_limit.

Change-Id: I32de8a24a2b5aee3eb5a6eee2d1d91e203085e65
Signed-off-by: Subrata Banik <subratabanik@google.com>
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85244
Reviewed-by: Bora Guvendik <bora.guvendik@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2024-12-11 04:35:55 +00:00
..
adlrvp drivers/soundwire/alc711: Add common Kconfig for ALC7xx soundwire codecs 2024-12-06 00:23:27 +00:00
apollolake_rvp mb/getac to mb/intel: Add SPDX license headers to Kconfig files 2024-02-18 02:01:52 +00:00
archercity_crb Treewide: Remove unused header files 2024-11-30 04:44:06 +00:00
avenuecity_crb mb/*: Explicitly include static.h for config_of_soc 2024-10-07 20:37:06 +00:00
baskingridge nb/intel/haswell: Move SPD addresses to devicetree 2024-08-26 11:08:14 +00:00
beechnutcity_crb mb/*: Explicitly include static.h for config_of_soc 2024-10-07 20:37:06 +00:00
cedarisland_crb cpu/intel: Add socket types 2024-07-19 12:35:09 +00:00
coffeelake_rvp mb/intel/coffeelake_rvp/cml_u: Correct number of jacks in hda_verb.c 2024-11-06 10:33:45 +00:00
d510mo mb/**/hda_verb: Use AZALIA_PIN_CFG_NC(0) 2024-06-07 11:13:19 +00:00
d945gclf i945: Use nullptr instead of NULL 2024-10-14 15:31:08 +00:00
dcp847ske mb/*: Remove old USB configurations from SNB/bd82x6x boards 2024-06-08 00:19:23 +00:00
dg41wv mb/**/hda_verb: Use AZALIA_PIN_CFG_NC(0) 2024-06-07 11:13:19 +00:00
dg43gt mb/**/hda_verb: Use AZALIA_PIN_CFG_NC(0) 2024-06-07 11:13:19 +00:00
dq67sw mb/*: Remove old USB configurations from SNB/bd82x6x boards 2024-06-08 00:19:23 +00:00
elkhartlake_crb tree: Remove blank lines before '}' and after '{' 2024-04-11 19:19:08 +00:00
emeraldlake2 mb/*/*/early_init.c: Remove unused included southbridge 2024-08-26 02:34:16 +00:00
frost_creek mainboard/intel/frost_creek: Add support for Intel CRB Frost Creek 2024-11-27 09:32:32 +00:00
glkrvp tree: Use boolean for lpss_s0ix_enable 2024-09-10 19:39:38 +00:00
harcuvar mb/intel/{harcuvar,kunimitsu}: Use <spd.h> and <dram/ddr{3,4}.h> 2024-05-13 17:11:35 +00:00
jasperlake_rvp tree: Use boolean for s0ix_enable 2024-09-01 04:58:51 +00:00
kblrvp mb/intel: Correct number of jacks in hda_verb.c 2024-09-20 23:24:30 +00:00
kunimitsu skl/kbl mainboards: Move PCIe related settings into their device scope 2024-07-12 20:08:01 +00:00
leafhill mb/getac to mb/intel: Add SPDX license headers to Kconfig files 2024-02-18 02:01:52 +00:00
minnow3 mb/getac to mb/intel: Add SPDX license headers to Kconfig files 2024-02-18 02:01:52 +00:00
mtlrvp intel/common/block: Program the right power_limits_config entry 2024-12-11 04:35:55 +00:00
saddlebrook skl/kbl mainboards: Move PCIe related settings into their device scope 2024-07-12 20:08:01 +00:00
shadowmountain tree: Remove unused <assert.h> 2024-11-19 00:40:04 +00:00
strago tree: Remove blank lines before '}' and after '{' 2024-04-11 19:19:08 +00:00
tglrvp tree: Remove unused <assert.h> 2024-11-19 00:40:04 +00:00
wtm2 mb/getac to mb/intel: Add SPDX license headers to Kconfig files 2024-02-18 02:01:52 +00:00
Kconfig mb/getac to mb/intel: Add SPDX license headers to Kconfig files 2024-02-18 02:01:52 +00:00
Kconfig.name mb/getac to mb/intel: Add SPDX license headers to Kconfig files 2024-02-18 02:01:52 +00:00