u-boot/drivers/timer
Marek Vasut e09c1a1331 timer: dw-apb: Add missing 64bit up-conversion
The generic timer count is an incrementing 64bit value and a timer driver
must return an incrementing 64bit value. The DW APB timer only provides a
32bit timer counting down, thus the result must be inverted and converted
to a 64bit value. The current implementation is however missing the 64bit
up-conversion and this results in random timer roll-overs, which in turn
triggers random timeouts throughout the codebase.

This patch adds the missing 64bit up-conversion to fix the issue.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <chin.liang.see@intel.com>
Cc: Dinh Nguyen <dinguyen@kernel.org>
Cc: Ley Foon Tan <ley.foon.tan@intel.com>
Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Cc: Tien Fong Chee <tien.fong.chee@intel.com>
2019-04-17 22:20:18 +02:00
..
ag101p_timer.c timer: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
altera_timer.c timer: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
arc_timer.c timer: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
ast_timer.c timer: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
atcpit100_timer.c timer: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
atmel_pit_timer.c timer: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
cadence-ttc.c timer: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
dw-apb-timer.c timer: dw-apb: Add missing 64bit up-conversion 2019-04-17 22:20:18 +02:00
Kconfig timer: Add generic driver for RISC-V privileged architecture defined timer 2018-12-18 09:56:26 +08:00
Makefile timer: Add generic driver for RISC-V privileged architecture defined timer 2018-12-18 09:56:26 +08:00
mpc83xx_timer.c timer: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
mtk_timer.c timer: MediaTek: add timer driver for MediaTek SoCs 2018-11-28 23:04:51 -05:00
omap-timer.c timer: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
riscv_timer.c timer: Add generic driver for RISC-V privileged architecture defined timer 2018-12-18 09:56:26 +08:00
rockchip_timer.c timer: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
sandbox_timer.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sti-timer.c timer: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
stm32_timer.c timer: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
timer-uclass.c dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in lists_bind_fdt() 2018-11-14 09:16:27 -08:00
tsc_timer.c x86: tsc: Add support for native calibration of TSC freq 2019-02-12 14:37:16 +08:00