search for: vtpm_device

Displaying 2 results from an estimated 2 matches for "vtpm_device".

Did you mean: vgem_device
2019 Feb 22
0
[PATCH] tpm: Add driver for TPM over virtio
...nd of the > + * TPM operation. This timeout is relatively high because certain TPM operations > + * can take dozens of seconds. > + */ > +#define TPM_VIRTIO_TIMEOUT (120 * HZ) Should we read this from device? E.g. a busy hypervisor might take longer to respond ... > + > +struct vtpm_device { > + /* > + * Data structure for integration with the common code of the TPM driver > + * in tpm-chip.c. > + */ > + struct tpm_chip *chip; > + > + /* > + * Virtio queue for sending TPM commands out of the virtual machine and > + * receiving TPM responses back from t...
2019 Feb 22
0
[PATCH] tpm: Add driver for TPM over virtio
...at that point; I don't know how much > further it would be reasonable to grow a timeout. I think the whole idea around timeout handling needs a bit more thought. What kind of reasons for the timeout do you envision that require the extra kicks? > > >> + > >> +struct vtpm_device { > >> + /* > >> + * Data structure for integration with the common code of the TPM driver > >> + * in tpm-chip.c. > >> + */ > >> + struct tpm_chip *chip; > >> + > >> + /* > >> + * Virtio queue for sending TPM commands out...