Skip to content

arm: Steps towards EL2 support round 4

Edgar E. Iglesias qemu-devel 2 versions – Applied

Status from this message: Thanks, applied to target-arm.next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 2 repliesApplied
  2. v110 patches 19 repliesSuperseded

Changes in v2 from the cover letter

* Add fix for gracefully handling missing has_el2 CPU props
* Dropped suppress of TTBR1 for S2 (unneeded)
* Comment on vttbr_write TLB flush
* Mark second instance of VTTBR as ALIAS
* Split the active aa32ns_aa64any into separate AA32/AA64 registrations to allow the AA64 one to avoid .access checks
* VTCR does not need TLB flushes
* Various CP_CONST/resetvalue=0 instead of writefns/readfns
* Fix VMPIDR el2 vs el1 typo
* Fix VMPIDR reset value
* Fix spelling of suppress in commit message

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/8hw/cpu/{a15mpcore, a9mpcore}: Handle missing has_el3 CPU props gracefullyhw/cpu/a15mpcore.c hw/cpu/a9mpcore.c+2 -21 reply
2/8target-arm: Add VTCR_EL2target-arm/cpu.h target-arm/helper.c+42 -20 replies
3/8target-arm: Add VTTBR_EL2target-arm/cpu.h target-arm/helper.c+33 -20 replies
4/8target-arm: Suppress TBI for S2 translationstarget-arm/helper.c+3 -10 replies
5/8target-arm: Suppress EPD for S2, EL2 and EL3 translationstarget-arm/helper.c+4 -20 replies
6/8target-arm: Add VPIDR_EL2target-arm/cpu.h target-arm/helper.c+42 -10 replies
7/8target-arm: Break out mpidr_read_val()target-arm/helper.c+6 -10 replies
8/8target-arm: Add VMPIDR_EL2target-arm/cpu.h target-arm/helper.c+25 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/8] arm: Steps towards EL2 support round 4

From: "Edgar E. Iglesias" <[email protected]>

Hi,

This is another series with small steps towards EL2 emulation.

Patch 1 is a fix to allow easier testing of EL3-less cores. Patches 2 and on add regs and a few small steps towards 2-stage MMU.

Comments welcome!

Best regards,
Edgar

v1 -> v2:
* Add fix for gracefully handling missing has_el2 CPU props
* Dropped suppress of TTBR1 for S2 (unneeded)
* Comment on vttbr_write TLB flush
* Mark second instance of VTTBR as ALIAS
* Split the active aa32ns_aa64any into separate AA32/AA64 registrations to allow the AA64 one to avoid .access checks
* VTCR does not need TLB flushes
* Various CP_CONST/resetvalue=0 instead of writefns/readfns
* Fix VMPIDR el2 vs el1 typo
* Fix VMPIDR reset value
* Fix spelling of suppress in commit message

Edgar E. Iglesias (8):
hw/cpu/{a15mpcore, a9mpcore}: Handle missing has_el3 CPU props
gracefully
target-arm: Add VTCR_EL2
target-arm: Add VTTBR_EL2
target-arm: Suppress TBI for S2 translations
target-arm: Suppress EPD for S2, EL2 and EL3 translations
target-arm: Add VPIDR_EL2
target-arm: Break out mpidr_read_val()
target-arm: Add VMPIDR_EL2

 hw/cpu/a15mpcore.c  |   2 +-
 hw/cpu/a9mpcore.c   |   2 +-
 target-arm/cpu.h    |   4 ++
 target-arm/helper.c | 158 +++++++++++++++++++++++++++++++++++++++++++++++++---
 4 files changed, 155 insertions(+), 11 deletions(-)
Signature · 1 line
1.9.1