a3fbfae82b4cb3ff9928e29f34c64d0507cad874 is the first bad commit
commit a3fbfae82b4cb3ff9928e29f34c64d0507cad874
Author: Jarkko Sakkinen <[email protected]>
Date:   Mon Nov 5 02:07:56 2018 +0200

    tpm: take TPM chip power gating out of tpm_transmit()
    
    Call tpm_chip_start() and tpm_chip_stop() in
    
    * tpm_chip_register()
    * tpm_class_shutdown()
    * tpm_del_char_device()
    * tpm_pm_suspend()
    * tpm_try_get_ops() and tpm_put_ops()
    * tpm2_del_space()
    
    And remove these calls from tpm_transmit(). The core reason for this
    change is that in tpm_vtpm_proxy a locality change requires a virtual
    TPM command (a command made up just for that driver).
    
    The consequence of this is that this commit removes the remaining nested
    calls.
    
    Signed-off-by: Jarkko Sakkinen <[email protected]>
    Reviewed-by: Stefan Berger <[email protected]>
    Tested-by: Stefan Berger <[email protected]>
    Reviewed-by: Jerry Snitselaar <[email protected]>
    Reviewed-by: James Bottomley <[email protected]>
    Tested-by: Alexander Steffen <[email protected]>

 drivers/char/tpm/tpm-chip.c       | 38 ++++++++++++++++++++++----------------
 drivers/char/tpm/tpm-interface.c  | 18 +++++++++---------
 drivers/char/tpm/tpm.h            |  9 ---------
 drivers/char/tpm/tpm2-space.c     |  5 ++++-
 drivers/char/tpm/tpm_tis_core.c   |  4 ++++
 drivers/char/tpm/tpm_vtpm_proxy.c |  3 +--
 6 files changed, 40 insertions(+), 37 deletions(-)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891502

Title:
  tpm tpm0: Error (28) sending savestate before suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1891502/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to