Re: [PATCH v2] PCI: PM: Move to D0 before calling pci_legacy_resume_early()

2019-10-10 Thread Rafael J. Wysocki
...@mellanox.com Subject: Re: [PATCH v2] PCI: PM: Move to D0 before calling pci_legacy_resume_early() On Wed, Aug 14, 2019 at 01:06:55AM +, Dexuan Cui wrote: In pci_legacy_suspend_late(), the device state is moved to PCI_UNKNOWN. In pci_pm_thaw_noirq(), the state is supposed to be moved back

RE: [PATCH v2] PCI: PM: Move to D0 before calling pci_legacy_resume_early()

2019-10-08 Thread Dexuan Cui
> From: Bjorn Helgaas > Sent: Tuesday, October 8, 2019 12:56 PM > ... > Wordsmithing nit: what the patch does is not "fix the error message"; > what it does is fix the *problem*, i.e., the fact that we can't > operate the device because we can't enable MSI-X. The message is only > a symptom. I

Re: [PATCH v2] PCI: PM: Move to D0 before calling pci_legacy_resume_early()

2019-10-08 Thread Bjorn Helgaas
; > > > o...@aepfle.de; a...@canonical.com; jasow...@redhat.com; vkuznets > > > ; marcelo.ce...@canonical.com; Stephen Hemminger > > > ; ja...@mellanox.com > > > Subject: Re: [PATCH v2] PCI: PM: Move to D0 before calling > > > pci_legacy_resume_early() > > >

Re: [PATCH v2] PCI: PM: Move to D0 before calling pci_legacy_resume_early()

2019-10-08 Thread Rafael J. Wysocki
@linuxdriverproject.org; Sasha Levin ; Haiyang Zhang ; KY Srinivasan ; o...@aepfle.de; a...@canonical.com; jasow...@redhat.com; vkuznets ; marcelo.ce...@canonical.com; Stephen Hemminger ; ja...@mellanox.com Subject: Re: [PATCH v2] PCI: PM: Move to D0 before calling pci_legacy_resume_early() On Wed, Aug

RE: [PATCH v2] PCI: PM: Move to D0 before calling pci_legacy_resume_early()

2019-10-07 Thread Dexuan Cui
verproject.org; Sasha > Levin ; Haiyang Zhang > ; KY Srinivasan ; > o...@aepfle.de; a...@canonical.com; jasow...@redhat.com; vkuznets > ; marcelo.ce...@canonical.com; Stephen Hemminger > ; ja...@mellanox.com > Subject: Re: [PATCH v2] PCI: PM: Move to D0 before calling > pci_legac

Re: [PATCH v2] PCI: PM: Move to D0 before calling pci_legacy_resume_early()

2019-10-07 Thread Bjorn Helgaas
On Wed, Aug 14, 2019 at 01:06:55AM +, Dexuan Cui wrote: > > In pci_legacy_suspend_late(), the device state is moved to PCI_UNKNOWN. > > In pci_pm_thaw_noirq(), the state is supposed to be moved back to PCI_D0, > but the current code misses the pci_legacy_resume_early() path, so the > state

RE: [PATCH v2] PCI: PM: Move to D0 before calling pci_legacy_resume_early()

2019-09-25 Thread Dexuan Cui
> From: devel On Behalf Of > Dexuan Cui > Sent: Monday, September 2, 2019 5:35 PM > To: lorenzo.pieral...@arm.com; bhelg...@google.com; > linux-...@vger.kernel.org > [..snipped...] > > --- > > > > changes in v2: > > Updated the changelog with more details. > > > > drivers/pci/pci-driver.c |

RE: [PATCH v2] PCI: PM: Move to D0 before calling pci_legacy_resume_early()

2019-09-02 Thread Dexuan Cui
> From: Dexuan Cui > Sent: Tuesday, August 13, 2019 6:07 PM > To: lorenzo.pieral...@arm.com; bhelg...@google.com; > linux-...@vger.kernel.org > Cc: Michael Kelley ; linux-hyp...@vger.kernel.org; > linux-ker...@vger.kernel.org; driverdev-devel@linuxdriverproject.org; Sasha > Levin ; Haiyang Zhang