Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp843089ybt; Fri, 19 Jun 2020 15:31:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0Xs4SYZVd3xdUI/2UgLSboQwidUb6eq7yKrzyIxV3YBJph72O1f7escrhFwRqQS0g2dR4 X-Received: by 2002:a17:906:138b:: with SMTP id f11mr5547829ejc.288.1592605880829; Fri, 19 Jun 2020 15:31:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592605880; cv=none; d=google.com; s=arc-20160816; b=oHbhRQz1wLQ+jEJuRS4AbpG3O7aQC2lOqshY9VLuQio3FCnpUK+o35CWNQmeapkMT/ AO2wwG+Sxh9NGUal6KgCZJ8Z/NzB1ImD1cYGE21VVSYOJaWNjrTn8jh4IWNBxsWuayT+ B0RX4U7b4rN8prNWBJsH8tToFbQbUFWI/Pg4NiUKP9RWbfGNwYe4idsbLTrUiPFjdTB6 txl6/djOLTLNK4wSExIkwOMXJc3uZ+bgGaEJKiFkgSYmqeOlGe8XsZ+osLRgjddvlHpn CQ0JAH6OxKjgtfqzVZhv2kTgqRRQ5B7ZrjE9TMAVpxisBezfv11ofW3gB/M8KwkUODdB xotA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=irvREyC0x3SjHT0TfScPJLInEC5RD3lFKq1Kc4rxg7o=; b=wF5Q5yCNoJOGXE7yDjgXaOw2v2XMWNieJdxSpEH4i0kqarJnTplJKL//66mkh7ZM1/ fJjXsYxLPJW6Ib8WGtmnsb7mP/yrcFu7ok+IvIMnwQTwm3z333gJxqohjnrkyGtAWVxN AGaV4JGuDCZQ7RqQt10NeKmObfEQtYQBISkEbOl0avC+csW/AIF/VBizkZzhgP0WF6gv grEXzNndZfJCsyMd2mFvcon/2Goi5OYhdlRBh91cOAa88DubWQZw8RpPTyUSXs3bweew QQp5Q54IUcovBYxDKhb/p0iOJSA1hMm+1NyDmcHPBZC1hkC95djXRquVGsQRk5stv7K4 gJ7A== 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=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dd10si4609502edb.245.2020.06.19.15.30.58; Fri, 19 Jun 2020 15:31:20 -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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390963AbgFSPPq (ORCPT + 99 others); Fri, 19 Jun 2020 11:15:46 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:2274 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392419AbgFSPPb (ORCPT ); Fri, 19 Jun 2020 11:15:31 -0400 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 05JF3QjF114727; Fri, 19 Jun 2020 11:14:26 -0400 Received: from ppma03wdc.us.ibm.com (ba.79.3fa9.ip4.static.sl-reverse.com [169.63.121.186]) by mx0a-001b2d01.pphosted.com with ESMTP id 31rkgjw7b2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 Jun 2020 11:14:26 -0400 Received: from pps.filterd (ppma03wdc.us.ibm.com [127.0.0.1]) by ppma03wdc.us.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 05JF9wSk027687; Fri, 19 Jun 2020 15:14:25 GMT Received: from b03cxnp08027.gho.boulder.ibm.com (b03cxnp08027.gho.boulder.ibm.com [9.17.130.19]) by ppma03wdc.us.ibm.com with ESMTP id 31q8km3xuq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 Jun 2020 15:14:25 +0000 Received: from b03ledav002.gho.boulder.ibm.com (b03ledav002.gho.boulder.ibm.com [9.17.130.233]) by b03cxnp08027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 05JFEM0r10420970 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 19 Jun 2020 15:14:22 GMT Received: from b03ledav002.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 37C3613604F; Fri, 19 Jun 2020 15:14:24 +0000 (GMT) Received: from b03ledav002.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4C39D136059; Fri, 19 Jun 2020 15:14:21 +0000 (GMT) Received: from sbct-3.pok.ibm.com (unknown [9.47.158.153]) by b03ledav002.gho.boulder.ibm.com (Postfix) with ESMTP; Fri, 19 Jun 2020 15:14:20 +0000 (GMT) Subject: Re: [PATCH v3] acpi: Extend TPM2 ACPI table with missing log fields To: Jarkko Sakkinen , "Rafael J. Wysocki" 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 References: <20200331214949.883781-1-stefanb@linux.vnet.ibm.com> <20200401083729.GD17325@linux.intel.com> <20200402192145.GB10314@linux.intel.com> From: Stefan Berger Message-ID: Date: Fri, 19 Jun 2020 11:14:20 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200402192145.GB10314@linux.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216,18.0.687 definitions=2020-06-19_16:2020-06-19,2020-06-19 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 suspectscore=0 clxscore=1011 priorityscore=1501 bulkscore=0 adultscore=0 mlxlogscore=999 impostorscore=0 phishscore=0 cotscore=-2147483648 lowpriorityscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2006190107 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? > > /Jarkko