Patch "powerpc: PPC_SECURE_BOOT should not require PowerNV" has been added to the 5.9-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    powerpc: PPC_SECURE_BOOT should not require PowerNV

to the 5.9-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     powerpc-ppc_secure_boot-should-not-require-powernv.patch
and it can be found in the queue-5.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 886e4bc119cc66f9fa6d026f3f1598d33f79ee95
Author: Daniel Axtens <dja@xxxxxxxxxx>
Date:   Thu Sep 24 11:49:22 2020 +1000

    powerpc: PPC_SECURE_BOOT should not require PowerNV
    
    [ Upstream commit 5c5e46dad939b2bf4df04293ab9ac68abd7c1f55 ]
    
    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.
    
    Fixes: 61f879d97ce4 ("powerpc/pseries: Detect secure and trusted boot state of the system.")
    Signed-off-by: Daniel Axtens <dja@xxxxxxxxxx>
    Signed-off-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20200924014922.172914-1-dja@xxxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 787e829b6f25c..997da0221780b 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -980,7 +980,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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux