Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp6013141ybc; Wed, 27 Nov 2019 13:23:27 -0800 (PST) X-Google-Smtp-Source: APXvYqwYvFhrfZofmIPrDZ8DD/Oycplz+55EzKpWDybBiG8oXrhPHl0l18qoUjGG/WEHWNoxecTy X-Received: by 2002:a17:906:7c5:: with SMTP id m5mr50801069ejc.231.1574889807682; Wed, 27 Nov 2019 13:23:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574889807; cv=none; d=google.com; s=arc-20160816; b=e/Os/wGiGcK/neLhyycZPTu4bRtWRNZkjKmdRFDmH/4xfvymfC2rPe0r42h1qFf9Bt IYxETeauNRPd3MW+ektgCzK9i3T0UQBSiM/7MGgl+aUptuorZOLGauQd3vC7hTaGg/US gO9jwnejEIow8P9v0m7LGUjZFBQeTIYnuyG0YAj9hRUzikyU/CmM8j5KnD+lY217MS4w CL6OHKOV4TwarNA6Au/Xesnxg214uUGiGJpU9uqtDYzFa2tBHEFfM7FyxAIuePndlpfB 1u5hvkIyLFJsO/RXc030NH5T4x+3R9XJr/LeePxGVCChbHIjgN1icXrKWYFZPFYEbOCM cZ+g== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date; bh=pBNljEL5G3J/T3a3Dg7doZc33gTfZ9f7Uxf5K27UkUM=; b=PiNJpATk1PIxPnsC4MqXvIv+QYVJJKnKTGNllCzW7q2UXNIdisgiE6+DZy9nnXxkG3 9pN+qY5CaPAnHch7+O3XQZVX0NDtvbMLkAcsXwwZzOCEI3MMz6BvxUhYTRKAGr5+OBKL Wx3sxvniF4eCDWNY6kEV+vn5m+zFweCEHNi/546lrMvs0NXPUtfWlHT17GMdXZstoAIk B0SI2a5exK/Um3frnqthJV3UEJVNlYQhlP7L1UoGkWf8Xmv4IRvfHgVCNT1JWWwFkKxh BgBdFUZ04FSYwTKB5I2ohNUfE5wIJP5Frp3oox09mt+tJ1sJpCEJotH1voLzGBuX8pQc 3fsA== 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 e24si10356918ejx.220.2019.11.27.13.23.03; Wed, 27 Nov 2019 13:23:27 -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 S1731270AbfK0VSw (ORCPT + 99 others); Wed, 27 Nov 2019 16:18:52 -0500 Received: from mga12.intel.com ([192.55.52.136]:25616 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733142AbfK0VLQ (ORCPT ); Wed, 27 Nov 2019 16:11:16 -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 fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Nov 2019 13:11:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,250,1571727600"; d="scan'208";a="383619382" Received: from gtau-mobl.ger.corp.intel.com (HELO localhost) ([10.251.83.243]) by orsmga005.jf.intel.com with ESMTP; 27 Nov 2019 13:11:12 -0800 Date: Wed, 27 Nov 2019 23:11:09 +0200 From: Jarkko Sakkinen To: Stefan Berger , Stefan Berger , linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, dan.j.williams@intel.com Subject: Re: [PATCH] tpm_tis: Move setting of TPM_CHIP_FLAG_IRQ into tpm_tis_probe_irq_single Message-ID: <20191127211109.GF14290@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> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191121184949.yvw2gwzlkhjzko64@cantor> 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 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? /Jarkko