Re: [PATCH] ppc/spapr: advertise secure boot in the guest device tree

2021-05-11 Thread Daniel Axtens
> So.. what's the point? AFAIK we have no secure boot support in SLOF, > so what would advertising it in the device tree accomplish? Linux reads the property and enters secure boot mode: commit 61f879d97ce4 ("powerpc/pseries: Detect secure and trusted boot state of the system.") grub patches

Re: [PATCH] ppc/spapr: advertise secure boot in the guest device tree

2021-05-11 Thread David Gibson
On Mon, May 10, 2021 at 10:07:13PM +1000, Daniel Axtens wrote: > The ibm,secure-boot property of the / node determines how firmware > and the operating system should enforce secure boot. The meaning > of the various values are: > > 0 - secure boot is disabled > 1 - secure boot in log-only

[PATCH] ppc/spapr: advertise secure boot in the guest device tree

2021-05-10 Thread Daniel Axtens
The ibm,secure-boot property of the / node determines how firmware and the operating system should enforce secure boot. The meaning of the various values are: 0 - secure boot is disabled 1 - secure boot in log-only mode 2 - secure boot enabled and enforced 3-9 - secure boot enabled and