diff options
author | Benjamin Gaignard <[email protected]> | 2018-01-08 14:28:55 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-01-08 17:57:26 +0100 |
commit | 8e82df381b676ae5f6c93ab4a75f56d8f61babc4 (patch) | |
tree | 371c81f9c8cbde911b4aa678d78d513308054454 /tools/perf/scripts/python/futex-contention.py | |
parent | 4744daa10dcd3a1470fbeba4945fbf44dcb1b0d1 (diff) |
clocksource/drivers/stm32: Add oneshot mode
The stm32 timer block is able to have a counter and a comparator.
Instead of using the auto-reload register for periodic events, we switch
to oneshot mode by using the comparator register.
The timer is able to generate an interrupt when the counter overflows but
we don't want that as this counter will be use as a clocksource in the next
patches. So it is disabled by the UDIS bit of the control register.
Tested-by: Benjamin Gaignard <[email protected]>
Signed-off-by: Benjamin Gaignard <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Acked-by: Benjamin Gaignard <[email protected]>
Cc: Alexandre Torgue <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Maxime Coquelin <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions