Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752217AbcCBNiv (ORCPT ); Wed, 2 Mar 2016 08:38:51 -0500 Received: from mail-wm0-f50.google.com ([74.125.82.50]:35807 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750949AbcCBNit (ORCPT ); Wed, 2 Mar 2016 08:38:49 -0500 Date: Wed, 2 Mar 2016 13:38:46 +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 v2 0/2] arm64/efi: query Secure Boot status according to UEFI spec Message-ID: <20160302133846.GH2649@codeblueprint.co.uk> References: <1456273509-25249-1-git-send-email-linn@hpe.com> <1456445895-97647-1-git-send-email-linn@hpe.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1456445895-97647-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: 825 Lines: 22 On Thu, 25 Feb, at 05:18:13PM, 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 > > 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 | 49 +++++++++++++++++++++++++-------- > 1 file changed, 37 insertions(+), 12 deletions(-) Both of these look fine to me. Mark, since you gave feedback on the first version, are you happy with v2?