From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJI3G-00063C-J4 for qemu-devel@nongnu.org; Mon, 18 Aug 2014 04:12:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJI37-0005Wm-8x for qemu-devel@nongnu.org; Mon, 18 Aug 2014 04:12:26 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:41757) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJI37-0005Wa-3R for qemu-devel@nongnu.org; Mon, 18 Aug 2014 04:12:17 -0400 Received: by mail-pa0-f47.google.com with SMTP id kx10so7335148pab.20 for ; Mon, 18 Aug 2014 01:12:16 -0700 (PDT) Sender: Peter Crosthwaite From: Peter Crosthwaite Date: Mon, 18 Aug 2014 01:11:39 -0700 Message-Id: Subject: [Qemu-devel] [PATCH target-arm v3 0/8] target-arm: Extend PMCCNTR for ARMv8 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, cov@codeaurora.org, alistair23@gmail.com This patch series continues on from Alistairs original PMCCNTR patch work. The counter is extended to 64-bit. Also adds support for the PMCCFILTR_EL0 register which allows the counter to be disabled based on the current EL V3: -Tidy up the arm_ccnt_enabled() -Fixed an old commit message refering to the CCNT_ENABLED macro -Do EL change sync in pstate_write instead of in multiple code paths. -Addressed PMM V2 review V2: -Fix some typos identified by Christopher Covington -Convert the CCNT_ENABLED macro to the arm_ccnt_enabled function Alistair Francis (6): target-arm: Make the ARM PMCCNTR register 64-bit target-arm: Implement PMCCNTR_EL0 and related registers target-arm: Add arm_ccnt_enabled function target-arm: Implement pmccntr_sync function target-arm: Remove old code and replace with new functions target-arm: Implement pmccfiltr_write function Peter Crosthwaite (2): arm: Implement PMCCNTR 32b read-modify-write target-arm: Call pmccntr_sync() when swapping ELs target-arm/cpu.h | 30 +++++++++- target-arm/helper.c | 166 +++++++++++++++++++++++++++++++++++++++++----------- 2 files changed, 159 insertions(+), 37 deletions(-) -- 2.0.1.1.gfbfc394