From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933268AbbFIQQY (ORCPT ); Tue, 9 Jun 2015 12:16:24 -0400 Received: from mga09.intel.com ([134.134.136.24]:37425 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750869AbbFIQQQ convert rfc822-to-8bit (ORCPT ); Tue, 9 Jun 2015 12:16:16 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,581,1427785200"; d="scan'208";a="740206080" From: "Moore, Robert" To: Jarkko Sakkinen CC: "Zheng, Lv" , "Wysocki, Rafael J" , Len Brown , "open list:ACPI COMPONENT AR..." , "open list:ACPI COMPONENT AR..." , open list Subject: RE: [PATCH] acpi: update struct acpi_table_tpm2 Thread-Topic: [PATCH] acpi: update struct acpi_table_tpm2 Thread-Index: AQHQofBtb46eVEZyzUCAmMImBZOAoJ2jFd9ggAFF8YD//9868IAAhb2A//+Z2sA= Date: Tue, 9 Jun 2015 16:16:14 +0000 Message-ID: <94F2FBAB4432B54E8AACC7DFDE6C92E37D2F2CA6@ORSMSX112.amr.corp.intel.com> References: <1433770706-3332-1-git-send-email-jarkko.sakkinen@linux.intel.com> <94F2FBAB4432B54E8AACC7DFDE6C92E37D2F28EC@ORSMSX112.amr.corp.intel.com> <20150609091757.GB4968@jsakkine-mobl1> <94F2FBAB4432B54E8AACC7DFDE6C92E37D2F2BE7@ORSMSX112.amr.corp.intel.com> <20150609151919.GA4453@jsakkine-mobl1> In-Reply-To: <20150609151919.GA4453@jsakkine-mobl1> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.22.254.140] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Looking at the TCG ACPI Specification today, it looks like there are major changes to the TCPA table. There is a whole bunch of new stuff after the Log Area Start Address. Perhaps I missed or didn't get part of your proposed change. > -----Original Message----- > From: Jarkko Sakkinen [mailto:jarkko.sakkinen@linux.intel.com] > Sent: Tuesday, June 09, 2015 8:19 AM > To: Moore, Robert > Cc: Zheng, Lv; Wysocki, Rafael J; Len Brown; open list:ACPI COMPONENT > AR...; open list:ACPI COMPONENT AR...; open list > Subject: Re: [PATCH] acpi: update struct acpi_table_tpm2 > > On Tue, Jun 09, 2015 at 02:21:12PM +0000, Moore, Robert wrote: > > ACPICA usually defines any "related" data structures, just for user > > convenience. > > If you want to keep it, it's fine for me but we still probably use the > internal structure for it in tpm_crb driver (as tpm_tis uses internal > structure for CRB). > > Do other updates look fine? I'm looking into migrating to tpm_crb driver > to use actbl3.h. > > /Jarkko > > > > > > -----Original Message----- > > > From: Jarkko Sakkinen [mailto:jarkko.sakkinen@linux.intel.com] > > > Sent: Tuesday, June 09, 2015 2:18 AM > > > To: Moore, Robert > > > Cc: Zheng, Lv; Wysocki, Rafael J; Len Brown; open list:ACPI > > > COMPONENT AR...; open list:ACPI COMPONENT AR...; open list > > > Subject: Re: [PATCH] acpi: update struct acpi_table_tpm2 > > > > > > On Mon, Jun 08, 2015 at 08:52:02PM +0000, Moore, Robert wrote: > > > > It looks like there is a change to the TCPA table also. > > > > > > Right. I'll update that too. > > > > > > I strongly think that the struct acpi_tpm2_control should not be in > > > actbl3.h. It is not defined in the TCG ACPI specification. It is > > > defined in > > > > > > http://www.trustedcomputinggroup.org/resources/pc_client_platform_tp > > > m_prof > > > ile_ptp_specification > > > > > > FIFO control structures are internal for to the TPM subsystem and so > > > should be CRB control structures (and we have already inside > tpm_crb.c). > > > > > > The structure ended up there probably because it was combined with > > > the > > > TPM2 table in that Microsoft specification. > > > > > > /Jarkko