Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1076651ybt; Wed, 24 Jun 2020 19:29:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwetWoVut5DgPktuwPU/574Z2QpUt45bCedgsS46ynOGoFBq8AEPudN4c0Fsvue30pIw7lo X-Received: by 2002:a17:906:6604:: with SMTP id b4mr5282757ejp.427.1593052171495; Wed, 24 Jun 2020 19:29:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593052171; cv=none; d=google.com; s=arc-20160816; b=eGh1dzajS6SfjZC3mqER0NZ7D5tB1mbazk8+WGrPVSP810kejVGoadDO6cKi2ddpti WO0MejfgZtXCyNG2Qx5e1xLKMluUlyuAXUBjhLnzYvLd5AKaxNijJxbhaXO1YlyoJigm IVjZE20EsT0hq/5GaMDYle+xyHTTfxS99E87aLvUtqYaOsHR4Fy9oW8OLN4O79Si55Gl mpHC5mnpY6XdF3AmnYo/O2w837HbFPN3CqfurjaulNDiSHavN08UQViRjfbUkhK7MGFD R7GKY5vjCBB0RghBlaHUokq/3rDM/o5kKlhvrpn2WasI7RyHWzNnZE7nTMwKLFwRRpht iS/w== 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:cc :to:from:date:ironport-sdr:ironport-sdr; bh=mp3tlyF+1aYaNe4TNXc4pvVYb5YJCrpE1+Nwto38/WA=; b=dXgtbYk5VxnxlQMAzqhyYTgQkrqZF79hCnmmD2iFebMrRyjWjA6yEEgUT4PF7YvM06 +uIF2dHmbGfmbcyoOrCJwBj0JYpeXWwxj5tejfUCiE+jDh6wQ0zOJcG+v0Zio/QylZnX VyvBjiifOtUX3FrpkjmzqR//v3o8hgGKN2JgRx5krDm5Xq8BeH+W3x/xIxz8OJjpG02q ETV7YfdoEJvO9R3lDgBAmqeZA9gJjqj/fD2es5DNH/OPl2walMPvYAXkZGmkRtgF6SXw a4gCBTXHB4eIq2AvX30xOIvduh3ldRASHa43ZHufups/tOc56aac3MbSqksq23hyBAJf CLxA== 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 k12si14064530edi.198.2020.06.24.19.29.08; Wed, 24 Jun 2020 19:29:31 -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 S2389328AbgFYC2W (ORCPT + 99 others); Wed, 24 Jun 2020 22:28:22 -0400 Received: from mga03.intel.com ([134.134.136.65]:55725 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388930AbgFYC2W (ORCPT ); Wed, 24 Jun 2020 22:28:22 -0400 IronPort-SDR: ZznXFlWtZlf1jRuXcFmY/WG/e3+TD/AiA5bGTDAEnC/jGCEJ8xFcvRSiiYotO1tmrtk2yuNoUW oRSpjVL6MtBA== X-IronPort-AV: E=McAfee;i="6000,8403,9662"; a="144766957" X-IronPort-AV: E=Sophos;i="5.75,277,1589266800"; d="scan'208";a="144766957" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jun 2020 19:28:21 -0700 IronPort-SDR: s7+lF6UwMW6AkLc9abIIz2Um941pICZSUCQkVO0tPdEkgAi8Y9fuypkT+RLgPol5+x4rr8m9Nh cDuRx2HecQJw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,277,1589266800"; d="scan'208";a="423577244" Received: from hluxenbu-mobl.ger.corp.intel.com (HELO localhost) ([10.252.36.218]) by orsmga004.jf.intel.com with ESMTP; 24 Jun 2020 19:28:14 -0700 Date: Thu, 25 Jun 2020 05:28:12 +0300 From: Jarkko Sakkinen To: linux-integrity@vger.kernel.org Cc: Kylene Jo Hall , "Ferry Toth :" , Peter Huewe , Jason Gunthorpe , Arnd Bergmann , Greg Kroah-Hartman , Jerry Snitselaar , Sumit Garg , James Bottomley , Alexey Klimov , Andrew Morton , open list Subject: Re: [PATCH] tpm_tis: Remove the HID IFX0102 Message-ID: <20200625022812.GA270125@linux.intel.com> References: <20200624230037.21192-1-jarkko.sakkinen@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200624230037.21192-1-jarkko.sakkinen@linux.intel.com> 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 Thu, Jun 25, 2020 at 02:00:33AM +0300, 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 Sending v2 some unrelated stuff by mistake. /Jarkko