zephyr/drivers/timer
Jean-Paul Etienne cd14317c41 timer: riscv_machine_timer: prevent spurious interrupt while rearming the timer
Rearming the riscv machine timer is done by first updating the
mtimecmp low value register. If the low value is updated with a
relatively small value, a timer interrupt can be generated while
updating the mtimecmp high value.

To avoid such a spurious interrupt to occur, disable the timer
interrupt while rearming the timer.

Change-Id: I50ab3f19554a9a8dfe70943b6da0d20be3de88dc
Signed-off-by: Jean-Paul Etienne <fractalclone@gmail.com>
2017-04-02 15:15:03 +00:00
..
Kconfig timer: riscv_machine_timer driver depends on SOC_FAMILY_RISCV_PRIVILEGE 2017-04-02 15:14:59 +00:00
Makefile Xtensa port: Added support for Xtensa internal timer as system timer. 2017-02-13 08:04:27 -08:00
altera_avalon_timer.c kernel: add flexibility to k_cycle_get_32() definition 2017-02-16 19:27:59 +00:00
arcv2_timer0.c arcv2_timer: fix cycle count race 2017-02-21 01:44:01 +00:00
cortex_m_systick.c cortex_m_systick: fix _timer_cycle_get_32() race 2017-02-22 18:45:36 +00:00
hpet.c kernel: add flexibility to k_cycle_get_32() definition 2017-02-16 19:27:59 +00:00
loapic_timer.c x86: loapic_timer: use TSC for k_cycle_get_32() 2017-02-21 22:30:47 +00:00
nrf_rtc_timer.c nrf_rtc_timer: clear events and counter when disabling sys_clock 2017-03-27 09:05:57 -05:00
pulpino_timer.c kernel: add flexibility to k_cycle_get_32() definition 2017-02-16 19:27:59 +00:00
riscv_machine_timer.c timer: riscv_machine_timer: prevent spurious interrupt while rearming the timer 2017-04-02 15:15:03 +00:00
sys_clock_init.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
xtensa_sys_timer.c kernel: add flexibility to k_cycle_get_32() definition 2017-02-16 19:27:59 +00:00