u-boot-brain/arch
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
..
arc arc: Use asm-generic/io.h 2017-10-02 21:52:20 -04:00
arm ARM: uniphier: use pr_*() more where appropriate 2017-10-23 01:09:22 +09:00
m68k m68k: Use asm-generic/io.h 2017-10-02 21:52:20 -04:00
microblaze microblaze: Use asm-generic/io.h 2017-10-02 21:52:21 -04:00
mips mips: Use asm-generic/io.h 2017-10-02 21:52:23 -04:00
nds32 nds32: Use asm-generic/io.h 2017-10-02 21:52:21 -04:00
nios2 nios2: Use asm-generic/io.h 2017-10-02 21:52:23 -04:00
powerpc powerpc: Use asm-generic/io.h 2017-10-02 21:52:23 -04:00
sandbox sandbox: avoid memory leak in os_dirent_ls 2017-10-08 20:41:09 -06:00
sh sh: Use asm-generic/io.h 2017-10-02 21:52:21 -04:00
x86 x86: braswell: Fix unexpected crash during Linux kernel boot 2017-10-27 15:13:47 +08:00
xtensa xtensa: Use asm-generic/io.h 2017-10-02 21:52:22 -04:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig usb: net: migrate USB Ethernet adapters to Kconfig 2017-09-08 10:23:00 -04:00