Skip to content
Commit fac37c62 authored by Jiandi An's avatar Jiandi An Committed by Mimi Zohar
Browse files

ima: Fix Kconfig to select TPM 2.0 CRB interface



TPM_CRB driver provides TPM CRB 2.0 support.  If it is built as a
module, the TPM chip is registered after IMA init.  tpm_pcr_read() in
IMA fails and displays the following message even though eventually
there is a TPM chip on the system.

ima: No TPM chip found, activating TPM-bypass! (rc=-19)

Fix IMA Kconfig to select TPM_CRB so TPM_CRB driver is built in the kernel
and initializes before IMA.

Signed-off-by: default avatarJiandi An <anjiandi@codeaurora.org>
Signed-off-by: default avatarMimi Zohar <zohar@linux.vnet.ibm.com>
parent 17d7b0af
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment