u-boot-brain/arch/x86
Bin Meng 911d6f6932 x86: quark: Assign a unique I/O APIC ID
After power-on, both LAPIC and I/O APIC appear with the same APIC ID
zero, which creates an ID conflict. When generating MP table, U-Boot
reports zero as the LAPIC ID in the processor entry, and zero as the
I/O APIC ID in the I/O APIC as well as the I/O interrupt assignment
entries. Such MP table confuses Linux kernel and finally a kernel
panic is seen during boot:

  BUG: unable to handle kernel paging request at ffff9000
  IP: [<c101d462>] native_io_apic_write+0x22/0x30
  *pdpt = 00000000014fb001 *pde = 00000000014ff067 *pte = 0000000000000000
  Oops: 0002 [#1]
  Modules linked in:
  Pid: 1, comm: swapper Tainted: G        W    3.8.7 #3 intel galileo/galileo
  EIP: 0060:[<c101d462>] EFLAGS: 00010086 CPU: 0
  EIP is at native_io_apic_write+0x22/0x30
  ...
  Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2016-05-23 15:27:42 +08:00
..
cpu x86: quark: Assign a unique I/O APIC ID 2016-05-23 15:27:42 +08:00
dts x86: galileo: Enable CPU driver 2016-05-23 15:27:41 +08:00
include/asm x86: baytrail: Add GPIO ASL description 2016-05-23 15:18:00 +08:00
lib x86: acpi: Remove header length check when writing tables 2016-05-23 15:18:00 +08:00
config.mk efi: Add 64-bit payload support 2015-08-05 08:44:07 -06:00
Kconfig x86: Add some notes for MRC cache with Intel FSP 2016-05-23 15:18:00 +08:00
Makefile x86: Add support for U-Boot as an EFI application 2015-08-05 08:44:06 -06:00