Subject: [PATCH v19 13/13] arm64: Enable passing IMA log to next kernel on kexec

From: Lakshmi Ramasubramanian <[email-masked]>
Date: Sun, 21 Feb 2021 09:49:30 -0800

Update CONFIG_KEXEC_FILE to select CONFIG_HAVE_IMA_KEXEC, if CONFIG_IMA
is enabled, to indicate that the IMA measurement log information is
present in the device tree for ARM64.

Co-developed-by: Prakhar Srivastava <[email-masked]>
Signed-off-by: Prakhar Srivastava <[email-masked]>
Signed-off-by: Lakshmi Ramasubramanian <[email-masked]>
Suggested-by: Thiago Jung Bauermann <[email-masked]>
Reviewed-by: Thiago Jung Bauermann <[email-masked]>
---
 arch/arm64/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 05e17351e4f3..8a93573cebb6 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -1093,6 +1093,7 @@ config KEXEC
 config KEXEC_FILE
 	bool "kexec file based system call"
 	select KEXEC_CORE
+	select HAVE_IMA_KEXEC if IMA
 	help
 	  This is new version of kexec system call. This system call is
 	  file based and takes file descriptors as system call argument
-- 
2.30.0