Skip to content

clean-ups for sleep=off behaviour

Alex Bennée qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2qemu-timer: gracefully handle the end of timeinclude/sysemu/cpus.h softmmu/cpus.c stubs/Makefile.objs +1 more+32 -03 replies
2/2target/arm: only set the nexttick timer if !ISTATUStarget/arm/helper.c+22 -133 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH v1 0/2] clean-ups for sleep=off behaviour

Hi,

These fixes are more band-aids than anything else but they at least improve on the original situation where running a zephyr build with:

-icount shift=6,align=off,sleep=off

would lock the monitor hard as time rushed into the future. With these patches time still runs to the future pretty fast as Zephyr spends most of it's time in WFI waiting for input with a CVAL far in the future. This does does raise the question of what sleep=off is even for?

Alex Bennée (2):
qemu-timer: gracefully handle the end of time target/arm: only set the nexttick timer if !ISTATUS

 include/sysemu/cpus.h |  2 ++
 softmmu/cpus.c        | 13 +++++++++++++
 target/arm/helper.c   | 35 ++++++++++++++++++++++-------------
 util/qemu-timer.c     | 16 ++++++++++++++++
 stubs/Makefile.objs   |  1 +
 5 files changed, 54 insertions(+), 13 deletions(-)
Signature · 1 line
2.20.1