From: Mario Limonciello <superm1@kernel.org>
To: Lars Francke <lars.francke@gmail.com>
Cc: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>,
Tom Lendacky <thomas.lendacky@amd.com>,
John Allen <john.allen@amd.com>,
platform-driver-x86@vger.kernel.org,
Patil Rajesh <Patil.Reddy@amd.com>
Subject: Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
Date: Sun, 26 Oct 2025 21:15:49 -0500 [thread overview]
Message-ID: <98d440b0-92b5-45aa-a42b-89dd5a243bae@kernel.org> (raw)
In-Reply-To: <CAD-Ua_hYxHWa_rQWC6-2kMw4pXWt1fkdJT06AWeTZUbBFT-HDA@mail.gmail.com>
On 10/26/25 6:21 PM, Lars Francke wrote:
> I did try your patch for the TEE enact cmd issue (I have not applied
> the second one yet, I'll try that as well) and I'm sorry to say that
> it didn't help. dmesg looks exactly the same as before as far as I can
> tell.
>
> I'll triple check if I did everything correctly but I manually
> confirmed that my source tree contains your patch so I'm _fairly_
> certain.
>
> I did upload the dmesg[1] and more[2] again. Happy to try more patches.
>
> [1] <https://github.com/lfrancke/amd-pmf-hibernate/blob/main/hibernate-debug-20251027-001557/dmesg-full.log>
>
> [2] <https://github.com/lfrancke/amd-pmf-hibernate/tree/main/hibernate-debug-20251027-001557>
One way to be sure it's applied is to add a pr_info() message into the
new function. Then you'll know exactly when the new function is called
in the logs.
But assuming that was in place then I feel this will still require some
other coordination work with the PMF driver then too.
>
>
> On Sun, Oct 26, 2025 at 10:16 PM Mario Limonciello <superm1@kernel.org> wrote:
>>
>>
>>
>> On 10/26/25 3:39 PM, Lars Francke wrote:
>>>> Can you try this attached patch which inserts that flow to see if it
>>>> helps?
>>>
>>> I haven't build my own kernel in a good 20 years, I'm on it though.
>>> I've applied it on top of 6.17.5 - is that good or do I need something
>>> newer (6.18 or similar)?
>>>
>>> Thanks!
>>
>> 6.17.5 should be fine. But I suggest you add both patches. It would be
>> a nice confirmation if the other patch fixes your power off after
>> hibernate issue.
next prev parent reply other threads:[~2025-10-27 2:15 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-22 20:04 AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors Lars Francke
2025-10-22 20:09 ` Mario Limonciello
2025-10-26 14:17 ` Shyam Sundar S K
2025-10-26 16:46 ` Lars Francke
2025-10-26 16:49 ` Shyam Sundar S K
2025-10-26 17:40 ` Mario Limonciello
2025-10-26 17:44 ` Mario Limonciello
2025-10-26 20:39 ` Lars Francke
2025-10-26 21:16 ` Mario Limonciello
2025-10-26 23:21 ` Lars Francke
2025-10-27 2:15 ` Mario Limonciello [this message]
2025-10-27 11:12 ` Lars Francke
2025-10-27 12:11 ` Shyam Sundar S K
2025-10-27 13:10 ` Mario Limonciello
2025-10-27 16:18 ` Lars Francke
2025-10-27 19:32 ` Mario Limonciello
2025-10-27 20:17 ` Lars Francke
2025-10-27 20:40 ` Mario Limonciello
2025-10-27 20:46 ` Lars Francke
2025-10-27 21:23 ` Lars Francke
2025-10-28 17:12 ` Shyam Sundar S K
2025-10-28 23:45 ` Lars Francke
2025-10-29 3:38 ` Mario Limonciello (AMD) (kernel.org)
2025-10-30 0:22 ` Lars Francke
2025-10-30 13:35 ` Mario Limonciello (AMD) (kernel.org)
2025-11-04 16:16 ` Mario Limonciello
2025-11-11 8:56 ` Lars Francke
2025-11-19 21:07 ` Mario Limonciello
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=98d440b0-92b5-45aa-a42b-89dd5a243bae@kernel.org \
--to=superm1@kernel.org \
--cc=Patil.Reddy@amd.com \
--cc=Shyam-sundar.S-k@amd.com \
--cc=john.allen@amd.com \
--cc=lars.francke@gmail.com \
--cc=platform-driver-x86@vger.kernel.org \
--cc=thomas.lendacky@amd.com \
/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.