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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rafael J. Wysocki
Date: Sunday, March 8, 2009 - 3:08 am

On Sunday 08 March 2009, Yinghai Lu wrote:

This is not enough, because the PM code doesn't change system_state and
it uses pci_set_power_state too.


Well, I'm not really sure.  The drivers are where the bug is.


This breaks suspend/hibernation, doesn't it?  Surely, we want to put devices
into D3 when going for suspend, for example.

That's apart from the fact that the 'state == PCI_D3cold' is redundant.


I don't like this at all, sorry.

I thought we were supposed to avoid using system_state in such a way,
apart from the other things.

Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] igb: fix kexec with igb, Yinghai Lu, (Fri Mar 6, 9:33 pm)
Re: [PATCH] igb: fix kexec with igb, Jesse Brandeburg, (Sat Mar 7, 12:18 am)
Re: [PATCH] igb: fix kexec with igb, Yinghai Lu, (Sat Mar 7, 12:31 am)
Re: [PATCH] igb: fix kexec with igb, Eric W. Biederman, (Sat Mar 7, 11:20 am)
Re: [PATCH] igb: fix kexec with igb, Yinghai Lu, (Sat Mar 7, 11:50 am)
[PATCH] pci: fix kexec with power state D3, Yinghai Lu, (Sun Mar 8, 1:09 am)
Re: [PATCH] pci: fix kexec with power state D3, Rafael J. Wysocki, (Sun Mar 8, 3:08 am)
Re: [PATCH] pci: fix kexec with power state D3, Ingo Molnar, (Sun Mar 8, 3:15 am)
Re: [PATCH] pci: fix kexec with power state D3, Rafael J. Wysocki, (Sun Mar 8, 3:28 am)
Re: [PATCH] pci: fix kexec with power state D3, Rafael J. Wysocki, (Sun Mar 8, 3:33 am)
Re: [PATCH] igb: fix kexec with igb, Rafael J. Wysocki, (Sun Mar 8, 3:45 am)
Re: [PATCH] igb: fix kexec with igb, Rafael J. Wysocki, (Sun Mar 8, 3:57 am)
Re: [PATCH] pci: fix kexec with power state D3, Ingo Molnar, (Sun Mar 8, 4:08 am)
Re: [PATCH] igb: fix kexec with igb, Yinghai Lu, (Sun Mar 8, 11:03 am)
Re: [PATCH] igb: fix kexec with igb, Yinghai Lu, (Sun Mar 8, 11:10 am)
Re: [PATCH] igb: fix kexec with igb, Rafael J. Wysocki, (Sun Mar 8, 2:08 pm)
Re: [PATCH] igb: fix kexec with igb, Yinghai Lu, (Sun Mar 8, 2:18 pm)
Re: [PATCH] igb: fix kexec with igb, Rafael J. Wysocki, (Sun Mar 8, 2:32 pm)
Re: [PATCH] igb: fix kexec with igb, Rafael J. Wysocki, (Sun Mar 8, 2:40 pm)
Re: [PATCH] igb: fix kexec with igb, Yinghai Lu, (Sun Mar 8, 3:35 pm)
Re: [PATCH] igb: fix kexec with igb, Rafael J. Wysocki, (Sun Mar 8, 3:57 pm)
Re: [PATCH] igb: fix kexec with igb, Yinghai Lu, (Sun Mar 8, 4:04 pm)
Re: [PATCH] igb: fix kexec with igb, Rafael J. Wysocki, (Sun Mar 8, 4:57 pm)
Re: [PATCH] igb: fix kexec with igb, Yinghai Lu, (Wed Mar 11, 4:37 pm)
Re: [PATCH] pci: fix kexec with power state D3, Jesse Barnes, (Thu Mar 19, 6:49 pm)
Re: [PATCH] pci: fix kexec with power state D3, Rafael J. Wysocki, (Fri Mar 20, 4:29 am)
[Updated patch] Re: [PATCH] igb: fix kexec with igb, Rafael J. Wysocki, (Sat Mar 21, 3:04 pm)
Re: [Updated patch] Re: [PATCH] igb: fix kexec with igb, Rafael J. Wysocki, (Sat Mar 28, 2:27 pm)
Re: [Updated patch] Re: [PATCH] igb: fix kexec with igb, Jeff Kirsher, (Sat Mar 28, 7:30 pm)
Re: [Updated patch] Re: [PATCH] igb: fix kexec with igb, Rafael J. Wysocki, (Sun Mar 29, 4:19 am)
Re: [Updated patch] Re: [PATCH] igb: fix kexec with igb, Jeff Kirsher, (Mon Mar 30, 2:36 pm)
Re: [Updated patch] Re: [PATCH] igb: fix kexec with igb, Rafael J. Wysocki, (Mon Mar 30, 2:39 pm)
RE: [Updated patch] Re: [PATCH] igb: fix kexec with igb, Tantilov, Emil S, (Tue Mar 31, 12:14 pm)
Re: [Updated patch] Re: [PATCH] igb: fix kexec with igb, Jeff Kirsher, (Tue Mar 31, 12:51 pm)
Re: [Updated patch] Re: [PATCH] igb: fix kexec with igb, Rafael J. Wysocki, (Tue Mar 31, 1:27 pm)