All of lore.kernel.org
 help / color / mirror / Atom feed
* [tpm2] question: how to test a case where the selftest command fails
@ 2020-11-27 13:45 Dafna Hirschfeld
  0 siblings, 0 replies; only message in thread
From: Dafna Hirschfeld @ 2020-11-27 13:45 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 749 bytes --]

Hi,
I am working for Collabora on a list of patches in the Chromeos kernel.
I want to check if I can upstream those patches to the mainline kernel.
There is one patch [1] to ignore the case that the 'selftest' command failed
when adding the '/dev/tpm' device. The idea is that userspace could still interact with the
device to some extent event if it fails.
I was wandering how do I test such a case.
I thought that I can test it with a tpm emulator and change the emulator code
to fail on 'selftest'.
I am new to TPM and still know little about it so I thought maybe
some of the people here have better ideas?

[1] https://chromium.googlesource.com/chromiumos/third_party/kernel/+/1065c2fe54d6%5E%21/

Thanks a lot,
Dafna Hirschfeld.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-27 13:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-27 13:45 [tpm2] question: how to test a case where the selftest command fails Dafna Hirschfeld

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.