diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2017-12-01 22:51:59 +0100 |
---|---|---|
committer | Michael Turquette <mturquette@baylibre.com> | 2017-12-19 16:35:34 -0800 |
commit | 55e9b8b7b806ec3f9a8817e13596682a5981c19c (patch) | |
tree | 9739ff95800ee2449e34a920ab174a0644edd189 /tools/perf/scripts/python/intel-pt-events.py | |
parent | c5ce26edb4fec178232b9cb37f334ec574931514 (diff) |
clk: add clk_rate_exclusive api
Using clock rate protection, we can now provide a way for clock consumer
to claim exclusive control over the rate of a producer
So far, rate change operations have been a "last write wins" affair. This
changes allows drivers to explicitly protect against this behavior, if
required.
Of course, if exclusivity over a producer is claimed more than once, the
rate is effectively locked as exclusivity cannot be preempted
Tested-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Michael Turquette <mturquette@baylibre.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Link: lkml.kernel.org/r/20171201215200.23523-10-jbrunet@baylibre.com
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions