diff options
author | 2019-08-02 18:47:22 -0500 | |
---|---|---|
committer | 2019-11-20 17:36:11 -0600 | |
commit | e43f15ea2f6d6858675fa1baa5cb624f17269af0 (patch) | |
tree | fbf750b1a356b3e00d82e511c4ffbf910d0d2a16 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI/PM: Fold __pci_complete_power_transition() into its caller (diff) | |
download | linux-dev-e43f15ea2f6d6858675fa1baa5cb624f17269af0.tar.xz linux-dev-e43f15ea2f6d6858675fa1baa5cb624f17269af0.zip |
PCI/PM: Decode D3cold power state correctly
Use pci_power_name() to print pci_power_t correctly. This changes:
"state 0" or "D0" to "D0"
"state 1" or "D1" to "D1"
"state 2" or "D2" to "D2"
"state 3" or "D3" to "D3hot"
"state 4" or "D4" to "D3cold"
Changes dmesg logging only, no other functional change intended.
Link: https://lore.kernel.org/r/20190822200551.129039-3-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions