Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2768107ybb; Mon, 30 Mar 2020 12:29:37 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsGI0VpOAcfO3iKABviLuQPJRPjTnj/E7tuqgVL3mPrVlAJq/FBFip6OBxaKwnO3YGTKfu6 X-Received: by 2002:a05:6830:168b:: with SMTP id k11mr10903389otr.156.1585596577648; Mon, 30 Mar 2020 12:29:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585596577; cv=none; d=google.com; s=arc-20160816; b=zytHAv5imbbuH79fKeWozj73VPFf3V8dnpRlGUQe0wmqz0QvSc69zu5nOKadhlP9ux QLAnF0KzBDBV3rzQWOMs9tuTnFjPYzQIPzUG77ISVhE6Pc2xlw+mAHXNInpTgnxW07Mv yqNSpP1kTOOGhXlRt3Uwb8JYZefJbjx2YFjkTqDw+DhHOTaWX+XABinZscdEb15SMJHd v5di5cOQtzlOzLG6amsWhI5bT1IHZAIuXUSLRgL6Emoj5ZKlZNTUvmoJ+UmG7RzlrZ0Z P2K26JyOvqjWFoUuLRSi9ZhvU+kagfYMOW0a/w2iwxJNcDq9Rio6BXwbliTcI+JyAuW1 cBrg== 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=T8Gf3p1U3IpQBURWKLMwjbQs6ha5xNn5VbFM2LqBSh8=; b=De+WKM03+0TxiHnGWtdWsoCNjdKixBhiXZpCu81XiJowb8peUx10WQgQAypOEtLnK8 Yjx3UxJnqszw+JJ2bADliMkxDyLTskuwltyeLXanXAEbdzFhrBuE2LSXt56tHTQrufk9 TTbD5kyqBjTos+8GMyEg4cvtfEVMQEjt4hCnOmMUiA8aEXYADDb+eLUJ+IyVYm9yJMgE kfqGh/iw5kqen5gCsKI20+HxMZFYlw8nDvYABP+IZ9vxzXIq0O9PBSTY9EBKAN1UTgXY UWg9msZNMYzBWkqh/KIm7GzumyXDndRKlOBLBb0ykCdgi5L7sM3C2WH9AyguQbR/mgkg snYg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id d22si6633766oti.316.2020.03.30.12.29.23; Mon, 30 Mar 2020 12:29:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1728000AbgC3T3H (ORCPT + 99 others); Mon, 30 Mar 2020 15:29:07 -0400 Received: from mga02.intel.com ([134.134.136.20]:22494 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727148AbgC3T3H (ORCPT ); Mon, 30 Mar 2020 15:29:07 -0400 IronPort-SDR: 3yCyZfIqM4dAoYzPZbhDDq4ByCi9kAeXnRq5cpl1w7H3bKNMkvKURhbyOQAUTTYgJLqt3f/hTR GHX+Weq9Smwg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2020 12:29:01 -0700 IronPort-SDR: XD/mPKGOPiBS2NXFfFRIh4DdUx3daTI3za0y7HR2QMWFaRFqs4r+MZzAeUxb9RIXdW6XqLFohE lfct1hrPGX0A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,325,1580803200"; d="scan'208";a="294705053" Received: from plachner-mobl.ger.corp.intel.com (HELO localhost) ([10.252.35.129]) by FMSMGA003.fm.intel.com with ESMTP; 30 Mar 2020 12:28:58 -0700 Date: Mon, 30 Mar 2020 22:28:57 +0300 From: Jarkko Sakkinen To: Stefan Berger Cc: linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-security-module@vger.kernel.org, Stefan Berger Subject: Re: [PATCH v2 1/3] acpi: Extend TPM2 ACPI table with missing log fields Message-ID: <20200330192830.GC1384380@linux.intel.com> References: <20200330151536.871700-1-stefanb@linux.vnet.ibm.com> <20200330151536.871700-2-stefanb@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200330151536.871700-2-stefanb@linux.vnet.ibm.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 Mon, Mar 30, 2020 at 11:15:34AM -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. > Cc: linux-acpi@vger.kernel.org > Signed-off-by: Stefan Berger You have this comment: /* Platform-specific data follows */ Can you elaborate a bit which platform you are speaking of? It is now enabled for everything. /Jarkko