u-boot/arch/x86
Bin Meng 4a5a7fcac2 x86: braswell: Fix unexpected crash during Linux kernel boot
It was observed that when booting Linux kernel on Intel Cherry Hill
board, unexpected crash happens quite randomly. Sometimes kernel
just oops, while sometimes kernel throws MCE errors and hangs:

  mce: [Hardware Error]: Machine check events logged
  mce: [Hardware Error]: CPU 0: Machine Check: 0 Bank 4: c400000000010151
  mce: [Hardware Error]: TSC 0 ADDR 130f3f2c0
  mce: [Hardware Error]: PROCESSOR 0:406c3 TIME 1508160686 SOCKET 0 APIC 0 microcode 363

This looks like a hardware error per mcelog. After debugging, it
seems turning off turbo mode on the processor does not expose this
behavior, although U-Boot runs OK with turbo mode on. Suspect it is
related to an errata of Braswell processor.

To fix this, remove the Braswell cpu driver which does the turbo
mode configuration, and switch to use the generic cpu-x86 driver.
Also there is a configuration option in the FSP that turns on the
turbo mode and that has been turned off too.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-10-27 15:13:47 +08:00
..
cpu x86: braswell: Fix unexpected crash during Linux kernel boot 2017-10-27 15:13:47 +08:00
dts x86: braswell: Fix unexpected crash during Linux kernel boot 2017-10-27 15:13:47 +08:00
include/asm x86: baytrail: fsp: Use a function to update the Azalia config pointer 2017-10-19 11:37:51 +08:00
lib x86: fsp: Update fsp command to show spec 1.1 header 2017-09-16 14:57:44 +08:00
config.mk x86: Enforce toolchain to generate 64-bit codes for 64-bit U-Boot 2017-08-01 20:17:02 +08:00
Kconfig x86: Turn off running VGA ROM during S3 resume 2017-10-19 11:37:51 +08:00
Makefile x86: Add 64-bit start-up code 2017-02-06 11:38:46 +08:00