Re: [PATCH v7 3/8] powerpc: detect the trusted boot state of the system

2019-10-15 Thread Michael Ellerman
Nayna Jain writes: > PowerNV systems enables the IMA measurement rules only if the > trusted boot is enabled on the system. That confused me a lot. But the key is the distinction between appraisal rules vs measurement rules, right? I think it would be clearer if it was phrased as a positive

[PATCH v7 3/8] powerpc: detect the trusted boot state of the system

2019-10-07 Thread Nayna Jain
PowerNV systems enables the IMA measurement rules only if the trusted boot is enabled on the system. This patch adds the function to detect if the system has trusted boot enabled. Signed-off-by: Nayna Jain --- arch/powerpc/include/asm/secure_boot.h | 6 + arch/powerpc/kernel/secure_boot.c