rambi: distribute IRQs away from PIRQA on pci devices
Some of the drivers in the kernel were not so happy about having shared IRQs. Also, sharing IRQs means more code needs to be run in interrupt context to determine if the IRQ was meant for a particular device. Fix this. No more 'mmc1: got irq while runtime suspended' messages. BUG=chrome-os-partner:24056 BRANCH=None TEST=Built and booted. Looked at /proc/interrupts and noted no more sharing between pci devices. Change-Id: Ie5da102204ffe3156dd55ab17af77df245a57c97 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/176792 Reviewed-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-on: http://review.coreboot.org/4973 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
parent
bf9f243857
commit
ee3ec728d8
|
@ -23,17 +23,17 @@
|
|||
#define PCI_DEV_PIRQ_ROUTES \
|
||||
PCI_DEV_PIRQ_ROUTE(GFX_DEV, A, B, C, D), \
|
||||
PCI_DEV_PIRQ_ROUTE(SDIO_DEV, A, B, C, D), \
|
||||
PCI_DEV_PIRQ_ROUTE(SD_DEV, A, B, C, D), \
|
||||
PCI_DEV_PIRQ_ROUTE(SD_DEV, C, D, E, F), \
|
||||
PCI_DEV_PIRQ_ROUTE(SATA_DEV, A, B, C, D), \
|
||||
PCI_DEV_PIRQ_ROUTE(XHCI_DEV, A, B, C, D), \
|
||||
PCI_DEV_PIRQ_ROUTE(LPE_DEV, A, B, C, D), \
|
||||
PCI_DEV_PIRQ_ROUTE(MMC_DEV, A, B, C, D), \
|
||||
PCI_DEV_PIRQ_ROUTE(MMC_DEV, D, E, F, G), \
|
||||
PCI_DEV_PIRQ_ROUTE(SIO1_DEV, A, B, C, D), \
|
||||
PCI_DEV_PIRQ_ROUTE(TXE_DEV, A, B, C, D), \
|
||||
PCI_DEV_PIRQ_ROUTE(HDA_DEV, A, B, C, D), \
|
||||
PCI_DEV_PIRQ_ROUTE(PCIE_DEV, A, B, C, D), \
|
||||
PCI_DEV_PIRQ_ROUTE(EHCI_DEV, A, B, C, D), \
|
||||
PCI_DEV_PIRQ_ROUTE(SIO2_DEV, A, B, C, D), \
|
||||
PCI_DEV_PIRQ_ROUTE(SIO2_DEV, B, C, D, E), \
|
||||
PCI_DEV_PIRQ_ROUTE(PCU_DEV, A, B, C, D)
|
||||
|
||||
#define PIRQ_PIC_ROUTES \
|
||||
|
|
Loading…
Reference in New Issue