]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: Allow redirection of MSI/MSI-X IRQs
authorchris hyser <chris.hyser@oracle.com>
Tue, 17 May 2016 16:39:25 +0000 (09:39 -0700)
committerAllen Pais <allen.pais@oracle.com>
Thu, 15 Sep 2016 06:34:19 +0000 (12:04 +0530)
commitcf1e3e8f23d21b0c741ca3e4d711cb8bcb55ccdd
tree64dc6bbb77727e2ccf5a680eff97b8821e7cc1db
parent67a4437e92d0b167d382966dd1c02ce938499566
sparc64: Allow redirection of MSI/MSI-X IRQs

Allows redirection of MSI/MSI-X IRQs by finding appropriate MSIEQ and
re-routing its IRQ. Also handles driver IRQs sharing the same MSIEQ.
Affinity masks for all such shared interrupts as well as MSIQ IRQ
are modified. Note, based on the HW sharing this patch can change
related driver IRQs in an invisible manner. While confusing and not
desirable, this is an artifact of the HW design.

Orabug: 22749960

Signed-off-by: Chris Hyser <chris.hyser@oracle.com>
(cherry picked from commit 914901044c1a028185326eb1a3c8821cab8845be)
(cherry picked from commit 98069630a58903f6ec29aaf784f24b44c27a0db0)
Signed-off-by: Allen Pais <allen.pais@oracle.com>
arch/sparc/kernel/irq_64.c
arch/sparc/kernel/pci_impl.h
arch/sparc/kernel/pci_msi.c