vtpm: Correct timeout units and command duration
authorJason Andryuk <jandryuk@gmail.com>
Thu, 6 May 2021 13:59:23 +0000 (09:59 -0400)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 10 May 2021 13:50:33 +0000 (14:50 +0100)
commitfdff034b0710587d8cfe979e7e42c0acd848bc7a
treef1069b332b773295ba1ba4de220eee573cec5492
parent5974702bddd37445ae2104f567d88c400227d5d4
vtpm: Correct timeout units and command duration

Add two patches:
vtpm-microsecond-duration.patch fixes the units for timeouts and command
durations.
vtpm-command-duration.patch increases the timeout linux uses to allow
commands to succeed.

Linux works around low timeouts, but not low durations.  The second
patch allows commands to complete that often timeout with the lower
command durations.

Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: Daniel P. Smith <dpsmith@apertussolutions.com>
stubdom/Makefile
stubdom/vtpm-command-duration.patch [new file with mode: 0644]
stubdom/vtpm-microsecond-duration.patch [new file with mode: 0644]