aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorVaibhav Gupta <[email protected]>2020-06-29 14:59:41 +0530
committerTony Nguyen <[email protected]>2020-07-30 08:39:41 -0700
commit6f82b25587354ce7c9c42e0b53d8b0770b900847 (patch)
treec27875519996896cdbf28dbc02730373cfbb8726 /tools/perf/util/scripting-engines/trace-event-python.c
parente9c971bdabb0ab008f443a92bcc35a2ccce99256 (diff)
ixgbe: use generic power management
With legacy PM hooks, it was the responsibility of a driver to manage PCI states and also the device's power state. The generic approach is to let PCI core handle the work. ixgbe_suspend() calls __ixgbe_shutdown() to perform intermediate tasks. __ixgbe_shutdown() modifies the value of "wake" (device should be wakeup enabled or not), responsible for controlling the flow of legacy PM. Since, PCI core has no idea about the value of "wake", new code for generic PM may produce unexpected results. Thus, use "device_set_wakeup_enable()" to wakeup-enable the device accordingly. Compile-tested only. Signed-off-by: Vaibhav Gupta <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions