Re: [PATCH v2 3/3] virt: arm-cca-guest: Add support for measurement registers
From: Kohei Enju
Date: Wed Sep 30 2026 - 00:45:45 EST
Hi Yeoreum, Suzuki
On 09/30 12:24, Kohei Enju wrote:
> Hi Yeoreum, Sami,
>
> On 09/29 17:57, Yeoreum Yun wrote:
> > From: Sami Mujawar <sami.mujawar@xxxxxxx>
> >
> > Add support for Arm CCA measurement registers (MRs), enabling attestation
> > and runtime integrity tracking from guest Realms.
> >
> > This implementation registers a measurement configuration with the TSM
> > framework and exposes measurement register values via sysfs using a
> > misc device. The supported registers include the Realm Initial
> > Measurement (RIM) and four Runtime Extensible Measurement Registers
> > (REM0–REM3), each using SHA-256 or SHA-512 depending on Realm
>
> Is SHA-384 intentionally out of scope for this series?
>
> Although TF-RMM does not support it yet, the RMM specification defines
> RSI_HASH_SHA_384. A platform using a custom RMM implementation could
> therefore launch a Realm configured to use SHA-384. I think the Realm
> guest driver should support it rather than fail initialization.
Separately from this driver implementation, I noticed that "B5.4.9.3
Success conditions" in the RMM specification 2.0-bet3 lacks a success
condition for sha_384.
Could you please report this to the specification team, or let me know
the appropriate contact for reporting specification issues?
Thanks,
Kohei