diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2018-07-09 14:51:34 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2018-07-09 14:51:34 +0100 |
| commit | 6583080ed87ea218acae59f1c52b7b11ffec240d (patch) | |
| tree | 257f2c55bcd4fe901a75fefc132a002e52ca3276 /scripts/qapi/common.py | |
| parent | 086ede32afc9c70de3d75c4fb91c63db790cbd5c (diff) | |
| download | focaccia-qemu-6583080ed87ea218acae59f1c52b7b11ffec240d.tar.gz focaccia-qemu-6583080ed87ea218acae59f1c52b7b11ffec240d.zip | |
hw/timer/cmsdk-apb-timer: Correct ptimer policy settings
The CMSDK timer interrupt triggers when the counter goes from 1 to 0, so we want to trigger immediately, rather than waiting for a clock cycle. Drop the incorrect NO_IMMEDIATE_TRIGGER setting. We also do not want to get an interrupt if the guest sets the counter directly to zero, so use the new TRIGGER_ONLY_ON_DECREMENT policy. 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-3-peter.maydell@linaro.org
Diffstat (limited to 'scripts/qapi/common.py')
0 files changed, 0 insertions, 0 deletions