From 9916eb400f0c58d316d5592c5c8629676925601f Mon Sep 17 00:00:00 2001 From: Werner Zeh Date: Wed, 3 Nov 2021 10:37:57 +0100 Subject: [PATCH] mb/siemens/mc_ehl: Disable all P-States In order to get a reliable real-time performance disable all P-States for all mc_ehl based mainboard. Change-Id: I22857cc0f1476483ca82c1c872e4519e4b350ea9 Signed-off-by: Werner Zeh Reviewed-on: https://review.coreboot.org/c/coreboot/+/58894 Tested-by: build bot (Jenkins) Reviewed-by: Lean Sheng Tan Reviewed-by: Mario Scheithauer --- src/mainboard/siemens/mc_ehl/mainboard.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mainboard/siemens/mc_ehl/mainboard.c b/src/mainboard/siemens/mc_ehl/mainboard.c index eff2d21ac6..fc03115a8e 100644 --- a/src/mainboard/siemens/mc_ehl/mainboard.c +++ b/src/mainboard/siemens/mc_ehl/mainboard.c @@ -122,6 +122,9 @@ void mainboard_silicon_init_params(FSP_S_CONFIG *params) /* Set maximum package C-state to PkgC0C1 */ params->PkgCStateLimit = 0; + + /* Disable P-States */ + params->MaxRatio = 0; } static void mainboard_init(void *chip_info)