Skip to content

RFC arm AioContext with its own timer stuff

Liu Ping Fan qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest5 patches 32 repliesIn review
  2. v1 RFC8 patches 54 repliesApplied

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5timer: protect timers_state with lockcpus.c+21 -52 replies
2/5timer: pick out timer list info from QemuClockqemu-timer.c+68 -380 replies
3/5timer: make qemu_clock_enable sync between disable and timer's cbqemu-timer.c+32 -220 replies
4/5timer: associate three timerlists with AioContextasync.c include/block/aio.h include/qemu/timer.h +1 more+81 -264 replies
5/5timer: run timers on aio_pollaio-posix.c include/qemu/timer.h main-loop.c +1 more+14 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Qemu-devel] [RFC v2 0/5] arm AioContext with its own timer stuff

summary of the model:
Three qemu-wide clock source allowed in system. And each AioContext has
three corresponding timer list to run timer against clocksource.

rfcv2:
drop patches about alarm-timer(if timeout of poll will not satisfy, will come back to it) fix qemu_clock_enable sync problem (Thanks for Jan and Stefan)
fix process=true when aio_poll run timers (Thanks for Alex)

Liu Ping Fan (5):
timer: protect timers_state with lock
timer: pick out timer list info from QemuClock
timer: make qemu_clock_enable sync between disable and timer's cb
timer: associate three timerlists with AioContext
timer: run timers on aio_poll

 aio-posix.c          |   2 +
 async.c              |   9 +++
 cpus.c               |  26 ++++++--
 include/block/aio.h  |  13 ++++
 include/qemu/timer.h |  24 ++++++-
 main-loop.c          |   2 -
 qemu-timer.c         | 184 ++++++++++++++++++++++++++++++++++++---------------
 7 files changed, 198 insertions(+), 62 deletions(-)
Signature · 1 line
1.8.1.4