coreboot/src
Lijian Zhao 68890b9d59 soc/intel/cannonlake: Update CPU Ratio base on MSR
The following is the FSP logic: as long as the Cpu Ratio input in
coreboot is different with CpuStrapSet, system will force to follow
input from coreboot. But CpuStrapsetting is floating, it will be 0
from the first cold boot before memory training and set to 0x1c (or
max CPU ratio for the installed CPU) after first memory training.

The previous fix was attempting to ensure settings were cleared
when FSP was called in recovery mode, but only when coming from S5
which caused issues if recovery mode is requested by the OS and
is only followed by a warm reset.

BUG=b:129412691
TEST=Boot up sarien platform and force recovery, check there's no reset
in the path of recovery.

Signed-off-by: Lijian Zhao <lijian.zhao@intel.com>
Change-Id: I959188be46343bc6f2cb3cc149097b4d449802aa
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32089
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2019-03-28 02:47:26 +00:00
..
acpi
arch Revert "src/arch: An upgrade of SMBIOS to latest version 3.2" 2019-03-27 08:30:18 +00:00
commonlib Fix up remaining boolean uses of CONFIG_XXX to CONFIG(XXX) 2019-03-25 11:03:49 +00:00
console coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
cpu Move calls to quick_ram_check() before CBMEM init 2019-03-27 08:26:16 +00:00
device drivers/intel/gma: Make libgfxinit available w/o gfxinit 2019-03-27 08:30:40 +00:00
drivers drivers/intel/gma: Move gfxinit into sub package 2019-03-27 08:31:07 +00:00
ec Revert "UPSTREAM: ec/google/wilco: Enable software sync for VBOOT" 2019-03-21 03:43:18 +00:00
include Revert "src/arch: An upgrade of SMBIOS to latest version 3.2" 2019-03-27 08:30:18 +00:00
lib lib/edid.c: Dump EDID breakdown after null check 2019-03-27 08:29:12 +00:00
mainboard mb/mainboard/google/hatch/variants: Set tcc_offset value 2019-03-27 09:20:10 +00:00
northbridge Move calls to quick_ram_check() before CBMEM init 2019-03-27 08:26:16 +00:00
security vboot_handoff: do not set VBSD_HONOR_VIRT_DEV_SWITCH 2019-03-27 08:19:58 +00:00
soc soc/intel/cannonlake: Update CPU Ratio base on MSR 2019-03-28 02:47:26 +00:00
southbridge Move calls to quick_ram_check() before CBMEM init 2019-03-27 08:26:16 +00:00
superio src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
vendorcode vendorcode/cavium/bdk/libdram: Add missing comma 2019-03-25 10:59:30 +00:00
Kconfig x86/smbios: Untangle system and board tables 2019-03-16 16:22:16 +00:00