powerpc: PPC_SECURE_BOOT should not require PowerNV
PATCH 1/1 powerpc: PPC_SECURE_BOOT should not require PowerNV
In commit 61f879d97ce4 ("powerpc/pseries: Detect secure and trusted boot state of the system.") we taught the kernel how to understand the secure-boot parameters used by a pseries guest.
However, CONFIG_PPC_SECURE_BOOT still requires PowerNV. I didn't catch this because pseries_le_defconfig includes support for PowerNV and so everything still worked. Indeed, most configs will. Nonetheless, technically PPC_SECURE_BOOT doesn't require PowerNV any more.
The secure variables support (PPC_SECVAR_SYSFS) doesn't do anything on pSeries yet, but I don't think it's worth adding a new condition - at some stage we'll want to add a backend for pSeries anyway.
--- arch/powerpc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/Kconfig +1 -1
@@ -983,7 +983,7 @@ config PPC_MEM_KEYS config PPC_SECURE_BOOT prompt "Enable secure boot support" bool - depends on PPC_POWERNV + depends on PPC_POWERNV || PPC_PSERIES depends on IMA_ARCH_POLICY imply IMA_SECURE_AND_OR_TRUSTED_BOOT help
Signature · 1 line
2.25.1
Michael Ellerman
AppliedQuoted 11 lines · Daniel Axtens
In commit
61f879d97ce4("powerpc/pseries: Detect secure and trusted boot state of the system.") we taught the kernel how to understand the secure-boot parameters used by a pseries guest.However,
CONFIG_PPC_SECURE_BOOTstill requires PowerNV. I didn't catch this becausepseries_le_defconfigincludes support for PowerNV and so everything still worked. Indeed, most configs will. Nonetheless, technicallyPPC_SECURE_BOOTdoesn't require PowerNV any more.[...]
Applied to powerpc/next.
[1/1] powerpc: PPC_SECURE_BOOT should not require PowerNV
https://git.kernel.org/powerpc/c/5c5e46dad939b2bf4df04293ab9ac68abd7c1f55
cheers