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

Christoffer Dall
2017-07-13T19:20:06Z

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(-)

--
2.9.0