1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-07 04:29:21 +01:00
Files
u-boot-megous/drivers
Ovidiu Panait b34bc22bd9 timer: xilinx-timer: use timer_conv_64() to fix timer wrap around
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 get_count() to
work correctly.

Add the missing 64-bit up-conversion to fix random hangs/delays in
__udelay().

Fixes: a36d86720f ("microblaze: Convert axi timer to DM driver")
Signed-off-by: Ovidiu Panait <ovpanait@gmail.com>
Reviewed-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20221012053656.1492457-3-ovpanait@gmail.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
2022-11-22 15:02:07 +01:00
..
2022-04-25 09:25:00 +02:00
2022-09-25 08:30:05 -06:00
2021-10-05 08:50:15 -04:00
2022-09-16 11:05:16 -04:00
2022-08-04 16:18:47 -04:00
2022-01-13 07:57:49 -05:00
2022-11-14 07:24:47 +01:00
2022-10-26 15:21:12 -04:00
2022-01-13 07:57:49 -05:00
2022-09-19 16:07:12 -04:00
2022-11-10 09:45:54 -05:00
2022-09-16 11:05:16 -04:00
2022-10-11 16:03:03 -04:00
2022-09-03 16:59:05 +03:00
2022-05-03 21:39:22 +02:00
2022-11-02 13:58:17 -04:00