From: Vitor Soares <ivitro@gmail.com>
To: linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: jgg@ziepe.ca, jarkko@kernel.org, peterhuewe@gmx.de,
vitor.soares@toradex.com
Subject: tpm_tis_spi takes minutes to probe
Date: Fri, 17 May 2024 15:53:22 +0100 [thread overview]
Message-ID: <bf67346ef623ff3c452c4f968b7d900911e250c3.camel@gmail.com> (raw)
Greetings,
I'm using the tpm_tis_spi.ko module and it is taking several minutes to probe on
kernel:
- commit ea5f6ad9ad96 ("Merge tag 'platform-drivers-x86-v6.10-1' of
git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86")
root@verdin-imx8mm-07317726:~# time modprobe tpm_tis_spi
[ 57.534597] SPI driver tpm_tis_spi has no spi_device_id for atmel,attpm20p
[ 57.560684] tpm_tis_spi spi2.1: 2.0 TPM (device-id 0x3205, rev-id 1)
[ 57.584943] tpm tpm0: A TPM error (256) occurred attempting the self test
[ 57.591797] tpm tpm0: starting up the TPM manually
real 8m6.438s
user 0m0.007s
sys 0m0.013s
...And after probing, sometimes the system becames unresponsive.
I did the same test with kernel:
- commit a38297e3fb01 ("Linux 6.9")
root@verdin-imx8mm-07317726:~# time modprobe tpm_tis_spi
[ 53.643744] SPI driver tpm_tis_spi has no spi_device_id for atmel,attpm20p
[ 53.668404] tpm_tis_spi spi2.1: 2.0 TPM (device-id 0x3205, rev-id 1)
[ 53.692997] tpm tpm0: A TPM error (256) occurred attempting the self test
[ 53.699879] tpm tpm0: starting up the TPM manually
real 0m2.809s
user 0m0.001s
sys 0m0.022s
I tested on kernel v6.8 and same it takes same time. Do you know anything about
this?
Best regards,
Vitor Soares
next reply other threads:[~2024-05-17 14:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-17 14:53 Vitor Soares [this message]
2024-05-17 15:42 ` tpm_tis_spi takes minutes to probe Jarkko Sakkinen
2024-05-17 15:57 ` Jarkko Sakkinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bf67346ef623ff3c452c4f968b7d900911e250c3.camel@gmail.com \
--to=ivitro@gmail.com \
--cc=jarkko@kernel.org \
--cc=jgg@ziepe.ca \
--cc=linux-integrity@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peterhuewe@gmx.de \
--cc=vitor.soares@toradex.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.