Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933378AbaLBXFO (ORCPT ); Tue, 2 Dec 2014 18:05:14 -0500 Received: from mout.gmx.net ([212.227.17.20]:54987 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932722AbaLBXFM (ORCPT ); Tue, 2 Dec 2014 18:05:12 -0500 From: Peter =?iso-8859-15?q?H=FCwe?= To: Jarkko Sakkinen Subject: Re: [PATCH v8 7/8] tpm: TPM 2.0 CRB Interface Date: Wed, 3 Dec 2014 00:10:33 +0100 User-Agent: KMail/1.13.7 (Linux/3.18.0-rc6-dirty; KDE/4.12.5; x86_64; ; ) Cc: Ashley Lai , Marcel Selhorst , tpmdd-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, josh.triplett@intel.com, christophe.ricard@gmail.com, jason.gunthorpe@obsidianresearch.com, linux-api@vger.kernel.org, trousers-tech@lists.sourceforge.net References: <1417559480-13757-1-git-send-email-jarkko.sakkinen@linux.intel.com> <1417559480-13757-8-git-send-email-jarkko.sakkinen@linux.intel.com> In-Reply-To: <1417559480-13757-8-git-send-email-jarkko.sakkinen@linux.intel.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201412030010.33869.PeterHuewe@gmx.de> X-Provags-ID: V03:K0:NwHoHj5F9ogKvSzLMOPHnhj+5KJM0hsE6TLDtId316GKOwVVV32 E0hV7mWuKoteMXeEKIczvGxxk1tWyUQGocMQT1S5lrWSxItEPxWs6RupL0yD8E9LrWvGy5T NNGoVU8ekcl8nf8lfI0ymcUqy8fIFGYT0w3Nfc9w5fV8qMFgqgAfuUJsiqgErW9oMh/2ixd kbgGnVO1+tOScMIQBeWvQ== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Dienstag, 2. Dezember 2014, 23:31:19 schrieb Jarkko Sakkinen: > tpm_crb is a driver for TPM 2.0 Command Response Buffer (CRB) Interface > as defined in PC Client Platform TPM Profile (PTP) Specification. > > Only polling and single locality is supported as these are the limitations > of the available hardware, Platform Trust Techonlogy (PTT) in Haswell > CPUs. > > The driver always applies CRB with ACPI start because PTT reports using > only ACPI start as start method but as a result of my testing it requires > also CRB start. > > Signed-off-by: Jarkko Sakkinen > --- If I apply it on top of security/next or linux-3.18-rc6 I get the following compile error: drivers/char/tpm/tpm_crb.c: In function 'crb_acpi_add': drivers/char/tpm/tpm_crb.c:271:6: error: too many arguments to function 'acpi_device_hid' In file included from include/linux/acpi.h:43:0, from drivers/char/tpm/tpm_crb.c:18: include/acpi/acpi_bus.h:253:13: note: declared here drivers/char/tpm/tpm_crb.c:271:6: error: too few arguments to function 'strcmp' scripts/Makefile.build:263: recipe for target 'drivers/char/tpm/tpm_crb.o' failed make[3]: *** [drivers/char/tpm/tpm_crb.o] Error 1 scripts/Makefile.build:402: recipe for target 'drivers/char/tpm' failed make[2]: *** [drivers/char/tpm] Error 2 scripts/Makefile.build:402: recipe for target 'drivers/char' failed make[1]: *** [drivers/char] Error 2 Makefile:937: recipe for target 'drivers' failed Please compile test your stuff. ;-( Peter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/