Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4496814rwd; Tue, 23 May 2023 08:26:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4dBtjeuo6GODjbu+pdxr9oKSCRZ2p4KJbja7yhk4ODOwdLJW/9sVclsBXZfTkb3Zg0hqib X-Received: by 2002:a17:903:25c1:b0:19f:8ad5:4331 with SMTP id jc1-20020a17090325c100b0019f8ad54331mr12482014plb.38.1684855587705; Tue, 23 May 2023 08:26:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684855587; cv=none; d=google.com; s=arc-20160816; b=sDcLA8IwKbzkgeSTpGJla/9uBEGASSj9I8qAZwhUTUtX4OrKTCIUIvwInLETKTOIj4 UpezeNlpQtgPbqU0VPaxyR2WbQNfkzR253Qn+tzG9xUXvIAeEPf7ejPYF1R8ZfyAiMWs 0nd+0wcULf71wG9jzyLdHLOIapCNQxu1VuYlJMlsPri3EB5e32qcPSjH/3z4HCb/CwJu 8RiufJapvcdphlXeXm/gD2KgeBSKbLJKa2uyFk/uxFNi1UcJp22DuQL9mkLpUf4l2aEo sfiGGjknUCrtZ+e1Bcf5P5FPmuQW2LusnGAEEq/dtP79HATY/+bsJZ3lcAeNYCL5Q6MY B3mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=TDc16g9gZbWlicaH+wxOHTycuC6S7RqoKdT6ctR0IfQ=; b=x7mJIms6BqIVlbH/fe+1RLnasZSAm/GQbE4YM5Y7ToYOOVzRJMxAsSuuHlV8XSmtx3 cKU251Uw8jMU9w1a0FLf1E7XsL6S4qOMzEjQ9fHpUmG3C1w0AXymWdocFMzl0Vt80Pfe zZds3c+OO4SCmTL4SJp9CVzpguymvtlDxhsFw01RJwIMzmFKBvxuTkw7+bmQZiA+Pnvx jqc47fCR6a4rm6tGPxsJhvBowB7NUpwqvLVIHbYjvfbib8NnhqHMDD3/JXjvkmVGWP8R F8wV7PV3VogMEmIoRzgz/Rf3Jcm/EeUJ/ccYPPVufGCgweb9+HzTuJ+x/u+OKgisi487 FCjQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jd10-20020a170903260a00b0019ca54e71e4si6468332plb.224.2023.05.23.08.26.10; Tue, 23 May 2023 08:26:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237493AbjEWPUS (ORCPT + 99 others); Tue, 23 May 2023 11:20:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237446AbjEWPUQ (ORCPT ); Tue, 23 May 2023 11:20:16 -0400 Received: from bmailout2.hostsharing.net (bmailout2.hostsharing.net [IPv6:2a01:37:3000::53df:4ef0:0]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71A96130; Tue, 23 May 2023 08:20:13 -0700 (PDT) Received: from h08.hostsharing.net (h08.hostsharing.net [IPv6:2a01:37:1000::53df:5f1c:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "*.hostsharing.net", Issuer "RapidSSL Global TLS RSA4096 SHA256 2022 CA1" (verified OK)) by bmailout2.hostsharing.net (Postfix) with ESMTPS id 59E1E280138CF; Tue, 23 May 2023 17:19:56 +0200 (CEST) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 4A91127FF31; Tue, 23 May 2023 17:19:56 +0200 (CEST) Date: Tue, 23 May 2023 17:19:56 +0200 From: Lukas Wunner To: =?iso-8859-1?Q?P=E9ter?= Ujfalusi Cc: Lino Sanfilippo , peterhuewe@gmx.de, jarkko@kernel.org, jgg@ziepe.ca, jsnitsel@redhat.com, hdegoede@redhat.com, oe-lkp@lists.linux.dev, lkp@intel.com, peterz@infradead.org, linux@mniewoehner.de, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, l.sanfilippo@kunbus.com, p.rosenberger@kunbus.com Subject: Re: [PATCH 1/2] tpm, tpm_tis: Handle interrupt storm Message-ID: <20230523151956.GB31298@wunner.de> References: <20230522143105.8617-1-LinoSanfilippo@gmx.de> <20230523074443.GA21236@wunner.de> <98f7dc1a-6bed-a66f-650e-10caeb7d0bca@linux.intel.com> <4a94b44d-1b51-2656-786e-07bf97063c3f@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4a94b44d-1b51-2656-786e-07bf97063c3f@linux.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 23, 2023 at 12:35:09PM +0300, P?ter Ujfalusi wrote: > In some boot I don't get a print at all and reboot takes > 2 minutes (tpm timeout), or as it happened now: > > # dmesg | grep tpm > [ 4.306999] tpm_tis MSFT0101:00: 2.0 TPM (device-id 0x1B, rev-id 22) > [ 4.325868] [PETER] tpm_tis_process_unhandled_interrupt: unhandled_irqs: 1 > [ 4.325908] [PETER] tpm_tis_process_unhandled_interrupt: unhandled_irqs: 2 > ... > [ 4.329579] [PETER] tpm_tis_process_unhandled_interrupt: unhandled_irqs: 91 > [ 5.129056] [PETER] tpm_tis_process_unhandled_interrupt: unhandled_irqs: 1 > ... > [ 5.129561] [PETER] tpm_tis_process_unhandled_interrupt: unhandled_irqs: 10 This looks like the interrupt line may be floating and any interrupts you get are probably caused by induced static or something. Thanks, Lukas