Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp78012ybt; Thu, 9 Jul 2020 16:01:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynOd8HIKtuIMBAamJ/wFWC9JxKQs6b8RpBiMv3ZV5/vvPo0pesnR9A3q8UFdpRybBG5OEx X-Received: by 2002:a17:906:edb3:: with SMTP id sa19mr57445221ejb.21.1594335695925; Thu, 09 Jul 2020 16:01:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594335695; cv=none; d=google.com; s=arc-20160816; b=xVRfupmBG/DcOdVqkWAsMMQZgfT9SA4c+EwBFB39+I3HXdxM/s/EFPiUOsPYidz49j xh6l2sIiWnBouEjkr062RbkyAzK4u+itBkHMkWqfUv1yAzEsqsocyhYuoGJ/+mi9HIbP 5lR/9uKpISHybiOCyHwc1PrxYpoT2vh6y1I6SNocLdxjBlZzbE3nXzq50frYfdczbmSz XrhX+EuCFT7uXZhaLairx3Bw8bf++3XkZqeUd8Ch06eMtjIOnuGxEk0lPvE4aLkTHlHE QUDCZs/dii1djar5UvgxmxGjflByle8jQfjcFyBT0FiDocbaVoZR1ciRu1tEYgHv6kJm jh1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=hSzJx2wtRzs8tVYEA8JZveVIM1/46jY2Nc6LR+6a8eQ=; b=RWGasQ/AdECp6MM1LCQe7z70igGyIY6HhZz2Hmd1NMw51zp8teNvDdYb8Rhcmep+Sc rJUDkx7wy1oIQWZ1e4muqKojCq+f3qygIx3TEFnke1eLcufXZENmV8rhy3jpMA8faLog Oogc1xdRGClENBAZzFHsbNs02QcCZpkfoVf36RUcO4YO0WPYP6wtgAH1l5rUNPxPycQV +f1cC7QVY8Q8i3vhZDy7z0bcoX1et2K8t8FyKph8EQZ1rRnpl2UdbRknAepsSnKA1Zy+ +OwiAuuGFqyZkfEK9SNgzSoWPYdv12/2d+HWQ+ZLJg1UHGcyWlf9vbQmINWSscmKOB0j luzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=rSk5WGGO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v10si2654507ejb.350.2020.07.09.16.01.12; Thu, 09 Jul 2020 16:01:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=rSk5WGGO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726945AbgGIW6e (ORCPT + 99 others); Thu, 9 Jul 2020 18:58:34 -0400 Received: from linux.microsoft.com ([13.77.154.182]:55292 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726889AbgGIW6e (ORCPT ); Thu, 9 Jul 2020 18:58:34 -0400 Received: from sequoia (162-237-133-238.lightspeed.rcsntx.sbcglobal.net [162.237.133.238]) by linux.microsoft.com (Postfix) with ESMTPSA id 7CF3B20B4908; Thu, 9 Jul 2020 15:58:32 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 7CF3B20B4908 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1594335513; bh=hSzJx2wtRzs8tVYEA8JZveVIM1/46jY2Nc6LR+6a8eQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rSk5WGGOxrF25+SM75K/PBmOHPatBSoFi5EA1+37GzkrFox6aXG2W26Y4Rlpu8Szf 5yXyDBc3XeLf2DF2jjnRfAGARelF7M2sQA7qCez+gwAoizU4ysAQcEWlaoGkjHGLzo jZk1MKmAQcVBakotL38XMKeFn0+YsOHsbgEn+3SQ= Date: Thu, 9 Jul 2020 17:58:23 -0500 From: Tyler Hicks To: Jarkko Sakkinen Cc: Ard Biesheuvel , Matthew Garrett , Peter Jones , Peter Huewe , Jason Gunthorpe , Petr Vandrovec , Nayna Jain , Thirupathaiah Annapureddy , linux-integrity , linux-efi , Linux Kernel Mailing List Subject: Re: [PATCH] tpm: Require that all digests are present in TCG_PCR_EVENT2 structures Message-ID: <20200709225823.GA4939@sequoia> References: <20200615232504.1848159-1-tyhicks@linux.microsoft.com> <20200617230958.GC62794@linux.intel.com> <20200630183321.GE4694@sequoia> <20200702235718.GI31291@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200702235718.GI31291@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-07-03 02:57:18, Jarkko Sakkinen wrote: > On Tue, Jun 30, 2020 at 01:33:21PM -0500, Tyler Hicks wrote: > > Jarkko, is this an ack from you? > > > > Is there anything I can do to help along this fix? > > > > I've spoke with two others that have poured through these specs to > > implement firmware event log parsers and they thought the change made > > sense. > > > > Tyler > > I revisited the original patch and this stroke into my eye: > > "This is true, for example, when firmware passes the event log to the > kernel via a reserved memory region described in device tree." > > During this discussion you gave an explanation what can trigger the bug > but in the commit message nothing anchors to anything. > > Please give a concrete example what can trigger the issue directly in > the commit message instead. It's obviously needed. > > In addition, you could also rewrite the existing inline comment to be > something more reasonable to the context. These are all fair points and I also see that there's a new conflict with the TPM next branch. I'll rebase the patch on the current next branch, expand on the commit message, and improve the comment in v2. Tyler > > /Jarkko