Re: [PATCH v8 3/3] tpm: Add support for TPM device over I2C bus

2023-03-27 Thread Ninad Palsule
Hi Cedric, On 3/27/23 12:01 PM, Cédric Le Goater wrote: On 3/27/23 18:16, Ninad Palsule wrote: Qemu already supports devices attached to ISA and sysbus. This drop adds support for the I2C bus attached TPM devices. I2C model only supports TPM2 protocol. This commit includes changes for the

Re: [PATCH v8 3/3] tpm: Add support for TPM device over I2C bus

2023-03-27 Thread Cédric Le Goater
On 3/27/23 18:16, Ninad Palsule wrote: Qemu already supports devices attached to ISA and sysbus. This drop adds support for the I2C bus attached TPM devices. I2C model only supports TPM2 protocol. This commit includes changes for the common code. - Added I2C emulation model. Logic was added in

Re: [PATCH v8 3/3] tpm: Add support for TPM device over I2C bus

2023-03-27 Thread Stefan Berger
On 3/27/23 12:16, Ninad Palsule wrote: Qemu already supports devices attached to ISA and sysbus. This drop adds support for the I2C bus attached TPM devices. I2C model only supports TPM2 protocol. + * If data is for FIFO then it is received from tpm_tis_common buffer + * otherwise it

[PATCH v8 3/3] tpm: Add support for TPM device over I2C bus

2023-03-27 Thread Ninad Palsule
Qemu already supports devices attached to ISA and sysbus. This drop adds support for the I2C bus attached TPM devices. I2C model only supports TPM2 protocol. This commit includes changes for the common code. - Added I2C emulation model. Logic was added in the model to temporarily cache the data