Skip to content

Commit fd8173b

Browse files
jamieNguyenNVIDIAnvidia-bfigg
authored andcommitted
NVIDIA: [Config]: Ensure the TPM is available before IMA initializes
BugLink: https://bugs.launchpad.net/bugs/2037688 Set the following configs: CONFIG_SPI_TEGRA210_QUAD=y CONFIG_TCG_TIS_SPI=y On Grace systems, the IMA driver emits the following log: ima: No TPM chip found, activating TPM-bypass! This occurs because the IMA driver initializes before we are able to detect the TPM. This will always be the case when the drivers required to communicate with the TPM, spi_tegra210_quad and tpm_tis_spi, are built as modules. Having these drivers as built-ins ensures that the TPM is available before the IMA driver initializes. Signed-off-by: Jamie Nguyen <jamien@nvidia.com> Acked-by: Brad Figg <bfigg@nvidia.com> Acked-by: Ian May <ian.may@canonical.com> Acked-by: Jacob Martin <jacob.martin@canonical.com> Signed-off-by: Brad Figg <bfigg@nvidia.com>
1 parent 2b358a2 commit fd8173b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

debian.nvidia-6.2/config/annotations

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ CONFIG_PREEMPT_VOLUNTARY note<'required for nvidia worklo
2727
CONFIG_RUST policy<{'amd64': 'n', 'arm64': '-'}>
2828
CONFIG_RUST note<'required to enable Rust support, LP: #1993183'>
2929

30+
CONFIG_SPI_TEGRA210_QUAD policy<{'arm64': 'y'}>
31+
CONFIG_SPI_TEGRA210_QUAD note<'ensures the TPM is available before the IMA driver initializes'>
32+
33+
CONFIG_TCG_TIS_SPI policy<{'arm64': 'y'}>
34+
CONFIG_TCG_TIS_SPI note<'ensures the TPM is available before the IMA driver initializes'>
3035

3136
# ---- Annotations without notes ----
3237

0 commit comments

Comments
 (0)