]> git.openfabrics.org - ~emulex/infiniband.git/commit
[PATCH] PCI: Allow MSI to work on kexec kernel
authorRajesh Shah <rajesh.shah@intel.com>
Tue, 23 May 2006 17:14:36 +0000 (10:14 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jun 2006 19:00:00 +0000 (12:00 -0700)
commit020d502488bebdbc1b2c2828d996f04e563f082a
tree101cf0138612137dc08844dff137f927ed0a3b8b
parent1edab4a164b229807853682f7ff7858c11dd3481
[PATCH] PCI: Allow MSI to work on kexec kernel

We recently ran into a problem where the e1000 device failed to
work properly on the kexec kernel. MSI was enabled for the
device in the main kernel when it crashed. The e1000 driver
tried to enable MSI on the kexec kernel, but the code bailed
early when it found that MSI was already enabled in the hardware,
even though the software state was not properly set up in the
kexec'd kernel. This patch fixes the problem by moving the
early return to after making sure that the software state
is properly initialized.

Signed-off-by: Rajesh Shah <rajesh.shah@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/msi.c