zephyr/drivers/timer
Sandeep Tripathy b37ce93979 drivers: timer: fix tickless contineous interrupts
K_FOREVER/INT_MAX number of ticks needs delay cycles value of
maximum order and exceeds 'int32' range.
The typecast to 'int32' results in wrongly evaluating the value
as less than 'MIN_DELAY' and chooses 'MIN_DELAY' over the actual
delay cycles.

Cap the 'MAX_TICKS' to INT32_MAX.

fixes: #26632
Signed-off-by: Sandeep Tripathy <sandeep.tripathy@broadcom.com>
2020-07-07 15:06:55 +02:00
..
altera_avalon_timer_hal.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
apic_timer.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
arcv2_timer0.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
arm_arch_timer.c drivers: timer: fix tickless contineous interrupts 2020-07-07 15:06:55 +02:00
cavs_timer.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
cc13x2_cc26x2_rtc_timer.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
CMakeLists.txt timer: add CAVS DSP wall clock timer for Intel SoC 2020-03-25 19:07:28 -04:00
cortex_m_systick.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
hpet.c drivers/timer/hpet: Disable FSB interrupts 2020-06-30 21:37:54 -04:00
Kconfig timer: remove QEMU_TICKLESS_WORKAROUND 2020-05-14 13:52:07 +02:00
Kconfig.stm32_lptim drivers: timer: lptim: depend on SYS_POWER_MANAGEMENT 2020-06-09 08:15:56 -04:00
legacy_api.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
litex_timer.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
loapic_timer.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mchp_xec_rtos_timer.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
native_posix_timer.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
nrf_rtc_timer.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
riscv_machine_timer.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
rv32m1_lptmr_timer.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sam0_rtc_timer.c drivers: timer: enable read synchronisation mode for the SAMD/E5x 2020-07-03 12:20:03 -04:00
stm32_lptim_timer.c drivers: timer: stm32 lptim minor fix and optimization 2020-06-23 19:05:16 +02:00
sys_clock_init.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
xlnx_psttc_timer.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
xlnx_psttc_timer_priv.h drivers: timer: xlnx_psttc_timer: Implement tickless support 2020-03-21 14:20:17 -04:00
xtensa_sys_timer.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00