2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 13:43:55 +08:00
linux-next/kernel/irq
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
..
autoprobe.c [PATCH] genirq: add handle_bad_irq() 2006-06-29 10:26:24 -07:00
chip.c MSI: arch must connect the irq and the msi_desc 2007-05-02 19:02:38 -07:00
devres.c [PATCH] irq-devres: fix failure path of devm_request_irq() 2007-04-07 10:05:21 -07:00
handle.c [PATCH] lockdep: name some old style locks 2006-12-07 08:39:36 -08:00
internals.h [PATCH] genirq: more verbose debugging on unexpected IRQ vectors 2006-06-29 10:26:25 -07:00
Makefile [PATCH] sort the devres mess out 2007-02-11 11:18:07 -08:00
manage.c [PATCH] Add a function to handle interrupt affinity setting 2007-02-16 08:13:56 -08:00
migration.c [PATCH] genirq: Mask irqs when migrating them. 2007-02-26 10:34:08 -08:00
proc.c [PATCH] Add a function to handle interrupt affinity setting 2007-02-16 08:13:56 -08:00
resend.c [PATCH] ixp4xxdefconfig arm fixes 2006-10-06 12:11:08 -07:00
spurious.c [PATCH] x86-64: Make noirqdebug_setup function non init to fix modpost warning 2007-01-11 01:52:44 +01:00