From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 41636C432C0 for ; Wed, 27 Nov 2019 21:26:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 179A72080F for ; Wed, 27 Nov 2019 21:26:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=intel-com.20150623.gappssmtp.com header.i=@intel-com.20150623.gappssmtp.com header.b="vThlKJNp" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727810AbfK0V0T (ORCPT ); Wed, 27 Nov 2019 16:26:19 -0500 Received: from mail-oi1-f195.google.com ([209.85.167.195]:41531 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728314AbfK0V0T (ORCPT ); Wed, 27 Nov 2019 16:26:19 -0500 Received: by mail-oi1-f195.google.com with SMTP id e9so21432753oif.8 for ; Wed, 27 Nov 2019 13:26:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FvIzR24kHBea1uxOpKKhJOT4jJB8qq3HQYSkFgo3U3E=; b=vThlKJNpDRPL9EvkUMfozZ8dvzrN+pb71NRt9M+FbIHb/Xz+9FcrMIu4yHm1PEauZa I8eA2C10V6PS8qQEX8q22qTBiZ2eac763UwVTnYdKf3iE8vNrP914cHwDmWr0JuiusFq VI+Ps4ttc9N082Q70yjK9ZE2HHyAXYmKHiwGC2sU7GZXpTEAp/J6vH7eZJBJ7ppr+x3M ufcUicdg/5jdYNyBDasulrzj0g8Xf9nTla0fm1rVwJO0cRZ8Gq8O3MwocCqwAymu3E6V FTgEkxA9Uhq59tv2287Qz+s4W8TZdwaDOTg4LnJhfFfIPK+Puei6JaW0O2gb+x5eAI9V YAaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FvIzR24kHBea1uxOpKKhJOT4jJB8qq3HQYSkFgo3U3E=; b=uiRKDdE4oqI98j+2r4k1fgJneCsj17LWmC8B/FKfnylcq7aB73ej6hzsfQMlQi2z5U YU1Pdits2+x8zfjkHk0Iq5ybnEzgXlks87bknLMqjG6nZDrCLq+C+b9u3Y5scYc6f1V9 ZIBfThkmK1b3m3xfa8sildLGs0tQSH8VqjK8iaJRXu2ncSySbFKFHoo6dlxqeziPxGgd Yp947v49tq1Cokrlyubav+UQk28FfdHSp5Rel2+JoesptjHsEaAyOjcHkMjURunCNjpr g5yJb9IRWdOkdJl1wmnoCBTT5J9MsvZJanr7zGAcGq0Yq35bo4inO7GyfBCk3VaXL/d5 ys8A== X-Gm-Message-State: APjAAAXmjwviD5mj6fQj91pjnNYRyZ7h0dSmbsbXCDa11nXvpdtXCMqg 4y7vCIO3Gq0KWwRS6yhYK1NpIjaHroUEkDMunXsi1A== X-Google-Smtp-Source: APXvYqzjfv3uRACCOCg93jfSkR/I+DVeAiPls/NFEqGCYZ38KdgrJFBtLtMlmlxnWDacs2YcTvlXPCF13m2/1pu3CJ0= X-Received: by 2002:a05:6808:20c:: with SMTP id l12mr1738564oie.105.1574889978465; Wed, 27 Nov 2019 13:26:18 -0800 (PST) MIME-Version: 1.0 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> In-Reply-To: <20191127211109.GF14290@linux.intel.com> From: Dan Williams Date: Wed, 27 Nov 2019 13:26:07 -0800 Message-ID: Subject: Re: [PATCH] tpm_tis: Move setting of TPM_CHIP_FLAG_IRQ into tpm_tis_probe_irq_single To: Jarkko Sakkinen Cc: Stefan Berger , Stefan Berger , linux-integrity@vger.kernel.org, Linux Kernel Mailing List , linux-security-module@vger.kernel.org, jsnitsel@redhat.com Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-security-module@vger.kernel.org Precedence: bulk List-ID: [ 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.