Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository
Switch branch/tag
  • xcap-capability-linux
  • drivers
  • char
  • tpm
  • tpm.h
Find file BlameHistoryPermalink
  • Stefan Berger's avatar
    tpm: fix (ACPI S3) suspend regression · be405411
    Stefan Berger authored Jan 17, 2012
    This patch fixes an (ACPI S3) suspend regression introduced in commit
    68d6e671
    
     ("tpm: Introduce function to poll for result of self test")
    and occurring with an Infineon TPM and tpm_tis and tpm_infineon drivers
    active.
    
    The suspend problem occurred if the TPM was disabled and/or deactivated
    and therefore the TPM_PCRRead checking the result of the (asynchronous)
    self test returned an error code which then caused the tpm_tis driver to
    become inactive and this then seemed to have negatively influenced the
    suspend support by the tpm_infineon driver...  Besides that the tpm_tis
    drive may stay active even if the TPM is disabled and/or deactivated.
    
    Signed-off-by: default avatarStefan Berger <stefanb@linux.vnet.ibm.com>
    Tested-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
    Acked-by: default avatarRajiv Andrade <srajiv@linux.vnet.ibm.com>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    be405411