All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] FEAT_RME_GDI initial work
@ 2026-04-16 11:12 Jim MacArthur
  2026-04-16 11:12 ` [PATCH 1/3] target/arm/cpu-features.c: Add RMEGDI to AA64MMFR4 Jim MacArthur
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Jim MacArthur @ 2026-04-16 11:12 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Maydell, qemu-arm, Jim MacArthur

Adds FEAT_RME_GDI, some extra cases to arm_granule_protection_check,
and a very basic TCG test to check the prerequisites of FEAT_RME_GDI:
FEAT_RME and FEAT_RME_GPC2.

FEAT_RME_GDI is not enabled yet as no functional support has been
added; it can easily be enabled in cpu_arm_set_rme in future.

In the future we should correctly set bits in the fault address
registers such as PFAR_EL2, but I don't see any apparent support for
these in the existing GPT mechanism. Testing this also gets tricky as
I think this would have to be done from EL3 (e.g. by modifying
test_rme_virt.py)

Signed-off-by: Jim MacArthur <jim.macarthur@linaro.org>
---
Jim MacArthur (3):
      target/arm/cpu-features.c: Add RMEGDI to AA64MMFR4
      target/arm/ptw.c: Add two new spaces to the granule protection case
      tests/tcg/aarch64/system/rme_gdi.c: Very basic test of GDI

 target/arm/cpu-features.h          |  1 +
 target/arm/ptw.c                   |  5 ++++
 tests/tcg/aarch64/system/rme_gdi.c | 56 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 62 insertions(+)
---
base-commit: da6c4fe60fee30dd77267764d55b38af9cb89d4b
change-id: 20260416-jmac-feat_rme_gdi-71c2d2dd6770

Best regards,
-- 
Jim MacArthur <jim.macarthur@linaro.org>



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

end of thread, other threads:[~2026-04-17  9:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-16 11:12 [PATCH 0/3] FEAT_RME_GDI initial work Jim MacArthur
2026-04-16 11:12 ` [PATCH 1/3] target/arm/cpu-features.c: Add RMEGDI to AA64MMFR4 Jim MacArthur
2026-04-16 22:13   ` Richard Henderson
2026-04-17  8:43     ` Peter Maydell
2026-04-16 11:12 ` [PATCH 2/3] target/arm/ptw.c: Add two new spaces to the granule protection case Jim MacArthur
2026-04-16 22:36   ` Richard Henderson
2026-04-17  9:53     ` Jim MacArthur
2026-04-16 11:12 ` [PATCH 3/3] tests/tcg/aarch64/system/rme_gdi.c: Very basic test of GDI Jim MacArthur

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.