From: Takashi Iwai <tiwai@suse.de>
To: "Jarkko Sakkinen" <jarkko@kernel.org>
Cc: "Takashi Iwai" <tiwai@suse.de>, "Peter Huewe" <peterhuewe@gmx.de>,
"Jason Gunthorpe" <jgg@ziepe.ca>,
<linux-integrity@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] tpm/tpm_tis: Disable interrupts for Lenovo Thinkpad E14 Gen 2 and 13s-IML
Date: Thu, 10 Aug 2023 17:16:49 +0200 [thread overview]
Message-ID: <87ttt7rkpq.wl-tiwai@suse.de> (raw)
In-Reply-To: <CUOYJI68K3KG.39YM92JXBEIQ9@wks-101042-mac.ad.tuni.fi>
On Thu, 10 Aug 2023 17:08:04 +0200,
Jarkko Sakkinen wrote:
>
> On Tue Aug 8, 2023 at 9:12 AM EEST, Takashi Iwai wrote:
> > On Mon, 07 Aug 2023 21:14:20 +0200,
> > Jarkko Sakkinen wrote:
> > >
> > > On Mon Aug 7, 2023 at 2:01 PM UTC, Takashi Iwai wrote:
> > > > Like other Lenovo laptops, Thinkpad E14 Gen 2 and Thinkpad 13s-IML
> > > > also require to disable the tpm_tis interrupts for avoiding a boot
> > > > hang.
> > > >
> > > > Fixes: e644b2f498d2 ("tpm, tpm_tis: Enable interrupt test")
> > > > Cc: <stable@vger.kernel.org> # v6.4+
> > > > Link: https://bugzilla.suse.com/show_bug.cgi?id=1213779
> > > > Signed-off-by: Takashi Iwai <tiwai@suse.de>
> > > >
> > > > ---
> > > > drivers/char/tpm/tpm_tis.c | 16 ++++++++++++++++
> > > > 1 file changed, 16 insertions(+)
> > > >
> > > > diff --git a/drivers/char/tpm/tpm_tis.c b/drivers/char/tpm/tpm_tis.c
> > > > index a98773ac2e55..0633823dc515 100644
> > > > --- a/drivers/char/tpm/tpm_tis.c
> > > > +++ b/drivers/char/tpm/tpm_tis.c
> > > > @@ -130,6 +130,22 @@ static const struct dmi_system_id tpm_tis_dmi_table[] = {
> > > > DMI_MATCH(DMI_PRODUCT_NAME, "Laptop (13th Gen Intel Core)"),
> > > > },
> > > > },
> > > > + {
> > > > + .callback = tpm_tis_disable_irq,
> > > > + .ident = "ThinkPad E14 Gen 2",
> > > > + .matches = {
> > > > + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> > > > + DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad E14 Gen 2"),
> > > > + },
> > > > + },
> > > > + {
> > > > + .callback = tpm_tis_disable_irq,
> > > > + .ident = "ThinkBook 13s-IML",
> > > > + .matches = {
> > > > + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> > > > + DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo ThinkBook 13s-IML"),
> > > > + },
> > > > + },
> > > > {
> > > > .callback = tpm_tis_disable_irq,
> > > > .ident = "ThinkPad T490s",
> > > > --
> > > > 2.35.3
> > >
> > > As almost all issues are with Lenovo, I would instead just put:
> > >
> > > {
> > > .callback = tpm_tis_disable_irq,
> > > .matches = {
> > > DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> > > },
> > > },
> > >
> > > And delete the existing entries with vendor as "LENOVO".
> >
> > Yeah, that will relieve pains better, too.
>
> Please do it if possible then :-)
Do you mean that I should resubmit a new patch?
Honestly speaking, it'd be easier if you can do it directly.
I'm merely a sort of messenger, I don't own / test the device by
myself...
But if inevitably required, I can resubmit a patch, of course.
thanks,
Takashi
next prev parent reply other threads:[~2023-08-10 15:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-07 14:01 [PATCH] tpm/tpm_tis: Disable interrupts for Lenovo Thinkpad E14 Gen 2 and 13s-IML Takashi Iwai
2023-08-07 19:14 ` Jarkko Sakkinen
2023-08-08 6:12 ` Takashi Iwai
2023-08-10 15:08 ` Jarkko Sakkinen
2023-08-10 15:16 ` Takashi Iwai [this message]
2023-08-10 17:35 ` Jarkko Sakkinen
2023-08-10 17:48 ` Takashi Iwai
2023-08-10 18:26 ` Jarkko Sakkinen
2023-08-10 18:50 ` Jarkko Sakkinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ttt7rkpq.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=jarkko@kernel.org \
--cc=jgg@ziepe.ca \
--cc=linux-integrity@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peterhuewe@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox