diff options
author | Rizwan Qureshi <rizwan.qureshi@intel.com> | 2015-07-07 18:18:15 +0530 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-07-29 20:26:10 +0200 |
commit | c33958310ef820162b2c8f31a10e89a8b7b76d3d (patch) | |
tree | 4280ac2fcd6d17e3f7a842c35364410a06894060 /src/lib | |
parent | 8d8799a33aac86c2acdf94e0f0af3ef291748536 (diff) | |
download | coreboot-c33958310ef820162b2c8f31a10e89a8b7b76d3d.tar.xz |
Skylake: Fix microcode reload in bootblock cpu init
If Skylake microcode is being loaded from FIT, Skylake supports
the PRMRR/SGX feature. If this is supported the FIT microcode
load will set the msr (0x08b) with the patch ID one less than the
ID in the microcode binary. This results in microcode getting
reloaded again in the bootblock cpu init.
Avoid the microcode reload by checking for PRMRR support.
BUG=chrome-os-partner:42046
BRANCH=None
TEST=Built for glados and tested on RVP3
Change-Id: I06e59f5cad549098c7ba2dfa608cd94a0b3f0ae1
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 6242b9dea283149bd0c968af1ba186647d37162d
Original-Change-Id: Iea5a223aa625be3fc451e8ee5d3510f548b07f8b
Original-Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/286054
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/11052
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions