Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758445AbcCCVqU (ORCPT ); Thu, 3 Mar 2016 16:46:20 -0500 Received: from g9t1613g.houston.hp.com ([15.240.0.71]:41730 "EHLO g9t1613g.houston.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756182AbcCCVqT (ORCPT ); Thu, 3 Mar 2016 16:46:19 -0500 From: Linn Crosetto To: matt@codeblueprint.co.uk, ard.biesheuvel@linaro.org, roy.franz@linaro.org, mingo@kernel.org, mark.rutland@arm.com Cc: linux-kernel@vger.kernel.org, Linn Crosetto Subject: [PATCH v3 0/2] arm64/efi: query Secure Boot status according to UEFI spec Date: Thu, 3 Mar 2016 14:45:48 -0700 Message-Id: <1457041550-15736-1-git-send-email-linn@hpe.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1456445895-97647-1-git-send-email-linn@hpe.com> References: <1456445895-97647-1-git-send-email-linn@hpe.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 693 Lines: 21 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