]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
x86: queensbay: Change PCIe root ports' interrupt routing
authorBin Meng <bmeng.cn@gmail.com>
Tue, 23 Jun 2015 04:18:55 +0000 (12:18 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:29:24 +0000 (13:29 +0200)
commitc52ce9bb758e4d8aaf1ce11ec90c1f36e471e758
tree1a04aedfb605ba5abb595c5a421a58a646c9e809
parented7aa33af272858b56a81bd3a18e62ec0c4d044f
x86: queensbay: Change PCIe root ports' interrupt routing

So far interrupt routing works pretty well for any on-chip devices
on Intel Crown Bay. When inserting any PCIe card to any PCIe slot,
Linux kernel is smart enough to do interrupt swizzling and figure
out device's irq using its parent bridge's interrupt routing info
all the way up to its root port. In U-Boot all PCIe root ports'
interrupts were routed to PIRQ E/F/G/H before, while actually all
PCIe downstream ports received INTx are routed to PIRQ A/B/C/D
directly and not configurable. Now we change this mapping so that
any external PCIe device can work correctly.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/queensbay/tnc.c
arch/x86/dts/crownbay.dts