From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yky9Z-00074m-7n for qemu-devel@nongnu.org; Wed, 22 Apr 2015 13:09:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yky9V-0004dL-4A for qemu-devel@nongnu.org; Wed, 22 Apr 2015 13:09:37 -0400 Received: from mail-ob0-f176.google.com ([209.85.214.176]:34883) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yky9U-0004dD-W0 for qemu-devel@nongnu.org; Wed, 22 Apr 2015 13:09:33 -0400 Received: by obcux3 with SMTP id ux3so70801578obc.2 for ; Wed, 22 Apr 2015 10:09:32 -0700 (PDT) From: Greg Bellows Date: Wed, 22 Apr 2015 12:09:12 -0500 Message-Id: <1429722561-12651-1-git-send-email-greg.bellows@linaro.org> Subject: [Qemu-devel] [PATCH v2 0/9] target-arm: EL3 trap support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, peter.maydell@linaro.org, alex.bennee@linaro.org Cc: serge.fdrv@gmail.com, Greg Bellows Initial patchset adding support for trapping to an EL other than EL1. Support includes changes to interfaces to allow specification of the target EL. Also includes the addition of the ARMv8 CPTR system registers used for controlling the trapping of features. --- v1 -> v2 - Removed use of MAX through out the patch when setting target_el - Updated FP trap support to pass a target exception EL rather than just an enable boolean. - Added utility functions for determining the target exception EL - Broke up cptr and cpacr access functions - Added HCPTR CP register entry and HCPTR/CPTR_EL2 zero entries - Broke out TCR changes into their own patch and added support for handling the lack of TTBR1 - Simplified wfx checking - General comment cleanup Greg Bellows (9): target-arm: Add exception target el infrastructure target-arm: Extend helpers to route exceptions target-arm: Update interrupt handling to use target EL target-arm: Add AArch64 CPTR registers target-arm: Extend FP checks to use an EL target-arm: Add TTBR regime function and use target-arm: Add EL3 and EL2 TCR checking target-arm: Add WFx syndrome function target-arm: Add WFx instruction trap support target-arm/cpu.c | 61 +++++++++++------ target-arm/cpu.h | 76 ++++++++++++++++----- target-arm/helper-a64.c | 2 +- target-arm/helper.c | 160 +++++++++++++++++++++++++++++---------------- target-arm/helper.h | 2 +- target-arm/internals.h | 6 ++ target-arm/op_helper.c | 98 +++++++++++++++++++++++++-- target-arm/translate-a64.c | 40 +++++++----- target-arm/translate.c | 70 ++++++++++++-------- target-arm/translate.h | 17 ++++- 10 files changed, 390 insertions(+), 142 deletions(-) -- 1.8.3.2