Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4629669rwd; Tue, 30 May 2023 07:55:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5c5VQnUaGp5QgqAhIx+4A9w0x2WbNeIpsAflBWKaqFXxfelLd4aMbKrMmAgfnlPxyFtV70 X-Received: by 2002:a17:902:e891:b0:1af:fc6e:f9e4 with SMTP id w17-20020a170902e89100b001affc6ef9e4mr3058677plg.29.1685458519315; Tue, 30 May 2023 07:55:19 -0700 (PDT) Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x1-20020a170902820100b001ae6b1c3fb6si1647622pln.470.2023.05.30.07.55.05; Tue, 30 May 2023 07:55:19 -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; arc=fail (body hash mismatch); 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 S232673AbjE3OlN convert rfc822-to-8bit (ORCPT + 99 others); Tue, 30 May 2023 10:41:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232479AbjE3OlH (ORCPT ); Tue, 30 May 2023 10:41:07 -0400 Received: from sender4-of-o54.zoho.com (sender4-of-o54.zoho.com [136.143.188.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA3A5133; Tue, 30 May 2023 07:40:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685457632; cv=none; d=zohomail.com; s=zohoarc; b=NodDAN8jT2f3ZiV5uM1Sf1F2TeqLOOf1uMtemS/b2+xWk2M667hrwH5NRLG5oYgqn4zU9Ic2eJi6wJM68wATTj1IWUi4LXTYO6Vt/gmdgPscl8/WOt3t2O0paXShabvMd4EJY2wnRB+iLTYEhly086sTtrZXg3xkYcVfLoX7u3A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1685457632; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=V1GWmIY+CwXqmNGcS38lD96AhFE4C+yB1cMB5Uk2MWc=; b=NqNW5iwvFO3KyRvwxfdV87L9+h79C3vge95/cUbGDEWXTaR62B1XA1iMU+CfRiSjEhhiwIIvIBJkPrYJ24n4YepZm7makTXISsGGQxCCglqkLRlPVrHPxrMBPd2YYUchL7oWwcrY2og/yNRxxAyWz8wS+5NBfc6lAk2WxErdLWk= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass smtp.mailfrom=linux@mniewoehner.de; dmarc=pass header.from= Received: from z3r0.lan (31.187.91.190 [31.187.91.190]) by mx.zohomail.com with SMTPS id 1685457630706946.7287440721707; Tue, 30 May 2023 07:40:30 -0700 (PDT) Message-ID: <0e837a2e859b4c633b068368f3c28ba30fc1af70.camel@mniewoehner.de> Subject: Re: [linus:master] [tpm, tpm_tis] e644b2f498: RIP:acpi_safe_halt From: Michael =?ISO-8859-1?Q?Niew=F6hner?= To: Jerry Snitselaar Cc: Lino Sanfilippo , Lukas Wunner , Jarkko Sakkinen , oe-lkp@lists.linux.dev, lkp@intel.com, linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org, Philipp Rosenberger , peterz@infradead.org In-Reply-To: <6hbzssr2byskuiznx6vvatcuvjkrbhscvorzm4qcheh3n6n4zj@2nrfawn6rbst> References: <202305041325.ae8b0c43-yujie.liu@intel.com> <42ea93a1-3186-b8ff-c317-d51f3e13856e@kunbus.com> <20230511141607.GA32208@wunner.de> <1a8ecf90-80a4-9aac-95e1-9ce0c4e09ba5@kunbus.com> <6nf5n6fdnkhx6taa2mecnsmyw7sdgaz6fbvkqy7jqkyd7jq2u7@ogsi6ije32in> <6hbzssr2byskuiznx6vvatcuvjkrbhscvorzm4qcheh3n6n4zj@2nrfawn6rbst> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Date: Tue, 30 May 2023 16:40:26 +0200 MIME-Version: 1.0 User-Agent: Evolution 3.44.4 X-ZohoMailClient: External X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,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 Mon, 2023-05-29 at 13:58 -0700, Jerry Snitselaar wrote: > On Mon, May 29, 2023 at 05:07:54PM +0200, Michael Niewöhner wrote: > > Hi Jerry, > > > > On Thu, 2023-05-11 at 07:59 -0700, Jerry Snitselaar wrote: > > > > > > IIRC trying to catch the irq storm didn't work in the L490 case for > > > some reason, so we might still need the dmi entry for that one. > > > > > > The info that the T490s had a pin wired up wrong came from Lenovo, but > > > this one even looks to be a different vendor so I wonder how often > > > this happens or if there is something else going on. Is it possible to > > > get info about the tpm used in the Inspur system? The datasheet online > > > doesn't mention it. > > > > Are you sure about T490s? To me the wiring looks right on both s and non-s: > > Pin > > 18 / PIRQ# goes to PIRQA# of the PCH/SoC. > > > > However on L490 Pin 18 / PIRQ# is wired wrongly to SERIRQ, which probably is > > the > > reason that catching the interrupt storm didn't work: I guess this > > completely > > messes up LPC communication and causes way more problems. In this case only > > a > > DMI quirk can help. > > > > BR > > Michael > > > > I'm searching to see if I can find the old bug/email where that info > from Lenovo originated.  It could be that the info was wrong, and > it was some firmware issue instead. IIRC the the T490s issue could be > solved with the code looking for the irq storm, but the L490 needed > the dmi check even with the irq storm checking code. Tbh I wonder why the T490s suffers from that interrupt storm at all, but that might be a FW bug (it's not handling the interrupt). L490 definitely needs that DMI check, right. > > > I haven't found the info yet, but I did find some other reports from back > then. > > Spurious irq reported with 5.5.7, so after the irq reverts in v5.5: > > tpm_tis IFX0785:00: 2.0 TPM > Hardware name: Entroware Proteus/Proteus, BIOS 1.07.07TE0 11/15/2019 That's actually a Clevo N151CU. According to schematics it's wired correctly to PIRQA#, so probably a FW bug as well. > > Thinkpad P53 > tpm_tis STM7308:00: 2.0 TPM > Hardware name: LENOVO 20QNCTO1WW/20QNCTO1WW, BIOS N2NET34W (1.19 ) 11/28/2019 > > > > Reports from before the 5.5 reverts: > > tpm_tis MSFT0101:00: 2.0 TPM > Hyperbook NH5/Clevo NH55RCQ PIRQ# wired to GPP_B0 - needs correct setup in firmware -> probably a firmware bug. > > tpm_tis IFX0785:00: 2.0 TPM > Clevo N151CU-derived notebook Same device as Entroware Proteus. > > > Regards, > Jerry > > > > > > > Regards, > > > Jerry > > > > > > > > Thanks, > > > > > > > > > > Lukas > > > > > >