[PATCH 0/2] Fix TPM 1.2 resume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



During TPM 1.2 resume, the first PCR read operation used inside
tpm1_do_selftest() fails. Fix two bugs that can prevent the
operation from working.

Cc: Vlastimil Babka <vbabka@xxxxxxx>
Cc: Jason A. Donenfeld <Jason@xxxxxxxxx>
Cc: Jason Gunthorpe <jgg@xxxxxxxx>
Link: https://lore.kernel.org/linux-integrity/CS6UJMSTVA4L.FRQ5VL1I1EF4@suppilovahvero/T/#m236d62184229cc035605143fde10933bcde60065

Jarkko Sakkinen (2):
  tpm_tis: Use tpm_chip_{start,stop} decoration inside tpm_tis_resume
  tpm: Prevent hwrng from activating during resume

 drivers/char/tpm/tpm-chip.c      |  4 +++
 drivers/char/tpm/tpm-interface.c | 10 ++++++++
 drivers/char/tpm/tpm_tis_core.c  | 43 ++++++++++++++------------------
 include/linux/tpm.h              | 13 +++++-----
 4 files changed, 40 insertions(+), 30 deletions(-)

-- 
2.39.2




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux