diff mbox series

[6/6] board: qemu-arm: select TPM_PCR_ALLOCATE

Message ID 20250115200144.951530-7-raymond.mao@linaro.org
State Superseded
Delegated to: Ilias Apalodimas
Headers show
Series Re-configurate TPM when active hash algorithms dismatch | expand

Commit Message

Raymond Mao Jan. 15, 2025, 8:01 p.m. UTC
Enable PCR allocate and system reboot when algorithms don't match
among the values from TPM device, U-Boot support and evenlog.

Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
---
 configs/qemu_arm64_defconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Ilias Apalodimas Jan. 16, 2025, 1:07 p.m. UTC | #1
On Wed, 15 Jan 2025 at 22:02, Raymond Mao <raymond.mao@linaro.org> wrote:
>
> Enable PCR allocate and system reboot when algorithms don't match
> among the values from TPM device, U-Boot support and evenlog.
>
> Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
> ---
>  configs/qemu_arm64_defconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/configs/qemu_arm64_defconfig b/configs/qemu_arm64_defconfig
> index 0c7107c1f4..6ba3cb1bbd 100644
> --- a/configs/qemu_arm64_defconfig
> +++ b/configs/qemu_arm64_defconfig
> @@ -73,3 +73,4 @@ CONFIG_SEMIHOSTING=y
>  CONFIG_MBEDTLS_LIB=y
>  CONFIG_TPM=y
>  CONFIG_GENERATE_SMBIOS_TABLE_VERBOSE=y
> +CONFIG_TPM_PCR_ALLOCATE=y
> --
> 2.25.1
>

Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
diff mbox series

Patch

diff --git a/configs/qemu_arm64_defconfig b/configs/qemu_arm64_defconfig
index 0c7107c1f4..6ba3cb1bbd 100644
--- a/configs/qemu_arm64_defconfig
+++ b/configs/qemu_arm64_defconfig
@@ -73,3 +73,4 @@  CONFIG_SEMIHOSTING=y
 CONFIG_MBEDTLS_LIB=y
 CONFIG_TPM=y
 CONFIG_GENERATE_SMBIOS_TABLE_VERBOSE=y
+CONFIG_TPM_PCR_ALLOCATE=y