All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thorsten Leemhuis <regressions@leemhuis.info>
To: Lino Sanfilippo <l.sanfilippo@kunbus.com>
Cc: Jarkko Sakkinen <jarkko@kernel.org>,
	Linux kernel regressions list <regressions@lists.linux.dev>,
	Linux kernel regressions list <regressions@lists.linux.dev>,
	Peter Huewe <peterhuewe@gmx.de>,
	"linux-integrity@vger.kernel.org"
	<linux-integrity@vger.kernel.org>
Subject: [regression] Kernel 6.4 failing to access TPM on Framework Laptop 12th gen
Date: Mon, 10 Jul 2023 09:37:13 +0200	[thread overview]
Message-ID: <c0ee4b7c-9d63-0bb3-c677-2be045deda43@leemhuis.info> (raw)

Hi, Thorsten here, the Linux kernel's regression tracker.

I noticed a regression report in bugzilla.kernel.org. As many (most?)
kernel developers don't keep an eye on it, I decided to forward it by mail.

Lino Sanfilippo, apparently it's cause by a change of yours.

Note, you have to use bugzilla to reach the reporters, as I sadly[1] can
not CCed them in mails like this.

Quoting from https://bugzilla.kernel.org/show_bug.cgi?id=217631 :

> After updating to linux-6.4.1 several users of Framework Laptop
> running Intel 12th gen CPUs reported that their machine fails to boot
> (in my case i5-1240P). It seems it is working fine for the model
> using 11th gen CPUs. See
> https://community.frame.work/t/boot-and-shutdown-hangs-with-arch-linux-kernel-6-4-1-mainline-and-arch/33118
>
> 
> 
> * When using TPM to unlock a LUKS volume it will wait infinitely to
> start systemd-cryptsetup. When forcing a reboot, it will still wait
> for this service to stop and print the following message after
> waiting for some time (see attached cryptsetup_stack.jpg) * When
> disabling TPM unlock, systemd-cryptsetup will start successfully and
> allow to unlock the volume using the passphrase. However, after that
> the boot will also wait indefinitely for systemd-pcrphase to start.
> When force rebooting it will still wait for this service to stop (see
> pcrphase_stack.jpg).
> 
> I was able to boot successfully by either reverting
> e644b2f498d297a928efcb7ff6f900c27f8b788e or disabling interrupts for
> my model like it has been done here:
> https://lore.kernel.org/linux-integrity/20230620-flo-lenovo-l590-tpm-fix-v1-1-16032a8b5a1d%40bezdeka.de/
> 
> DMI_MATCH(DMI_SYS_VENDOR, "Framework"), 
> DMI_MATCH(DMI_PRODUCT_VERSION, "A4"),
See the ticket and the linked forum post for more details.


[TLDR for the rest of this mail: I'm adding this report to the list of
tracked Linux kernel regressions; the text you find below is based on a
few templates paragraphs you might have encountered already in similar
form.]

BTW, let me use this mail to also add the report to the list of tracked
regressions to ensure it's doesn't fall through the cracks:

#regzbot introduced: e644b2f498d297a
https://bugzilla.kernel.org/show_bug.cgi?id=217631
#regzbot title: tpm: boot problems with Framework Laptop 12th gen
#regzbot ignore-activity

This isn't a regression? This issue or a fix for it are already
discussed somewhere else? It was fixed already? You want to clarify when
the regression started to happen? Or point out I got the title or
something else totally wrong? Then just reply and tell me -- ideally
while also telling regzbot about it, as explained by the page listed in
the footer of this mail.

Developers: When fixing the issue, remember to add 'Link:' tags pointing
to the report (e.g. the buzgzilla ticket and maybe this mail as well, if
this thread sees some discussion). See page linked in footer for details.

Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat)
--
Everything you wanna know about Linux kernel regression tracking:
https://linux-regtracking.leemhuis.info/about/#tldr
If I did something stupid, please tell me, as explained on that page.

[1] because bugzilla.kernel.org tells users upon registration their
"email address will never be displayed to logged out users"

             reply	other threads:[~2023-07-10  7:37 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-10  7:37 Thorsten Leemhuis [this message]
2023-07-10 13:38 ` [PATCH 1/2] tpm/tpm_tis: Disable interrupts for Framework Laptop Intel 12th gen 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
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=c0ee4b7c-9d63-0bb3-c677-2be045deda43@leemhuis.info \
    --to=regressions@leemhuis.info \
    --cc=jarkko@kernel.org \
    --cc=l.sanfilippo@kunbus.com \
    --cc=linux-integrity@vger.kernel.org \
    --cc=peterhuewe@gmx.de \
    --cc=regressions@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.