diff options
author | Kai-Heng Feng <[email protected]> | 2017-06-26 16:39:54 -0400 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2017-06-28 08:14:13 -0600 |
commit | 76a5af841755a0427229a6a77ca83781d61e5b2a (patch) | |
tree | d7593e41bbe6f81829faf3ac1e35c97b16c8bc20 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 7aa1f42752f0d31a5bb6d0d5bac92fc8c2044ce2 (diff) |
nvme: explicitly disable APST on quirked devices
A user reports APST is enabled, even when the NVMe is quirked or with
option "default_ps_max_latency_us=0".
The current logic will not set APST if the device is quirked. But the
NVMe in question will enable APST automatically.
Separate the logic "apst is supported" and "to enable apst", so we can
use the latter one to explicitly disable APST at initialiaztion.
BugLink: https://bugs.launchpad.net/bugs/1699004
Signed-off-by: Kai-Heng Feng <[email protected]>
Reviewed-by: Andy Lutomirski <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions