aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorStefano Garzarella <[email protected]>2025-06-20 13:08:10 +0000
committerJarkko Sakkinen <[email protected]>2025-07-22 23:23:18 +0000
commitfaddec84aa8a600f5f6857cdd9b9ea29f7cf60fb (patch)
tree60adabc5f7d0be868af29de0c2318aab5bf71716 /net/unix/af_unix.c
parenttpm/tpm_ftpm_tee: support TPM_CHIP_FLAG_SYNC (diff)
downloadkernel-faddec84aa8a600f5f6857cdd9b9ea29f7cf60fb.tar.gz
kernel-faddec84aa8a600f5f6857cdd9b9ea29f7cf60fb.zip
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 <[email protected]> Reviewed-by: Jarkko Sakkinen <[email protected]> Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions