linux-integrity.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] Fix TPM chip hanging system before suspend/shutdown
@ 2024-03-07  0:03 Adam Alves
  2024-03-07  0:03 ` [PATCH 1/1] " Adam Alves
  0 siblings, 1 reply; 16+ messages in thread
From: Adam Alves @ 2024-03-07  0:03 UTC (permalink / raw)
  To: Peter Huewe, Jarkko Sakkinen; +Cc: Jason Gunthorpe, linux-integrity, Adam Alves

Fix hanging before shutdown/suspend behaviour on some buggy 
platform firmwares.

Adam Alves (1):
  Some buggy firmwares might require the TPM device to be in default
    locality (Locality 0) before suspend or shutdown. Failing to do so
    would leave the system in a hanged state before sleep or power off
    (after “reboot: Power down” message). Such is the case for the
    ASUSTeK COMPUTER INC. TUF GAMING B460M-PLUS board, I believe this
    might be the case for several other boards based on the bugs I have
    found on the internet while trying to find out how to fix my
    specific issue. Most forums suggest the user to disable the TPM
    device on firmware BIOS in order to work around this specific issue,
    which disables several nice security features provided by TPM, such
    as secure boot attestation, automatic decryption and hardware random
    generator.

 drivers/char/tpm/tpm-chip.c      |  9 ++++++++
 drivers/char/tpm/tpm-interface.c | 36 +++++++++++++++++++++++++++++++-
 drivers/char/tpm/tpm.h           |  1 +
 include/linux/tpm.h              |  1 +
 4 files changed, 46 insertions(+), 1 deletion(-)

-- 
2.44.0

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-03-19 21:41 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-07  0:03 [PATCH 0/1] Fix TPM chip hanging system before suspend/shutdown Adam Alves
2024-03-07  0:03 ` [PATCH 1/1] " Adam Alves
2024-03-07 19:54   ` Jarkko Sakkinen
2024-03-07 22:17     ` Adam Alves
2024-03-07 22:49     ` [PATCH v2] tpm: Fix suspend/shutdown on some boards by preserving chip Locality Adam Alves
2024-03-08  9:33       ` Paul Menzel
2024-03-08 14:22         ` Adam Alves
2024-03-08 14:53         ` [PATCH v3] " Adam Alves
2024-03-11 20:04       ` [PATCH v2] " Jarkko Sakkinen
2024-03-13 17:02         ` Adam Alves
2024-03-14 16:31           ` Adam Alves
2024-03-14 16:32             ` Adam Alves
2024-03-19 20:07             ` Jarkko Sakkinen
2024-03-19 19:57           ` Jarkko Sakkinen
2024-03-19 21:38             ` Jarkko Sakkinen
2024-03-19 21:41               ` Jarkko Sakkinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).