Bug 16256
Summary: | tpm_tis breaks suspend/hibernate on kernels > 2.6.34 | ||
---|---|---|---|
Product: | Power Management | Reporter: | Helmut Schaa (helmut.schaa) |
Component: | Hibernation/Suspend | Assignee: | power-management_other |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | maciej.rutecki, rjw, srajiv, thomas |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.35-rc3-wl | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 7216, 16055 |
Description
Helmut Schaa
2010-06-20 11:15:48 UTC
Caused by: commit 225a9be24d799aa16d543c31fb09f0c9ed1d9caa Author: Rajiv Andrade <srajiv@linux.vnet.ibm.com> Date: Thu Mar 25 00:55:32 2010 -0300 TPM: workaround to enforce PCR updates across suspends Add a workaround for TPM's which fail to flush last written PCR values in a TPM_SaveState, in preparation for suspend. Signed-off-by: David Safford <safford@watson.ibm.com> Acked-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com> Signed-off-by: James Morris <jmorris@namei.org> First-Bad-Commit : 225a9be24d799aa16d543c31fb09f0c9ed1d9caa The commit actually did a good job showing us the TPM wasn't saving its state given the non successful TPM_ORD_SaveState command in the second suspend attempt. Just acked and forwared to LKML the patch Helmut submitted to tpmdd-devel that solves this. Rajiv Can you give us a pointer to the patch, please? Here you are: http://lkml.org/lkml/2010/6/21/463 Thanks! Patch : http://lkml.org/lkml/2010/6/21/463 Handled-By : Helmut Schaa <helmut.schaa@googlemail.com> Patch : http://marc.info/?l=tpmdd-devel&m=127609160616162&w=2 Ignore-Patch : http://lkml.org/lkml/2010/6/21/463 Fixed by commit 59f6fbe4291fcc078ba26ce4edf8373a7620a13a . |