Linux Integrity Measurement development
 help / color / mirror / Atom feed
* [PATCH v1 0/1] tpm_ffa_crb: handle tpm busy return code
@ 2025-06-09 14:15 Prachotan Bathi
  2025-06-09 14:16 ` [PATCH v1 1/1] " Prachotan Bathi
  2025-06-09 21:00 ` [PATCH v1 0/1] " Jarkko Sakkinen
  0 siblings, 2 replies; 6+ messages in thread
From: Prachotan Bathi @ 2025-06-09 14:15 UTC (permalink / raw)
  To: Peter Huewe, Jarkko Sakkinen, Jason Gunthorpe, Stuart Yoder
  Cc: linux-integrity, linux-kernel, Prachotan Bathi

Platforms supporting direct message request v2 can
support SPs that support multiple services.
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


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

end of thread, other threads:[~2025-06-11 16:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-09 14:15 [PATCH v1 0/1] tpm_ffa_crb: handle tpm busy return code Prachotan Bathi
2025-06-09 14:16 ` [PATCH v1 1/1] " Prachotan Bathi
2025-06-09 21:02   ` Jarkko Sakkinen
2025-06-09 21:00 ` [PATCH v1 0/1] " Jarkko Sakkinen
2025-06-10 21:12   ` Prachotan Bathi
2025-06-11 16:43     ` Jarkko Sakkinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox