]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
pci/irq: let pci_device_shutdown to call pci_msi_shutdown v2
authorYinghai Lu <yhlu.kernel.send@gmail.com>
Wed, 23 Apr 2008 21:58:09 +0000 (14:58 -0700)
committerJesse Barnes <jbarnes@hobbes.lan>
Tue, 29 Apr 2008 16:12:51 +0000 (09:12 -0700)
commitd52877c7b1afb8c37ebe17e2005040b79cb618b0
treeb5cc4252cad0d7f22a6b63e50d1ec46a9a495773
parent8e149e09f91098fd72bf9ac5b4a77a693abf721e
pci/irq: let pci_device_shutdown to call pci_msi_shutdown v2

[PATCH 2/2] pci/irq: let pci_device_shutdown to call pci_msi_shutdown v2

this change

| commit 23a274c8a5adafc74a66f16988776fc7dd6f6e51
| Author: Prakash, Sathya <sathya.prakash@lsi.com>
| Date:   Fri Mar 7 15:53:21 2008 +0530
|
|     [SCSI] mpt fusion: Enable MSI by default for SAS controllers
|
|     This patch modifies the driver to enable MSI by default for all SAS chips.
|
|     Signed-off-by: Sathya Prakash <sathya.prakash@lsi.com>
|     Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
|
Causes the kexec of a RHEL 5.1 kernel to fail.

root casue: the rhel 5.1 kernel still uses INTx emulation.  and
mptscsih_shutdown doesn't call pci_disable_msi to reenable INTx on kexec path

So call pci_msi_shutdown in the shutdown path to do the same thing to msix

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Jesse Barnes <jbarnes@hobbes.lan>
drivers/pci/msi.c
drivers/pci/pci-driver.c
include/linux/pci.h