Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp8713623ybc; Fri, 29 Nov 2019 15:29:08 -0800 (PST) X-Google-Smtp-Source: APXvYqycyozo2aKjF2+qkoLX8U1VeIWgP4wXm1q2f7ifxMIPiJeXzUCLecG4bOTYGhrkaXRmQVL/ X-Received: by 2002:a17:906:601:: with SMTP id s1mr65012317ejb.287.1575070148631; Fri, 29 Nov 2019 15:29:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575070148; cv=none; d=google.com; s=arc-20160816; b=yd9mKZvnyFkuuUZ5SQ16uZ1CzzPaZ1AHpY2q2SQ2Tb9W5sSXDjhCV9wwg1pGDThZ66 Nnz/h8WEIcnGiiMn0POGDG56wk5jMg4FjbxWua2wv/g+boYmmGeQ00toIYCS4oSZf0hX wU5DoAxajhIM7ML0MqeSOHWQA4Coym0bDJn30hH0QShrkqu+rf2MVeJTrAfghgVv9Bfk Li5zlqAReplPdZxWlR68ypNDY53wk1lnIXTGfcz7GKrC2KgXp/QJkYjr83qwz1bDyJau ZRb1KYOBhTwcyiLY6dTf3deBgf3ki2kgrioYfVotMJVhcLQhqtEwRbi1683bSQNWp/uj 6eBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=/C5T/hQEEKLZ9OWCVc3wCXtsszSdWjo3YPm1hwH23u8=; b=FdFzgtls5LnvpBwIPi63IOrdDez+4eS7JL9lep2ntxP24+jypT1AdTf9sGtU6X9bhh Tr1OrXWXNf1PGpkCV7GHNdAspfyr+6zZM3m0n53TvEVaj+MJOw7DLWY47CIY+CknwPsu i1ll3AJiOZRqUW6LqxsZQ+YENhzgSlXsuO8tJA3AgD9VRssyaSNA26nWlBWQxdbATrvO AIOxYQuO0fyzFuyQWxR23Jsj1IX29J3KJD1M1Tk9RRcapA/ZLPEYlpIpD3vubtsVTBQ1 ExIAEZStaLILx3aN/NU65uVGcgjQ04LWlJP8QjG3hyLjN+rhm14LJsYtJkbLnqZm5rSj oZCQ== 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 o5si14576575ejn.123.2019.11.29.15.28.45; Fri, 29 Nov 2019 15:29:08 -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 S1727179AbfK2X03 (ORCPT + 99 others); Fri, 29 Nov 2019 18:26:29 -0500 Received: from mga09.intel.com ([134.134.136.24]:61596 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727097AbfK2X03 (ORCPT ); Fri, 29 Nov 2019 18:26:29 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Nov 2019 15:26:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,259,1571727600"; d="scan'208";a="384195895" Received: from gamanzi-mobl4.ger.corp.intel.com (HELO localhost) ([10.252.3.126]) by orsmga005.jf.intel.com with ESMTP; 29 Nov 2019 15:26:25 -0800 Date: Sat, 30 Nov 2019 01:26:24 +0200 From: Jarkko Sakkinen To: Dan Williams Cc: Stefan Berger , Stefan Berger , linux-integrity@vger.kernel.org, Linux Kernel Mailing List , linux-security-module@vger.kernel.org, jsnitsel@redhat.com Subject: Re: [PATCH] tpm_tis: Move setting of TPM_CHIP_FLAG_IRQ into tpm_tis_probe_irq_single Message-ID: <20191129232624.GB19623@linux.intel.com> References: <20191112202725.3009814-1-stefanb@linux.vnet.ibm.com> <20191114164151.GB9528@linux.intel.com> <20191114164426.GC9528@linux.intel.com> <185664a9-58f2-2a4b-4e6b-8d7750a35690@linux.ibm.com> <20191121184949.yvw2gwzlkhjzko64@cantor> <20191127211109.GF14290@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 27, 2019 at 01:26:07PM -0800, Dan Williams wrote: > [ add Jerry ] > > On Wed, Nov 27, 2019 at 1:11 PM Jarkko Sakkinen > wrote: > > > > On Thu, Nov 21, 2019 at 11:49:49AM -0700, Jerry Snitselaar wrote: > > > On Sat Nov 16 19, Stefan Berger wrote: > > > > On 11/14/19 11:44 AM, Jarkko Sakkinen wrote: > > > > > On Thu, Nov 14, 2019 at 06:41:51PM +0200, Jarkko Sakkinen wrote: > > > > > > On Tue, Nov 12, 2019 at 03:27:25PM -0500, Stefan Berger wrote: > > > > > > > From: Stefan Berger > > > > > > > > > > > > > > Move the setting of the TPM_CHIP_FLAG_IRQ for irq probing into > > > > > > > tpm_tis_probe_irq_single before calling tpm_tis_gen_interrupt. > > > > > > > This move handles error conditions better that may arise if anything > > > > > > > before fails in tpm_tis_probe_irq_single. > > > > > > > > > > > > > > Signed-off-by: Stefan Berger > > > > > > > Suggested-by: Jerry Snitselaar > > > > > > What about just changing the condition? > > > > > Also cannot take this since it is not a bug (no fixes tag). > > > > > > > > I'll repost but will wait until Jerry has tested it on that machine. > > > > > > > > Stefan > > > > > > > > > > > > > > > > > > /Jarkko > > > > > > > > > > > > > > It appears they still have the problem. I'm still waiting on logistics > > > to send me a system to debug. > > > > Which hardware is guaranteed to ignite this? I can try to get test hw > > for this from somewhere. Kind of looking into this blinded ATM. Dan? > > Jerry had mentioned that this was also occurring on T490s. Otherwise > I'll ping you offline about the system I saw this on internally. I'll see if I can get my hands on T490 or T490s or something with equivalent hardware. /Jarkko