linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] PSP TEE driver update and bug fixes
@ 2021-03-10  4:39 Rijo Thomas
  2021-03-10  4:40 ` [PATCH v2 1/2] crypto: ccp - reduce tee command status polling interval from 5ms to 1ms Rijo Thomas
  2021-03-10  4:40 ` [PATCH v2 2/2] crypto: ccp - fix command queuing to TEE ring buffer Rijo Thomas
  0 siblings, 2 replies; 3+ messages in thread
From: Rijo Thomas @ 2021-03-10  4:39 UTC (permalink / raw)
  To: Tom Lendacky, John Allen, Herbert Xu, David S . Miller,
	linux-kernel, linux-crypto
  Cc: Rijo Thomas, Mythri Pandeshwara krishna, Devaraj Rangasamy,
	Jens Wiklander, Ard Biesheuvel

The first patch helps to improve the response time by reducing the
polling time of the tee command status variable.

Second patch is a bug fix to handle multi-threaded use-case.
During testing, race condition was seen due to missing synchronisation
in writes to the TEE ring buffer. This patch helps to resolve that.

v2:
 * Updated copyright year as a part of code change

Rijo Thomas (2):
  crypto: ccp - reduce tee command status polling interval from 5ms to
    1ms
  crypto: ccp - fix command queuing to TEE ring buffer

 drivers/crypto/ccp/tee-dev.c | 57 ++++++++++++++++++++++++------------
 drivers/crypto/ccp/tee-dev.h | 20 +++++++++++--
 2 files changed, 57 insertions(+), 20 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2021-03-10  4:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-10  4:39 [PATCH v2 0/2] PSP TEE driver update and bug fixes Rijo Thomas
2021-03-10  4:40 ` [PATCH v2 1/2] crypto: ccp - reduce tee command status polling interval from 5ms to 1ms Rijo Thomas
2021-03-10  4:40 ` [PATCH v2 2/2] crypto: ccp - fix command queuing to TEE ring buffer Rijo Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).