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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B6785C7EE26 for ; Tue, 23 May 2023 15:20:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237354AbjEWPUR (ORCPT ); Tue, 23 May 2023 11:20:17 -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) Precedence: bulk List-ID: X-Mailing-List: linux-integrity@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