Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp377553ybb; Wed, 1 Apr 2020 01:38:29 -0700 (PDT) X-Google-Smtp-Source: APiQypKnNZx1VVi4c2JrJB6goGfOTS86sOhSKW+7PklCQd9SqwcM5HXyHhZfHtblt+c4+WXToKDA X-Received: by 2002:aca:891:: with SMTP id 139mr2008185oii.137.1585730309232; Wed, 01 Apr 2020 01:38:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585730309; cv=none; d=google.com; s=arc-20160816; b=LFgfAoC7cDuRyiIrkesBgpuYmLAKuuiVnptb3cT5B+GrxThJEcRSU4VMr8no8KFbjc uONtlxU+RJpBWPc5On36tvLvL8yhm7cHsrhfZqPXPyLZOzOp/8+zduHSeS2Ce7Cw0qTj AWsSVO60AKG5KxoKqRn/kMe+S7PsZeUSKpxgY6jmWVyrC0ZutQ83oNBQz+YaJnyLMofr Q8uUwFC9WeoGNG+6HvKloNxBiuGZbEbTFlYWAmga1KTGRZbA0UZHFJuCYcLH5ZfCOejj 8+leqoousBUNtCMtq181wM0aZjVuqvx9oEbG9zBEXra7yeQ1w+KeuKVyHJwmL4swbSZR wdOQ== 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=SvWreq3TUGmHoo/3uOp8aECOMtuOxBCygen6eXX0dEI=; b=mwRe0ux1MRGIU4XAj8u+MchFdV8jsUQEwhbe3233vAIWMHPHUFC0Ol9/ctT5Olof2c pksnu2iKoWeftAgkyNcBLlXdGWeUDn3kFeKeL2gkXI/P/74cbc/Uu2yY64zhYUQ7EJvT 57DgQDb4qvOs4NwJjkkCNvUtfb89Pn3+05EJv7ssAjSkBHTLz/jBLHufLJUk2yW44x5d mF0yy+3fZoxWsapo71MwRyPQ1BBA/1QtgoMPUthTm7oliMXd6czn91NHjj9lNMlWGfmX GhCu+OB6Dm6SmabOxVXBMzM/HhLMzKIiQz9WChkflZ5A4JVg8YVrZVNR2/Wofidix6rR XJoA== 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 y15si518080otk.125.2020.04.01.01.38.16; Wed, 01 Apr 2020 01:38:29 -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 S1731770AbgDAIhm (ORCPT + 99 others); Wed, 1 Apr 2020 04:37:42 -0400 Received: from mga18.intel.com ([134.134.136.126]:4228 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730821AbgDAIhg (ORCPT ); Wed, 1 Apr 2020 04:37:36 -0400 IronPort-SDR: AcdjHQV8OvQKXXJ5fpFG+xxnofjEeyp1ovN3+DpD60MFBOJbom9Q8BmBvO0+v5A+5ABAB8BJsg K060/dbiKm8Q== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Apr 2020 01:37:35 -0700 IronPort-SDR: /b9M4uVVdfFwYF+eLcG0YgHzbAm+2wMrLNO/iMT7tdQjqU/n6RCUDHEDg1dQhNsSmXKOCvkOF6 EtGE4tXUYcpQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,331,1580803200"; d="scan'208";a="422630387" Received: from vikasjox-mobl.amr.corp.intel.com (HELO localhost) ([10.249.39.53]) by orsmga005.jf.intel.com with ESMTP; 01 Apr 2020 01:37:31 -0700 Date: Wed, 1 Apr 2020 11:37:29 +0300 From: Jarkko Sakkinen To: Stefan Berger , rjw@rjwysocki.net Cc: linux-integrity@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, Stefan Berger Subject: Re: [PATCH v3] acpi: Extend TPM2 ACPI table with missing log fields Message-ID: <20200401083729.GD17325@linux.intel.com> References: <20200331214949.883781-1-stefanb@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200331214949.883781-1-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 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? /Jarkko