[PATCH v3 0/2] arm64/efi: query Secure Boot status according to UEFI spec

From: Linn Crosetto
Date: Thu Mar 03 2016 - 16:46:24 EST


This series modifies the function that queries the status of UEFI Secure Boot
in the EFI stub to match the UEFI specification, and allow the caller to
determine if it is enabled, disabled, or in an unknown state due to an
unexpected error from GetVariable().

v2:
- Add return values for unexpected errors
- Split changes into two patches

v3:
- Add more verbosity with additional prints

Linn Crosetto (2):
arm64/efi: report unexpected errors when determining Secure Boot status
arm64/efi: check SetupMode when determining Secure Boot status

drivers/firmware/efi/libstub/arm-stub.c | 54 ++++++++++++++++++++++++++-------
1 file changed, 43 insertions(+), 11 deletions(-)

--
2.1.4