Re: [PATCH v4 1/4] tpm: add buf_size parameter in the .send callback

2025-05-13 Thread Stefano Garzarella
On Sat, May 10, 2025 at 10:44:38AM +0300, Jarkko Sakkinen wrote: On Fri, May 09, 2025 at 10:57:10AM +0200, Stefano Garzarella wrote: From: Stefano Garzarella Add a new `buf_size` parameter to the `.send` callback in `tpm_class_ops`. This parameter will allow drivers to differentiate between th

Re: [PATCH v4 1/4] tpm: add buf_size parameter in the .send callback

2025-05-10 Thread Jarkko Sakkinen
On Fri, May 09, 2025 at 10:57:10AM +0200, Stefano Garzarella wrote: > From: Stefano Garzarella > > Add a new `buf_size` parameter to the `.send` callback in `tpm_class_ops`. > This parameter will allow drivers to differentiate between the actual > command length to send and the total buffer size.

[PATCH v4 1/4] tpm: add buf_size parameter in the .send callback

2025-05-09 Thread Stefano Garzarella
From: Stefano Garzarella Add a new `buf_size` parameter to the `.send` callback in `tpm_class_ops`. This parameter will allow drivers to differentiate between the actual command length to send and the total buffer size. Currently `buf_now` is not used, but it will be used to implement devices wit