diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2025-06-20 15:08:10 +0200 |
---|---|---|
committer | Jarkko Sakkinen <jarkko@kernel.org> | 2025-07-23 02:23:18 +0300 |
commit | faddec84aa8a600f5f6857cdd9b9ea29f7cf60fb (patch) | |
tree | 60adabc5f7d0be868af29de0c2318aab5bf71716 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 0637c10e72ef4b0645cb45873d21fd5f711ba041 (diff) |
tpm/tpm_svsm: support TPM_CHIP_FLAG_SYNC
This driver does not support interrupts, and receiving the response is
synchronous with sending the command.
Enable synchronous send() with TPM_CHIP_FLAG_SYNC, which implies that
->send() already fills the provided buffer with a response, and ->recv()
is not implemented.
Keep using the same pre-allocated buffer to avoid having to allocate
it for each command. We need the buffer to have the header required by
the SVSM protocol and the command contiguous in memory.
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions