1
linux/arch
Michael Ellerman 7fe3730de7 MSI: arch must connect the irq and the msi_desc
set_irq_msi() currently connects an irq_desc to an msi_desc. The archs call
it at some point in their setup routine, and then the generic code sets up the
reverse mapping from the msi_desc back to the irq.

set_irq_msi() should do both connections, making it the one and only call
required to connect an irq with it's MSI desc and vice versa.

The arch code MUST call set_irq_msi(), and it must do so only once it's sure
it's not going to fail the irq allocation.

Given that there's no need for the arch to return the irq anymore, the return
value from the arch setup routine just becomes 0 for success and anything else
for failure.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-05-02 19:02:38 -07:00
..
alpha PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
arm msi: introduce ARCH_SUPPORTS_MSI Kconfig option (rev2) 2007-05-02 19:02:37 -07:00
arm26 [PATCH] arch/arm26/kernel/entry.S: remove dead code 2007-03-01 14:53:35 -08:00
avr32 AVR32: Remove useless config option "GENERIC_BUST_SPINLOCK". 2007-04-27 13:45:26 +02:00
cris [PATCH] MSI-X: fix resume crash 2007-03-28 13:59:37 -07:00
frv [PATCH] MSI-X: fix resume crash 2007-03-28 13:59:37 -07:00
h8300 [PATCH] Declare init_irq_proc before we use it. 2007-02-19 14:21:50 -08:00
i386 MSI: arch must connect the irq and the msi_desc 2007-05-02 19:02:38 -07:00
ia64 MSI: arch must connect the irq and the msi_desc 2007-05-02 19:02:38 -07:00
m32r Various typo fixes. 2007-02-17 19:07:33 +01:00
m68k [PATCH] Declare init_irq_proc before we use it. 2007-02-19 14:21:50 -08:00
m68knommu PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
mips PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
parisc libata/IDE: remove combined mode quirk 2007-04-28 14:15:59 -04:00
powerpc PCI: Convert to alloc_pci_dev() 2007-05-02 19:02:37 -07:00
ppc PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
s390 [NET]: Remove NETIF_F_INTERNAL_STATS, default to internal stats. 2007-04-28 21:04:03 -07:00
sh power management: implement pm_ops.valid for everybody 2007-04-30 16:40:40 -07:00
sh64 PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
sparc [SPARC]: device_node name constification fallout 2007-04-26 01:55:45 -07:00
sparc64 MSI: arch must connect the irq and the msi_desc 2007-05-02 19:02:38 -07:00
um [SK_BUFF]: Introduce skb_mac_header() 2007-04-25 22:24:41 -07:00
v850 kbuild: Replace remaining "depends" with "depends on" 2007-02-17 19:05:24 +01:00
x86_64 MSI: arch must connect the irq and the msi_desc 2007-05-02 19:02:38 -07:00
xtensa PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00