Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp976858ybt; Fri, 19 Jun 2020 20:16:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywGlgKKEc6J3Hsn/3xE1vc/68Qym0yM1NP5wN34DhQuAU5KBfzkFgRfoIAJrF3W9HArOKT X-Received: by 2002:a17:906:2e9a:: with SMTP id o26mr6268676eji.538.1592623013624; Fri, 19 Jun 2020 20:16:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592623013; cv=none; d=google.com; s=arc-20160816; b=bQ5VUII6qmBz7usRNkLCANRLnUo+0Xx0TH85vC9M0VhabjaTo5lV34KnqvGRqZ4IeR q22htjmqwnyvZdk0uYdXin5q4A/aah40FFldgQ6HXGN+yPMk4F+K9XxBNfNDRXMNvU9I 4OVYRnRqW7DKwJiMD6fHJDp+C8zHCEJ3OvMA7zvEZkJhHcUOH0vLJURJ6huZEi9y0JyD HW/8r+vmufIGxDnJt7mcGpzb2qVZfwFEw1WeypREUkjPfS4xaja/ZaAN+4lKnsmuP34T UyN1kf4hq2IEzPn3I1QTb/jzn2DoW2KIdyiQ+ksAAqI7nuACqzsLHlEgEukq3X0Tp3N5 IECw== 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=sKylRjNEpAqnQ+WaZirKknI5bexwPLrj3iuq9vdD0CA=; b=t8gJwWBWNiptXFPinT/sUGZ0ZFi8OMGH8N6OQm3DYP4Ues8flUuEUKJ2PSaUBmdsOx bHH7K/oxM5Dca7XPGRinMbHjCCKYvrMhLlB7xCcoA3v4hxyeSmHSRLkkuEj3/o8El3dU cybk8qnQ/LGeQ4be852GhsjK3g7rGCooA4VugsTkpcafpIggcJWcqRkiYUXkiIPiJAgK yWH7nIROrWfDQxD8DVFfmhb14BIMBohpZ1gU+fE+0CPV08zt1v9WE4uOiZQltqOUdu5W b5bFEgc3VLgJ/pAFoz6Dagl3ZKXlbt2p0yqQ3WBRRoTVIzG1go5/sn3YWqBfK/9En1+D tCdQ== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y6si4786774edu.513.2020.06.19.20.16.25; Fri, 19 Jun 2020 20:16:53 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388244AbgFSPze (ORCPT + 99 others); Fri, 19 Jun 2020 11:55:34 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:37479 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392508AbgFSPzc (ORCPT ); Fri, 19 Jun 2020 11:55:32 -0400 Received: by mail-ot1-f65.google.com with SMTP id v13so7646330otp.4; Fri, 19 Jun 2020 08:55:31 -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=sKylRjNEpAqnQ+WaZirKknI5bexwPLrj3iuq9vdD0CA=; b=X/TKFmBJ0UPo7r4Ys16Gep89hMzFRiip4ieBT+C7dIZtCM16II3nJagzP6F5FL05Gb yJhTWgEKqoQHICjp2DA92Svl7pVT4L5ZhHdDVQ80H9ZkWJHCMTqPKTw4V3hbGDmZWrU6 8SVUSuGyDexnwTyrSBKcscCrHlPGcYxjxq+S42RO6vxN90+dYWVd+mwuoc7zhAPJ4RYZ uU8Perr8d6ecpqhQa7q9WxCKsrA4sTMPIlbQcA3GTOJJNKvKBh8u0zBcvoLJWwXe6DNN MmZwXFOSVT74aY1584rV93g29RnpapT1pmsfWfxiRJCeDoTIgxHLBEnlq/5EGAne4Zrh HrkQ== X-Gm-Message-State: AOAM530AH5zlRgi+iGSZzUVyBrMfcQh30YH2iN/MzW086JPeMW2foesn dZMJc5YDV4PaaJ0CB7d8N0MJQUqkULtKaEiKFA8KeQ== X-Received: by 2002:a9d:7d15:: with SMTP id v21mr3480467otn.118.1592582131467; Fri, 19 Jun 2020 08:55:31 -0700 (PDT) MIME-Version: 1.0 References: <20200331214949.883781-1-stefanb@linux.vnet.ibm.com> <20200401083729.GD17325@linux.intel.com> <20200402192145.GB10314@linux.intel.com> In-Reply-To: From: "Rafael J. Wysocki" Date: Fri, 19 Jun 2020 17:55:19 +0200 Message-ID: Subject: Re: [PATCH v3] acpi: Extend TPM2 ACPI table with missing log fields To: Stefan Berger , Jarkko Sakkinen Cc: "Rafael J. Wysocki" , Stefan Berger , "Rafael J. Wysocki" , linux-integrity@vger.kernel.org, ACPI Devel Maling List , Linux Kernel Mailing List , linux-security-module@vger.kernel.org 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 Fri, Jun 19, 2020 at 5:14 PM Stefan Berger wrote: > > 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? > It looks like I missed the previous message from Jarkko. Yes, please, feel free to add my ACK to the patch, thanks!