Skip to content

target-arm: EL3 trap support

Greg Bellows qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 23 repliesIn review
  2. v11 patch 2 repliesSuperseded

Changes in v2 from the cover letter

- 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9target-arm: Add exception target el infrastructuretarget-arm/cpu.h target-arm/helper.h target-arm/op_helper.c +3 more+83 -370 replies
2/9target-arm: Extend helpers to route exceptionstarget-arm/op_helper.c+19 -00 replies
3/9target-arm: Update interrupt handling to use target ELtarget-arm/cpu.c target-arm/cpu.h target-arm/helper-a64.c +1 more+50 -610 replies
4/9target-arm: Add AArch64 CPTR registerstarget-arm/cpu.h target-arm/helper.c+54 -11 reply
5/9target-arm: Extend FP checks to use an ELtarget-arm/cpu.h target-arm/translate-a64.c target-arm/translate.c +1 more+61 -291 reply
6/9target-arm: Add TTBR regime function and usetarget-arm/helper.c+19 -52 replies
7/9target-arm: Add EL3 and EL2 TCR checkingtarget-arm/helper.c+32 -130 replies
8/9target-arm: Add WFx syndrome functiontarget-arm/internals.h+6 -00 replies
9/9target-arm: Add WFx instruction trap supporttarget-arm/internals.h target-arm/op_helper.c+74 -413 replies

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPeter MaydellEdgar E. Iglesias
SeriesA-b
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9R-b
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/9] target-arm: EL3 trap support

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(-)
Signature · 1 line
1.8.3.2