powerpc: Enable passing IMA log to next kernel on kexec
authorLakshmi Ramasubramanian <nramas@linux.microsoft.com>
Sun, 21 Feb 2021 17:49:26 +0000 (09:49 -0800)
committerRob Herring <robh@kernel.org>
Mon, 8 Mar 2021 19:06:29 +0000 (12:06 -0700)
commit39652741c80bb0006214cf81ba9707d2dc372292
tree047ec31cfd2d169c421a4a44b6cb4c413da5fd38
parent0c605158be32104bb85cbd12fb575e6f1e17d3e7
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
arch/powerpc/Kconfig