Re: [PATCH] PCI/PM: Set D3 power state only if the end device supports it.

2017-06-05 Thread Alex Williamson
On Fri, 2 Jun 2017 11:14:27 +0530 Geetha Akula wrote: > On Wed, May 31, 2017 at 6:13 PM, Alex Williamson > wrote: > > On Wed, 31 May 2017 17:03:32 +0530 > > Geetha sowjanya wrote: > > > >> Pci driver doesn't check if the device supports D3hot/D3cold power states > >> while setting these power

Re: [PATCH] PCI/PM: Set D3 power state only if the end device supports it.

2017-06-01 Thread Geetha Akula
On Wed, May 31, 2017 at 6:13 PM, Alex Williamson wrote: > On Wed, 31 May 2017 17:03:32 +0530 > Geetha sowjanya wrote: > >> Pci driver doesn't check if the device supports D3hot/D3cold power states >> while setting these power states. The device that doesn't support these >> states will fail when

Re: [PATCH] PCI/PM: Set D3 power state only if the end device supports it.

2017-05-31 Thread Alex Williamson
On Wed, 31 May 2017 17:03:32 +0530 Geetha sowjanya wrote: > Pci driver doesn't check if the device supports D3hot/D3cold power states > while setting these power states. The device that doesn't support these > states will fail when a driver like vfio try to do D0->D3 power transition. That's

[PATCH] PCI/PM: Set D3 power state only if the end device supports it.

2017-05-31 Thread Geetha sowjanya
Pci driver doesn't check if the device supports D3hot/D3cold power states while setting these power states. The device that doesn't support these states will fail when a driver like vfio try to do D0->D3 power transition. This patch adds a check that allows to set D3 power state only for the sup