]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] msi: support masking msi irqs without a mask bit
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 5 Mar 2007 08:30:11 +0000 (00:30 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 5 Mar 2007 15:57:50 +0000 (07:57 -0800)
commit58e0543e8f355b32f0778a18858b255adb7402ae
tree4533c928f846e737f218573bbd326e63280c179d
parentb1cbf4e4dddd708ba268c3a2bf38383a269d490a
[PATCH] msi: support masking msi irqs without a mask bit

For devices that do not support msi-x we only support 1 interrupt.  Therefore
we can disable that one interrupt by disabling the msi capability itself.  If
we leave the intx interrupts disabled while we have the msi capability
disabled no interrupts should be delivered from that device.

Devices with just the minimal msi support (and thus hitting this code path)
include things like the intel e1000 nic, so it looks like is going to be a
fairly common case and thus important to get right.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Michael Ellerman <michael@ellerman.id.au>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/pci/msi.c