Re: [PATCH 3/3] timer: xilinx-timer: use timer_conv_64() to fix timer wrap around

2022-10-25 Thread Michal Simek
On 10/12/22 07:36, Ovidiu Panait wrote: Current xilinx_timer_get_count() implementation does not take into account the periodic 32-bit wrap arounds, as it directly returns the 32-bit counter register value. The roll-overs cause problems in the upper timer layers, as generic timer code expects

Re: [PATCH 3/3] timer: xilinx-timer: use timer_conv_64() to fix timer wrap around

2022-10-12 Thread Michal Simek
On 10/12/22 07:36, Ovidiu Panait wrote: Current xilinx_timer_get_count() implementation does not take into account the periodic 32-bit wrap arounds, as it directly returns the 32-bit counter register value. The roll-overs cause problems in the upper timer layers, as generic timer code expects

[PATCH 3/3] timer: xilinx-timer: use timer_conv_64() to fix timer wrap around

2022-10-11 Thread Ovidiu Panait
Current xilinx_timer_get_count() implementation does not take into account the periodic 32-bit wrap arounds, as it directly returns the 32-bit counter register value. The roll-overs cause problems in the upper timer layers, as generic timer code expects an incrementing 64-bit value from