Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966116AbdIZMtz (ORCPT ); Tue, 26 Sep 2017 08:49:55 -0400 Received: from mail-it0-f48.google.com ([209.85.214.48]:47027 "EHLO mail-it0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964940AbdIZMtw (ORCPT ); Tue, 26 Sep 2017 08:49:52 -0400 X-Google-Smtp-Source: AOwi7QA/spDtxrZYNE+OZZdTBpSy5ra7QgI1sHmxp0N9jTd0AhoQF+uNhP6tmecigaKuC+jV/ohglvXhQPUl3kBI+1s= MIME-Version: 1.0 In-Reply-To: <20170926114538.r5hsyc5osodpaals@linux.intel.com> References: <20170920081340.7413-1-tweek@google.com> <20170920081340.7413-5-tweek@google.com> <20170926114538.r5hsyc5osodpaals@linux.intel.com> From: Thiebaud Weksteen Date: Tue, 26 Sep 2017 14:49:31 +0200 Message-ID: Subject: Re: [PATCH v3 4/5] efi: call get_event_log before ExitBootServices To: Jarkko Sakkinen Cc: linux-efi@vger.kernel.org, linux-integrity@vger.kernel.org, tpmdd-devel@lists.sourceforge.net, Ard Biesheuvel , Matt Fleming , linux-kernel@vger.kernel.org, Matthew Garrett , peterhuewe@gmx.de, Jason Gunthorpe , tpmdd@selhorst.net Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1587 Lines: 37 On Tue, Sep 26, 2017 at 1:45 PM, Jarkko Sakkinen wrote: > On Wed, Sep 20, 2017 at 10:13:39AM +0200, Thiebaud Weksteen wrote: >> With TPM 2.0 specification, the event logs may only be accessible by >> calling an EFI Boot Service. Modify the EFI stub to copy the log area to >> a new Linux-specific EFI configuration table so it remains accessible >> once booted. >> >> When calling this service, it is possible to specify the expected format >> of the logs: TPM 1.2 (SHA1) or TPM 2.0 ("Crypto Agile"). For now, only the >> first format is retrieved. >> >> Signed-off-by: Thiebaud Weksteen > > Does not apply: > > Applying: tpm: move tpm_eventlog.h outside of drivers folder > Applying: tpm: rename event log provider files > Applying: tpm: add event log format version > Applying: efi: call get_event_log before ExitBootServices > error: sha1 information is lacking or useless (drivers/firmware/efi/efi.c). > error: could not build fake ancestor > Patch failed at 0004 efi: call get_event_log before ExitBootServices > The copy of the patch that failed is found in: .git/rebase-apply/patch > When you have resolved this problem, run "git am --continue". > If you prefer to skip this patch, run "git am --skip" instead. > To restore the original branch and stop patching, run "git am --abort". > > Just rebased my tree to the latest security-next. It applies fine on security/next-general which is more up-to-date. (security/next does not include ccc829ba3624beb9a703fc995d016b836d9eead8 on which this patch set is based) > > /Jarkko