Peter Maydell 086ede32af ptimer: Add TRIGGER_ONLY_ON_DECREMENT policy option
The CMSDK timer behaviour is that an interrupt is triggered when the
counter counts down from 1 to 0; however one is not triggered if the
counter is manually set to 0 by a guest write to the counter register.
Currently ptimer can't handle this; add a policy option to allow
a ptimer user to request this behaviour.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Message-id: 20180703171044.9503-2-peter.maydell@linaro.org
2018-07-09 14:51:34 +01:00
..
2018-02-22 15:44:07 -08:00
2017-09-22 10:46:25 +08:00
2018-03-21 15:13:40 +01:00
2018-06-21 09:21:19 -05:00
2017-10-20 13:32:10 +02:00
2018-06-04 10:15:16 +01:00
2017-10-20 13:32:10 +02:00
2018-03-06 14:01:27 +01:00
2018-06-01 15:13:46 +02:00
2018-02-08 09:22:03 +08:00
2017-09-05 22:34:40 +02:00
2018-07-05 11:25:14 +01:00
2018-07-05 11:25:14 +01:00
2017-12-20 22:01:24 +08:00