]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Detect the secure boot mode of the system
authorNayna Jain <nayna@linux.ibm.com>
Tue, 5 Nov 2019 23:00:22 +0000 (17:00 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 12 Nov 2019 01:25:02 +0000 (12:25 +1100)
commite5660088af1686dab8b2f71748102e4f68fdf177
tree64f2ce5cccea8774b8f5c97baf6ee7de4f5e8b24
parent52b7759f73b03afc7cba59d3686ec69261291235
powerpc: Detect the secure boot mode of the system

This patch defines a function to detect the secure boot state of a
PowerNV system.

The PPC_SECURE_BOOT config represents the base enablement of secure
boot for powerpc.

Signed-off-by: Nayna Jain <nayna@linux.ibm.com>
Signed-off-by: Eric Richter <erichte@linux.ibm.com>
[mpe: Fold in change from Nayna to add "ibm,secureboot" to ids]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/46b003b9-3225-6bf7-9101-ed6580bb748c@linux.ibm.com
arch/powerpc/Kconfig
arch/powerpc/include/asm/secure_boot.h [new file with mode: 0644]
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/secure_boot.c [new file with mode: 0644]