Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752745AbcCGOJD (ORCPT ); Mon, 7 Mar 2016 09:09:03 -0500 Received: from mail-wm0-f52.google.com ([74.125.82.52]:38670 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752330AbcCGOIz (ORCPT ); Mon, 7 Mar 2016 09:08:55 -0500 Date: Mon, 7 Mar 2016 14:08:52 +0000 From: Matt Fleming To: Linn Crosetto Cc: ard.biesheuvel@linaro.org, roy.franz@linaro.org, mingo@kernel.org, mark.rutland@arm.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/2] arm64/efi: query Secure Boot status according to UEFI spec Message-ID: <20160307140852.GD27675@codeblueprint.co.uk> References: <1456445895-97647-1-git-send-email-linn@hpe.com> <1457041550-15736-1-git-send-email-linn@hpe.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1457041550-15736-1-git-send-email-linn@hpe.com> User-Agent: Mutt/1.5.24+41 (02bc14ed1569) (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 848 Lines: 23 On Thu, 03 Mar, at 02:45:48PM, Linn Crosetto wrote: > 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(-) > Thanks Linn, I've picked these two patches up with Ard's and Mark's tags.