Re: [PATCH v3 8/8] clocksource/drivers/tegra: Set up maximum-ticks limit properly

2019-06-19 Thread Thierry Reding
On Tue, Jun 18, 2019 at 05:03:58PM +0300, Dmitry Osipenko wrote: > 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

Re: [PATCH v3 8/8] clocksource/drivers/tegra: Set up maximum-ticks limit properly

2019-06-18 Thread Jon Hunter
On 18/06/2019 15:03, Dmitry Osipenko wrote: > 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 th

[PATCH v3 8/8] clocksource/drivers/tegra: Set up maximum-ticks limit properly

2019-06-18 Thread Dmitry Osipenko
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-