Re: [PATCH 1/2] PCI: pciehp: Do not disable interrupt twice on suspend

2019-08-05 Thread Mika Westerberg
On Sun, Aug 04, 2019 at 09:53:06PM +0200, Lukas Wunner wrote: > On Tue, Jun 18, 2019 at 03:50:50PM +0300, Mika Westerberg wrote: > > @@ -313,10 +332,12 @@ static struct pcie_port_service_driver > > hpdriver_portdrv = { > > .remove = pciehp_remove, > > > > #ifdef CONFIG_PM > >

Re: [PATCH 1/2] PCI: pciehp: Do not disable interrupt twice on suspend

2019-08-04 Thread Lukas Wunner
On Tue, Jun 18, 2019 at 03:50:50PM +0300, Mika Westerberg wrote: > @@ -313,10 +332,12 @@ static struct pcie_port_service_driver hpdriver_portdrv > = { > .remove = pciehp_remove, > > #ifdef CONFIG_PM > +#ifdef CONFIG_PM_SLEEP > .suspend= pciehp_suspend, >

Re: [PATCH 1/2] PCI: pciehp: Do not disable interrupt twice on suspend

2019-06-24 Thread Rafael J. Wysocki
On Tuesday, June 18, 2019 2:50:50 PM CEST Mika Westerberg wrote: > We try to keep PCIe hotplug ports runtime suspended when entering system > suspend. Due to the fact that the PCIe portdrv sets NEVER_SKIP driver PM > flag the PM core always calls system suspend/resume hooks even if the > device is

Re: [PATCH 1/2] PCI: pciehp: Do not disable interrupt twice on suspend

2019-06-21 Thread Kai-Heng Feng
at 20:50, Mika Westerberg wrote: We try to keep PCIe hotplug ports runtime suspended when entering system suspend. Due to the fact that the PCIe portdrv sets NEVER_SKIP driver PM flag the PM core always calls system suspend/resume hooks even if the device is left runtime suspended. Since PCIe

[PATCH 1/2] PCI: pciehp: Do not disable interrupt twice on suspend

2019-06-18 Thread Mika Westerberg
We try to keep PCIe hotplug ports runtime suspended when entering system suspend. Due to the fact that the PCIe portdrv sets NEVER_SKIP driver PM flag the PM core always calls system suspend/resume hooks even if the device is left runtime suspended. Since PCIe hotplug driver re-uses the same