cpu/intel/haswell: Lock PKG_CST_CONFIG_CONTROL MSR
Set PKG_CST_CONFIG_CONTROL MSR bit 15 to make bits 15:0 read-only. Change-Id: Ieb740aa94255cb3c23a56495c4b645d847637b7f Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58222 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
parent
adb393bdd6
commit
cb70d836ed
|
@ -395,6 +395,7 @@ static void configure_c_states(void)
|
|||
msr.lo |= (1 << 27); // C3 Auto Undemotion Enable
|
||||
msr.lo |= (1 << 26); // C1 Auto Demotion Enable
|
||||
msr.lo |= (1 << 25); // C3 Auto Demotion Enable
|
||||
msr.lo |= (1 << 15); // Lock bits 15:0
|
||||
msr.lo &= ~(1 << 10); // Disable IO MWAIT redirection
|
||||
|
||||
if (timed_mwait_capable)
|
||||
|
|
Loading…
Reference in New Issue