[WIP-for-10.1 v2 0/5] target/arm: Add FEAT_MEC to max cpu

Gustavo Romero posted 5 patches 1 year, 1 month ago
Failed in applying to current master (apply log)
There is a newer version of this series
docs/system/arm/emulation.rst |   3 +
target/arm/cpu-features.h     |  15 +++
target/arm/cpu.h              |  31 ++++++
target/arm/helper.c           | 189 ++++++++++++++++++++++++++++++++++
target/arm/internals.h        |  18 ++++
target/arm/tcg/cpu64.c        |   2 +
6 files changed, 258 insertions(+)
[WIP-for-10.1 v2 0/5] target/arm: Add FEAT_MEC to max cpu
Posted by Gustavo Romero 1 year, 1 month ago
This series adds support for all FEAT_MEC registers to the arm64 max CPU.

It includes the FEAT_MEC registers but does not modify the translation regimes
to support the MECIDs. It also does not yet implement the two cache management
instructions introduced with FEAT_MEC. Despite these limitations, most software
stacks that rely on FEAT_MEC should work properly with this minimal support at
the moment.

I'm currently exploring possibilities to support FEAT_MEC encryption (or
obfuscation, for testing purposes) in QEMU for the various translation regimes
used on arm64.

Gustavo Romero (5):
  target/arm: Add the MECEn SCR_EL3 bit
  target/arm: Add FEAT_MEC registers
  target/arm: Add FEAT_SCTLR2
  target/arm: Add FEAT_TCR2
  target/arm: Advertise FEAT_MEC in cpu max

 docs/system/arm/emulation.rst |   3 +
 target/arm/cpu-features.h     |  15 +++
 target/arm/cpu.h              |  31 ++++++
 target/arm/helper.c           | 189 ++++++++++++++++++++++++++++++++++
 target/arm/internals.h        |  18 ++++
 target/arm/tcg/cpu64.c        |   2 +
 6 files changed, 258 insertions(+)

-- 
2.34.1