linux/arch/x86_64
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
..
boot [PATCH] x86: Don't probe for DDC on VBE1.2 2007-04-02 12:14:12 +02:00
crypto
ia32 [PATCH] x86-64: wire up compat sched_rr_get_interval(2) 2007-03-16 21:07:36 +01:00
kernel MSI: arch must connect the irq and the msi_desc 2007-05-02 19:02:38 -07:00
lib Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq 2007-02-26 14:17:50 -08:00
mm [PATCH] x86-64: Always flush all pages in change_page_attr 2007-04-24 13:05:37 +02:00
oprofile
pci [PATCH] mmconfig: fix unreachable_devices() 2007-02-13 13:26:20 +01:00
defconfig libata/IDE: remove combined mode quirk 2007-04-28 14:15:59 -04:00
Kconfig msi: introduce ARCH_SUPPORTS_MSI Kconfig option (rev2) 2007-05-02 19:02:37 -07:00
Kconfig.debug
Makefile Remove stack unwinder for now 2006-12-15 08:47:51 -08:00