• R
    [PATCH] PCI: Allow MSI to work on kexec kernel · 020d5024
    Rajesh Shah 提交于
    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: NRajesh Shah <rajesh.shah@intel.com>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    020d5024
msi.c 36.2 KB