Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp14698649ybl; Mon, 30 Dec 2019 15:29:34 -0800 (PST) X-Google-Smtp-Source: APXvYqwFgeqIuTfm1YBiM9Mp6ha+amI+YCFXxs7O+mvJNxcWP4bmtUK2l0iXEKZLt/G8bqO0x5Lv X-Received: by 2002:a9d:6e98:: with SMTP id a24mr60683169otr.109.1577748574914; Mon, 30 Dec 2019 15:29:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577748574; cv=none; d=google.com; s=arc-20160816; b=GwjOqo/U0MZ36ufDTsACUlkA6lH1qJE1G21bkY+RgmTVO6fX2ObNhqdThThkAdh+8H vqoQFFiL/IyaMKaRGUau/bMmp8GuhiHVdyr3KqokOW2ILSEKpMrU6oBqQ+9DnPS5BZK2 ZUxVaQLKO7MVDeZr+XhXWY3Cjz4xnxEvUM7rMhiz/HxA2SA/Iofj+pkYls1zI4zK6Ykb usjOpCPjN9OzwGyR8nyYn0vk6RKkSpL21vc9Sy1weJpv+uOQMnh274b4OHA3xJTtdYG+ 9nZ8F47Y+15rYXupe7X7XkYe/B9bsqqeq91q3Fz+F19jSVRTP3sxyUWnUFXKQXBGPJYY DbcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:organization:references:in-reply-to:date:cc:to:from :subject:message-id; bh=Oe6FOT/b8dLzHR+yuGE0G0DhZhMLbX15fJ69MUDxKYg=; b=xHFDg45laW0bRbOrhbWsaxuBH9kuMQa+bphZGgNSA+JgeRc2nbI2tRU1Te20OoVtXc ZFHrJurZ6xJ9C/VMfkFo+sChKYE0+lPCHkS/3ZnuA72Krtql6/RLhHpHP4ziGHGssus7 wn/qRnUbFicddbF7wREvxSMl2iXLRUPRmuGV8KfVQhZAUFZ7kRprfh0GHtcSsUERo9hV QUpEamgnp5w9Mmn7GYALkUYPb3t9oKj/GSygMEik5/Uma6Vvf6kqggKycWQoTXCABewB MDEY3cbynvIUO+x81bBttZBl1kGvYFAaCEZL5vk6MO7lKsGeAm4HOQ7hDedPODw99Ers jSJQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id m20si23310329otq.35.2019.12.30.15.29.22; Mon, 30 Dec 2019 15:29:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727775AbfL3X2m (ORCPT + 99 others); Mon, 30 Dec 2019 18:28:42 -0500 Received: from mga17.intel.com ([192.55.52.151]:56340 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727740AbfL3X2l (ORCPT ); Mon, 30 Dec 2019 18:28:41 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Dec 2019 15:28:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,376,1571727600"; d="scan'208";a="215899055" Received: from fjkilken-mobl.ger.corp.intel.com ([10.252.8.107]) by fmsmga008.fm.intel.com with ESMTP; 30 Dec 2019 15:28:37 -0800 Message-ID: <2c4a80e0d30bf1dfe89c6e3469d1dbfb008275fa.camel@linux.intel.com> Subject: Re: Patch "tpm_tis: reserve chip for duration of tpm_tis_core_init" has been added to the 5.4-stable tree From: Jarkko Sakkinen To: Dan Williams , Jerry Snitselaar Cc: Greg KH , Christian Bundy , Jason Gunthorpe , Peter Huewe , Stefan Berger , stable-commits@vger.kernel.org, linux-integrity@vger.kernel.org, Linux Kernel Mailing List Date: Tue, 31 Dec 2019 01:28:36 +0200 In-Reply-To: References: <1577122577157232@kroah.com> <50217a688ffa56cf5f150ffd358daba2a88cad48.camel@linux.intel.com> <20191228151526.GA6971@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2019-12-29 at 23:41 -0800, Dan Williams wrote: > This looked like the wrong revert to me, and testing confirms that > this does not fix the problem. > > As I mentioned in the original report [1] the commit that bisect flagged was: > > 5b359c7c4372 tpm_tis_core: Turn on the TPM before probing IRQ's > > That commit moved tpm_chip_start() before irq probing. Commit > 21df4a8b6018 "tpm_tis: reserve chip for duration of tpm_tis_core_init" > does not appear to change anything in that regard. > > Perhaps this hardware has always had broken interrupts and needs to be > quirked off? I'm trying an experiment with tpm_tis_core.interrupts=0 > workaround. > > > [1]: https://lore.kernel.org/linux-integrity/CAA9_cmeLnHK4y+usQaWo72nUG3RNsripuZnS-koY4XTRC+mwJA@mail.gmail.com/ I think for short term, yes, it is better to revert the commits that make things more broken. for-linus-v5.5-rc5 branch contains three commits that exactly do this i.e. the reverts that Stefan sent and revert to Jerry's earlier commit. After that is out of the table it is easier to analyze how the code should be actually refactored. Like, I have no idea when I get local HW that can reproduce this and Jerry still seems to have the same issue. It'd be nice make the exactly right changes instead of reverts but situation is what it is. Please check the branch and ACK/NAK if I can add tested-by's (and other tags). /Jarkko