[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aEdLc_OpTNvsk5pl@kernel.org>
Date: Tue, 10 Jun 2025 00:00:35 +0300
From: Jarkko Sakkinen <jarkko@...nel.org>
To: Prachotan Bathi <prachotan.bathi@....com>
Cc: Peter Huewe <peterhuewe@....de>, Jason Gunthorpe <jgg@...pe.ca>,
Stuart Yoder <stuart.yoder@....com>,
linux-integrity@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 0/1] tpm_ffa_crb: handle tpm busy return code
On Mon, Jun 09, 2025 at 09:15:59AM -0500, Prachotan Bathi wrote:
> Platforms supporting direct message request v2 can
> support SPs that support multiple services.
What is "direct message request v2"?
> If the TPM service is sharing the SP with another service,
> it could get an error code of BUSY if the other service is
> in process.
> We need a way for the driver to retry sending the message
> to the TPM service until it succeeds or we know that no forward progress
> can be made.
> This patch adds a parameterized variable (default 2000ms)
> that indicates the maximum time to keep retrying for.
>
> Prachotan Bathi (1):
> tpm_ffa_crb: handle tpm busy return code
>
> drivers/char/tpm/tpm_crb_ffa.c | 74 +++++++++++++++++++++++-----------
> 1 file changed, 50 insertions(+), 24 deletions(-)
>
> --
> 2.43.0
>
>
BR, Jarkko
Powered by blists - more mailing lists