Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5117427rwd; Tue, 23 May 2023 18:50:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ44xEeScsJ7qokZ+BlxEU+C0+RTzLkJWQnUx3HQgd2dbHzjrsWgcgmEZMt55hsoi6YZ3/XD X-Received: by 2002:a05:6a21:9205:b0:ec:e5bb:1bc4 with SMTP id tl5-20020a056a21920500b000ece5bb1bc4mr13043467pzb.6.1684893020313; Tue, 23 May 2023 18:50:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684893020; cv=none; d=google.com; s=arc-20160816; b=szr1wOZau++71jbtoKxWTj44z75NL+RrIw3N6PXb6lRbDOPUfNv0XPWrned/h+YdSf 3CD/MU5urQwy6DKUwyLWF+Len0e4mLJy+mRCZvbhknsVLR1OioWqG2/G/BUp4Xo/DpDG OUKuzbbFhxiEKSwVndoTTRmwTpGy6m+wzVt+XLx8EgTVScmyWI5z29pYr7d9ZVQphVS4 8DPpE2dTbN3x9KRrM1SDmuecxirtdMpedKIbKXxOahxpT+XzXQU6ohsyjxMdlpl8Bpov JYBuu/xwiT6CfGGGKBEUAXPwxf9jGBPIcyQ7tvA9qc9At3HEYa1MaOdqTKGS1Mdh+mla QgZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:references:subject:cc:to:from :message-id:date:content-transfer-encoding:mime-version :dkim-signature; bh=1i9NJYDGvdiK2ften8KMi4SRD6dy8PAxx3HVvz2rB+U=; b=hqbcajALAOaY46KiFf8qnw1jKjU93d+NnrMr+6IGH+OaUfCisjsTUXatFiwtK4oOmb GcPqknQoXnBSsZqlvpNafV11SAKQM2b3ht4TpjBY2Eo3kdUTu0VPnrMyK1f0O4bxb3RP LJ4gLJBjl0vWILbEvDQsXPQ8YMdROCfmswT7vASK4wSlyOArriJRisPF0aojQFwX5m1s T+fVdPF44klMn1wd9FBbqJLymv/UjrjjYlwIZXca0q4xuINAk67jRj1h9O2Xf1vQy8Uy tH+4VE6ykWb+7EJrwjOyDc+QrAJFuyXddRYUrVwP440rF8Usxy3FyFXqZiBHLU2DTSmD b+IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=javWr5xw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n24-20020a638f18000000b0052132a8e4e3si7378829pgd.510.2023.05.23.18.50.05; Tue, 23 May 2023 18:50:20 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=javWr5xw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236608AbjEXBoU (ORCPT + 99 others); Tue, 23 May 2023 21:44:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233675AbjEXBoT (ORCPT ); Tue, 23 May 2023 21:44:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5864C130; Tue, 23 May 2023 18:44:18 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E405B6379E; Wed, 24 May 2023 01:44:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8684BC433EF; Wed, 24 May 2023 01:44:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684892657; bh=1i9NJYDGvdiK2ften8KMi4SRD6dy8PAxx3HVvz2rB+U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=javWr5xwdF0vZgR5JvCfqcDsNZz4yx2iJBkNCKyxK8GWBsKtF/y9r2YWa286YF0yW E+fkMK7mVs/AiK9LxJeTkHHCW0/2xM/jGpQ9DVgzi1ncn/RJI6llap67y7/buVPxMC 8t1rsvbfT9Umhh2ZZavdBXlxF/ZqKvetq77ohctG9uQBsSpXRH7A1kbMA3z+fu78/G uWaxw7lakM7yS+qix0gu7Gs0pbFGdQN/6dV+hyZc3Hw8xqTtvJwJtaPHDWMcaLxBfN xYlK1QQ+Vpre6ejbQIAtBSUZWXg6ObPYYyYQkEwxmwo09T3evP/INk4piSFblGWlHX JgwDrdbNQ78DA== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 24 May 2023 04:44:12 +0300 Message-Id: From: "Jarkko Sakkinen" To: "Lukas Wunner" Cc: "Lino Sanfilippo" , , , , , , , , , , , , , Subject: Re: [PATCH 1/2] tpm, tpm_tis: Handle interrupt storm X-Mailer: aerc 0.14.0 References: <20230522143105.8617-1-LinoSanfilippo@gmx.de> <20230523194654.GB5820@wunner.de> In-Reply-To: <20230523194654.GB5820@wunner.de> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,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:46 PM EEST, Lukas Wunner wrote: > 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. > >=20 > > 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. No disagreeing with this. Just pointed it out. BR, Jarkko