Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp405395ybb; Wed, 1 Apr 2020 02:18:28 -0700 (PDT) X-Google-Smtp-Source: APiQypLu/nHD7idp8u7RrjUODdtm2Cd9PVA/DzFiS17n9pnluFWg4Zvh4d9dGejJ1tkjJApzzpnt X-Received: by 2002:aca:3302:: with SMTP id z2mr2121231oiz.3.1585732708012; Wed, 01 Apr 2020 02:18:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585732708; cv=none; d=google.com; s=arc-20160816; b=PQoQXgEjryEVe4hqLN22D+VHAyVs0v2W0LNquGZiifI90PECz6k6r2J8xZPTB7OJN2 x2ZyYaJxoeoVw+am9vrXNC2owwfP7FQiN4NY+OQyzBfCK558ysO8uyfzgOCpYYvkJTJ4 QiUJoqr5yrJabTQ+wbD6sMdKVXAgbBz3Qx6Gn6yoyvO2KvBXxDTZBk52lXtOsnb4cXgQ C1UhAf4JwNFMUr2e0xgfCAcXDP2sfDt4UwX/uo/Oyj4R5b7JJfcRcOd3h7hzOSt71ieA xTZhoM4iyRq2rEoookr14zuwEdErx2+NWSlA00QPHLE1T7rJsQbZQvIp4ZsTGo158Av2 ymQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=3Fstvq6bf/isSvXClPNvU/mMqL1HK/pXGHf70k9sUOo=; b=Welkx9bBPJjdRXpc/JPJ1vLE97yhXXNBr0hMkH0m+0gjM+WyA9JIkqBZPaxrP31pAy VVbod3TjoSgyZQzrBoQNAH2SoQQNXbks8ZndB+CXpuYxQkEw9pFCbsNfWA+6VzCrA1A8 UH+Hgl9XmFEh3vMVTrRDz3luJ91XrjGjcKKj2fD5S96Wf2meTkfiwePZZHoQPmfQOi6X 8+U0c4rgfkUl+cVS+IC0d4ENaJve8QMCYf03s6ZV3gvh//UesO+DSwinOiTCRfW6wRqx +j9ExNohkuTi+Dso0qp/vZFjzw1OjuxiSRKcgSESA0iCIiQPKj/zBTgnPIqg2XEpMdK4 7N9g== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s63si693347oig.69.2020.04.01.02.18.14; Wed, 01 Apr 2020 02:18:28 -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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731997AbgDAJFt (ORCPT + 99 others); Wed, 1 Apr 2020 05:05:49 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:35003 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728087AbgDAJFt (ORCPT ); Wed, 1 Apr 2020 05:05:49 -0400 Received: by mail-ot1-f68.google.com with SMTP id v2so20595618oto.2; Wed, 01 Apr 2020 02:05:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3Fstvq6bf/isSvXClPNvU/mMqL1HK/pXGHf70k9sUOo=; b=knfpKXqvnLZzXvI4ynzplYgQYdnP6nXqncQM723/3EkvYgkE8EvFWO8h7kwBfPe0LE mR47Pa/+cZcdNO7lJ1j7mU6MnUQUYkeu/brEAhh+yD3V/ORqMjvEIThWQgx6N9mnXTBf /ICtFFh6kAbCsUuMQZPoG1ebFbK4y/VLFaigUc6Vqbs3Jn5xW70VzlwQEZUxrhh9Dx6Q k6wv2gO4S+nCGGTfVnikmavK+VJ2ScNXtbcamoFzeW38cOYbWRASDbpdPULRtYsozR9Z tE7ZpyAmcExwoMq7HCGoM1xyLwNZM45biBlouJFHh7OTwn8BZYzMYgEeswn5Ob1zOTyl +teg== X-Gm-Message-State: ANhLgQ22Can+bKJ/LOIqQ2x0xPwu9ilzU9hKTOf7NxggGDqph2uZLqNy o7QV6PmuiZUzwWVa+B87f9PybZ8W7vrX1/8bVFLhWg== X-Received: by 2002:a4a:7555:: with SMTP id g21mr16266455oof.46.1585731948303; Wed, 01 Apr 2020 02:05:48 -0700 (PDT) MIME-Version: 1.0 References: <20200331214949.883781-1-stefanb@linux.vnet.ibm.com> <20200401083729.GD17325@linux.intel.com> In-Reply-To: <20200401083729.GD17325@linux.intel.com> From: "Rafael J. Wysocki" Date: Wed, 1 Apr 2020 11:05:36 +0200 Message-ID: Subject: Re: [PATCH v3] acpi: Extend TPM2 ACPI table with missing log fields To: Jarkko Sakkinen Cc: Stefan Berger , "Rafael J. Wysocki" , linux-integrity@vger.kernel.org, ACPI Devel Maling List , Linux Kernel Mailing List , linux-security-module@vger.kernel.org, Stefan Berger Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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!