qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH-for-10.1 v4 0/6] target/arm: Add FEAT_MEC to max cpu
@ 2025-07-09 18:03 Gustavo Romero
  2025-07-09 18:03 ` [PATCH v4 1/6] target/arm: Add the MECEn SCR_EL3 bit Gustavo Romero
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Gustavo Romero @ 2025-07-09 18:03 UTC (permalink / raw)
  To: qemu-arm, richard.henderson, alex.bennee; +Cc: qemu-devel, gustavo.romero

This series adds support for all FEAT_MEC registers and cache instructions to
the arm64 max CPU.

It includes the FEAT_MEC registers and cache maintenance instructions, but does
not modify the translation regimes to support the MECIDs, so no encryption is
supported yet. However, most software stacks that rely on FEAT_MEC should work
properly at this point.

I'm currently exploring possibilities to support FEAT_MEC encryption (or
obfuscation, for testing purposes) in QEMU for the various translation regimes
on arm64, hence the encryption part of FEAT_MEC will be contributed later and is
not targeted for QEMU 10.1.


Cheers,
Gustavo

Gustavo Romero (6):
  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: Implement FEAT_MEC cache instructions
  target/arm: Advertise FEAT_MEC in cpu max

 docs/system/arm/emulation.rst |   5 +
 target/arm/cpu-features.h     |  15 +++
 target/arm/cpu.h              |  29 ++++
 target/arm/helper.c           | 242 ++++++++++++++++++++++++++++++++++
 target/arm/internals.h        |  20 +++
 target/arm/tcg/cpu64.c        |   3 +
 6 files changed, 314 insertions(+)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2025-07-10 16:51 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-09 18:03 [PATCH-for-10.1 v4 0/6] target/arm: Add FEAT_MEC to max cpu Gustavo Romero
2025-07-09 18:03 ` [PATCH v4 1/6] target/arm: Add the MECEn SCR_EL3 bit Gustavo Romero
2025-07-09 18:03 ` [PATCH v4 2/6] target/arm: Add FEAT_MEC registers Gustavo Romero
2025-07-09 20:26   ` Richard Henderson
2025-07-09 18:03 ` [PATCH v4 3/6] target/arm: Add FEAT_SCTLR2 Gustavo Romero
2025-07-09 20:30   ` Richard Henderson
2025-07-09 20:31   ` Richard Henderson
2025-07-09 18:03 ` [PATCH v4 4/6] target/arm: Add FEAT_TCR2 Gustavo Romero
2025-07-09 20:39   ` Richard Henderson
2025-07-09 18:03 ` [PATCH v4 5/6] target/arm: Implement FEAT_MEC cache instructions Gustavo Romero
2025-07-09 20:52   ` Richard Henderson
2025-07-09 18:03 ` [PATCH v4 6/6] target/arm: Advertise FEAT_MEC in cpu max Gustavo Romero
2025-07-09 20:54   ` Richard Henderson
2025-07-10 16:29     ` Gustavo Romero

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).