soc/intel/cannonlake: Enable Energy/Performance Bias control
commita0f8dc3bd55d4706606e14173bb9afaa97049287
authorAngel Pons <th3fanbus@gmail.com>
Mon, 11 Oct 2021 12:01:55 +0000 (11 14:01 +0200)
committerNico Huber <nico.h@gmx.de>
Fri, 15 Oct 2021 16:46:57 +0000 (15 16:46 +0000)
treea2de0f29d4fb1412c984a8ff89d2ec761f1f289c
parent9573c0ed3adbca869cf1b88312a10cc72b756547
soc/intel/cannonlake: Enable Energy/Performance Bias control

Set POWER_CTL MSR bit 18 to enable Energy/Performance Bias control.

TEST=Boot and verify EPB is enabled in coreboot log:

 cpu: energy policy set to 6

Change-Id: Ibd1db77b5b63cb6e2b0ad9d2f79caa2f3b576ead
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58221
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
src/soc/intel/cannonlake/cpu.c