Bug#649033: Fix kernel boot delay due to hang in tpm_tis
Can someone who experiences the delay during the boot please apply the
patch below? Please let me know whether it solves the problem.
This patch adds a delay after aborting a command. Some TPMs need
this and will not process the subsequent command correctly otherwise.
Signed-off-by: Stefan Berger <email@example.com>
drivers/char/tpm/tpm_tis.c | 3 +++
1 file changed, 3 insertions(+)
@@ -432,6 +432,9 @@ static int probe_itpm(struct tpm_chip *c
itpm = rem_itpm;
+ /* some TPMs need a break here otherwise they will not work
+ * correctly on the immediately subsequent command */
release_locality(chip, chip->vendor.locality, 0);