Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc: Enable passing IMA log to next kernel on kexec

CONFIG_HAVE_IMA_KEXEC is enabled to indicate that the IMA measurement
log information is present in the device tree. This should be selected
only if CONFIG_IMA is enabled.

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 powerpc.

Signed-off-by: Lakshmi Ramasubramanian <nramas@linux.microsoft.com>
Suggested-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210221174930.27324-10-nramas@linux.microsoft.com

authored by

Lakshmi Ramasubramanian and committed by
Rob Herring
39652741 0c605158

+1 -1
+1 -1
arch/powerpc/Kconfig
··· 548 548 config KEXEC_FILE 549 549 bool "kexec file based system call" 550 550 select KEXEC_CORE 551 - select HAVE_IMA_KEXEC 551 + select HAVE_IMA_KEXEC if IMA 552 552 select BUILD_BIN2C 553 553 select KEXEC_ELF 554 554 depends on PPC64