Re: [PATCH] pci: fix kexec with power state D3

From: Ingo Molnar
Date: Sun Mar 08 2009 - 06:16:33 EST



* Rafael J. Wysocki <rjw@xxxxxxx> wrote:

> On Sunday 08 March 2009, Yinghai Lu wrote:
> >
> > Impact: second kernel by kexec will have some pci devices working
> >
> > Found one system with 82575EB, in the kernel that is kexeced, probe igb
> > failed with -2.
> >
> > it looks like the same behavior happened on forcedeth.
> > try to check system_state to make sure if put it on D3
>
> This is not enough, because the PM code doesn't change
> system_state and it uses pci_set_power_state too.
>
> > Jesse Brandeburg said that we should do that check in core
> > code instead of every device driver.
>
> Well, I'm not really sure. The drivers are where the bug is.

So Yinghai has now written a driver fix and a generic code fix
as well and both are being rejected pointing to the other side?

This really sucks for users (who'd be happy with any of the
patches) and the disagreement needs to be resolved ASAP.

Ingo
--
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/