This patchset fixes or implements a lot of traps to EL3 as listed in the ARM ARM section D1.15.4 "EL3 configurable controls". Most of the rest we already had implemented.
NB: where the trap I was implementing for EL3 had an obvious equivalent in EL2 I included the EL2 check in this series, but I haven't attempted to implement traps which are only EL2 and not EL3. Changes v1->v2: rewrote patch 1 to use a new arm_highest_el() function. Patches 2..6 are already reviewed, only patch 1 needs doing. thanks -- PMM Peter Maydell (6): target-arm: correct CNTFRQ access rights target-arm: Fix handling of SCR.SMD target-arm: Implement MDCR_EL3.TDOSA and MDCR_EL2.TDOSA traps target-arm: Implement MDCR_EL2.TDRA traps target-arm: Implement MDCR_EL3.TDA and MDCR_EL2.TDA traps target-arm: Report correct syndrome for FPEXC32_EL2 traps target-arm/cpu.h | 29 ++++++++++++ target-arm/helper.c | 122 +++++++++++++++++++++++++++++++++++++++++-------- target-arm/op_helper.c | 25 ++++++++-- 3 files changed, 153 insertions(+), 23 deletions(-) -- 1.9.1