diff options
| author | Dmitry Osipenko <[email protected]> | 2019-06-18 14:03:58 +0000 |
|---|---|---|
| committer | Daniel Lezcano <[email protected]> | 2019-06-25 17:49:18 +0000 |
| commit | 6fde3894e26ec53989b12162f11616029825a8c8 (patch) | |
| tree | 945d60aaf7c0f3eab4640c92ff49b2f3f86ced43 /drivers/clocksource/hyperv_timer.c | |
| parent | clocksource/drivers/tegra: Cycles can't be 0 (diff) | |
| download | kernel-6fde3894e26ec53989b12162f11616029825a8c8.tar.gz kernel-6fde3894e26ec53989b12162f11616029825a8c8.zip | |
clocksource/drivers/tegra: Set up maximum-ticks limit properly
Tegra's timer has 29 bits for the counter and for the "load" register
which sets counter to a load-value. The counter's value is lower than
the actual value by 1 because it starts to decrement after one tick,
hence the maximum number of ticks that hardware can handle equals to
29 bits + 1.
Signed-off-by: Dmitry Osipenko <[email protected]>
Acked-by: Jon Hunter <[email protected]>
Acked-by: Thierry Reding <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'drivers/clocksource/hyperv_timer.c')
0 files changed, 0 insertions, 0 deletions
