Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1198085rwr; Fri, 5 May 2023 10:23:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4MG/lxumTqKCtgpOUEAU7brHYgv5GU8GpvQXPyOlRhSqtNBnCvjlvypt7VSpJ2OYxQFH0U X-Received: by 2002:a17:902:7606:b0:1ab:68b:cafe with SMTP id k6-20020a170902760600b001ab068bcafemr2357754pll.27.1683307425852; Fri, 05 May 2023 10:23:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683307425; cv=none; d=google.com; s=arc-20160816; b=EDrcRHTuLRxp3QwvHXTtTeAgUQi4vz93j+r/rX9O1EBPFCngG9EvyyCb3hRwLAEm00 XBhu//thC0gIFK29xVhlh7Cqb1cObpUQlv9jgOchEC0PnTvyaRsx8sjrC/2jruJmjUUC cXC8QUPTyhnPK1tnnde8hRaGgqRDNiim1PPyJJACJSLrVM7ZplhHyfUegRk8TZuMmneN Nc4Djb911Kg834XcMPb5hevy/MLrILSk2Z9daLOC0ep1hjAP96qEtyPGI29PWsfHY8U5 xbE5UO9l3QVM5KGgVtiwhsIgEBs9vUXfI5CZnF7NvH0ZqmwsdqojtiGhSMDb0DGj9xjd 0HcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=XKocbXJ3Lq6iRPF1r1APTgPMV6TLzhj+9VGiviht+rY=; b=vgpO/kopyycNtHSVHaOtulhn3vwI2IpDjA2+vfWZG/PjDPhv2oOD3GjEfSFKqCI8OY JsoN9SUHYP4gEXUDufso7mzkiUTcVBMAhSNUJU/u3cy8NUSLTSUH4poE7qoLufhMU5WL /tAtEKYot8XLi7A/y0vtAHgmpNK1QKYk+xBslGdXbtOV+SlUX5R8Hu3mv6QpDJse+ri2 LrQbeD/NLSsOLkIWP+75qJAxo8fEcuXpIVM5N34wJjHBL+wOpTfqaJ7lXQU2ZHCL66GQ MWvz6gaUjAYJn+StGSeJzcjIio7w9ZDmbK+rhGuZItckXd3mIi1PrfVzddYbEz65px6S w0vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b="qwJYwoC/"; 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 mh5-20020a17090b4ac500b0024b2d3e245asi7263871pjb.27.2023.05.05.10.23.30; Fri, 05 May 2023 10:23:45 -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=@infradead.org header.s=desiato.20200630 header.b="qwJYwoC/"; 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 S232009AbjEERTb (ORCPT + 99 others); Fri, 5 May 2023 13:19:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230297AbjEERTa (ORCPT ); Fri, 5 May 2023 13:19:30 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F11E513288; Fri, 5 May 2023 10:19:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=XKocbXJ3Lq6iRPF1r1APTgPMV6TLzhj+9VGiviht+rY=; b=qwJYwoC/sW9KZQnL/aQ9hvcuyl tO5idmF5gUIEUZWJB07xlcCOlmj4gEKnOEb9Z5SIQyXPm605JJsVT2ugAt+KCs0y0bSpvQVbcJKg0 lytsfv9BlXlwf6ejXo7v8MoEwHmcN3qa5wZxGv/Bi3AJvgTKTC+pDjrjM7XTx9+Falguaq5goHkXC F9mnhDGEnmybuigEIEbBsyd/xiSkXoPFJX8XxqiJRUvfBh4vRMChQGgys3PE3AQqSHwdsgqt2NbMC Wnt8Fv1fDJ8mV7sOm4MXbjUVDEEykGRMqgjJ1hcpDQOOh5vkW1NDtz3cyOPXrNZ/OX8T8nEnNc1sm lYIgI19Q==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1puz5S-003Ivw-1I; Fri, 05 May 2023 17:19:18 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (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 did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 50327300635; Fri, 5 May 2023 19:19:16 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 1BF31201F214F; Fri, 5 May 2023 19:19:16 +0200 (CEST) Date: Fri, 5 May 2023 19:19:15 +0200 From: Peter Zijlstra To: Jerry Snitselaar Cc: peterhuewe@gmx.de, jarkko@kernel.org, hdegoede@redhat.com, jgg@ziepe.ca, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Gleixner Subject: Re: tpm_sis IRQ storm on ThinkStation P360 Tiny Message-ID: <20230505171915.GA1821641@hirez.programming.kicks-ass.net> References: <20230505130731.GO83892@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 Fri, May 05, 2023 at 08:05:53AM -0700, Jerry Snitselaar wrote: > It will poll like it has for years with tpm_tis.interrupts=0 so that > should be working as it was prior to 6.3 when interrupts were re-enabled > for tpm_tis. Are you seeing this with 6.2 as well? IIRC with that Thinkpad > case is when it was first realized that interrupts had accidentally been > disabled for tpm_tis at one point by a change. v6.2 gets me: [ 8.888394] tpm_tis MSFT0101:00: 2.0 TPM (device-id 0x1D, rev-id 54) [ 8.891123] tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling instead > I guess myself or someone else needs to revisit catching this in > general when the irq storm happens, and disabling interrupts for > tpm_tis. I think last time I was incorporating some feedback from > tglx, let my adhd get me distracted with some other issue and never > returned to it. > > The diff below should (compile tested) work for the P360, but > tpm_tis.interrupts=0 is a good work-around. Yep, I suppose it would. I'll keep the kernel parameter for now, that's easier than making sure I consistently apply that patch. Thanks!