Re: [PATCH] PCI: PM: Avoid possible suspend-to-idle issue

2019-06-11 Thread Rafael J. Wysocki
On Tuesday, June 11, 2019 11:34:36 PM CEST Rafael J. Wysocki wrote: > On Tuesday, June 11, 2019 10:39:44 AM CEST Kai-Heng Feng wrote: > > Hi Rafael, > > > > at 19:02, Rafael J. Wysocki wrote: > > > > > On Friday, May 17, 2019 11:08:50 AM CEST Rafael J. Wysocki wrote: > > >> From: Rafael J. Wysoc

Re: [PATCH] PCI: PM: Avoid possible suspend-to-idle issue

2019-06-11 Thread Rafael J. Wysocki
On Tuesday, June 11, 2019 10:39:44 AM CEST Kai-Heng Feng wrote: > Hi Rafael, > > at 19:02, Rafael J. Wysocki wrote: > > > On Friday, May 17, 2019 11:08:50 AM CEST Rafael J. Wysocki wrote: > >> From: Rafael J. Wysocki > >> > >> If a PCI driver leaves the device handled by it in D0 and calls > >>

Re: [PATCH] PCI: PM: Avoid possible suspend-to-idle issue

2019-06-11 Thread Rafael J. Wysocki
On Tue, Jun 11, 2019 at 10:39 AM Kai-Heng Feng wrote: > > Hi Rafael, > > at 19:02, Rafael J. Wysocki wrote: > > > On Friday, May 17, 2019 11:08:50 AM CEST Rafael J. Wysocki wrote: > >> From: Rafael J. Wysocki > >> > >> If a PCI driver leaves the device handled by it in D0 and calls > >> pci_save

Re: [PATCH] PCI: PM: Avoid possible suspend-to-idle issue

2019-06-11 Thread Kai-Heng Feng
Hi Rafael, at 19:02, Rafael J. Wysocki wrote: On Friday, May 17, 2019 11:08:50 AM CEST Rafael J. Wysocki wrote: From: Rafael J. Wysocki If a PCI driver leaves the device handled by it in D0 and calls pci_save_state() on the device in its ->suspend() or ->suspend_late() callback, it can expe

Re: [PATCH] PCI: PM: Avoid possible suspend-to-idle issue

2019-05-27 Thread Rafael J. Wysocki
On Friday, May 17, 2019 11:08:50 AM CEST Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > If a PCI driver leaves the device handled by it in D0 and calls > pci_save_state() on the device in its ->suspend() or ->suspend_late() > callback, it can expect the device to stay in D0 over the whole

Re: [PATCH] PCI: PM: Avoid possible suspend-to-idle issue

2019-05-20 Thread Mika Westerberg
On Fri, May 17, 2019 at 11:08:50AM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > If a PCI driver leaves the device handled by it in D0 and calls > pci_save_state() on the device in its ->suspend() or ->suspend_late() > callback, it can expect the device to stay in D0 over the whol

Re: [PATCH] PCI: PM: Avoid possible suspend-to-idle issue

2019-05-17 Thread Keith Busch
On Fri, May 17, 2019 at 11:08:50AM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > If a PCI driver leaves the device handled by it in D0 and calls > pci_save_state() on the device in its ->suspend() or ->suspend_late() > callback, it can expect the device to stay in D0 over the whol

[PATCH] PCI: PM: Avoid possible suspend-to-idle issue

2019-05-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki If a PCI driver leaves the device handled by it in D0 and calls pci_save_state() on the device in its ->suspend() or ->suspend_late() callback, it can expect the device to stay in D0 over the whole s2idle cycle. However, that may not be the case if there is a spurious wak