From: "Yinghai Lu" <yhlu.kernel@gmail.com>
To: michael@ellerman.id.au
Cc: "Eric W. Biederman" <ebiederm@xmission.com>,
"Andrew Morton" <akpm@linux-foundation.org>,
"Ingo Molnar" <mingo@elte.hu>,
"Jesse Barnes" <jbarnes@virtuousgeek.org>,
"Greg KH" <greg@kroah.com>, "David Miller" <davem@davemloft.net>,
"Jeff Garzik" <jeff@garzik.org>,
linux-pci <linux-pci@atrey.karlin.mff.cuni.cz>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"James Bottomley" <James.Bottomley@hansenpartnership.com>,
"Sathya Prakash" <sathya.prakash@lsi.com>
Subject: Re: [PATCH] pci: let pci_device_shutdown to call pci_disable_msi
Date: Wed, 23 Apr 2008 18:22:22 -0700 [thread overview]
Message-ID: <86802c440804231822s7cc4e2c1vfdb7f40ae0580045@mail.gmail.com> (raw)
In-Reply-To: <1208996273.9245.18.camel@concordia.ozlabs.ibm.com>
On Wed, Apr 23, 2008 at 5:17 PM, Michael Ellerman
<michael@ellerman.id.au> wrote:
> On Wed, 2008-04-23 at 06:08 -0700, Eric W. Biederman wrote:
> > Michael Ellerman <michael@ellerman.id.au> writes:
> >
> > > On Tue, 2008-04-22 at 21:48 -0700, Yinghai Lu wrote:
> > >> 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>
> > >> |
> > >> 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?
> >
> > Taking a quick look our current msi initialization appears robust in
> > not assuming the state of the msi config bits.
>
> But does that help us? What if the device driver in the 2nd kernel
> assumes it's using INTX, when in fact MSI is enabled on the device. In
> that case none of the MSI code will even be called AFAIK.
ok. for kdump case, if driver can not use msi (?), with pci=nomsi
we need to call pci_intx_for_msi(dev, 1) at beginning of second kernel.
will produce another patch about that case.
YH
next prev parent reply other threads:[~2008-04-24 1:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-23 4:48 Yinghai Lu
2008-04-23 5:24 ` Michael Ellerman
2008-04-23 6:08 ` Yinghai Lu
2008-04-23 13:08 ` Eric W. Biederman
2008-04-23 17:31 ` Yinghai Lu
2008-04-24 0:17 ` Michael Ellerman
2008-04-24 1:22 ` Yinghai Lu [this message]
2008-04-24 2:11 ` Yinghai Lu
2008-04-23 12:57 ` Eric W. Biederman
2008-04-23 17:32 ` Yinghai Lu
2008-04-23 21:56 ` [PATCH 1/2] pci/irq: restore mask_bits in msi shutdown -v3 Yinghai Lu
2008-04-23 21:58 ` [PATCH 2/2] pci/irq: let pci_device_shutdown to call pci_msi_shutdown v2 Yinghai Lu
2008-04-25 0:40 ` [PATCH 1/2] pci/irq: restore mask_bits in msi shutdown -v3 Yinghai Lu
2008-04-25 21:48 ` Jesse Barnes
2008-04-25 22:08 ` Yinghai Lu
2008-04-29 16:13 ` Jesse Barnes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86802c440804231822s7cc4e2c1vfdb7f40ae0580045@mail.gmail.com \
--to=yhlu.kernel@gmail.com \
--cc=James.Bottomley@hansenpartnership.com \
--cc=akpm@linux-foundation.org \
--cc=davem@davemloft.net \
--cc=ebiederm@xmission.com \
--cc=greg@kroah.com \
--cc=jbarnes@virtuousgeek.org \
--cc=jeff@garzik.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@atrey.karlin.mff.cuni.cz \
--cc=michael@ellerman.id.au \
--cc=mingo@elte.hu \
--cc=sathya.prakash@lsi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®