Re: [PATCH v2] tpm_crb: Add idle support for the Arm FF-A start method
From: Jarkko Sakkinen
Date: Mon Oct 27 2025 - 16:06:21 EST
On Fri, Oct 24, 2025 at 12:42:00PM -0500, Stuart Yoder wrote:
> According to the CRB over FF-A specification [1], a TPM that implements
> the ABI must comply with the TCG PTP specification. This requires support
> for the Idle and Ready states.
>
> This patch implements CRB control area requests for goIdle and
> cmdReady on FF-A based TPMs.
>
> The FF-A message used to notify the TPM of CRB updates includes a
> locality parameter, which provides a hint to the TPM about which
> locality modified the CRB. This patch adds a locality parameter
> to __crb_go_idle() and __crb_cmd_ready() to support this.
>
> [1] https://developer.arm.com/documentation/den0138/latest/
>
> Signed-off-by: Stuart Yoder <stuart.yoder@xxxxxxx>
A version of this went already to rc2.
BR, Jarkko