Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751362AbcCDLJJ (ORCPT ); Fri, 4 Mar 2016 06:09:09 -0500 Received: from foss.arm.com ([217.140.101.70]:43345 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750777AbcCDLJG (ORCPT ); Fri, 4 Mar 2016 06:09:06 -0500 Date: Fri, 4 Mar 2016 11:08:54 +0000 From: Mark Rutland To: Linn Crosetto Cc: matt@codeblueprint.co.uk, ard.biesheuvel@linaro.org, roy.franz@linaro.org, mingo@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/2] arm64/efi: query Secure Boot status according to UEFI spec Message-ID: <20160304110853.GA29227@leverpostej> 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.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 851 Lines: 25 On Thu, Mar 03, 2016 at 02:45:48PM -0700, 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(-) For the series: Acked-by: Mark Rutland Mark