Displaying 2 results from an estimated 2 matches for "driver_has_buffer".
2019 Feb 22
0
[PATCH] tpm: Add driver for TPM over virtio
...isor.
> + */
> + struct completion complete;
> +
> + /*
> + * Whether driver currently holds ownership of the virtqueue buffer.
> + * When false, the hypervisor is in the process of reading or writing
> + * the buffer and the driver must not touch it.
> + */
> + bool driver_has_buffer;
> +
> + /*
> + * Whether during the most recent TPM operation, a virtqueue_kick failed
> + * or a wait timed out.
> + *
> + * The next send or recv operation will attempt a kick upon seeing this
> + * status. That should clear up the queue in the case that the
> + * h...
2019 Feb 22
0
[PATCH] tpm: Add driver for TPM over virtio
...t; +
> >> + /*
> >> + * Whether driver currently holds ownership of the virtqueue buffer.
> >> + * When false, the hypervisor is in the process of reading or writing
> >> + * the buffer and the driver must not touch it.
> >> + */
> >> + bool driver_has_buffer;
> >> +
> >> + /*
> >> + * Whether during the most recent TPM operation, a virtqueue_kick failed
> >> + * or a wait timed out.
> >> + *
> >> + * The next send or recv operation will attempt a kick upon seeing this
> >> + * status....