Received: from eggs.gnu.org ([2001:4830:134:3::10]:40574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0VeG-0003c8-QB for qemu-devel@nongnu.org; Thu, 04 Jun 2015 09:57:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0VeC-0000tE-Q9 for qemu-devel@nongnu.org; Thu, 04 Jun 2015 09:57:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34587) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0VeC-0000t9-Ka for qemu-devel@nongnu.org; Thu, 04 Jun 2015 09:57:28 -0400 Date: Thu, 4 Jun 2015 15:57:20 +0200 From: Igor Mammedov Message-ID: <20150604155720.098d4b19@igors-macbook-pro.local> In-Reply-To: <1433097192-8988-49-git-send-email-mst@redhat.com> References: <1433097192-8988-1-git-send-email-mst@redhat.com> <1433097192-8988-49-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PULL 48/57] TPM2 ACPI table support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Berger Cc: Peter Maydell , Eduardo Habkost , "Michael S. Tsirkin" , qemu-devel@nongnu.org, Paolo Bonzini , Richard Henderson On Sun, 31 May 2015 20:37:28 +0200 "Michael S. Tsirkin" wrote: > From: Stefan Berger [...] > diff --git a/hw/i386/ssdt-tpm.dsl b/hw/i386/ssdt-tpm.dsl > index 75d9691..d81478c 100644 > --- a/hw/i386/ssdt-tpm.dsl > +++ b/hw/i386/ssdt-tpm.dsl > @@ -25,19 +25,5 @@ DefinitionBlock ( > 0x1 // OEM Revision > ) > { > - Scope(\_SB) { > - /* TPM with emulated TPM TIS interface */ > - Device (TPM) { > - Name (_HID, EisaID ("PNP0C31")) > - Name (_CRS, ResourceTemplate () > - { > - Memory32Fixed (ReadWrite, TPM_TIS_ADDR_BASE, > TPM_TIS_ADDR_SIZE) > - // older Linux tpm_tis drivers do not work with IRQ > - //IRQNoFlags () {TPM_TIS_IRQ} > - }) > - Method (_STA, 0, NotSerialized) { > - Return (0x0F) > - } > - } > - } > +#include "ssdt-tpm-common.dsl" Stefan, Original TPM had IRQNoFlags commented out but looking at current master hw/i386/ssdt-tpm.dsl: ... { #include "ssdt-tpm-common.dsl" } hw/i386/ssdt-tpm-common.dsl: ... * Common parts for TPM 1.2 and TPM 2 (with slight differences for PPI) ... Device (TPM) { Name (_HID, EisaID ("PNP0C31")) Name (_CRS, ResourceTemplate () { Memory32Fixed (ReadWrite, TPM_TIS_ADDR_BASE, TPM_TIS_ADDR_SIZE) IRQNoFlags () {TPM_TIS_IRQ} }) and TMP2 template includes the same ssdt-tpm-common.dsl so cited difference in comment above is gone now which makes TPM and TPM2 the same. Was it intended change or we have introduced a bug?