Changelog for ARM MPTimer QEMUTimer to ptimer conversion: V2: Fixed changing periodic timer counter value "on the fly". I added a test to the gist to cover that issue.
V3: Fixed starting the timer with load = 0 and counter != 0, added tests to the gist for this issue. Changed vmstate version for all VMSD's, since loadvm doesn't check version of nested VMSD. V4: Fixed spurious IT bit set for the timer starting in the periodic mode with counter = 0. Test added. V5: Code cleanup, now depends on ptimer_set_limit() fix. V6: No code change, added test to check ptimer_get_count() with corrected .limit value. V7: No change. ARM MPTimer tests: https://gist.github.com/digetx/dbd46109503b1a91941a Patch for ptimer is introduced since V5 of ARM MPTimer conversion. Changelog for ptimer patch: V5: Only fixed ptimer_set_limit() for the disabled timer. V6: As was pointed by Peter Maydell, there are other issues beyond ptimer_set_limit(), so V6 supposed to cover all those issues. V7: Added accidentally removed !use_icount check. Added missed "else" statement, thanks to checkpatch :) Dmitry Osipenko (2): hw/ptimer: Fix issues caused by artificially limited timer timeout arm_mptimer: Convert to use ptimer hw/core/ptimer.c | 37 ++++++++------ hw/timer/arm_mptimer.c | 110 ++++++++++++++++++----------------------- include/hw/timer/arm_mptimer.h | 4 +- 3 files changed, 72 insertions(+), 79 deletions(-) -- 2.6.1