* Re: [PATCH] msi: Disable msi interrupts when we initialize a pci device
[not found] <m1y5wj4ftd.fsf@fess.ebiederm.org>
@ 2011-11-11 17:58 ` Jesse Barnes
0 siblings, 0 replies; only message in thread
From: Jesse Barnes @ 2011-11-11 17:58 UTC (permalink / raw)
To: Eric W. Biederman; +Cc: linux-pci
[-- Attachment #1: Type: text/plain, Size: 1029 bytes --]
On Mon, 17 Oct 2011 11:46:06 -0700
ebiederm@xmission.com (Eric W. Biederman) wrote:
>
> I traced a nasty kexec on panic boot failure to the fact that we had
> screaming msi interrupts and we were not disabling the msi messages at
> kernel startup. The booting kernel had not enabled those interupts so
> was not prepared to handle them.
>
> I can see no reason why we would ever want to leave the msi interrupts
> enabled at boot if something else has enabled those interrupts. The pci
> spec specifies that msi interrupts should be off by default. Drivers
> are expected to enable the msi interrupts if they want to use them. Our
> interrupt handling code reprograms the interrupt handlers at boot and
> will not be be able to do anything useful with an unexpected interrupt.
>
> This patch applies cleanly all of the way back to 2.6.32 where I noticed
> the problem.
>
> Cc: stable@kernel.org
>
Applied to -next because I'm a chicken.
--
Jesse Barnes, Intel Open Source Technology Center
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-11-11 17:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <m1y5wj4ftd.fsf@fess.ebiederm.org>
2011-11-11 17:58 ` [PATCH] msi: Disable msi interrupts when we initialize a pci device Jesse Barnes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox