From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yumcs-000530-NC for qemu-devel@nongnu.org; Tue, 19 May 2015 14:52:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yumcr-0005QB-SA for qemu-devel@nongnu.org; Tue, 19 May 2015 14:52:26 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:34248) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yumcr-0005Q6-Lu for qemu-devel@nongnu.org; Tue, 19 May 2015 14:52:25 -0400 From: Peter Maydell Date: Tue, 19 May 2015 19:33:20 +0100 Message-Id: <1432060414-5195-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 00/14] Various EL3 support/cleanup patches List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: edgar.iglesias@xilinx.com, serge.fdrv@gmail.com, alex.bennee@linaro.org, agraf@suse.de, patches@linaro.org This patch series is basically the remaining patches from Greg's EL3-trapping series, cleaned up by me based on review comments and on various things I noticed as I went along. (In particular it has the reworking of when we should set exception.target_el &c that I mentioned in the comments on patch 4 of Edgar's recent series, and fixes for all the bugs that making that change brings to light.) I also threw in some patches for obvious cleanup that I noticed as I was doing this. Greg Bellows (6): 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 WFx instruction trap support Peter Maydell (8): target-arm: Set correct syndrome for faults on MSR DAIF*, imm target-arm: Move setting of exception info into tlb_fill target-arm: Set exception target EL in tlb_fill target-arm: Make raise_exception() take syndrome and target EL target-arm: Allow cp access functions to indicate traps to EL2 or EL3 target-arm: Make singlestate TB flags common between AArch32/64 target-arm: Move TB flags down to fill gap target-arm: Don't halt on WFI unless we don't have any work target-arm/cpu.c | 78 ++++++++++++++----- target-arm/cpu.h | 186 +++++++++++++++++++++++++++------------------ target-arm/helper-a64.c | 2 +- target-arm/helper.c | 128 ++++++++++++------------------- target-arm/helper.h | 2 +- target-arm/internals.h | 3 + target-arm/op_helper.c | 174 ++++++++++++++++++++++++++++++++++-------- target-arm/translate-a64.c | 48 +++++++----- target-arm/translate.c | 74 +++++++++++------- target-arm/translate.h | 17 ++++- 10 files changed, 465 insertions(+), 247 deletions(-) -- 1.9.1