diff options
| author | Peter Maydell | 2018-07-09 15:51:34 +0200 |
|---|---|---|
| committer | Peter Maydell | 2018-07-09 15:51:34 +0200 |
| commit | 086ede32afc9c70de3d75c4fb91c63db790cbd5c (patch) | |
| tree | 471f251d68728013c8737b5b90022b1628e76521 /include/exec | |
| parent | hw/arm/smmu-common: Fix devfn computation in smmu_iommu_mr (diff) | |
| download | qemu-086ede32afc9c70de3d75c4fb91c63db790cbd5c.tar.gz qemu-086ede32afc9c70de3d75c4fb91c63db790cbd5c.tar.xz qemu-086ede32afc9c70de3d75c4fb91c63db790cbd5c.zip | |
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
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
