Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3227136ybt; Mon, 22 Jun 2020 19:06:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPyVHAgkmbl0vfhlhgkcppWMwJfx/VPTiD3J+Sk0Di0bF0xAWGrPuZiZvDtDA8KBfCmSNa X-Received: by 2002:a17:906:7f94:: with SMTP id f20mr18894044ejr.394.1592877962082; Mon, 22 Jun 2020 19:06:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592877962; cv=none; d=google.com; s=arc-20160816; b=oFPxE3yuex7RMrs873PiPs1Eco2lGPdpCPNG2QSGRU9fp07PX2Rl3REio5fNBc5vf+ ZuVbxPlCodbj/V7WlSIc5rf+8KKlkCEUWckeW9MuWBHhzQtq24744Eqnl/LTMu5xHQOF pr6zN1/j/1StEwttJFAJb0/lM29KKMuFEU8N0Tz1H4R7kVzCRgMuN1uk2OV4Suc1Pexl 02hg/IS4YfNA0ly5SL4EpMtT9GCrwIsDdWx/3OQLoYkQAfV0DbSh3TVNZYfKMIrAJtbo Yzec/SxX7zHwOf/WaDi0XQFUAK2Jy2I+LjtHGyW8VpP6URMG6Eg7dkgfZfLCeSMt1lgG EopA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=H0IVpVt6c63Ui/5Juf35mbcldOYtmY8LDFSKQ2yY+Eo=; b=nIJVB+fv2UattiMpz504yiAAX7e/o50jfDo91LOl03rqn3p5N+IvgdTlF92VCT9VQs FvakrQevkqhf7u1zKEcrMv5/IlDAlbCtpR1Ln9JQBZDxXKbDGm+NZgl4fdS3nbFQ3AeF KeVjIxQHFlEyqRhBbLpZO4nsgzSZldOV6zIQQ24bGLeSyhuZm+IuuukG9QPqmk/qRb1+ XAb021/VL6ZO8GVvvc3QuLbZu//hVJ/OCWeGbNKFXBUOb60dLb3xJFigBwooxfO04aIm xod/fBuo+UcqfkYHqaY6yoY1MwiRjFNoWzoDtHDJpkWzoxB5NwZqypP780JzDEqaV7m5 dblQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a3si2418272ejr.543.2020.06.22.19.05.39; Mon, 22 Jun 2020 19:06:02 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732364AbgFWBBr (ORCPT + 99 others); Mon, 22 Jun 2020 21:01:47 -0400 Received: from mga04.intel.com ([192.55.52.120]:11117 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731716AbgFWBBq (ORCPT ); Mon, 22 Jun 2020 21:01:46 -0400 IronPort-SDR: nl7/bIQUFrNWYd6bu2wNvKwDfaPELtyqfx6ZdCzpfbzqyj9t6H1c8IqVgJyVRC0/1SS1WL3KI9 8FJeZa7p5d1g== X-IronPort-AV: E=McAfee;i="6000,8403,9660"; a="141425106" X-IronPort-AV: E=Sophos;i="5.75,268,1589266800"; d="scan'208";a="141425106" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2020 18:01:46 -0700 IronPort-SDR: NE1jdYf5mCaTDgWZHfBZz5vrU3z65I4bUm3vRUCgWwEXNgEACik/CmwuOZ+mtzDo0jlRVpGT3E nMOaYKljIYrg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,268,1589266800"; d="scan'208";a="301029996" Received: from jczajka-mobl.ger.corp.intel.com (HELO localhost) ([10.249.40.133]) by fmsmga004.fm.intel.com with ESMTP; 22 Jun 2020 18:01:42 -0700 Date: Tue, 23 Jun 2020 04:01:40 +0300 From: Jarkko Sakkinen To: Stefan Berger Cc: "Rafael J. Wysocki" , Stefan Berger , "Rafael J. Wysocki" , linux-integrity@vger.kernel.org, ACPI Devel Maling List , Linux Kernel Mailing List , linux-security-module@vger.kernel.org Subject: Re: [PATCH v3] acpi: Extend TPM2 ACPI table with missing log fields Message-ID: <20200623010140.GF28795@linux.intel.com> References: <20200331214949.883781-1-stefanb@linux.vnet.ibm.com> <20200401083729.GD17325@linux.intel.com> <20200402192145.GB10314@linux.intel.com> <20200623005647.GD28795@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200623005647.GD28795@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 23, 2020 at 03:56:53AM +0300, Jarkko Sakkinen wrote: > On Fri, Jun 19, 2020 at 11:14:20AM -0400, Stefan Berger wrote: > > On 4/2/20 3:21 PM, Jarkko Sakkinen wrote: > > > On Wed, Apr 01, 2020 at 11:05:36AM +0200, Rafael J. Wysocki wrote: > > > > On Wed, Apr 1, 2020 at 10:37 AM Jarkko Sakkinen > > > > wrote: > > > > > On Tue, Mar 31, 2020 at 05:49:49PM -0400, Stefan Berger wrote: > > > > > > From: Stefan Berger > > > > > > > > > > > > Recent extensions of the TPM2 ACPI table added 3 more fields > > > > > > including 12 bytes of start method specific parameters and Log Area > > > > > > Minimum Length (u32) and Log Area Start Address (u64). So, we extend > > > > > > the existing structure with these fields to allow non-UEFI systems > > > > > > to access the TPM2's log. > > > > > > > > > > > > The specification that has the new fields is the following: > > > > > > TCG ACPI Specification > > > > > > Family "1.2" and "2.0" > > > > > > Version 1.2, Revision 8 > > > > > > > > > > > > Adapt all existing table size calculations to use > > > > > > offsetof(struct acpi_table_tpm2, start_method_specific) > > > > > > [where start_method_specific is a newly added field] > > > > > > rather than sizeof(struct acpi_table_tpm2) so that the addition > > > > > > of the new fields does not affect current systems that may not > > > > > > have them. > > > > > > > > > > > > Signed-off-by: Stefan Berger > > > > > > Cc: linux-acpi@vger.kernel.org > > > > > I think I'm cool with this but needs an ack from ACPI maintainer. > > > > > > > > > > Rafael, given that this not an intrusive change in any possible means, > > > > > can I pick this patch and put it to my next pull request? > > > > Yes, please. > > > > > > > > Thanks! > > > Great, thanks Rafael. > > > > > > Reviewed-by: Jarkko Sakkinen > > > > > > Do you mind if I add your ack to the commit? > > > > > > Any chance to get v4 applied? > > You should split the actbl3.h change to a separate patch and add 'Cc:' > tag to Rafael to the commit message. Send v5 with Rafael's ack (no need to split anymore). /Jarkko