Linux Integrity Measurement development
 help / color / mirror / Atom feed
From: Jarkko Sakkinen <jarkko@kernel.org>
To: Sean Meadows <Hellfire@unspacy.com>
Cc: Mario Limonciello <mario.limonciello@amd.com>,
	linux-integrity@vger.kernel.org, peterhuewe@gmx.de, jgg@ziepe.ca,
	rafael@kernel.org, lenb@kernel.org, linux-acpi@vger.kernel.org,
	Adam Alves <adamoa@gmail.com>
Subject: Re: [BUG] tpm_crb/Intel PTT: Late S3/S5/Reboot ACPI power management deadlock
Date: Mon, 19 Oct 2026 16:08:23 +0300	[thread overview]
Message-ID: <atYWR_DUQlYupk03@kernel.org> (raw)
In-Reply-To: <24255490-d0b6-4793-aa7c-2954bd52383e@unspacy.com>

On Mon, Oct 19, 2026 at 03:05:42AM -0400, Sean Meadows wrote:
> 
> On 10/10/26 15:39, Jarkko Sakkinen wrote:
> > 
> > So the gist why I believe that this might have effect is that every
> > transmit reverts the state to the initial state. That should erase any
> > weird state that firmware might be in (usually not that great quality
> > code).
> > 
> > I think Mario's patch is good overall for the stability. It looks to me
> > that we are catching some weird state inside firmware where we don't
> > have direct visibility. Or this is my guess at least.
> > 
> > Br, Jarkko
> 
> 7.3.0-rc6-g587527648af0 with cherry-pick
> 9154aa6c4b789d23e59d599c330cab2c4e915401
> 
> strings /lib/modules/$(uname -r)/build/vmlinux | grep "cmd_ready"
> Used to validate crb_cmd_ready responses.
> 
> The patch failed at 201 hours, on the ninth drop into S3. While this
> represents an all-time high for uptime, the failure demonstrates that
> the Intel PTT can still enter a corrupt state.
> 
> Where do we go from here?

I don't know. I'd even consider finding the channel to report the
possible firmware bug to Intel.

I don't have resources to do this but getting Windows CRB register
state captured could help. And then writing perhaps bpftrace script
to dump the live register state of tpm_crb (because you should
never trust reading code when you measure).

> 
> Sean

Br, Jarkko

  reply	other threads:[~2026-10-19 13:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-10  6:45 [BUG] tpm_crb/Intel PTT: Late S3/S5/Reboot ACPI power management deadlock Sean Meadows
2026-09-18  1:28 ` Jarkko Sakkinen
2026-09-22  8:42   ` Sean Meadows
2026-09-25 15:05     ` Jarkko Sakkinen
2026-09-29 17:44       ` Sean Meadows
2026-09-29 22:25         ` Jarkko Sakkinen
2026-10-07 16:27           ` Sean Meadows
2026-10-08 17:47             ` Jarkko Sakkinen
2026-10-08 20:00               ` Mario Limonciello
2026-10-08 21:56                 ` Sean Meadows
2026-10-10 19:39                   ` Jarkko Sakkinen
2026-10-19  7:05                     ` Sean Meadows
2026-10-19 13:08                       ` Jarkko Sakkinen [this message]
2026-10-19 13:12                         ` 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=atYWR_DUQlYupk03@kernel.org \
    --to=jarkko@kernel.org \
    --cc=Hellfire@unspacy.com \
    --cc=adamoa@gmail.com \
    --cc=jgg@ziepe.ca \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-integrity@vger.kernel.org \
    --cc=mario.limonciello@amd.com \
    --cc=peterhuewe@gmx.de \
    --cc=rafael@kernel.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