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

Paolo Bonzini
2017-07-24T17:16:41Z

On 13/07/2017 21:20, Christoffer Dall wrote:
> 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(-)
>

Applied, thanks!

Paolo