Skip to content

Add physical timer test

Christoffer Dall kvm kvmarm 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 23 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3arm64: timer: Fix vtimer interrupt testarm/timer.c+1 -13 replies
2/3arm64: timer: Fix test on APM X-Genearm/timer.c+6 -28 replies
3/3arm64: timer: Add support for phys timer testingarm/timer.c arm/unittests.cfg+177 -318 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH kvm-unit-tests 0/3] Add physical timer test

Add a test for the vtimer. I've tested on
accel=tcg
accel=kvm : on seattle, and mustang
accel=kvm,kernel-irqchip=off : on mustang

I first fix two issues I had running the basic timer test on APM mustang on using TCG. I wonder why the vtimer tests worked using TCG for Drew, since they didn't work for me, and I don't see how they would have without patch 1.

Then I introduce a test for the physical timer. If you run the ptimer test on a kernel before support for the physical timers was added you get a nice error message plus some spamming in your kernel log.

Christoffer Dall (3):
arm64: timer: Fix vtimer interrupt test
arm64: timer: Fix test on APM X-Gene
arm64: timer: Add support for phys timer testing

 arm/timer.c       | 205 +++++++++++++++++++++++++++++++++++++++++++++---------
 arm/unittests.cfg |   9 ++-
 2 files changed, 182 insertions(+), 32 deletions(-)
Signature · 1 line
2.9.0