Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1559614
| Path | csiph.com!news.freedyn.net!open-news-network.org!newsfeed.datemas.de!weretis.net!feeder4.news.weretis.net!news.unit0.net!news.panservice.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Mika Westerberg <mika.westerberg@linux.intel.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v5 3/8] PCI: Don't block runtime PM for Thunderbolt host hotplug ports |
| Date | Mon, 16 Jan 2017 11:40:02 +0100 |
| Message-ID | <t0cRI-7Aa-5@gated-at.bofh.it> (permalink) |
| References | <sZZhL-6Ra-3@gated-at.bofh.it> <sZZhL-6Ra-9@gated-at.bofh.it> |
| X-Extloop1 | 1 |
| X-Ironport-Av | E=Sophos;i="5.33,238,1477983600"; d="scan'208";a="31093793" |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| Organization | Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo |
| User-Agent | Mutt/1.7.1 (2016-10-04) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 25 |
| X-Original-Cc | Greg Kroah-Hartman <gregkh@linuxfoundation.org>, linux-kernel@vger.kernel.org, Andreas Noever <andreas.noever@gmail.com>, linux-pci@vger.kernel.org, linux-pm@vger.kernel.org, Bjorn Helgaas <helgaas@kernel.org>, "Rafael J. Wysocki" <rafael.j.wysocki@intel.com> |
| X-Original-Date | Mon, 16 Jan 2017 12:29:27 +0200 |
| X-Original-Message-ID | <20170116102927.GA2023@lahna.fi.intel.com> |
| X-Original-References | <cover.1484486499.git.lukas@wunner.de> <be633737115c0be241fccd75bc136dd1da72c1b5.1484486499.git.lukas@wunner.de> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1559614 |
Show key headers only | View raw
On Sun, Jan 15, 2017 at 09:03:45PM +0100, Lukas Wunner wrote: > Hotplug ports generally block their parents from suspending to D3hot as > otherwise their interrupts couldn't be delivered. > > An exception are Thunderbolt host controllers: They have a separate > GPIO pin to side-band signal plug events even if the controller is > powered down or its parent ports are suspended to D3. They can be told > apart from Thunderbolt controllers in attached devices by checking if > they're situated below a non-Thunderbolt device (typically a root port, > or the downstream port of a PCIe switch in the case of the MacPro6,1). > > To enable runtime PM for Thunderbolt on the Mac, the downstream bridges > of a host controller must not block runtime PM on the upstream bridge as > power to the chip is only cut once the upstream bridge has suspended. > Amend the condition in pci_dev_check_d3cold() accordingly. > > This change does not impact non-Macs as their Thunderbolt hotplug ports > are handled by the firmware rather than natively by the OS: The hotplug > ports are not allowed to suspend in pci_bridge_d3_possible() and keep > their parent ports awake all the time. Consequently it is meaningless > whether they block runtime PM on their parent ports or not. > > Cc: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v5 3/8] PCI: Don't block runtime PM for Thunderbolt host hotplug ports Lukas Wunner <lukas@wunner.de> - 2017-01-15 21:10 +0100 Re: [PATCH v5 3/8] PCI: Don't block runtime PM for Thunderbolt host hotplug ports Mika Westerberg <mika.westerberg@linux.intel.com> - 2017-01-16 11:40 +0100 Re: [PATCH v5 3/8] PCI: Don't block runtime PM for Thunderbolt host hotplug ports Bjorn Helgaas <helgaas@kernel.org> - 2017-01-29 00:10 +0100
csiph-web