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 DDEBCC04A6A for ; Thu, 10 Aug 2023 22:07:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231220AbjHJWHv (ORCPT ); Thu, 10 Aug 2023 18:07:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229539AbjHJWHu (ORCPT ); Thu, 10 Aug 2023 18:07:50 -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 A9F89128; Thu, 10 Aug 2023 15:07:50 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3F18E66860; Thu, 10 Aug 2023 22:07:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B73FC433C7; Thu, 10 Aug 2023 22:07:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691705269; bh=PQiYUbrn+vxUBT9giTaeZQwFIePU9/l3mZVQ1pA+f7U=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=Si5Q+VAjW9dkV8N21TrN+4smAXGiYLJMfpT6jNzfaf1F5O7ziz1k5cgrGDAqcVm9V IWHdfFz5H2UHFX6A8LtQtmwrPWjDI/wmPBT7Y9F6DX1xgUycPR4AGGVhcOuN/s7x9P SN0FpMtTzTGHhiNipDGZYOQlcdxwEII+pGjgPB+AnvspEmZ0XHKFUaFC73hjOvpiiw itI1ifN3tLy5N6SR9H7pnCEXryJ7zgP9wElNOFza+P20PUWyCZF0LTX13sGdyXtECu Y8VtnAW/9kwE0mz1aP3qlZPTswNvpiAhsmtNBl1ieBj0T+figg8E/23DzQS+SMPqWS QqH49A5ezs7KQ== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 11 Aug 2023 01:07:45 +0300 Message-Id: Cc: "Jason Gunthorpe" , "Lino Sanfilippo" , "linux-integrity@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] tpm/tpm_tis: Disable interrupts for MSI GS66 Stealth 11UG From: "Jarkko Sakkinen" To: "Jonathan McDowell" , "Peter Huewe" X-Mailer: aerc 0.14.0 References: <20230810091851.GA1088011@noodles-fedora.dhcp.thefacebook.com> In-Reply-To: <20230810091851.GA1088011@noodles-fedora.dhcp.thefacebook.com> Precedence: bulk List-ID: X-Mailing-List: linux-integrity@vger.kernel.org On Thu Aug 10, 2023 at 12:18 PM EEST, Jonathan McDowell wrote: > The MSI GS66 Stealth 11UG laptop also suffers from an IRQ problem with > tpm_tis, causing the TPM to be inaccessible. Add an entry to > tpm_tis_dmi_table to force polling mode. > > Cc: stable@vger.kernel.org # v6.4+ > Fixes: e644b2f498d2 ("tpm, tpm_tis: Enable interrupt test") > Signed-off-by: Jonathan McDowell > --- > drivers/char/tpm/tpm_tis.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/drivers/char/tpm/tpm_tis.c b/drivers/char/tpm/tpm_tis.c > index ac4daaf294a3..14dee959ee19 100644 > --- a/drivers/char/tpm/tpm_tis.c > +++ b/drivers/char/tpm/tpm_tis.c > @@ -130,6 +130,14 @@ static const struct dmi_system_id tpm_tis_dmi_table[= ] =3D { > DMI_MATCH(DMI_PRODUCT_NAME, "Laptop (13th Gen Intel Core)"), > }, > }, > + { > + .callback =3D tpm_tis_disable_irq, > + .ident =3D "MSI GS66 Stealth 11UG", > + .matches =3D { > + DMI_MATCH(DMI_SYS_VENDOR, "Micro-Star International Co., Ltd."), > + DMI_MATCH(DMI_PRODUCT_NAME, "GS66 Stealth 11UG"), > + }, > + }, > { > .callback =3D tpm_tis_disable_irq, > .ident =3D "ThinkPad T490s", > --=20 > 2.41.0 Thanks, please check: https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git/comm= it/?h=3Dnext&id=3Dfe59c383eaef3cbcfe2c0404ee449a88c4e01155 BR, Jarkko