Re: [Qemu-devel] [PATCH 14/42] tpm: add TPMBackendCmd to hold the request state

2017-10-10 Thread Stefan Berger
On 10/10/2017 12:16 PM, Marc-André Lureau wrote: Hi - Original Message - On 10/09/2017 06:55 PM, Marc-André Lureau wrote: This simplifies a bit locality handling, and argument passing, and could pave the way to queuing requests (if that makes sense). We won't queue requests. The TPM i

Re: [Qemu-devel] [PATCH 14/42] tpm: add TPMBackendCmd to hold the request state

2017-10-10 Thread Marc-André Lureau
Hi - Original Message - > On 10/09/2017 06:55 PM, Marc-André Lureau wrote: > > This simplifies a bit locality handling, and argument passing, and > > could pave the way to queuing requests (if that makes sense). > > We won't queue requests. The TPM interfaces all send one request and > ex

Re: [Qemu-devel] [PATCH 14/42] tpm: add TPMBackendCmd to hold the request state

2017-10-10 Thread Stefan Berger
On 10/09/2017 06:55 PM, Marc-André Lureau wrote: This simplifies a bit locality handling, and argument passing, and could pave the way to queuing requests (if that makes sense). We won't queue requests. The TPM interfaces all send one request and expect the driver to wait until the response co

[Qemu-devel] [PATCH 14/42] tpm: add TPMBackendCmd to hold the request state

2017-10-09 Thread Marc-André Lureau
This simplifies a bit locality handling, and argument passing, and could pave the way to queuing requests (if that makes sense). Signed-off-by: Marc-André Lureau --- hw/tpm/tpm_int.h | 1 + include/sysemu/tpm_backend.h | 16 +--- backends/tpm.c | 6 +++---