platform-driver-x86.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
@ 2025-10-22 20:04 Lars Francke
  2025-10-22 20:09 ` Mario Limonciello
  2025-10-26 14:17 ` Shyam Sundar S K
  0 siblings, 2 replies; 27+ messages in thread
From: Lars Francke @ 2025-10-22 20:04 UTC (permalink / raw)
  To: Shyam Sundar S K, Tom Lendacky, John Allen, platform-driver-x86

Hi,

while I've been active in the open-source ecosystem for years, this is
my first report to the kernel. Please be gentle if I made mistakes.

I'm debugging hibernation & sleep issues with my HP ZBook Ultra G1a.
It has a AMD RYZEN AI MAX+ PRO 395 w/ Radeon 8060S.

After resuming from hibernation I get this log line once a second:
  amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0

Right after hibernation and before the first of those errors I get:
  ccp 0000:c3:00.2: tee: command 0x5 timed out, disabling PSP

On boot it looks good:
  ccp 0000:c3:00.2: psp enabled

I had to google what TEE, CCP and PSP mean so it's partial guesswork
on my end that these are related. It looks like PSP hardware(?)
doesn't come out of hibernation properly and is disabled which means
all further calls to it fail and I get the error message.
It looks scary but seems harmless?

Commit 11e298f3548a6fe5e6ad78f811abfba15e6ebbc1 from 2024 has
more or less exactly my error message but it doesn't seem
to be fixed for this case.
https://lore.kernel.org/all/20240216064112.962582-2-Shyam-sundar.S-k@amd.com/
(I picked my recipients partially from that mail & maintainers.pl output)

My Environment
- Kernel: 6.17.4-arch2-1
- Hardware: HP ZBook Ultra G1a with AMD Ryzen AI Max+ Pro 395
- Distribution: Arch Linux

I can (try to) test patches and provide additional debug output if needed.
I have not tried any of the 6.18 RCs yet but I'll try to figure out
how I can install them next. Looking at the git history I can't
see any changes between 6.17.4 and 6.18 that seem relevant though.

Thanks for your help!

Cheers,
Lars

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

end of thread, other threads:[~2025-11-11  8:57 UTC | newest]

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

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).