]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Whitelist Thunderbolt ports for runtime D3
authorLukas Wunner <lukas@wunner.de>
Thu, 19 Jul 2018 22:28:00 +0000 (17:28 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 31 Jul 2018 16:09:36 +0000 (11:09 -0500)
commit63c065a0f538d2f1fa63247df187906d81f9144a
tree54e25d943d8798445fac98b5730d02341af24778
parentf6c9b6cf010c5f1e888d887813b970cf3e810862
PCI: Whitelist Thunderbolt ports for runtime D3

Thunderbolt controllers can be runtime suspended to D3cold to save ~1.5W.
This requires that runtime D3 is allowed on its PCIe ports, so whitelist
them.

The 2015 BIOS cutoff that we've instituted for runtime D3 on PCIe ports
is unnecessary on Thunderbolt because we know that even the oldest
controller, Light Ridge (2010), is able to suspend its ports to D3 just
fine -- specifically including its hotplug ports.  And the power saving
should be afforded to machines even if their BIOS predates 2015.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Andreas Noever <andreas.noever@gmail.com>
drivers/pci/pci.c