Received: from eggs.gnu.org ([2001:4830:134:3::10]:46179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWmDu-0007kq-4d for qemu-devel@nongnu.org; Fri, 19 Feb 2016 09:39:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWmDo-00037N-C3 for qemu-devel@nongnu.org; Fri, 19 Feb 2016 09:39:58 -0500 From: Peter Maydell Date: Fri, 19 Feb 2016 14:39:42 +0000 Message-Id: <1455892784-11328-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH v2 0/2] Implement MDCR_EL3.TPM and MDCR_EL2.TPM traps List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Edgar E. Iglesias" , Sergey Fedorov , qemu-arm@nongnu.org, patches@linaro.org This patchset implements the MDCR_EL3 and MDCR_EL2 trap bits to trap the performance monitor registers. Patch 2 is the same as I sent out earlier today as a standalone patch. Patch 1 fixes a couple of bugs in our SDCR handling, and in particular imposes a mask so that if a guest has booted with EL3 in AArch32 then it cannot set bits like TPM which are RES0 for the 32-bit version of the register. Peter Maydell (2): target-arm: Fix handling of SDCR for 32-bit code target-arm: Implement MDCR_EL3.TPM and MDCR_EL2.TPM traps target-arm/cpu.h | 4 ++++ target-arm/helper.c | 66 +++++++++++++++++++++++++++++++++++++++++------------ 2 files changed, 55 insertions(+), 15 deletions(-) -- 1.9.1