Patrick Georgi submitted this change.

View Change

Approvals: build bot (Jenkins): Verified Mario Scheithauer: Looks good to me, approved Lean Sheng Tan: Looks good to me, approved
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 <werner.zeh@siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58894
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lean Sheng Tan <lean.sheng.tan@intel.com>
Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
---
M src/mainboard/siemens/mc_ehl/mainboard.c
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/mainboard/siemens/mc_ehl/mainboard.c b/src/mainboard/siemens/mc_ehl/mainboard.c
index eff2d21..fc03115 100644
--- a/src/mainboard/siemens/mc_ehl/mainboard.c
+++ b/src/mainboard/siemens/mc_ehl/mainboard.c
@@ -122,6 +122,9 @@

/* Set maximum package C-state to PkgC0C1 */
params->PkgCStateLimit = 0;
+
+ /* Disable P-States */
+ params->MaxRatio = 0;
}

static void mainboard_init(void *chip_info)

To view, visit change 58894. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I22857cc0f1476483ca82c1c872e4519e4b350ea9
Gerrit-Change-Number: 58894
Gerrit-PatchSet: 2
Gerrit-Owner: Werner Zeh <werner.zeh@siemens.com>
Gerrit-Reviewer: Lean Sheng Tan <lean.sheng.tan@intel.com>
Gerrit-Reviewer: Mario Scheithauer <mario.scheithauer@siemens.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: merged