linux-integrity.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [regression] Kernel 6.4 failing to access TPM on Framework Laptop 12th gen
@ 2023-07-10  7:37 Thorsten Leemhuis
  2023-07-10 13:38 ` [PATCH 1/2] tpm/tpm_tis: Disable interrupts for Framework Laptop Intel " Christian Hesse
  0 siblings, 1 reply; 36+ messages in thread
From: Thorsten Leemhuis @ 2023-07-10  7:37 UTC (permalink / raw)
  To: Lino Sanfilippo
  Cc: Jarkko Sakkinen, Linux kernel regressions list,
	Linux kernel regressions list, Peter Huewe,
	linux-integrity@vger.kernel.org

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"

^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2023-08-14 17:34 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).