Re: [PATCH] tpm_ffa_crb: access tpm service over FF-A direct message request v2

From: Jarkko Sakkinen
Date: Fri Apr 11 2025 - 04:08:11 EST


On Thu, Apr 10, 2025 at 12:07:01PM +0100, Yeoreum Yun wrote:
> @@ -277,7 +301,8 @@ static int tpm_crb_ffa_probe(struct ffa_device *ffa_dev)
>
> tpm_crb_ffa = ERR_PTR(-ENODEV); // set tpm_crb_ffa so we can detect probe failure
>
> - if (!ffa_partition_supports_direct_recv(ffa_dev)) {
> + if (!ffa_partition_supports_direct_recv(ffa_dev) &&
> + !ffa_partition_supports_direct_req2_recv(ffa_dev)) {

if (!ffa_partition_supports_direct_recv(ffa_dev) &&
!ffa_partition_supports_direct_req2_recv(ffa_dev)) {

BR, Jarkko