* Re: [PATCH v1 1/2] PCI: Add PCIe port runtime suspend details [not found] ` <CAJZ5v0hys5UY69H=ARHA-EsmH-CVqTQNSQciktDQ=nVBEKJHqQ@mail.gmail.com> @ 2018-02-26 11:52 ` Mika Westerberg 0 siblings, 0 replies; 4+ messages in thread From: Mika Westerberg @ 2018-02-26 11:52 UTC (permalink / raw) To: Rafael J. Wysocki Cc: Bjorn Helgaas, Linux PCI, Valdis Kletnieks, Mathias Nyman, Linux PM, Rafael J. Wysocki, Linux Kernel Mailing List, Lukas Wunner, Peter Wu, Qipeng Zha, Greg Kroah-Hartman, Andreas Noever, Dave Airlie, Qi Zheng On Tue, Feb 20, 2018 at 10:31:51AM +0100, Rafael J. Wysocki wrote: > On Tue, Feb 20, 2018 at 12:14 AM, Bjorn Helgaas <helgaas@kernel.org> wrote: > > From: Bjorn Helgaas <bhelgaas@google.com> > > > > Add details about how we decide whether we can put a PCI bridge in D3. > > 9d26d3a8f1b0 ("PCI: Put PCIe ports into D3 during suspend") added this > > support to reduce power consumption on Intel Sunrise Point and Broxton > > platforms. > > > > In some cases we don't use D3 for bridges even when it should work, simply > > because it's impractical to test the configuration, or we tripped over some > > possible hardware issue on older platforms. Links to discussion of the > > PCIe port runtime power management patches, which includes mention of these > > issues, are below. > > > > No functional change. > > > > Link: v1: https://lkml.kernel.org/r/1456750566-116248-1-git-send-email-mika.westerberg@linux.intel.com > > Link: v2: https://lkml.kernel.org/r/1460111790-92836-1-git-send-email-mika.westerberg@linux.intel.com > > Link: v3: https://lkml.kernel.org/r/1460628268-16204-1-git-send-email-mika.westerberg@linux.intel.com > > Link: v4: https://lkml.kernel.org/r/1461578004-129094-1-git-send-email-mika.westerberg@linux.intel.com > > Link: v5: https://lkml.kernel.org/r/1461919919-120102-1-git-send-email-mika.westerberg@linux.intel.com > > Link: v6: https://lkml.kernel.org/r/1464855435-32960-1-git-send-email-mika.westerberg@linux.intel.com > > Link: https://lkml.kernel.org/r/2858019.9TUCWsDpTB@aspire.rjw.lan > > Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> > > Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Also Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <151908204614.37696.12828004282495415825.stgit@bhelgaas-glaptop.roam.corp.google.com>]
[parent not found: <CAJZ5v0irpPi4PXPHWaSpa3=MpUY4Sg3C-iHd0LPQN+FN-VTRpQ@mail.gmail.com>]
[parent not found: <20180220181554.GA32228@bhelgaas-glaptop.roam.corp.google.com>]
[parent not found: <20180222131834.GA5527@wunner.de>]
* Re: [PATCH v1 2/2] PCI: Allow user to request power management of conventional and hotplug bridges [not found] ` <20180222131834.GA5527@wunner.de> @ 2018-02-26 12:05 ` Mika Westerberg 2018-02-26 12:22 ` Lukas Wunner 0 siblings, 1 reply; 4+ messages in thread From: Mika Westerberg @ 2018-02-26 12:05 UTC (permalink / raw) To: Lukas Wunner Cc: Bjorn Helgaas, Rafael J. Wysocki, Linux PCI, Valdis Kletnieks, Mathias Nyman, Linux PM, Rafael J. Wysocki, Linux Kernel Mailing List, Peter Wu, Qipeng Zha, Greg Kroah-Hartman, Andreas Noever, Dave Airlie, Qi Zheng On Thu, Feb 22, 2018 at 02:18:34PM +0100, Lukas Wunner wrote: > We do need runtime PM on hotplug ports to power off Thunderbolt > controllers when nothing is plugged in. That saves 1.5 W, so a > noticeable amount of power. I was going to respin the series one > of these days, I think the best I can do is continue to forbid > runtime PM on hotplug ports by default, but whitelist it for > Thunderbolt and allow manually enabling it on other platforms via > the command line. That way, vendors are put in a position to > validate their platforms for runtime PM of hotplug ports, and > perhaps someday we can enable it for all platforms by default, > but with a BIOS cut-off date. AFAIK Windows started to enable runtime PM (RTD3) for native PCIe hotplug ports with the latest release (I guess it's the RS3 release) but only when there is a special ACPI _DSD property ("HotPlugSupportInD3") associated with the root port. I think we can take advantage of that in Linux as well and I already have a patch series to enable runtime PM for such ports but I haven't been able to test it properly yet. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v1 2/2] PCI: Allow user to request power management of conventional and hotplug bridges 2018-02-26 12:05 ` [PATCH v1 2/2] PCI: Allow user to request power management of conventional and hotplug bridges Mika Westerberg @ 2018-02-26 12:22 ` Lukas Wunner 2018-02-26 12:35 ` Mika Westerberg 0 siblings, 1 reply; 4+ messages in thread From: Lukas Wunner @ 2018-02-26 12:22 UTC (permalink / raw) To: Mika Westerberg Cc: Bjorn Helgaas, Rafael J. Wysocki, Linux PCI, Valdis Kletnieks, Mathias Nyman, Linux PM, Rafael J. Wysocki, Linux Kernel Mailing List, Peter Wu, Qipeng Zha, Greg Kroah-Hartman, Andreas Noever, Dave Airlie, Qi Zheng On Mon, Feb 26, 2018 at 02:05:34PM +0200, Mika Westerberg wrote: > On Thu, Feb 22, 2018 at 02:18:34PM +0100, Lukas Wunner wrote: > > We do need runtime PM on hotplug ports to power off Thunderbolt > > controllers when nothing is plugged in. That saves 1.5 W, so a > > noticeable amount of power. I was going to respin the series one > > of these days, I think the best I can do is continue to forbid > > runtime PM on hotplug ports by default, but whitelist it for > > Thunderbolt and allow manually enabling it on other platforms via > > the command line. That way, vendors are put in a position to > > validate their platforms for runtime PM of hotplug ports, and > > perhaps someday we can enable it for all platforms by default, > > but with a BIOS cut-off date. > > AFAIK Windows started to enable runtime PM (RTD3) for native PCIe > hotplug ports with the latest release (I guess it's the RS3 release) but > only when there is a special ACPI _DSD property ("HotPlugSupportInD3") > associated with the root port. I think we can take advantage of that in > Linux as well and I already have a patch series to enable runtime PM for > such ports but I haven't been able to test it properly yet. Okay. Well it would be trivial to whitelist those ports with device_property_present("HotPlugSupportInD3"). In how far are your patches identical with the patches I submitted last May? I've started reworking them for v2 but that would be a waste of time if you're working on this issue in parallel. Thanks, Lukas ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v1 2/2] PCI: Allow user to request power management of conventional and hotplug bridges 2018-02-26 12:22 ` Lukas Wunner @ 2018-02-26 12:35 ` Mika Westerberg 0 siblings, 0 replies; 4+ messages in thread From: Mika Westerberg @ 2018-02-26 12:35 UTC (permalink / raw) To: Lukas Wunner Cc: Bjorn Helgaas, Rafael J. Wysocki, Linux PCI, Valdis Kletnieks, Mathias Nyman, Linux PM, Rafael J. Wysocki, Linux Kernel Mailing List, Peter Wu, Qipeng Zha, Greg Kroah-Hartman, Andreas Noever, Dave Airlie, Qi Zheng On Mon, Feb 26, 2018 at 01:22:43PM +0100, Lukas Wunner wrote: > On Mon, Feb 26, 2018 at 02:05:34PM +0200, Mika Westerberg wrote: > > On Thu, Feb 22, 2018 at 02:18:34PM +0100, Lukas Wunner wrote: > > > We do need runtime PM on hotplug ports to power off Thunderbolt > > > controllers when nothing is plugged in. That saves 1.5 W, so a > > > noticeable amount of power. I was going to respin the series one > > > of these days, I think the best I can do is continue to forbid > > > runtime PM on hotplug ports by default, but whitelist it for > > > Thunderbolt and allow manually enabling it on other platforms via > > > the command line. That way, vendors are put in a position to > > > validate their platforms for runtime PM of hotplug ports, and > > > perhaps someday we can enable it for all platforms by default, > > > but with a BIOS cut-off date. > > > > AFAIK Windows started to enable runtime PM (RTD3) for native PCIe > > hotplug ports with the latest release (I guess it's the RS3 release) but > > only when there is a special ACPI _DSD property ("HotPlugSupportInD3") > > associated with the root port. I think we can take advantage of that in > > Linux as well and I already have a patch series to enable runtime PM for > > such ports but I haven't been able to test it properly yet. > > Okay. Well it would be trivial to whitelist those ports with > device_property_present("HotPlugSupportInD3"). In how far are > your patches identical with the patches I submitted last May? My patches pretty much only touch the whitelist part not the other fixes you made for pciehp in your series. We can add those on top of your series or I can send them out separately. > I've started reworking them for v2 but that would be a waste of > time if you're working on this issue in parallel. Please continue with your v2 :) I can provide testing assistance if you need any. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-02-26 12:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <151908155159.37696.9710083237704994886.stgit@bhelgaas-glaptop.roam.corp.google.com>
[not found] ` <151908203999.37696.12678235610905422348.stgit@bhelgaas-glaptop.roam.corp.google.com>
[not found] ` <CAJZ5v0hys5UY69H=ARHA-EsmH-CVqTQNSQciktDQ=nVBEKJHqQ@mail.gmail.com>
2018-02-26 11:52 ` [PATCH v1 1/2] PCI: Add PCIe port runtime suspend details Mika Westerberg
[not found] ` <151908204614.37696.12828004282495415825.stgit@bhelgaas-glaptop.roam.corp.google.com>
[not found] ` <CAJZ5v0irpPi4PXPHWaSpa3=MpUY4Sg3C-iHd0LPQN+FN-VTRpQ@mail.gmail.com>
[not found] ` <20180220181554.GA32228@bhelgaas-glaptop.roam.corp.google.com>
[not found] ` <20180222131834.GA5527@wunner.de>
2018-02-26 12:05 ` [PATCH v1 2/2] PCI: Allow user to request power management of conventional and hotplug bridges Mika Westerberg
2018-02-26 12:22 ` Lukas Wunner
2018-02-26 12:35 ` Mika Westerberg
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox