Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4851803rwd; Tue, 23 May 2023 13:37:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ50ap9o9SIotYonUpRrBS2Dv5Ev0IbU7u80mRsFVIWC9tQhVW9JJC4feEDp2WfuVEYgtPX4 X-Received: by 2002:a05:6a20:258c:b0:fa:1f3a:8f56 with SMTP id k12-20020a056a20258c00b000fa1f3a8f56mr17122391pzd.12.1684874270080; Tue, 23 May 2023 13:37:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684874270; cv=none; d=google.com; s=arc-20160816; b=n6yTvnLZvApIctWcYK0J0TF8/6S4AcRHp3t8EjGZHL/LH/RsalotYLbu7iWKmQ0STX R17M2TCCQNwunsZrlZK6oYv0FaiSNIVb1z2gRP1uEJfKNWsKBYcrdJcs8SYKu8J/+IH9 Wa6055HdH/r1fY6dC9yR1Hsg6ci6wX/SYKj/sq+IamC8Pw3Ra61PexW9kUpn4fsAKA4c zVklIN8SvHlIfbC9dKYE5gUGhGGouCrNqkZDyMaky5FgH9a93n0xaUPobnAn5jmIpuC3 Nc6TZYY3NuQyYm41T/1npJBL8N7o1medir+rSdU8KIIYQSCs9CHtSMQxTdCX0hQq8p/F Kduw== 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-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=iIH44KE6GR8DZ4z+TeX4csxZEv2ziuhjAKNjv6x8yko=; b=u285QUmd9qQnqckkOIXVJmXVwP3/p9s4rAb7hFg4pLUk929qQzx/bmT1tIDecawLgN t0gnmcsB5ty/AvnRp9PDBABEdHCAESjqQr521Xa4y06BlJM56eIC2S6ox3D5EDNuUHnq h4H/jip/gXjf74ouL5oNxlDSUdezKBSWfwGAM3ULh92vfgX3I71pyZsJz8jiPMe8xvtM zLldIfqfcAYBfVHxCiTQ6C1trRUfxbAsU/2QrVu+ExGX3AMkSbgY5TJMWEfstHDFUrI1 sQw7V4RGbbXo9YQxt8KTeshr0vDTCMOSBOmP3Qy0rfiimAlbRe5/cyy0YOZ0v6om4VHs EpPQ== 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 m30-20020a63711e000000b005346e1b7614si2190699pgc.893.2023.05.23.13.37.34; Tue, 23 May 2023 13:37:50 -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 S237960AbjEWTrA (ORCPT + 99 others); Tue, 23 May 2023 15:47:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229515AbjEWTq7 (ORCPT ); Tue, 23 May 2023 15:46:59 -0400 Received: from bmailout1.hostsharing.net (bmailout1.hostsharing.net [IPv6:2a01:37:1000::53df:5f64:0]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24C3AE5; Tue, 23 May 2023 12:46:58 -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 bmailout1.hostsharing.net (Postfix) with ESMTPS id A58C330000CCC; Tue, 23 May 2023 21:46:54 +0200 (CEST) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 8D62741432; Tue, 23 May 2023 21:46:54 +0200 (CEST) Date: Tue, 23 May 2023 21:46:54 +0200 From: Lukas Wunner To: Jarkko Sakkinen Cc: Lino Sanfilippo , peterhuewe@gmx.de, jgg@ziepe.ca, jsnitsel@redhat.com, hdegoede@redhat.com, oe-lkp@lists.linux.dev, lkp@intel.com, peter.ujfalusi@linux.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: <20230523194654.GB5820@wunner.de> References: <20230522143105.8617-1-LinoSanfilippo@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham 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 10:00:10PM +0300, Jarkko Sakkinen wrote: > I feel also a bit resistant because leaf driver framework is really > a wrong location in the kernel tree for IRQ storm detection. > > It would be better to have it signaled above the TPM driver, and the > driver would then just act on it. That would require changing the logic in kernel/irq/spurious.c. At this point in the cycle, such a change would definitely not be eligible as a fix for v6.4. Thanks, Lukas