]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
x86: Support platform PIRQ routing
authorBin Meng <bmeng.cn@gmail.com>
Fri, 24 Apr 2015 10:10:05 +0000 (18:10 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:35:14 +0000 (22:35 +0200)
commitd020b436b28db061ba5d34b588d6265e08917b73
treefa8c60926756869a4edbd74205e0ffbf0269fa31
parent05eb5d8db81d242a7f0b7f6fa084e27aacfdcd6d
x86: Support platform PIRQ routing

On x86 boards, platform chipset receives up to four different
interrupt signals from PCI devices (INTA/B/C/D), which in turn
will be routed to chipset internal PIRQ lines then routed to
8259 PIC finally if configuring the whole system to work under
the so-called PIC mode (in contrast to symmetric IO mode which
uses IOAPIC).

We add two major APIs to aid this, one for routing PIRQ and the
other one for generating a PIRQ routing table.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/Kconfig
arch/x86/include/asm/pirq_routing.h [new file with mode: 0644]
arch/x86/lib/Makefile
arch/x86/lib/pirq_routing.c [new file with mode: 0644]