From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9Foo-00078s-MO for qemu-devel@nongnu.org; Tue, 22 Nov 2016 13:29:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9Fol-00034e-J6 for qemu-devel@nongnu.org; Tue, 22 Nov 2016 13:29:22 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44052) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c9Fol-0002zm-D4 for qemu-devel@nongnu.org; Tue, 22 Nov 2016 13:29:19 -0500 From: Wei Huang Date: Tue, 22 Nov 2016 12:29:11 -0600 Message-Id: <1479839354-22061-1-git-send-email-wei@redhat.com> Subject: [Qemu-devel] [kvm-unit-tests PATCH v11 0/3] ARM PMU tests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: cov@codeaurora.org Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu, shannon.zhao@linaro.org, alistair.francis@xilinx.com, croberts@codeaurora.org, alindsay@codeaurora.org, drjones@redhat.com Changes from v10: * Change the name of loop test function to precise_instrs_loop() * Minor comment fixes to measure_instrs() and to explain isb() in loop funcs Note: 1) Current KVM code has bugs in handling PMCCFILTR write. A fix (see below) is required for this unit testing code to work correctly under KVM mode. https://lists.cs.columbia.edu/pipermail/kvmarm/2016-November/022134.html. Thanks, -Wei Christopher Covington (3): arm: Add PMU test arm: pmu: Check cycle count increases arm: pmu: Add CPI checking arm/Makefile.common | 3 +- arm/pmu.c | 351 ++++++++++++++++++++++++++++++++++++++++++++++++++++ arm/unittests.cfg | 19 +++ 3 files changed, 372 insertions(+), 1 deletion(-) create mode 100644 arm/pmu.c -- 1.8.3.1