From: Andre Przywara Subject: [kvm-unit-tests PATCH 0/2] arm64: extend arch timer tests Date: Mon, 16 Jul 2018 16:14:36 +0100 Message-ID: <20180716151438.9877-1-andre.przywara@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 425874A127 for ; Mon, 16 Jul 2018 11:01:44 -0400 (EDT) Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id stKEoekjkRY1 for ; Mon, 16 Jul 2018 11:01:43 -0400 (EDT) Received: from foss.arm.com (foss.arm.com [217.140.101.70]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 24FC54A129 for ; Mon, 16 Jul 2018 11:01:43 -0400 (EDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu To: Andrew Jones Cc: Marc Zyngier , qemu-devel@nongnu.org, kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu List-Id: kvmarm@lists.cs.columbia.edu While debugging some timer emulation IRQ problem, I realised that the failure pattern I was looking at is not covered by kvm-unit-tests. Add a test for the TVAL register, also check that KVM correctly injects the timer interrupt for the emulated physical timer when the guest is in WFI (hint: it does not, starting with 4.15-rc, I am on it). Cheers, Andre. Andre Przywara (2): arm64: timer: add TVAL accessors arm64: timer: Add TVAL timeout test and test IRQ trigger arm/timer.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) -- 2.14.4