]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tg3: Fix single-vector MSI-X code
authorMatt Carlson <mcarlson@broadcom.com>
Tue, 17 Jan 2012 15:27:23 +0000 (15:27 +0000)
committerJoe Jin <joe.jin@oracle.com>
Tue, 28 Aug 2012 07:21:29 +0000 (15:21 +0800)
commit0853a35a735cd99815962df954e28bc10fbe06c8
tree74f94f58d584b3f07720aba8282a0804d5c4afb4
parent3f3b8513c3681da0841bc8e4609f1c85dd6e2802
tg3: Fix single-vector MSI-X code

Kdump kernels leave MSI-X interrupts (as setup by the crashed kernel)
enabled.  However, kdump only enables one CPU in the new environment,
thus causing tg3 to abort MSI-X setup.  When the driver attempts to
enable INTA or MSI interrupt modes on a kdump kernel, interrupt
delivery fails.

This patch attempts to workaround the problem by forcing the driver
to enable a single MSI-X interrupt.  In such a configuration, the
device's multivector interrupt mode must be disabled.

(cherry picked from commit c3b5003b628d8e373262bee42c7260d6a799c73e)
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/tg3.c