iq-x7181-evk / iq-x5121-evk: declare TPM2 machine feature#2367
iq-x7181-evk / iq-x5121-evk: declare TPM2 machine feature#2367khalidfaisal17 wants to merge 2 commits into
Conversation
lumag
left a comment
There was a problem hiding this comment.
Why isn't module autoloading working? Root cause the problem and fix it rather than working it around with the forced loading of the module.
Test Results 103 files 633 suites 9h 20m 55s ⏱️ For more details on these failures, see this check. Results for commit bca45d2. |
|
This is a workaround, we need to root cause the issue. |
bca45d2 to
8669daa
Compare
|
updated the commit; |
This is very suspiciout. Please post |
modinfo: ERROR: Module tpm_tis_spi.ko not found. |
|
you need to post the output of this command when TIS_SPI is compiled as =m. |
Hi @ndechesne , I see the same output here |
|
Ideally, the TPM nodes are expected to be enabled and operational. Similar changes have already been implemented in IQ-9075 and IQ-8275. The key distinction is that RB3Gen2 supports multiple variants, with TPM functionality available only on the Industrial Kit configuration, which falls under RB3_CK. If this current change is not the solution, kindly suggest the direction, It would be quite helpful. |
So, it has aliases for all the devices it supports. Then no, the suggested change is not the right way to solve the issue. Please find the root cause, why udev doesn't try probing the module. For the current patch it is a NAK. |
Declare TPM2 as a supported machine featur for iq-x7181-evk. This allows TPM-related packages to be conditionally included by the distro without affecting platforms that do not provide TPM hardware support. Signed-off-by: Khalid Faisal Ansari <khalid.ansari@oss.qualcomm.com>
Declare TPM2 as a supported machine feature for iq-x5121-evk. This allows TPM-related packages to be conditionally included by the distro without affecting platforms that do not provide TPM hardware support. Signed-off-by: Khalid Faisal Ansari <khalid.ansari@oss.qualcomm.com>
8669daa to
c97af0a
Compare
|
Can you extend the commit message saying which tpm2 device is available in both targets? |
lumag
left a comment
There was a problem hiding this comment.
machine featur
typo
iq-x7181-evk
Please use proper capitalisation.
Also please describe, which TPM chip is being used (or is it fTPM)?
|
Hi Reviewers. This PR was initially submitted to address TPM-related issues on RB3Gen2. However, the changes were unintentionally overridden by a subsequent commit. Closing this thread for now. I will revisit and restart this effort once the root cause is clearly identified. Actual PR for Hamoa/Purwa TPM change: #2480 |
Declare TPM2 as a supported machine feature for iq-x7181-evk and iq-x5121-evk.
This allows TPM-related packages to be conditionally included by
the distro without affecting platforms that do not provide TPM
hardware support.