From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935439AbbI2SMO (ORCPT ); Tue, 29 Sep 2015 14:12:14 -0400 Received: from mga02.intel.com ([134.134.136.20]:22994 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935340AbbI2SMA (ORCPT ); Tue, 29 Sep 2015 14:12:00 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,609,1437462000"; d="scan'208";a="780119003" 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 v2 0/2] Fix tpm_tis ACPI issue with TPM 2.0 Date: Tue, 29 Sep 2015 21:10:30 +0300 Message-Id: <1443550232-23294-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. v2: * One fixup was missing from v1: is_tpm2_fifo -> is_fifo 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 | 164 +++++++++++++++++++++++++++++++-------------- 3 files changed, 124 insertions(+), 67 deletions(-) -- 2.5.0