diff options
author | 2024-10-10 09:15:59 +0000 | |
---|---|---|
committer | 2024-11-22 00:48:27 +0200 | |
commit | 44637b0b40f47629ff78a73744755e6535e0970e (patch) | |
tree | 3c18179b5dc9b4a568d0b59d634af0cd0eb73944 /scripts/gdb/linux/modules.py | |
parent | char: tpm: cr50: Use generic request/relinquish locality ops (diff) | |
download | wireguard-linux-44637b0b40f47629ff78a73744755e6535e0970e.tar.xz wireguard-linux-44637b0b40f47629ff78a73744755e6535e0970e.zip |
char: tpm: cr50: Move i2c locking to request/relinquish locality ops
Move i2c locking primitives to request_locality and relinquish_locality
callbacks, what effectively blocks TPM bus for the whole duration of
logical TPM operation.
With this in place, cr50-equipped TPM may be shared with external CPUs -
assuming that underneath i2c controller driver is aware of this setup
(see i2c-designware-amdpsp as an example).
Signed-off-by: Jan Dabros <jsd@semihalf.com>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions