Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2084183ybb; Thu, 2 Apr 2020 12:47:32 -0700 (PDT) X-Google-Smtp-Source: APiQypLFHosQwwHUehR9FhW7b0PB/SkaNpasm0hxHMnV+fMuCEVQDwGINuODqphtKReydsBzJVNy X-Received: by 2002:a9d:7a7:: with SMTP id 36mr3868643oto.283.1585856852758; Thu, 02 Apr 2020 12:47:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585856852; cv=none; d=google.com; s=arc-20160816; b=JBHuaRI5TMjwOrQ7iquLuKU+dhJpyUhNKxVT1h4EkZfF4/Ub3JuuXI6CZ3LZMtR31N 0Q5mP8xILpH0Mi8x6GSqLE3AByDlxs0kWvhSGdVfxwyuDfKSeLPp8D79Cc3W+idQ2GqD ZmmfFP5CgJFliYNp2Voo6kFLDyMIlcFUtmsJaiZtrR5BxL9zM0wGWPP5NSWs1mM0vzTC 7lFLGxM0iMGt3Xknn5wWh3ZGMbM07CeME6BTo7+2yp22X5g4GTNSljcUVBPVvjjjQ6k+ JnI1RCGCVqj0gREJ0+UVoVfpHVrozUe80yK3I5KhaZGCn0i4orTeZecAiL7FXn11Vvt6 jjvQ== 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=I7TaLMBKA41fywcK/kbRKiPcILL9lQzT9QbmR4hJzPk=; b=MkHzSnFa/h/XbaLiGimML8DCap/xAnU1ks5taKk0iM9BS+84h0aNpCtadA5O/Q0FX8 YenGFVFWfaNd4zoM4yns/mTLiG7jDRf/kC/EWoV+oY6LKujhOWrREqFtgnBDRgrgXHnU EfwXnnMJ/YhfVR/EJ4GqiciYQd2aljb5MEmHdM9n5D1d3yy82NtwvhPmu3tf7eGUehpr NAUfcO056/NCTuJsVAH1kBc5KhbxWZbg1HwRz88TNfdv3ZpUKb4AwAW9Ef+NSZN9DobD VSKDUH/kHXYB688n+Dfm89JB7XuxE2IMqQt3E1KTngf7jFCjq2+8WYGTNCOYdj3UfQAe Jdrw== 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 p187si2766557oop.28.2020.04.02.12.47.20; Thu, 02 Apr 2020 12:47:32 -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 S2389855AbgDBTWD (ORCPT + 99 others); Thu, 2 Apr 2020 15:22:03 -0400 Received: from mga11.intel.com ([192.55.52.93]:40920 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732625AbgDBTWD (ORCPT ); Thu, 2 Apr 2020 15:22:03 -0400 IronPort-SDR: LVoV64XSlcBf2YFP5MixYctj01nU7A/aoWUnZ57XQZG5z8aROlLEzGywkiJMki3K3FDgpL0Fic oonUTB1XRcUg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Apr 2020 12:22:02 -0700 IronPort-SDR: HPlrlLEifWROXK4+Dc1PcEvewa6yrANYd49N+uhhrAgGykfTHlVfk/hOoA+z5G7tR9/eMPMwPE q7MhMagLko8A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,336,1580803200"; d="scan'208";a="242612758" Received: from hbriegel-mobl1.ger.corp.intel.com (HELO localhost) ([10.252.39.101]) by fmsmga008.fm.intel.com with ESMTP; 02 Apr 2020 12:21:58 -0700 Date: Thu, 2 Apr 2020 22:21:57 +0300 From: Jarkko Sakkinen To: "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, Stefan Berger Subject: Re: [PATCH v3] acpi: Extend TPM2 ACPI table with missing log fields Message-ID: <20200402192145.GB10314@linux.intel.com> References: <20200331214949.883781-1-stefanb@linux.vnet.ibm.com> <20200401083729.GD17325@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 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? /Jarkko