Re: [PATCH] pci: let pci_device_shutdown to call pci_disable_msi

From: Yinghai Lu
Date: Wed Apr 23 2008 - 02:08:44 EST


On Tue, Apr 22, 2008 at 10:24 PM, Michael Ellerman
<michael@xxxxxxxxxxxxxx> wrote:
> On Tue, 2008-04-22 at 21:48 -0700, Yinghai Lu wrote:
> > this change
> >
> > | commit 23a274c8a5adafc74a66f16988776fc7dd6f6e51
> > | Author: Prakash, Sathya <sathya.prakash@xxxxxxx>
> > | 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@xxxxxxx>
> > | Signed-off-by: James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx>
> > |
> > cause kexec RHEL 5.1 kernel fail.
> >
> > root casue: the rhel 5.1 kernel still use INTx emulation.
> > and mptscsih_shutdown doesn't call pci_disable_msi to reenable INTx on kexec path
> >
> > so try to call pci_disable_msi in shutdown patch
>
> How is kdump going to work? Your shutdown routine won't be called and
> you'll have the same problem in the 2nd kernel, won't you?

for kdump, the first kernel and second kernel should be same version.

this one is for using kexec to load other kernel that may not have msi
support etc.

YH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/