diff options
author | Tejun Heo <[email protected]> | 2016-09-05 08:38:13 -0400 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2016-09-05 15:07:53 +0200 |
commit | c86d06ba2818c5126078cb0cf4e0175ec381045b (patch) | |
tree | 52f90ab2cbd248e6d958de791671ee4aa78d90a8 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | c6935931c1894ff857616ff8549b61236a19148f (diff) |
PM / QoS: avoid calling cancel_delayed_work_sync() during early boot
of_clk_init() ends up calling into pm_qos_update_request() very early
during boot where irq is expected to stay disabled.
pm_qos_update_request() uses cancel_delayed_work_sync() which
correctly assumes that irq is enabled on invocation and
unconditionally disables and re-enables it.
Gate cancel_delayed_work_sync() invocation with kevented_up() to avoid
enabling irq unexpectedly during early boot.
Signed-off-by: Tejun Heo <[email protected]>
Reported-and-tested-by: Qiao Zhou <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions