From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoffer Dall Subject: [PATCH kvm-unit-tests 0/3] Add physical timer test Date: Thu, 13 Jul 2017 21:20:06 +0200 Message-ID: <20170713192009.10069-1-cdall@linaro.org> Cc: Andrew Jones , Alexander Graf , Paolo Bonzini , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= , Jintack Lim , Marc Zyngier , Christoffer Dall To: kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu Return-path: Received: from mail-wm0-f47.google.com ([74.125.82.47]:35849 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753220AbdGMTUV (ORCPT ); Thu, 13 Jul 2017 15:20:21 -0400 Received: by mail-wm0-f47.google.com with SMTP id 62so1866626wmw.1 for ; Thu, 13 Jul 2017 12:20:20 -0700 (PDT) Sender: kvm-owner@vger.kernel.org List-ID: 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