From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933745AbbI2RH3 (ORCPT ); Tue, 29 Sep 2015 13:07:29 -0400 Received: from mga02.intel.com ([134.134.136.20]:3296 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755931AbbI2RHR (ORCPT ); Tue, 29 Sep 2015 13:07:17 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,609,1437462000"; d="scan'208";a="780065812" From: Jarkko Sakkinen To: tpmdd-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Cc: peterhuewe@gmx.de, gregkh@linuxfoundation.org, jgunthorpe@obsidianresearch.com, akpm@linux-foundation.org, mjg59@srcf.ucam.org, Jarkko Sakkinen Subject: [PATCH 0/2] Fix tpm_tis ACPI issue with TPM 2.0 Date: Tue, 29 Sep 2015 20:07:09 +0300 Message-Id: <1443546431-14948-1-git-send-email-jarkko.sakkinen@linux.intel.com> X-Mailer: git-send-email 2.5.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Both for FIFO and CRB interface TCG has decided to use the same HID MSFT0101. They can be differentiated by looking at the start method from TPM2 ACPI table. These patches make necessary fixes to tpm_tis and tpm_crb modules in order to correctly detect, which module should be used. Jarkko Sakkinen (2): tpm, tpm_tis: use acpi_driver instead of pnp_driver tpm, tpm_tis: detect TPM2 FIFO devices based on HID drivers/char/tpm/tpm.h | 7 ++ drivers/char/tpm/tpm_crb.c | 20 ++---- drivers/char/tpm/tpm_tis.c | 160 ++++++++++++++++++++++++++++++--------------- 3 files changed, 121 insertions(+), 66 deletions(-) -- 2.5.0