Skip to content

ARMv8.4-A Secure EL2

Rémi Denis-Courmont qemu-arm qemu-devel 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest19 patches 6 repliesIn review
  2. v418 patches 16 repliesSuperseded
  3. v317 patches 6 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v217 patches7 repliesSuperseded
v1 RFC0 of 14 patches0 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19target/arm: remove redundant teststarget/arm/cpu.c target/arm/helper.c+8 -100 replies
2/19target/arm: add arm_is_el2_enabled() helpertarget/arm/cpu.h+17 -00 replies
3/19target/arm: use arm_is_el2_enabled() where applicabletarget/arm/cpu.h target/arm/helper-a64.c target/arm/helper.c+16 -290 replies
4/19target/arm: use arm_hcr_el2_eff() where applicabletarget/arm/helper.c+18 -130 replies
5/19target/arm: factor MDCR_EL2 common handlingtarget/arm/helper.c+22 -160 replies
6/19target/arm: declare new AA64PFR0 bit-fieldstarget/arm/cpu.h+11 -00 replies
7/19target/arm: add 64-bit S-EL2 to EL exception tabletarget/arm/helper.c target/arm/op_helper.c+7 -70 replies
8/19target/arm: add MMU stage 1 for Secure EL2target/arm/cpu-param.h target/arm/cpu.h target/arm/helper.c +2 more+124 -580 replies
9/19target/arm: add ARMv8.4-SEL2 system registerstarget/arm/cpu.h target/arm/helper.c+31 -00 replies
10/19target/arm: handle VMID change in secure statetarget/arm/helper.c+9 -40 replies
11/19target/arm: do S1_ptw_translate() before address space lookuptarget/arm/helper.c+6 -30 replies
12/19target/arm: translate NS bit in page-walkstarget/arm/helper.c+12 -00 replies
13/19target/arm: generalize 2-stage page-walk conditiontarget/arm/helper.c+6 -70 replies
14/19target/arm: secure stage 2 translation regimetarget/arm/cpu.h target/arm/helper.c target/arm/internals.h+81 -251 reply
15/19target/arm: set HPFAR_EL2.NS on secure stage 2 faultstarget/arm/cpu.h target/arm/helper.c target/arm/internals.h +1 more+13 -00 replies
16/19target/arm: revector to run-time pick target ELtarget/arm/translate.c+21 -21 reply
17/19target/arm: add ARMv8.4-SEL2 extensiontarget/arm/cpu.c target/arm/cpu.h target/arm/helper.c +1 more+35 -83 replies
18/19target/arm: enable Secure EL2 in max CPUtarget/arm/cpu64.c+1 -00 replies
19/19target/arm: refactor vae1_tlbmask()target/arm/helper.c+11 -140 replies

Reviews trailers per patch

All 19 patches have a Reviewed-by or Acked-by.

PatchRichard Henderson
1/19R-b
2/19R-b
3/19R-b
4/19R-b
5/19R-b
6/19R-b
7/19R-b
8/19R-b
9/19R-b
10/19R-b
11/19R-b
12/19R-b
13/19R-b
14/19R-b
15/19R-b
16/19R-b
17/19R-b
18/19R-b
19/19R-b

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

Read the v5 thread

Cover letter [PATCHv5 00/19] ARMv8.4-A Secure EL2
	Hi,

This adds Secure EL2.

Changes since version 4:
- Fix NS unitialised in secure state stage 2 translation.
- Remove EEL2 translation block flag in 32-bit mode.
- Clarify comments on arm_is_el2_enabled().

----------------------------------------------------------------
Rémi Denis-Courmont (19):
target/arm: remove redundant tests
target/arm: add arm_is_el2_enabled() helper target/arm: use arm_is_el2_enabled() where applicable target/arm: use arm_hcr_el2_eff() where applicable target/arm: factor MDCR_EL2 common handling target/arm: declare new AA64PFR0 bit-fields target/arm: add 64-bit S-EL2 to EL exception table target/arm: add MMU stage 1 for Secure EL2 target/arm: add ARMv8.4-SEL2 system registers target/arm: handle VMID change in secure state target/arm: do S1_ptw_translate() before address space lookup target/arm: translate NS bit in page-walks target/arm: generalize 2-stage page-walk condition target/arm: secure stage 2 translation regime target/arm: set HPFAR_EL2.NS on secure stage 2 faults target/arm: revector to run-time pick target EL target/arm: add ARMv8.4-SEL2 extension
target/arm: enable Secure EL2 in max CPU target/arm: refactor vae1_tlbmask()

 target/arm/cpu-param.h     |   2 +-
 target/arm/cpu.c           |  10 +-
 target/arm/cpu.h           |  90 ++++++++--
 target/arm/cpu64.c         |   1 +
 target/arm/helper-a64.c    |   8 +-
 target/arm/helper.c        | 414 ++++++++++++++++++++++++++++++---------------
 target/arm/internals.h     |  36 ++++
 target/arm/op_helper.c     |   4 +-
 target/arm/tlb_helper.c    |   3 +
 target/arm/translate-a64.c |   4 +
 target/arm/translate.c     |  35 +++-
 11 files changed, 430 insertions(+), 177 deletions(-)
Signature · 2 lines
雷米‧德尼-库尔蒙
http://www.remlab.net/