freebsd-dev/sys/arm
Bjoern A. Zeeb 83655449f5 The ARM generic timer keeps ticking even if disabled or it expired.
In case of updating it with a very low value it might expire again
after writing the tval but before updating ctrl. In that case we do
lose the status bit saying that the timer expired and we will consequently
not get an interrupt for it, leaving the timer in a "dead" state.

In order to solve this increase the minimum period with what the timer
can be loaded to something higher.

Found & analysed with:	gem5
Debugged with:		andrew
Sponsored by:		DARPA/AFRL
Reviewed by:		andrew
MFC after:		2 weeks
Differential Revision:	https://reviews.freebsd.org/D6202
2016-05-04 16:09:51 +00:00
..
allwinner ACK the interrupt after disabling it, this avoid an interrupt storm. 2016-04-30 18:07:13 +00:00
altera/socfpga Move arm's devmap to some generic place, so it can be used 2016-04-26 11:53:37 +00:00
amlogic/aml8726 sys/arm: Minor spelling fixes. 2016-05-04 15:48:59 +00:00
annapurna/alpine Move arm's devmap to some generic place, so it can be used 2016-04-26 11:53:37 +00:00
arm The ARM generic timer keeps ticking even if disabled or it expired. 2016-05-04 16:09:51 +00:00
at91 sys/arm: Minor spelling fixes. 2016-05-04 15:48:59 +00:00
broadcom/bcm2835 sys/arm: Minor spelling fixes. 2016-05-04 15:48:59 +00:00
cavium/cns11xx sys/arm: Minor spelling fixes. 2016-05-04 15:48:59 +00:00
conf Add a MULTIDELAY option to allow the ARM kernel to have multiple DELAY 2016-04-30 17:27:33 +00:00
freescale sys/arm: Minor spelling fixes. 2016-05-04 15:48:59 +00:00
include Add a MULTIDELAY option to allow the ARM kernel to have multiple DELAY 2016-04-30 17:27:33 +00:00
lpc Move arm's devmap to some generic place, so it can be used 2016-04-26 11:53:37 +00:00
mv sys/arm: Minor spelling fixes. 2016-05-04 15:48:59 +00:00
nvidia Add a MULTIDELAY option to allow the ARM kernel to have multiple DELAY 2016-04-30 17:27:33 +00:00
qemu Add a MULTIDELAY option to allow the ARM kernel to have multiple DELAY 2016-04-30 17:27:33 +00:00
rockchip Move arm's devmap to some generic place, so it can be used 2016-04-26 11:53:37 +00:00
samsung/exynos sys/arm: Minor spelling fixes. 2016-05-04 15:48:59 +00:00
ti sys/arm: Minor spelling fixes. 2016-05-04 15:48:59 +00:00
versatile Move arm's devmap to some generic place, so it can be used 2016-04-26 11:53:37 +00:00
xilinx sys/arm: Minor spelling fixes. 2016-05-04 15:48:59 +00:00
xscale sys/arm: Minor spelling fixes. 2016-05-04 15:48:59 +00:00