Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp106727ybt; Thu, 25 Jun 2020 16:35:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4GCwEZxlUbKz4ci3yxiKefVIcDLQ8HN8LkBjhLF+pW5I8o4prHRD56RbijE8LUy3BZPAe X-Received: by 2002:aa7:c752:: with SMTP id c18mr646535eds.55.1593128147741; Thu, 25 Jun 2020 16:35:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593128147; cv=none; d=google.com; s=arc-20160816; b=BzDup6rjmNyRowp0jOj6EyMNBsZF6Zb1i63ggiv/PlvYXHagC1bykJhlWYG+VCMDXB 7ckRx8dcGkKuV5440pak/gTtK6KnAa6g2I01RcIledmqhkw+rRu18vzVWcXRMyOj9bZU mmY5tlAmZBIAh8mfrdO8R6dcreqeY4DGCCC3deVzH8pOj9QnIs4PCE1JPNWnNdNlCrpg LRAFB+gBtWeAJQubyup5VpfZ0syaqR5DpKNlE9CP8a57O1X0cLoUPNjcbcsoys/dy0T/ ZIczuefOuvFgOEItW8bkSs7PKC2Gp73usPFHCnQrHCmGIDjglfp7X81IYQw03JNMKqtu eAkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :from:date:ironport-sdr:ironport-sdr; bh=1qYDyGbjrqrNhYFw2ilcM5GBkcuF1OdnxjKaAHit5Co=; b=vQh1pME1KSqSH6kolvfjzUMaIy56SQDryp3dQrvmnAsohOlzuTuF169rgz3TNMX+A3 7udelvwNHYcR/BzG8/PU67jgwixbqkzNP0GdmAKVKPo8rK/XsQKhgp5NoWJHzL9yhK7y LEzzHTZ0ijlm77pSz9+g27c4M5Hf/FvJAci5BA5Wk+CAbf9tvMYf5CdcPCZz8oRS9kt7 gEkTnunWYFNLo4Jlh9miWhG7eTwKW3ZPPqMg3gA++cprz9qgM7OdDVRmF7zLR+oYhxW9 14XlqOD59t0LxhjrM+C4GxrUH++Y2eaLOCJEJC2Sa+BuD0N3m4e7YYS6yasKYwhHoW3A fvVA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u10si1288292ejg.30.2020.06.25.16.35.25; Thu, 25 Jun 2020 16:35:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405459AbgFYVCO (ORCPT + 99 others); Thu, 25 Jun 2020 17:02:14 -0400 Received: from mga18.intel.com ([134.134.136.126]:24444 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405347AbgFYVCN (ORCPT ); Thu, 25 Jun 2020 17:02:13 -0400 IronPort-SDR: rMeBkFzC5wHops8amyd9Wwl6u53PjApIFys7KE5fsPc8yENuz8KaP40f7WLnmuYv5GTnBDoijN QbU9bMvK89cw== X-IronPort-AV: E=McAfee;i="6000,8403,9663"; a="132511756" X-IronPort-AV: E=Sophos;i="5.75,280,1589266800"; d="scan'208";a="132511756" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jun 2020 14:02:12 -0700 IronPort-SDR: BQSROp49MQ9J0Db6XnzAdYU+X7mKN3Pxg8zFxQJi72Ij8XrV4KZV/7+9tF8Ihjw++7hVrRp61R mnZCSkbZZGJQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,280,1589266800"; d="scan'208";a="479777206" Received: from drews-mobl1.ger.corp.intel.com (HELO localhost) ([10.252.49.247]) by fmsmga005.fm.intel.com with ESMTP; 25 Jun 2020 14:02:10 -0700 Date: Fri, 26 Jun 2020 00:02:02 +0300 From: Jarkko Sakkinen To: linux-integrity@vger.kernel.org, Kylene Jo Hall , "Ferry Toth :" , Peter Huewe , Jason Gunthorpe , Arnd Bergmann , Greg Kroah-Hartman , Andrew Morton , open list Subject: Re: [PATCH v2] tpm_tis: Remove the HID IFX0102 Message-ID: <20200625210202.GA20341@linux.intel.com> References: <20200625023111.270458-1-jarkko.sakkinen@linux.intel.com> <20200625062150.idm6j3vm2neyt4sh@cantor> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200625062150.idm6j3vm2neyt4sh@cantor> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 24, 2020 at 11:21:50PM -0700, Jerry Snitselaar wrote: > On Thu Jun 25 20, Jarkko Sakkinen wrote: > > Acer C720 running Linux v5.3 reports this in klog: > > > > tpm_tis: 1.2 TPM (device-id 0xB, rev-id 16) > > tpm tpm0: tpm_try_transmit: send(): error -5 > > tpm tpm0: A TPM error (-5) occurred attempting to determine the timeouts > > tpm_tis tpm_tis: Could not get TPM timeouts and durations > > tpm_tis 00:08: 1.2 TPM (device-id 0xB, rev-id 16) > > tpm tpm0: tpm_try_transmit: send(): error -5 > > tpm tpm0: A TPM error (-5) occurred attempting to determine the timeouts > > tpm_tis 00:08: Could not get TPM timeouts and durations > > ima: No TPM chip found, activating TPM-bypass! > > tpm_inf_pnp 00:08: Found TPM with ID IFX0102 > > > > % git --no-pager grep IFX0102 drivers/char/tpm > > drivers/char/tpm/tpm_infineon.c: {"IFX0102", 0}, > > drivers/char/tpm/tpm_tis.c: {"IFX0102", 0}, /* Infineon */ > > > > Obviously IFX0102 was added to the HID table for the TCG TIS driver by > > mistake. > > > > Fixes: 93e1b7d42e1e ("[PATCH] tpm: add HID module parameter") > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=203877 > > Cc: Kylene Jo Hall > > Reported-by: Ferry Toth: > > Signed-off-by: Jarkko Sakkinen > > Reviewed-by: Jerry Snitselaar Bugzilla has an example of similar behavior with v4.15. I'll apply this asap. /Jarkko