Linux Integrity Measurement development
 help / color / mirror / Atom feed
From: "Jarkko Sakkinen" <jarkko@kernel.org>
To: "Grundik" <ggrundik@gmail.com>,
	"Thorsten Leemhuis" <regressions@leemhuis.info>,
	"Lino Sanfilippo" <LinoSanfilippo@gmx.de>
Cc: "Linux kernel regressions list" <regressions@lists.linux.dev>,
	"Peter Huewe" <peterhuewe@gmx.de>,
	"Christian Hesse" <mail@eworm.de>, <stable@vger.kernel.org>,
	<roubro1991@gmail.com>,
	"Linus Torvalds" <torvalds@linux-foundation.org>,
	"Christian Hesse" <list@eworm.de>,
	<linux-integrity@vger.kernel.org>
Subject: Re: [PATCH v2 1/2] tpm/tpm_tis: Disable interrupts for Framework Laptop Intel 12th gen
Date: Fri, 11 Aug 2023 23:01:53 +0300	[thread overview]
Message-ID: <CUPZF09RGD86.VQN9BOMEYZX5@suppilovahvero> (raw)
In-Reply-To: <5806ebf113d52c660e1c70e8a57cc047ab039aff.camel@gmail.com>

On Fri Aug 11, 2023 at 9:47 PM EEST, Grundik wrote:
> On Fri, 2023-08-11 at 20:40 +0300, Jarkko Sakkinen wrote:
> > On Fri Aug 11, 2023 at 8:22 PM EEST, Jarkko Sakkinen wrote:
> > > On Fri Aug 11, 2023 at 11:18 AM EEST, Thorsten Leemhuis wrote:
> > > 
> > > 
> > > I see two long-standing options:
> > > 
> > > A. Move from deny list to allow list when considering using IRQs.
> > > This
> > >    can be supplemented with a kernel command-line parameter to
> > > enforce
> > >    IRQs and ignore the allow list (and IRQ storm detection provides
> > >    additional measure in case you try to enforce)
> > > B. Change deny list to match only vendors for the time being. This
> > > can
> > >    be supplemented with a allow list that is processed after the
> > > deny
> > >    list for models where IRQs are known to work.
> [...]
> > 
> > This is also super time consuming and takes the focus away from more
> > important matters (like most likely the AMD rng fix would have gone
> > smoother without these getting in the way all the time).
>
> Main problem of any list is maintaining of them. So, I think there
> should not be any black or white lists at all. Module should work with
> reasonable default (polling is the one, which lived without problems
> for years and years due to bug, as I understand), and probably a boot
> option to force IRQ. Maybe module should warn user to try that option.
>
> I don't know: is it even worth it to use IRQ, if it so problematic? Are
> there any significant advantages of that? I understand, polling is a
> resource consumer, but its just TPM, which is used mainly at the boot
> time, is it worth it?

+1

Thanks for sharing your opinion. I'll take the necessary steps.

BR, Jarkko

  reply	other threads:[~2023-08-11 20:02 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-10  7:37 [regression] Kernel 6.4 failing to access TPM on Framework Laptop 12th gen Thorsten Leemhuis
2023-07-10 13:38 ` [PATCH 1/2] tpm/tpm_tis: Disable interrupts for Framework Laptop Intel " Christian Hesse
2023-07-10 13:38   ` [PATCH 2/2] tpm/tpm_tis: Disable interrupts for Framework Laptop Intel 13th gen Christian Hesse
2023-07-10 13:56   ` [PATCH 1/2] tpm/tpm_tis: Disable interrupts for Framework Laptop Intel 12th gen Linux regression tracking (Thorsten Leemhuis)
2023-07-10 14:10   ` Greg KH
2023-07-10 14:28   ` [PATCH v2 " Christian Hesse
2023-07-10 14:28     ` [PATCH v2 2/2] tpm/tpm_tis: Disable interrupts for Framework Laptop Intel 13th gen Christian Hesse
2023-07-10 16:52     ` [PATCH v2 1/2] tpm/tpm_tis: Disable interrupts for Framework Laptop Intel 12th gen Linux regression tracking (Thorsten Leemhuis)
2023-07-10 18:01     ` Jason Gunthorpe
2023-07-10 18:38       ` Jarkko Sakkinen
2023-07-11 14:18       ` James Bottomley
2023-07-12 17:00       ` Jerry Snitselaar
2023-07-10 21:13     ` Christian Hesse
2023-07-10 21:16       ` [PATCH v3 " Christian Hesse
2023-07-10 21:16         ` [PATCH v3 2/2] tpm/tpm_tis: Disable interrupts for Framework Laptop Intel 13th gen Christian Hesse
2023-07-10 21:29       ` [PATCH v2 1/2] tpm/tpm_tis: Disable interrupts for Framework Laptop Intel 12th gen Jarkko Sakkinen
2023-07-10 21:51         ` Jarkko Sakkinen
2023-07-12  6:48           ` Christian Hesse
2023-07-17 13:10             ` Jarkko Sakkinen
2023-07-11 12:41         ` Grundik
2023-07-11 13:00           ` Linux regression tracking (Thorsten Leemhuis)
2023-07-11 21:50           ` Jarkko Sakkinen
2023-07-13 15:33             ` Lino Sanfilippo
2023-08-06 16:30             ` Grundik
2023-08-11  8:18               ` Thorsten Leemhuis
2023-08-11 10:44                 ` Grundik
2023-08-11 17:46                   ` Jarkko Sakkinen
2023-08-11 17:22                 ` Jarkko Sakkinen
2023-08-11 17:40                   ` Jarkko Sakkinen
2023-08-11 18:47                     ` Grundik
2023-08-11 20:01                       ` Jarkko Sakkinen [this message]
2023-08-12 11:28                         ` Grundik
2023-08-14 17:33                           ` Jarkko Sakkinen
2023-08-11 18:55                   ` Linus Torvalds
2023-08-11 19:28                     ` Jarkko Sakkinen
2023-07-10 16:29   ` [PATCH " 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=CUPZF09RGD86.VQN9BOMEYZX5@suppilovahvero \
    --to=jarkko@kernel.org \
    --cc=LinoSanfilippo@gmx.de \
    --cc=ggrundik@gmail.com \
    --cc=linux-integrity@vger.kernel.org \
    --cc=list@eworm.de \
    --cc=mail@eworm.de \
    --cc=peterhuewe@gmx.de \
    --cc=regressions@leemhuis.info \
    --cc=regressions@lists.linux.dev \
    --cc=roubro1991@gmail.com \
    --cc=stable@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /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