AMD/Mullins: Fix the interrupt routing
commit861f920cdfa1f8a322ecd2a56da8c8a9fdfd1155
authorZheng Bao <fishbaozi@gmail.com>
Mon, 9 Nov 2015 12:22:36 +0000 (9 20:22 +0800)
committerZheng Bao <zheng.bao@amd.com>
Thu, 12 Nov 2015 08:26:08 +0000 (12 09:26 +0100)
treec0b5590d370c1ee2ff4003798e20e72b00647beb
parent266609968b94c9b739dedcb6861ea1b50f34be85
AMD/Mullins: Fix the interrupt routing

The plugged devices on PCIe should use IOAPIC2 instead of standard
IOAPIC1. The entries in IOAPIC2 count from the end of IOAPIC1.
The unchanged code worked because the OS uses MSI instead APIC.
To test that, boot linux with parameter pci=nomsi and see if the devices
like NIC work well as they do without the booting parameter.
run 'cat /proc/interrupts' to see if devices actually use
no-msi.

Change-Id: I5eab28956b7a3fbc7c10447e99d6c11dbe6a1d14
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: http://review.coreboot.org/12363
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
src/mainboard/amd/olivehillplus/acpi/routing.asl