From: James Smart Date: Fri, 5 Dec 2008 03:39:35 +0000 (-0500) Subject: [SCSI] lpfc 8.3.0 : Add active interrupt test for enabling MSI/MSI-X/INTx X-Git-Tag: v2.6.29-rc1~555^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b75da2fa2c9570c3c3dbb2f63cae5b4183e0ca3;p=pandora-kernel.git [SCSI] lpfc 8.3.0 : Add active interrupt test for enabling MSI/MSI-X/INTx Per the recent discussions at the Linux Plumbers Conference, when enabling MSI or MSI-X, generate a test interrupt to verify the interrupt routing is working properly. If the test interrupt fails, fall back to MSI first, and if that fails as well, to INTx. If the interrupt test fails with INTx, log an error and fail the PCI probe. Also changed the use of spin_(lock|unlock) to the _irq(save|restore) variants in the interrupt handlers because with multi-message MSI-X, both interrupt handlers can now run in parallel. Signed-off-by: James Smart Signed-off-by: James Bottomley --- Reading git-diff-tree failed