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