summaryrefslogtreecommitdiff
path: root/bpf_insns.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-08-19 17:49:46 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-08-19 17:49:46 +0200
commit71c28eff00a8a8896c45fa20330b623d265ae5c7 (patch)
treed13462434b03898fc522c203ada463110e8c1cf3 /bpf_insns.h
parent1898c5396e8e2d36386716cac2d5971ce4a4d8b0 (diff)
build: Only use tput if $TERM is defined
Otherwise we clutter the build log with warnings such as: tput: No value for $TERM and no -T specified on head-less CI/build systems (e.g. Debian's buildd). Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'bpf_insns.h')
0 files changed, 0 insertions, 0 deletions
set_power_state() or pci_enable_device(). It would be desirable if pci_update_current_state() could reliably detect D3cold by itself. That would allow us to do away with these workarounds, and it would allow for a smarter, more energy conserving runtime resume strategy after system sleep: Currently devices which utilize direct_complete are mandatorily runtime resumed in their ->complete stage. This can be avoided if their power state after system sleep is the same as before, but it requires a mechanism to detect the power state reliably. We've just gained the ability to query the platform firmware for its opinion on the device's power state. On platforms conforming to ACPI 4.0 or newer, this allows recognition of D3cold. Pre-4.0 platforms lack _PR3 and therefore the deepest power state that will ever be reported is D3hot, even though the device may actually be in D3cold. To detect D3cold in those cases, accessibility of the vendor ID in config space is probed using pci_device_is_present(). This also works for devices which are not platform-power-manageable at all, but can be suspended to D3cold using a nonstandard mechanism (e.g. some hybrid graphics laptops or Thunderbolt on the Mac). Signed-off-by: Lukas Wunner <lukas@wunner.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat
-rw-r--r--drivers/pci/pci.c25
1 files changed, 12 insertions, 13 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c