All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] char: tpm: Adjust cr50_i2c locking mechanism
@ 2022-11-01  2:03 Jan Dabros
  2022-11-01  2:03 ` [PATCH 1/3] char: tpm: Protect tpm_pm_suspend with locks Jan Dabros
                   ` (4 more replies)
  0 siblings, 5 replies; 21+ messages in thread
From: Jan Dabros @ 2022-11-01  2:03 UTC (permalink / raw)
  To: linux-integrity, jarkko, peterhuewe, jgg, gregkh, arnd
  Cc: rrangel, timvp, apronin, mw, upstream, jsd

This patchset aims to add support for a platforms with cr50(tpm) i2c
chip shared across two CPUs. We need to provide a mechanism, which will
allow to synchronize accesses on a TPM-transaction boundaries.

First commit in a patchset is a generic fix for an issue encountered
during suspend stress test.

Next two patches are modifying cr50 to use generic callbacks for
locality management and then leverage this solution to apply i2c bus
locking on a TPM-operation level.

Jan Dabros (3):
  char: tpm: Protect tpm_pm_suspend with locks
  char: tpm: cr50: Use generic request/relinquish locality ops
  char: tpm: cr50: Move i2c locking to request/relinquish locality ops

 drivers/char/tpm/tpm-interface.c    |   5 +-
 drivers/char/tpm/tpm_tis_i2c_cr50.c | 118 +++++++++++++++++-----------
 2 files changed, 75 insertions(+), 48 deletions(-)

-- 
2.38.1.273.g43a17bfeac-goog


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

end of thread, other threads:[~2024-10-28 12:17 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-01  2:03 [PATCH 0/3] char: tpm: Adjust cr50_i2c locking mechanism Jan Dabros
2022-11-01  2:03 ` [PATCH 1/3] char: tpm: Protect tpm_pm_suspend with locks Jan Dabros
2022-11-01 15:53   ` Tim Van Patten
2022-11-02 21:28     ` Jan Dąbroś
2022-11-03 22:36       ` Tim Van Patten
2022-11-01  2:03 ` [PATCH 2/3] char: tpm: cr50: Use generic request/relinquish locality ops Jan Dabros
2022-11-01 16:04   ` Tim Van Patten
2022-11-02 21:42     ` Jan Dąbroś
2024-09-30 11:52     ` bernacki
2024-10-07 23:37       ` Jarkko Sakkinen
2022-11-01  2:03 ` [PATCH 3/3] char: tpm: cr50: Move i2c locking to " Jan Dabros
2024-10-09  9:42 ` [PATCH V2 0/2] char: tpm: Adjust cr50_i2c locking mechanism Grzegorz Bernacki
2024-10-09  9:42   ` [PATCH V2 1/2] char: tpm: cr50: Use generic request/relinquish locality ops Grzegorz Bernacki
2024-10-09 16:06     ` Jarkko Sakkinen
2024-10-09  9:42   ` [PATCH V2 2/2] char: tpm: cr50: Move i2c locking to " Grzegorz Bernacki
2024-10-09 16:07     ` Jarkko Sakkinen
2024-10-10  9:15 ` [PATCH V3 0/2] char: tpm: Adjust cr50_i2c locking mechanism Grzegorz Bernacki
2024-10-10  9:15   ` [PATCH V3 1/2] char: tpm: cr50: Use generic request/relinquish locality ops Grzegorz Bernacki
2024-10-10  9:15   ` [PATCH V3 2/2] char: tpm: cr50: Move i2c locking to " Grzegorz Bernacki
2024-10-28  9:09   ` [PATCH V3 0/2] char: tpm: Adjust cr50_i2c locking mechanism Grzegorz Bernacki
2024-10-28 12:16     ` Jarkko Sakkinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.