]> git.karo-electronics.de Git - linux-beck.git/commit
PCI: keystone: Add error IRQ handler
authorMurali Karicheri <m-karicheri2@ti.com>
Mon, 11 Apr 2016 14:50:30 +0000 (10:50 -0400)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 14 Apr 2016 19:40:42 +0000 (14:40 -0500)
commit025dd3daeda77f61a280da87ae7015a6808dfe1f
treec56ea2086ea3bdca084864c75649fada26bc2d4f
parent9735a22799b9214d17d3c231fe377fc852f042e9
PCI: keystone: Add error IRQ handler

Keystone PCI hardware generates error interrupts at RC using a platform IRQ
instead of a standard MSI or legacy IRQ.  Add a simple error handler that
logs the fatal interrupt status to the console.

[bhelgaas: s/node/dev->of_node/, tidy comments, return irqreturn_t directly]
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rob Herring <robh@kernel.org>
CC: Pawel Moll <pawel.moll@arm.com>
CC: Mark Rutland <mark.rutland@arm.com>
CC: Ian Campbell <ijc+devicetree@hellion.org.uk>
CC: Kumar Gala <galak@codeaurora.org>
Documentation/devicetree/bindings/pci/pci-keystone.txt
drivers/pci/host/pci-keystone-dw.c
drivers/pci/host/pci-keystone.c
drivers/pci/host/pci-keystone.h