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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  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
  1 sibling, 0 replies; 27+ messages in thread
From: Mario Limonciello @ 2025-10-22 20:09 UTC (permalink / raw)
  To: Lars Francke, Shyam Sundar S K, Patil Rajesh
  Cc: Tom Lendacky, John Allen, platform-driver-x86,
	Kumar, Rajesh (SW Driver)

On 10/22/25 3:04 PM, Lars Francke wrote:
> 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
> 

Thanks for the report!

Right now the PMF driver runs the same code during suspend/resume and 
hibernate/resume (there are common callbacks).

However different things happen to the platform during suspend/resume 
and hibernate/resume.

In suspend/resume the TA that was loaded into the TEE environment 
continues to be loaded.

In hibernate/resume the system will lose all context and the TA is no 
longer loaded.

So I feel the correct solution here is to add a dedicated restore() 
callback which reloads the TA before going down the common path.

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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  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
  1 sibling, 1 reply; 27+ messages in thread
From: Shyam Sundar S K @ 2025-10-26 14:17 UTC (permalink / raw)
  To: Lars Francke, Tom Lendacky, John Allen, platform-driver-x86,
	Patil Rajesh



On 10/23/2025 01:34, Lars Francke wrote:
> 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.
> 

Thanks for the bug report! I need few more details to investigate this.

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

Can you please share full dmesg log? Perhaps with both ccp and amd_tee
drivers enabled with dynamic debug.

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

Do you see this message after hibernation exit?

> 
> 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?
> 

It is harmless, but only the amd_pmf driver will not work in that case
of you.

> 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/

This was a case fixed for S2Idle cases, but I seem to understand that
you are attempting hibernate here, right?

If yes, can you switch to S2Idle or S3 and see there are no errors?

Thanks,
Shyam


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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  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
  0 siblings, 1 reply; 27+ messages in thread
From: Lars Francke @ 2025-10-26 16:46 UTC (permalink / raw)
  To: Shyam Sundar S K
  Cc: Tom Lendacky, John Allen, platform-driver-x86, Patil Rajesh

[-- Attachment #1: Type: text/plain, Size: 1968 bytes --]

Hi,

thank you Mario for the super quick response.
It arrived so fast I missed it.

On Sun, Oct 26, 2025 at 3:17 PM Shyam Sundar S K
<Shyam-sundar.S-k@amd.com> wrote:
> > After resuming from hibernation I get this log line once a second:
> >   amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
>
> Can you please share full dmesg log? Perhaps with both ccp and amd_tee
> drivers enabled with dynamic debug.

I have (with AI help, but reviewed manually) created a shell script to
collect the necessary information. I have attached the full dmesg file
to this mail but am not sure if that is proper etiquette here?

I put up the script & more debug information in a dedicated
repository: https://github.com/lfrancke/amd-pmf-hibernate/tree/main

> > 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
>
> Do you see this message after hibernation exit?

Yes. On a fresh boot it works without issues but after the first
hibernate I get these.


> > 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/
>
> This was a case fixed for S2Idle cases, but I seem to understand that
> you are attempting hibernate here, right?

Correct. I use hibernate.

The issue I'm really trying to debug is a separate one (I'll report
separately): Hibernate doesn't reliably turn off the laptop. Image is
being written successfully but I have to press the power button for
4s.

> If yes, can you switch to S2Idle or S3 and see there are no errors?

"suspend" works fine. I do not see the issue there, only after hibernate.

I hope that helps?

Thanks for looking into it!
Cheers,
Lars

[-- Attachment #2: dmesg-full.log --]
[-- Type: application/octet-stream, Size: 143412 bytes --]

[    0.000000] Linux version 6.17.5-arch1-1 (linux@archlinux) (gcc (GCC) 15.2.1 20250813, GNU ld (GNU Binutils) 2.45.0) #1 SMP PREEMPT_DYNAMIC Thu, 23 Oct 2025 18:49:03 +0000
[    0.000000] Command line: rd.luks.name=58b07f98-4fa4-4db6-b312-6a63156d9a43=cryptroot root=/dev/mapper/cryptroot rootflags=subvol=@ rw quiet nowatchdog mitigations=off hibernate.compressor=lzo
[    0.000000] x86/split lock detection: #DB: warning on user-space bus_locks
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009f000-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x0000000009efffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000009f00000-0x0000000009f87fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x0000000009f88000-0x0000000044bcffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000044bd0000-0x000000004899bfff] reserved
[    0.000000] BIOS-e820: [mem 0x000000004899c000-0x000000004909bfff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000004909c000-0x000000004913dfff] ACPI data
[    0.000000] BIOS-e820: [mem 0x000000004913e000-0x0000000052bd1fff] usable
[    0.000000] BIOS-e820: [mem 0x0000000052bd2000-0x0000000052bd2fff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000052bd3000-0x0000000052bdbfff] usable
[    0.000000] BIOS-e820: [mem 0x0000000052bdc000-0x0000000052bdcfff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000052bdd000-0x000000005d133fff] usable
[    0.000000] BIOS-e820: [mem 0x000000005d134000-0x000000005d138fff] reserved
[    0.000000] BIOS-e820: [mem 0x000000005d139000-0x0000000077ffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000078000000-0x000000007bffffff] reserved
[    0.000000] BIOS-e820: [mem 0x000000007d675000-0x000000007d6fffff] reserved
[    0.000000] BIOS-e820: [mem 0x000000007d800000-0x000000007fffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000e0000000-0x00000000efffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fd300000-0x00000000fd3fffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec10000-0x00000000fec10fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed80000-0x00000000fed80fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fedf1000-0x00000000fedf1fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x0000000c7e0bffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000c7e0c0000-0x00000010b01fffff] reserved
[    0.000000] BIOS-e820: [mem 0x000000fd00000000-0x000000fd01ffffff] reserved
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] APIC: Static calls initialized
[    0.000000] efi: EFI v2.8 by HP
[    0.000000] efi: ACPI=0x4913d000 ACPI 2.0=0x4913d014 SMBIOS=0x45ea0000 SMBIOS 3.0=0x45e9e000 TPMFinalLog=0x48f68000 ESRT=0x45e9c118 RTPROP=0x45e9c798 MEMATTR=0x3813d698 RNG=0x490b6f18 INITRD=0x2e27af18 TPMEventLog=0x490ac018 
[    0.000000] random: crng init done
[    0.000000] efi: Remove mem59: MMIO range=[0xe0000000-0xefffffff] (256MB) from e820 map
[    0.000000] e820: remove [mem 0xe0000000-0xefffffff] reserved
[    0.000000] efi: Remove mem60: MMIO range=[0xfd300000-0xfd3fffff] (1MB) from e820 map
[    0.000000] e820: remove [mem 0xfd300000-0xfd3fffff] reserved
[    0.000000] efi: Not removing mem61: MMIO range=[0xfec00000-0xfec00fff] (4KB) from e820 map
[    0.000000] efi: Not removing mem62: MMIO range=[0xfec10000-0xfec10fff] (4KB) from e820 map
[    0.000000] efi: Not removing mem63: MMIO range=[0xfed80000-0xfed80fff] (4KB) from e820 map
[    0.000000] efi: Not removing mem64: MMIO range=[0xfedf1000-0xfedf1fff] (4KB) from e820 map
[    0.000000] efi: Not removing mem65: MMIO range=[0xfee00000-0xfee00fff] (4KB) from e820 map
[    0.000000] efi: Remove mem67: MMIO range=[0x1090000000-0x10b01fffff] (514MB) from e820 map
[    0.000000] e820: remove [mem 0x1090000000-0x10b01fffff] reserved
[    0.000000] efi: Remove mem68: MMIO range=[0xfd00000000-0xfd01ffffff] (32MB) from e820 map
[    0.000000] e820: remove [mem 0xfd00000000-0xfd01ffffff] reserved
[    0.000000] SMBIOS 3.4.0 present.
[    0.000000] DMI: HP HP ZBook Ultra G1a 14 inch Mobile Workstation PC/8D01, BIOS X89 Ver. 01.03.11 08/28/2025
[    0.000000] DMI: Memory slots populated: 8/8
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] tsc: Detected 2994.112 MHz processor
[    0.000115] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000117] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000122] last_pfn = 0xc7e0c0 max_arch_pfn = 0x400000000
[    0.000129] MTRR map: 8 entries (3 fixed + 5 variable; max 20), built from 9 variable MTRRs
[    0.000131] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
[    0.000302] last_pfn = 0x78000 max_arch_pfn = 0x400000000
[    0.003577] esrt: Reserving ESRT space from 0x0000000045e9c118 to 0x0000000045e9c1f0.
[    0.003586] Using GB pages for direct mapping
[    0.003717] Secure boot disabled
[    0.003718] RAMDISK: [mem 0x1e510000-0x21287fff]
[    0.003899] ACPI: Early table checksum verification disabled
[    0.003903] ACPI: RSDP 0x000000004913D014 000024 (v02 HPQOEM)
[    0.003906] ACPI: XSDT 0x00000000490CE228 0001C4 (v01 HPQOEM SLIC-BPC 00000001      01000013)
[    0.003911] ACPI: FACP 0x000000004913C000 00010C (v05 HPQOEM SLIC-BPC 00000001 HP   00000001)
[    0.003916] ACPI: DSDT 0x0000000049104000 01A94C (v02 HPQOEM 8D01     00000000 INTL 20200717)
[    0.003918] ACPI: FACS 0x0000000048D3A000 000040
[    0.003919] ACPI: SSDT 0x000000004913B000 000353 (v02 HP     NVTEC    00000001 INTL 20200717)
[    0.003921] ACPI: SSDT 0x000000004913A000 00013E (v02 HP     ShmTable 00000001 INTL 20200717)
[    0.003922] ACPI: ASF! 0x0000000049139000 000085 (v32 HPQOEM EDK2     00000002      01000013)
[    0.003923] ACPI: SDEV 0x0000000049138000 000097 (v01 AMD    SdevTble 00000001 ACPI 00000002)
[    0.003925] ACPI: SSDT 0x0000000049137000 000076 (v02 AMD    SECBIO   00000001 INTL 20200717)
[    0.003926] ACPI: SSDT 0x000000004912E000 00848D (v02 AMD    AmdTable 00000002 MSFT 04000000)
[    0.003927] ACPI: RTMA 0x000000004912D000 00009E (v01 HP     _HBMART_ 00001000 HP   00000001)
[    0.003929] ACPI: SSDT 0x000000004912B000 001A39 (v02 HP     UcsiAcpi 00000001 INTL 20200717)
[    0.003930] ACPI: SSDT 0x000000004912A000 0000FB (v02 HP     UcsiCntr 00000001 INTL 20200717)
[    0.003931] ACPI: SSDT 0x0000000049129000 0000BC (v01 HP     OPALPWD  00000001 INTL 20200717)
[    0.003932] ACPI: OEML 0x0000000049128000 000028 (v03 HPQOEM EDK2     00000002      01000013)
[    0.003934] ACPI: SSDT 0x0000000049127000 0005FB (v02 HPQOEM Tpm2Tabl 00001000 INTL 20200717)
[    0.003935] ACPI: TPM2 0x0000000049126000 000034 (v03 HPQOEM EDK2     00000002      01000013)
[    0.003936] ACPI: MSDM 0x0000000049124000 000055 (v03 HPQOEM SLIC-BPC 00000000 HP   00000001)
[    0.003937] ACPI: WSMT 0x0000000049123000 000028 (v01 HPQOEM 8D01     00000001 HP   00000001)
[    0.003939] ACPI: ASF! 0x0000000049122000 00006E (v32 HPQOEM 8D01     00000001 HP   00000001)
[    0.003940] ACPI: HPET 0x0000000049121000 000038 (v01 HPQOEM 8D01     00000001 HP   00000001)
[    0.003941] ACPI: APIC 0x0000000049120000 000222 (v02 HPQOEM 8D01     00000001 HP   00000001)
[    0.003942] ACPI: MCFG 0x000000004911F000 00003C (v01 HPQOEM 8D01     00000001 HP   00000001)
[    0.003943] ACPI: SSDT 0x0000000049103000 00014A (v01 HPQOEM AMDNFCI2 00000001 INTL 20200717)
[    0.003945] ACPI: SSDT 0x00000000490F7000 00A8CE (v02 AMD    AMD CPU  00000001 AMD  00000001)
[    0.003946] ACPI: FPDT 0x0000000049125000 000044 (v01 HPQOEM EDK2     00000002      01000013)
[    0.003947] ACPI: SSDT 0x00000000490F6000 000045 (v02 HP     HPNBCONV 00001000 INTL 20200717)
[    0.003948] ACPI: SSDT 0x00000000490F5000 00061A (v01 HP     AMDTPL   00001000 INTL 20200717)
[    0.003950] ACPI: SSDT 0x00000000490F0000 004430 (v02 HP     HPAMD_WL 00001000 INTL 20200717)
[    0.003951] ACPI: SSDT 0x00000000490EF000 000032 (v02 HP     HPCONDEV 00001000 INTL 20200717)
[    0.003952] ACPI: SSDT 0x00000000490EE000 000EE0 (v02 HPQOEM HPPATT   00001000 INTL 20200717)
[    0.003953] ACPI: VFCT 0x00000000490E9000 004484 (v01 HPQOEM SLIC-BPC 00000001 AMD  33504F47)
[    0.003954] ACPI: SSDT 0x00000000490E7000 0017CA (v02 AMD    OEMACP   00000001 INTL 20200717)
[    0.003956] ACPI: SSDT 0x00000000490E5000 001152 (v02 AMD    OEMPMF   00000001 INTL 20200717)
[    0.003957] ACPI: SSDT 0x00000000490E3000 001DB7 (v02 AMD    CPMPMF   00000001 INTL 20200717)
[    0.003958] ACPI: SSDT 0x00000000490E2000 00047A (v02 AMD    CPMWBH   00000001 INTL 20200717)
[    0.003959] ACPI: SSDT 0x00000000490D8000 009A93 (v02 AMD    CPMCMN   00000001 INTL 20200717)
[    0.003961] ACPI: BGRT 0x00000000490D7000 000038 (v01 HPQOEM EDK2     00000002      01000013)
[    0.003962] ACPI: SSDT 0x00000000490D6000 000612 (v02 AMD    CAM11    00000001 INTL 20200717)
[    0.003963] ACPI: SSDT 0x00000000490D5000 000A7F (v02 AMD    SDCR     00000001 INTL 20200717)
[    0.003964] ACPI: SSDT 0x00000000490D4000 000A34 (v02 AMD    LOM      00000001 INTL 20200717)
[    0.003966] ACPI: SSDT 0x00000000490D3000 000DB4 (v02 AMD    NVME     00000001 INTL 20200717)
[    0.003967] ACPI: SSDT 0x00000000490D1000 001672 (v02 AMD    UPEP     00000001 INTL 20200717)
[    0.003968] ACPI: SSDT 0x00000000490CF000 0010BB (v02 AMD    GPP_PME_ 00000001 INTL 20200717)
[    0.003969] ACPI: SSDT 0x00000000490C4000 0097A5 (v02 AMD    INTBUSC_ 00000001 INTL 20200717)
[    0.003971] ACPI: SSDT 0x00000000490BF000 0046FB (v02 AMD    INTGPPA_ 00000001 INTL 20200717)
[    0.003972] ACPI: SSDT 0x0000000049102000 000AE6 (v02 AMD    CPMGPIO0 00000001 INTL 20200717)
[    0.003973] ACPI: SSDT 0x00000000490BE000 00010D (v02 MSFT   MHSP     00000004 INTL 20200717)
[    0.003974] ACPI: SSDT 0x00000000490BD000 000051 (v02 AMD    DRTM     00000001 INTL 20200717)
[    0.003976] ACPI: IVRS 0x00000000490BC000 000215 (v02 AMD    AmdTable 00000001 AMD  00000001)
[    0.003977] ACPI: SSDT 0x00000000490BB000 000500 (v02 AMD    MEMTOOL0 00000002 INTL 20200717)
[    0.003978] ACPI: SSDT 0x00000000490BA000 0009D0 (v02 AMD    CPMMSOSC 00000001 INTL 20200717)
[    0.003979] ACPI: SSDT 0x00000000490B9000 00008D (v02 AMD    CPMMSLPI 00000001 INTL 20200717)
[    0.003980] ACPI: SSDT 0x00000000490B8000 000509 (v02 AMD    CPMSFAML 00000001 INTL 20200717)
[    0.003982] ACPI: SSDT 0x00000000490B7000 000F5C (v02 AMD    CPMACPV8 00000001 INTL 20200717)
[    0.003982] ACPI: Reserving FACP table memory at [mem 0x4913c000-0x4913c10b]
[    0.003983] ACPI: Reserving DSDT table memory at [mem 0x49104000-0x4911e94b]
[    0.003984] ACPI: Reserving FACS table memory at [mem 0x48d3a000-0x48d3a03f]
[    0.003984] ACPI: Reserving SSDT table memory at [mem 0x4913b000-0x4913b352]
[    0.003984] ACPI: Reserving SSDT table memory at [mem 0x4913a000-0x4913a13d]
[    0.003984] ACPI: Reserving ASF! table memory at [mem 0x49139000-0x49139084]
[    0.003985] ACPI: Reserving SDEV table memory at [mem 0x49138000-0x49138096]
[    0.003985] ACPI: Reserving SSDT table memory at [mem 0x49137000-0x49137075]
[    0.003985] ACPI: Reserving SSDT table memory at [mem 0x4912e000-0x4913648c]
[    0.003985] ACPI: Reserving RTMA table memory at [mem 0x4912d000-0x4912d09d]
[    0.003986] ACPI: Reserving SSDT table memory at [mem 0x4912b000-0x4912ca38]
[    0.003986] ACPI: Reserving SSDT table memory at [mem 0x4912a000-0x4912a0fa]
[    0.003986] ACPI: Reserving SSDT table memory at [mem 0x49129000-0x491290bb]
[    0.003986] ACPI: Reserving OEML table memory at [mem 0x49128000-0x49128027]
[    0.003987] ACPI: Reserving SSDT table memory at [mem 0x49127000-0x491275fa]
[    0.003987] ACPI: Reserving TPM2 table memory at [mem 0x49126000-0x49126033]
[    0.003987] ACPI: Reserving MSDM table memory at [mem 0x49124000-0x49124054]
[    0.003987] ACPI: Reserving WSMT table memory at [mem 0x49123000-0x49123027]
[    0.003987] ACPI: Reserving ASF! table memory at [mem 0x49122000-0x4912206d]
[    0.003988] ACPI: Reserving HPET table memory at [mem 0x49121000-0x49121037]
[    0.003988] ACPI: Reserving APIC table memory at [mem 0x49120000-0x49120221]
[    0.003988] ACPI: Reserving MCFG table memory at [mem 0x4911f000-0x4911f03b]
[    0.003988] ACPI: Reserving SSDT table memory at [mem 0x49103000-0x49103149]
[    0.003989] ACPI: Reserving SSDT table memory at [mem 0x490f7000-0x491018cd]
[    0.003989] ACPI: Reserving FPDT table memory at [mem 0x49125000-0x49125043]
[    0.003989] ACPI: Reserving SSDT table memory at [mem 0x490f6000-0x490f6044]
[    0.003989] ACPI: Reserving SSDT table memory at [mem 0x490f5000-0x490f5619]
[    0.003990] ACPI: Reserving SSDT table memory at [mem 0x490f0000-0x490f442f]
[    0.003990] ACPI: Reserving SSDT table memory at [mem 0x490ef000-0x490ef031]
[    0.003990] ACPI: Reserving SSDT table memory at [mem 0x490ee000-0x490eeedf]
[    0.003990] ACPI: Reserving VFCT table memory at [mem 0x490e9000-0x490ed483]
[    0.003991] ACPI: Reserving SSDT table memory at [mem 0x490e7000-0x490e87c9]
[    0.003991] ACPI: Reserving SSDT table memory at [mem 0x490e5000-0x490e6151]
[    0.003991] ACPI: Reserving SSDT table memory at [mem 0x490e3000-0x490e4db6]
[    0.003991] ACPI: Reserving SSDT table memory at [mem 0x490e2000-0x490e2479]
[    0.003992] ACPI: Reserving SSDT table memory at [mem 0x490d8000-0x490e1a92]
[    0.003992] ACPI: Reserving BGRT table memory at [mem 0x490d7000-0x490d7037]
[    0.003992] ACPI: Reserving SSDT table memory at [mem 0x490d6000-0x490d6611]
[    0.003992] ACPI: Reserving SSDT table memory at [mem 0x490d5000-0x490d5a7e]
[    0.003992] ACPI: Reserving SSDT table memory at [mem 0x490d4000-0x490d4a33]
[    0.003993] ACPI: Reserving SSDT table memory at [mem 0x490d3000-0x490d3db3]
[    0.003993] ACPI: Reserving SSDT table memory at [mem 0x490d1000-0x490d2671]
[    0.003993] ACPI: Reserving SSDT table memory at [mem 0x490cf000-0x490d00ba]
[    0.003993] ACPI: Reserving SSDT table memory at [mem 0x490c4000-0x490cd7a4]
[    0.003994] ACPI: Reserving SSDT table memory at [mem 0x490bf000-0x490c36fa]
[    0.003994] ACPI: Reserving SSDT table memory at [mem 0x49102000-0x49102ae5]
[    0.003994] ACPI: Reserving SSDT table memory at [mem 0x490be000-0x490be10c]
[    0.003995] ACPI: Reserving SSDT table memory at [mem 0x490bd000-0x490bd050]
[    0.003995] ACPI: Reserving IVRS table memory at [mem 0x490bc000-0x490bc214]
[    0.003995] ACPI: Reserving SSDT table memory at [mem 0x490bb000-0x490bb4ff]
[    0.003995] ACPI: Reserving SSDT table memory at [mem 0x490ba000-0x490ba9cf]
[    0.003996] ACPI: Reserving SSDT table memory at [mem 0x490b9000-0x490b908c]
[    0.003996] ACPI: Reserving SSDT table memory at [mem 0x490b8000-0x490b8508]
[    0.003996] ACPI: Reserving SSDT table memory at [mem 0x490b7000-0x490b7f5b]
[    0.004061] No NUMA configuration found
[    0.004061] Faking a node at [mem 0x0000000000000000-0x0000000c7e0bffff]
[    0.004065] NODE_DATA(0) allocated [mem 0xc7e0952c0-0xc7e0bffff]
[    0.004171] Zone ranges:
[    0.004172]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.004173]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.004174]   Normal   [mem 0x0000000100000000-0x0000000c7e0bffff]
[    0.004174]   Device   empty
[    0.004175] Movable zone start for each node
[    0.004176] Early memory node ranges
[    0.004176]   node   0: [mem 0x0000000000001000-0x000000000009efff]
[    0.004177]   node   0: [mem 0x0000000000100000-0x0000000009efffff]
[    0.004177]   node   0: [mem 0x0000000009f88000-0x0000000044bcffff]
[    0.004178]   node   0: [mem 0x000000004913e000-0x0000000052bd1fff]
[    0.004178]   node   0: [mem 0x0000000052bd3000-0x0000000052bdbfff]
[    0.004178]   node   0: [mem 0x0000000052bdd000-0x000000005d133fff]
[    0.004178]   node   0: [mem 0x000000005d139000-0x0000000077ffffff]
[    0.004179]   node   0: [mem 0x0000000100000000-0x0000000c7e0bffff]
[    0.004181] Initmem setup node 0 [mem 0x0000000000001000-0x0000000c7e0bffff]
[    0.004185] On node 0, zone DMA: 1 pages in unavailable ranges
[    0.004194] On node 0, zone DMA: 97 pages in unavailable ranges
[    0.004659] On node 0, zone DMA32: 136 pages in unavailable ranges
[    0.004758] On node 0, zone DMA32: 17774 pages in unavailable ranges
[    0.004758] On node 0, zone DMA32: 1 pages in unavailable ranges
[    0.004830] On node 0, zone DMA32: 1 pages in unavailable ranges
[    0.005016] On node 0, zone DMA32: 5 pages in unavailable ranges
[    0.028791] On node 0, zone Normal: 8000 pages in unavailable ranges
[    0.029070] ACPI: PM-Timer IO Port: 0x408
[    0.029082] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[    0.029083] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[    0.029083] ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
[    0.029084] ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
[    0.029084] ACPI: LAPIC_NMI (acpi_id[0x04] high edge lint[0x1])
[    0.029084] ACPI: LAPIC_NMI (acpi_id[0x05] high edge lint[0x1])
[    0.029085] ACPI: LAPIC_NMI (acpi_id[0x06] high edge lint[0x1])
[    0.029085] ACPI: LAPIC_NMI (acpi_id[0x07] high edge lint[0x1])
[    0.029085] ACPI: LAPIC_NMI (acpi_id[0x08] high edge lint[0x1])
[    0.029085] ACPI: LAPIC_NMI (acpi_id[0x09] high edge lint[0x1])
[    0.029086] ACPI: LAPIC_NMI (acpi_id[0x0a] high edge lint[0x1])
[    0.029086] ACPI: LAPIC_NMI (acpi_id[0x0b] high edge lint[0x1])
[    0.029086] ACPI: LAPIC_NMI (acpi_id[0x0c] high edge lint[0x1])
[    0.029086] ACPI: LAPIC_NMI (acpi_id[0x0d] high edge lint[0x1])
[    0.029086] ACPI: LAPIC_NMI (acpi_id[0x0e] high edge lint[0x1])
[    0.029087] ACPI: LAPIC_NMI (acpi_id[0x0f] high edge lint[0x1])
[    0.029087] ACPI: LAPIC_NMI (acpi_id[0x10] high edge lint[0x1])
[    0.029087] ACPI: LAPIC_NMI (acpi_id[0x11] high edge lint[0x1])
[    0.029087] ACPI: LAPIC_NMI (acpi_id[0x12] high edge lint[0x1])
[    0.029088] ACPI: LAPIC_NMI (acpi_id[0x13] high edge lint[0x1])
[    0.029088] ACPI: LAPIC_NMI (acpi_id[0x14] high edge lint[0x1])
[    0.029088] ACPI: LAPIC_NMI (acpi_id[0x15] high edge lint[0x1])
[    0.029088] ACPI: LAPIC_NMI (acpi_id[0x16] high edge lint[0x1])
[    0.029088] ACPI: LAPIC_NMI (acpi_id[0x17] high edge lint[0x1])
[    0.029089] ACPI: LAPIC_NMI (acpi_id[0x18] high edge lint[0x1])
[    0.029089] ACPI: LAPIC_NMI (acpi_id[0x19] high edge lint[0x1])
[    0.029089] ACPI: LAPIC_NMI (acpi_id[0x1a] high edge lint[0x1])
[    0.029089] ACPI: LAPIC_NMI (acpi_id[0x1b] high edge lint[0x1])
[    0.029089] ACPI: LAPIC_NMI (acpi_id[0x1c] high edge lint[0x1])
[    0.029090] ACPI: LAPIC_NMI (acpi_id[0x1d] high edge lint[0x1])
[    0.029090] ACPI: LAPIC_NMI (acpi_id[0x1e] high edge lint[0x1])
[    0.029090] ACPI: LAPIC_NMI (acpi_id[0x1f] high edge lint[0x1])
[    0.029111] IOAPIC[0]: apic_id 4, version 33, address 0xfec00000, GSI 0-23
[    0.029116] IOAPIC[1]: apic_id 5, version 33, address 0xfec01000, GSI 24-55
[    0.029118] ACPI: INT_SRC_OVR (bus 0 bus_irq 1 global_irq 1 low edge)
[    0.029119] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.029120] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
[    0.029123] ACPI: Using ACPI (MADT) for SMP configuration information
[    0.029124] ACPI: HPET id: 0x10228210 base: 0xfed00000
[    0.029135] e820: update [mem 0x3726b000-0x3747afff] usable ==> reserved
[    0.029148] CPU topo: Max. logical packages:   1
[    0.029148] CPU topo: Max. logical dies:       2
[    0.029148] CPU topo: Max. dies per package:   2
[    0.029150] CPU topo: Max. threads per core:   2
[    0.029151] CPU topo: Num. cores per package:    16
[    0.029151] CPU topo: Num. threads per package:  32
[    0.029152] CPU topo: Allowing 32 present CPUs plus 0 hotplug CPUs
[    0.029170] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.029171] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x000fffff]
[    0.029172] PM: hibernation: Registered nosave memory: [mem 0x09f00000-0x09f87fff]
[    0.029172] PM: hibernation: Registered nosave memory: [mem 0x3726b000-0x3747afff]
[    0.029173] PM: hibernation: Registered nosave memory: [mem 0x44bd0000-0x4913dfff]
[    0.029174] PM: hibernation: Registered nosave memory: [mem 0x52bd2000-0x52bd2fff]
[    0.029174] PM: hibernation: Registered nosave memory: [mem 0x52bdc000-0x52bdcfff]
[    0.029175] PM: hibernation: Registered nosave memory: [mem 0x5d134000-0x5d138fff]
[    0.029176] PM: hibernation: Registered nosave memory: [mem 0x78000000-0xffffffff]
[    0.029177] [mem 0x80000000-0xfebfffff] available for PCI devices
[    0.029178] Booting paravirtualized kernel on bare hardware
[    0.029180] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[    0.032807] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:32 nr_cpu_ids:32 nr_node_ids:1
[    0.033143] percpu: Embedded 62 pages/cpu s217088 r8192 d28672 u262144
[    0.033147] pcpu-alloc: s217088 r8192 d28672 u262144 alloc=1*2097152
[    0.033148] pcpu-alloc: [0] 00 01 02 03 04 05 06 07 [0] 08 09 10 11 12 13 14 15 
[    0.033151] pcpu-alloc: [0] 16 17 18 19 20 21 22 23 [0] 24 25 26 27 28 29 30 31 
[    0.033164] Kernel command line: rd.luks.name=58b07f98-4fa4-4db6-b312-6a63156d9a43=cryptroot root=/dev/mapper/cryptroot rootflags=subvol=@ rw quiet nowatchdog mitigations=off hibernate.compressor=lzo
[    0.033235] printk: log_buf_len individual max cpu contribution: 4096 bytes
[    0.033235] printk: log_buf_len total cpu_extra contributions: 126976 bytes
[    0.033236] printk: log_buf_len min size: 131072 bytes
[    0.033309] printk: log buffer data + meta data: 262144 + 917504 = 1179648 bytes
[    0.033310] printk: early log buf free: 110720(84%)
[    0.035354] Dentry cache hash table entries: 8388608 (order: 14, 67108864 bytes, linear)
[    0.036416] Inode-cache hash table entries: 4194304 (order: 13, 33554432 bytes, linear)
[    0.036611] software IO TLB: area num 32.
[    0.040695] Fallback order for Node 0: 0 
[    0.040703] Built 1 zonelists, mobility grouping on.  Total pages: 12524129
[    0.040704] Policy zone: Normal
[    0.040793] mem auto-init: stack:all(zero), heap alloc:on, heap free:off
[    0.080206] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=32, Nodes=1
[    0.091557] ftrace: allocating 56531 entries in 224 pages
[    0.091558] ftrace: allocated 224 pages with 3 groups
[    0.091630] Dynamic Preempt: full
[    0.091710] rcu: Preemptible hierarchical RCU implementation.
[    0.091711] rcu: 	RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=32.
[    0.091711] rcu: 	RCU priority boosting: priority 1 delay 500 ms.
[    0.091712] 	Trampoline variant of Tasks RCU enabled.
[    0.091713] 	Rude variant of Tasks RCU enabled.
[    0.091713] 	Tracing variant of Tasks RCU enabled.
[    0.091714] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[    0.091714] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=32
[    0.091726] RCU Tasks: Setting shift to 5 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=32.
[    0.091728] RCU Tasks Rude: Setting shift to 5 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=32.
[    0.091730] RCU Tasks Trace: Setting shift to 5 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=32.
[    0.094244] NR_IRQS: 524544, nr_irqs: 1224, preallocated irqs: 16
[    0.094462] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.094576] kfence: initialized - using 2097152 bytes for 255 objects at 0x(____ptrval____)-0x(____ptrval____)
[    0.094614] Console: colour dummy device 80x25
[    0.094616] printk: legacy console [tty0] enabled
[    0.094649] ACPI: Core revision 20250404
[    0.094876] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 133484873504 ns
[    0.094895] APIC: Switch to symmetric I/O mode setup
[    0.095085] AMD-Vi: ivrs, add hid:AMDI0020, uid:ID00, rdevid:0xa0
[    0.095087] AMD-Vi: ivrs, add hid:AMDI0020, uid:ID01, rdevid:0xa0
[    0.095087] AMD-Vi: ivrs, add hid:AMDI0020, uid:ID02, rdevid:0xa0
[    0.095088] AMD-Vi: ivrs, add hid:AMDI0020, uid:ID03, rdevid:0xa0
[    0.095088] AMD-Vi: ivrs, add hid:AMDI0201, uid:\_SB.ISP1, rdevid:0xc308
[    0.095089] AMD-Vi: ivrs, add hid:MSFT0201, uid:1, rdevid:0x60
[    0.095090] AMD-Vi: ivrs, add hid:AMDI0020, uid:ID04, rdevid:0xa0
[    0.095090] AMD-Vi: Using global IVHD EFR:0x246577efa2254afa, EFR2:0x10
[    0.096318] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.100901] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x2b288b22b92, max_idle_ns: 440795254681 ns
[    0.100904] Calibrating delay loop (skipped), value calculated using timer frequency.. 5988.22 BogoMIPS (lpj=2994112)
[    0.100922] x86/cpu: User Mode Instruction Prevention (UMIP) activated
[    0.100979] LVT offset 1 assigned for vector 0xf9
[    0.101163] LVT offset 2 assigned for vector 0xf4
[    0.101219] Last level iTLB entries: 4KB 64, 2MB 64, 4MB 32
[    0.101219] Last level dTLB entries: 4KB 128, 2MB 128, 4MB 64, 1GB 0
[    0.101221] process: using mwait in idle threads
[    0.101222] mitigations: Enabled attack vectors: SMT mitigations: off
[    0.101225] Speculative Store Bypass: Vulnerable
[    0.101227] Spectre V2 : Vulnerable
[    0.101227] Spectre V2 : User space: Vulnerable
[    0.101228] VMSCAPE: Vulnerable
[    0.101228] Spectre V1 : Vulnerable: __user pointer sanitization and usercopy barriers only; no swapgs barriers
[    0.101235] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.101236] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.101237] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.101237] x86/fpu: Supporting XSAVE feature 0x020: 'AVX-512 opmask'
[    0.101237] x86/fpu: Supporting XSAVE feature 0x040: 'AVX-512 Hi256'
[    0.101238] x86/fpu: Supporting XSAVE feature 0x080: 'AVX-512 ZMM_Hi256'
[    0.101238] x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers'
[    0.101239] x86/fpu: Supporting XSAVE feature 0x800: 'Control-flow User registers'
[    0.101239] x86/fpu: Supporting XSAVE feature 0x1000: 'Control-flow Kernel registers (KVM only)'
[    0.101240] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.101241] x86/fpu: xstate_offset[5]:  832, xstate_sizes[5]:   64
[    0.101241] x86/fpu: xstate_offset[6]:  896, xstate_sizes[6]:  512
[    0.101241] x86/fpu: xstate_offset[7]: 1408, xstate_sizes[7]: 1024
[    0.101242] x86/fpu: xstate_offset[9]: 2432, xstate_sizes[9]:    8
[    0.101242] x86/fpu: xstate_offset[11]: 2440, xstate_sizes[11]:   16
[    0.101243] x86/fpu: xstate_offset[12]: 2456, xstate_sizes[12]:   24
[    0.101243] x86/fpu: Enabled xstate features 0x1ae7, context size is 2480 bytes, using 'compacted' format.
[    0.121988] Freeing SMP alternatives memory: 56K
[    0.121990] pid_max: default: 32768 minimum: 301
[    0.122017] LSM: initializing lsm=capability,landlock,lockdown,yama,bpf
[    0.122081] landlock: Up and running.
[    0.122083] Yama: becoming mindful.
[    0.122242] LSM support for eBPF active
[    0.122298] Mount-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.122339] Mountpoint-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.225902] smpboot: CPU0: AMD RYZEN AI MAX+ PRO 395 w/ Radeon 8060S (family: 0x1a, model: 0x70, stepping: 0x0)
[    0.225902] Performance Events: Fam17h+ 16-deep LBR, core perfctr, AMD PMU driver.
[    0.225902] ... version:                2
[    0.225902] ... bit width:              48
[    0.225902] ... generic registers:      6
[    0.225902] ... value mask:             0000ffffffffffff
[    0.225902] ... max period:             00007fffffffffff
[    0.225902] ... fixed-purpose events:   0
[    0.225902] ... event mask:             000000000000003f
[    0.225902] signal: max sigframe size: 3376
[    0.225902] rcu: Hierarchical SRCU implementation.
[    0.225902] rcu: 	Max phase no-delay instances is 400.
[    0.225902] Timer migration: 2 hierarchy levels; 8 children per group; 2 crossnode level
[    0.225902] MCE: In-kernel MCE decoding enabled.
[    0.225902] smp: Bringing up secondary CPUs ...
[    0.225902] smpboot: x86: Booting SMP configuration:
[    0.225902] .... node  #0, CPUs:        #2  #4  #6  #8 #10 #12 #14 #16 #18 #20 #22 #24 #26 #28 #30  #1  #3  #5  #7  #9 #11 #13 #15 #17 #19 #21 #23 #25 #27 #29 #31
[    0.232956] smp: Brought up 1 node, 32 CPUs
[    0.232956] smpboot: Total of 32 processors activated (191623.16 BogoMIPS)
[    0.234994] Memory: 48996596K/50096516K available (20077K kernel code, 2945K rwdata, 16840K rodata, 4692K init, 4868K bss, 1067620K reserved, 0K cma-reserved)
[    0.235410] devtmpfs: initialized
[    0.235410] x86/mm: Memory block size: 128MB
[    0.237014] ACPI: PM: Registering ACPI NVS region [mem 0x09f00000-0x09f87fff] (557056 bytes)
[    0.237014] ACPI: PM: Registering ACPI NVS region [mem 0x4899c000-0x4909bfff] (7340032 bytes)
[    0.237014] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.237014] posixtimers hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    0.237014] futex hash table entries: 8192 (524288 bytes on 1 NUMA nodes, total 512 KiB, linear).
[    0.237019] pinctrl core: initialized pinctrl subsystem
[    0.237108] PM: RTC time: 16:21:39, date: 2025-10-26
[    0.237366] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.237559] DMA: preallocated 4096 KiB GFP_KERNEL pool for atomic allocations
[    0.237927] DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.238062] DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.238066] audit: initializing netlink subsys (disabled)
[    0.238071] audit: type=2000 audit(1761495699.142:1): state=initialized audit_enabled=0 res=1
[    0.238071] thermal_sys: Registered thermal governor 'fair_share'
[    0.238071] thermal_sys: Registered thermal governor 'bang_bang'
[    0.238071] thermal_sys: Registered thermal governor 'step_wise'
[    0.238071] thermal_sys: Registered thermal governor 'user_space'
[    0.238071] thermal_sys: Registered thermal governor 'power_allocator'
[    0.238071] cpuidle: using governor ladder
[    0.238071] cpuidle: using governor menu
[    0.238082] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[    0.238082] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.238082] PCI: ECAM [mem 0xe0000000-0xefffffff] (base 0xe0000000) for domain 0000 [bus 00-ff]
[    0.238082] PCI: Using configuration type 1 for base access
[    0.238091] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[    0.238093] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.238093] HugeTLB: 16380 KiB vmemmap can be freed for a 1.00 GiB page
[    0.238093] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.238093] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[    0.239500] raid6: skipped pq benchmark and selected avx512x4
[    0.239501] raid6: using avx512x2 recovery algorithm
[    0.239546] ACPI: Added _OSI(Module Device)
[    0.239547] ACPI: Added _OSI(Processor Device)
[    0.239547] ACPI: Added _OSI(Processor Aggregator Device)
[    0.262721] ACPI: 37 ACPI AML tables successfully acquired and loaded
[    0.264628] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.272906] ACPI: USB4 _OSC: OS supports USB3+ DisplayPort+ PCIe+ XDomain+
[    0.272906] ACPI: USB4 _OSC: OS controls USB3+ DisplayPort+ PCIe+ XDomain+
[    0.272964] ACPI: EC: EC started
[    0.272964] ACPI: EC: interrupt blocked
[    0.295742] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
[    0.295744] ACPI: \_SB_.PCI0.LPCB.EC0_: Boot DSDT EC used to handle transactions
[    0.295745] ACPI: Interpreter enabled
[    0.295772] ACPI: PM: (supports S0 S4 S5)
[    0.295773] ACPI: Using IOAPIC for interrupt routing
[    0.296486] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.296487] PCI: Ignoring E820 reservations for host bridge windows
[    0.296785] ACPI: Enabled 6 GPEs in block 00 to 1F
[    0.298216] ACPI: \_SB_.PCI0.GP11.PWRS: New power resource
[    0.299242] ACPI: \_SB_.PCI0.GP11.SWUS.PWRS: New power resource
[    0.300244] ACPI: \_SB_.PCI0.GP12.PWRS: New power resource
[    0.301243] ACPI: \_SB_.PCI0.GP12.SWUS.PWRS: New power resource
[    0.301492] ACPI: \_SB_.PCI0.GP21.PWRS: New power resource
[    0.302169] ACPI: \_SB_.PCI0.GP22.PWRS: New power resource
[    0.302672] ACPI: \_SB_.PCI0.GP23.NCRD.WRST: New power resource
[    0.302846] ACPI: \_SB_.PCI0.GP25.P0NV: New power resource
[    0.303764] ACPI: \_SB_.PCI0.GPPA.PWRS: New power resource
[    0.303962] ACPI: \_SB_.PCI0.GPPA.GFX0.PWRS: New power resource
[    0.304331] ACPI: \_SB_.PCI0.GPPA.HDAU.PWRS: New power resource
[    0.304692] ACPI: \_SB_.PCI0.GPPA.XHC1.PWRS: New power resource
[    0.305171] ACPI: \_SB_.PCI0.GPPA.ACP_.PWRS: New power resource
[    0.305625] ACPI: \_SB_.PCI0.GPPA.HDEF.PWRS: New power resource
[    0.306269] ACPI: \_SB_.PCI0.BUSC.XHC0.PWRS: New power resource
[    0.306697] ACPI: \_SB_.PCI0.BUSC.XHC0.RHUB.HS05.DBTR: New power resource
[    0.307193] ACPI: \_SB_.PCI0.BUSC.XHC3.PWRS: New power resource
[    0.308143] ACPI: \_SB_.PCI0.BUSC.XHC4.PWRS: New power resource
[    0.309096] ACPI: \_SB_.PCI0.BUSC.NHI0.PWRS: New power resource
[    0.309789] ACPI: \_SB_.PCI0.BUSC.NHI1.PWRS: New power resource
[    0.315157] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.315162] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI EDR HPX-Type3]
[    0.315181] acpi PNP0A08:00: _OSC: platform does not support [SHPCHotplug AER]
[    0.315209] acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug PME PCIeCapability LTR DPC]
[    0.315210] acpi PNP0A08:00: FADT indicates ASPM is unsupported, using BIOS configuration
[    0.315446] PCI host bridge to bus 0000:00
[    0.315448] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.315449] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.315449] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.315450] pci_bus 0000:00: root bus resource [mem 0x000c0000-0x000cffff window]
[    0.315451] pci_bus 0000:00: root bus resource [mem 0x000d0000-0x000effff window]
[    0.315451] pci_bus 0000:00: root bus resource [mem 0x80000000-0xefffffff window]
[    0.315452] pci_bus 0000:00: root bus resource [mem 0xfed45000-0xfed814ff window]
[    0.315452] pci_bus 0000:00: root bus resource [mem 0xfed81900-0xfed81fff window]
[    0.315453] pci_bus 0000:00: root bus resource [mem 0xfedc0000-0xfedc0fff window]
[    0.315453] pci_bus 0000:00: root bus resource [mem 0xfedc6000-0xfedc6fff window]
[    0.315453] pci_bus 0000:00: root bus resource [mem 0xc7e0c0000-0x108fffffff window]
[    0.315454] pci_bus 0000:00: root bus resource [mem 0x10b0200000-0x8b4fffffff window]
[    0.315455] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.315466] pci 0000:00:00.0: [1022:1507] type 00 class 0x060000 conventional PCI endpoint
[    0.315540] pci 0000:00:00.2: [1022:1508] type 00 class 0x080600 conventional PCI endpoint
[    0.315603] pci 0000:00:01.0: [1022:1509] type 00 class 0x060000 conventional PCI endpoint
[    0.315662] pci 0000:00:01.1: [1022:150a] type 01 class 0x060400 PCIe Root Port
[    0.315883] pci 0000:00:01.1: PCI bridge to [bus 01-60]
[    0.315889] pci 0000:00:01.1:   bridge window [io  0x6000-0x9fff]
[    0.315892] pci 0000:00:01.1:   bridge window [mem 0xbc000000-0xd3ffffff]
[    0.315931] pci 0000:00:01.1:   bridge window [mem 0x3800000000-0x57ffffffff 64bit pref]
[    0.316220] pci 0000:00:01.1: PME# supported from D0 D3hot D3cold
[    0.317339] pci 0000:00:01.2: [1022:150a] type 01 class 0x060400 PCIe Root Port
[    0.317561] pci 0000:00:01.2: PCI bridge to [bus 61-c0]
[    0.317566] pci 0000:00:01.2:   bridge window [io  0x2000-0x5fff]
[    0.317568] pci 0000:00:01.2:   bridge window [mem 0xa4000000-0xbbffffff]
[    0.317611] pci 0000:00:01.2:   bridge window [mem 0x1800000000-0x37ffffffff 64bit pref]
[    0.317890] pci 0000:00:01.2: PME# supported from D0 D3hot D3cold
[    0.319287] pci 0000:00:02.0: [1022:1509] type 00 class 0x060000 conventional PCI endpoint
[    0.319342] pci 0000:00:02.3: [1022:150b] type 01 class 0x060400 PCIe Root Port
[    0.319358] pci 0000:00:02.3: PCI bridge to [bus c1]
[    0.319363] pci 0000:00:02.3:   bridge window [mem 0xd4000000-0xd42fffff]
[    0.319425] pci 0000:00:02.3: PME# supported from D0 D3hot D3cold
[    0.319524] pci 0000:00:02.5: [1022:150b] type 01 class 0x060400 PCIe Root Port
[    0.319540] pci 0000:00:02.5: PCI bridge to [bus c2]
[    0.319545] pci 0000:00:02.5:   bridge window [mem 0xd4900000-0xd49fffff]
[    0.319607] pci 0000:00:02.5: PME# supported from D0 D3hot D3cold
[    0.319695] pci 0000:00:03.0: [1022:1509] type 00 class 0x060000 conventional PCI endpoint
[    0.319750] pci 0000:00:08.0: [1022:1509] type 00 class 0x060000 conventional PCI endpoint
[    0.319802] pci 0000:00:08.1: [1022:150c] type 01 class 0x060400 PCIe Root Port
[    0.319818] pci 0000:00:08.1: PCI bridge to [bus c3]
[    0.319822] pci 0000:00:08.1:   bridge window [io  0x1000-0x1fff]
[    0.319823] pci 0000:00:08.1:   bridge window [mem 0x90000000-0xa04fffff]
[    0.319830] pci 0000:00:08.1:   bridge window [mem 0x5800000000-0x5c007fffff 64bit pref]
[    0.319837] pci 0000:00:08.1: enabling Extended Tags
[    0.319885] pci 0000:00:08.1: PME# supported from D0 D3hot D3cold
[    0.320077] pci 0000:00:08.2: [1022:150c] type 01 class 0x060400 PCIe Root Port
[    0.320100] pci 0000:00:08.2: PCI bridge to [bus c4]
[    0.320105] pci 0000:00:08.2:   bridge window [mem 0xd4700000-0xd48fffff]
[    0.320112] pci 0000:00:08.2:   bridge window [mem 0x5c00800000-0x5c008fffff 64bit pref]
[    0.320118] pci 0000:00:08.2: enabling Extended Tags
[    0.320166] pci 0000:00:08.2: PME# supported from D0 D3hot D3cold
[    0.320242] pci 0000:00:08.3: [1022:150c] type 01 class 0x060400 PCIe Root Port
[    0.320258] pci 0000:00:08.3: PCI bridge to [bus c5]
[    0.320263] pci 0000:00:08.3:   bridge window [mem 0xd4300000-0xd46fffff]
[    0.320276] pci 0000:00:08.3: enabling Extended Tags
[    0.320323] pci 0000:00:08.3: PME# supported from D0 D3hot D3cold
[    0.320465] pci 0000:00:14.0: [1022:790b] type 00 class 0x0c0500 conventional PCI endpoint
[    0.320542] pci 0000:00:14.3: [1022:790e] type 00 class 0x060100 conventional PCI endpoint
[    0.320628] pci 0000:00:18.0: [1022:12b8] type 00 class 0x060000 conventional PCI endpoint
[    0.320651] pci 0000:00:18.1: [1022:12b9] type 00 class 0x060000 conventional PCI endpoint
[    0.320675] pci 0000:00:18.2: [1022:12ba] type 00 class 0x060000 conventional PCI endpoint
[    0.320698] pci 0000:00:18.3: [1022:12bb] type 00 class 0x060000 conventional PCI endpoint
[    0.320722] pci 0000:00:18.4: [1022:12bc] type 00 class 0x060000 conventional PCI endpoint
[    0.320745] pci 0000:00:18.5: [1022:12bd] type 00 class 0x060000 conventional PCI endpoint
[    0.320769] pci 0000:00:18.6: [1022:12be] type 00 class 0x060000 conventional PCI endpoint
[    0.320792] pci 0000:00:18.7: [1022:12bf] type 00 class 0x060000 conventional PCI endpoint
[    0.320910] pci 0000:00:01.1: PCI bridge to [bus 01-60]
[    0.321014] pci 0000:00:01.2: PCI bridge to [bus 61-c0]
[    0.321080] pci 0000:c1:00.0: [14c3:7925] type 00 class 0x028000 PCIe Endpoint
[    0.321128] pci 0000:c1:00.0: BAR 0 [mem 0xd4000000-0xd41fffff 64bit]
[    0.321132] pci 0000:c1:00.0: BAR 2 [mem 0xd4200000-0xd4207fff 64bit]
[    0.321212] pci 0000:c1:00.0: PME# supported from D0 D3hot D3cold
[    0.321368] pci 0000:00:02.3: PCI bridge to [bus c1]
[    0.321580] pci 0000:c2:00.0: [15b7:5011] type 00 class 0x010802 PCIe Endpoint
[    0.321618] pci 0000:c2:00.0: BAR 0 [mem 0xd4900000-0xd4903fff 64bit]
[    0.321775] pci 0000:c2:00.0: 31.504 Gb/s available PCIe bandwidth, limited by 8.0 GT/s PCIe x4 link at 0000:00:02.5 (capable of 63.012 Gb/s with 16.0 GT/s PCIe x4 link)
[    0.321841] pci 0000:00:02.5: PCI bridge to [bus c2]
[    0.321900] pci 0000:c3:00.0: [1002:1586] type 00 class 0x038000 PCIe Legacy Endpoint
[    0.321928] pci 0000:c3:00.0: BAR 0 [mem 0x5800000000-0x5bffffffff 64bit pref]
[    0.321930] pci 0000:c3:00.0: BAR 2 [mem 0x90000000-0x9fffffff 64bit pref]
[    0.321932] pci 0000:c3:00.0: BAR 4 [io  0x1000-0x10ff]
[    0.321933] pci 0000:c3:00.0: BAR 5 [mem 0xa0300000-0xa03fffff]
[    0.321938] pci 0000:c3:00.0: enabling Extended Tags
[    0.321997] pci 0000:c3:00.0: PME# supported from D1 D2 D3hot D3cold
[    0.322403] pci 0000:c3:00.1: [1002:1640] type 00 class 0x040300 PCIe Legacy Endpoint
[    0.322427] pci 0000:c3:00.1: BAR 0 [mem 0xa0448000-0xa044bfff]
[    0.322435] pci 0000:c3:00.1: enabling Extended Tags
[    0.322468] pci 0000:c3:00.1: PME# supported from D1 D2 D3hot D3cold
[    0.322621] pci 0000:c3:00.2: [1022:17e0] type 00 class 0x108000 PCIe Endpoint
[    0.322646] pci 0000:c3:00.2: BAR 2 [mem 0xa0200000-0xa02fffff]
[    0.322649] pci 0000:c3:00.2: BAR 5 [mem 0xa044e000-0xa044ffff]
[    0.322654] pci 0000:c3:00.2: enabling Extended Tags
[    0.322745] pci 0000:c3:00.4: [1022:1587] type 00 class 0x0c0330 PCIe Endpoint
[    0.322768] pci 0000:c3:00.4: BAR 0 [mem 0xa0000000-0xa00fffff 64bit]
[    0.322776] pci 0000:c3:00.4: enabling Extended Tags
[    0.322812] pci 0000:c3:00.4: PME# supported from D0 D3hot D3cold
[    0.323116] pci 0000:c3:00.5: [1022:15e2] type 00 class 0x048000 PCIe Endpoint
[    0.323139] pci 0000:c3:00.5: BAR 0 [mem 0xa0400000-0xa043ffff]
[    0.323142] pci 0000:c3:00.5: BAR 2 [mem 0x5c00000000-0x5c007fffff 64bit pref]
[    0.323148] pci 0000:c3:00.5: enabling Extended Tags
[    0.323181] pci 0000:c3:00.5: PME# supported from D0 D3hot D3cold
[    0.323335] pci 0000:c3:00.6: [1022:15e3] type 00 class 0x040300 PCIe Endpoint
[    0.323358] pci 0000:c3:00.6: BAR 0 [mem 0xa0440000-0xa0447fff]
[    0.323366] pci 0000:c3:00.6: enabling Extended Tags
[    0.323399] pci 0000:c3:00.6: PME# supported from D0 D3hot D3cold
[    0.323551] pci 0000:c3:00.7: [1022:164a] type 00 class 0x118000 PCIe Endpoint
[    0.323576] pci 0000:c3:00.7: BAR 2 [mem 0xa0100000-0xa01fffff]
[    0.323578] pci 0000:c3:00.7: BAR 5 [mem 0xa044c000-0xa044dfff]
[    0.323583] pci 0000:c3:00.7: enabling Extended Tags
[    0.323697] pci 0000:00:08.1: PCI bridge to [bus c3]
[    0.323741] pci 0000:c4:00.0: [1022:150d] type 00 class 0x130000 PCIe Endpoint
[    0.323771] pci 0000:c4:00.0: enabling Extended Tags
[    0.323884] pci 0000:c4:00.1: [1022:17f0] type 00 class 0x118000 PCIe Endpoint
[    0.323912] pci 0000:c4:00.1: BAR 0 [mem 0xd4700000-0xd47fffff]
[    0.323913] pci 0000:c4:00.1: BAR 1 [mem 0xd4800000-0xd4801fff]
[    0.323914] pci 0000:c4:00.1: BAR 2 [mem 0x5c00800000-0x5c0087ffff 64bit pref]
[    0.323916] pci 0000:c4:00.1: BAR 4 [mem 0xd4803000-0xd4803fff]
[    0.323917] pci 0000:c4:00.1: BAR 5 [mem 0xd4802000-0xd4802fff]
[    0.323921] pci 0000:c4:00.1: enabling Extended Tags
[    0.324031] pci 0000:00:08.2: PCI bridge to [bus c4]
[    0.324083] pci 0000:c5:00.0: [1022:1588] type 00 class 0x0c0330 PCIe Endpoint
[    0.324106] pci 0000:c5:00.0: BAR 0 [mem 0xd4300000-0xd43fffff 64bit]
[    0.324114] pci 0000:c5:00.0: enabling Extended Tags
[    0.324159] pci 0000:c5:00.0: PME# supported from D0 D3hot D3cold
[    0.324482] pci 0000:c5:00.3: [1022:1589] type 00 class 0x0c0330 PCIe Endpoint
[    0.324506] pci 0000:c5:00.3: BAR 0 [mem 0xd4400000-0xd44fffff 64bit]
[    0.324513] pci 0000:c5:00.3: enabling Extended Tags
[    0.324549] pci 0000:c5:00.3: PME# supported from D0 D3hot D3cold
[    0.324848] pci 0000:c5:00.4: [1022:158b] type 00 class 0x0c0330 PCIe Endpoint
[    0.324872] pci 0000:c5:00.4: BAR 0 [mem 0xd4500000-0xd45fffff 64bit]
[    0.324880] pci 0000:c5:00.4: enabling Extended Tags
[    0.324916] pci 0000:c5:00.4: PME# supported from D0 D3hot D3cold
[    0.325217] pci 0000:c5:00.5: [1022:158d] type 00 class 0x0c0340 PCIe Endpoint
[    0.325248] pci 0000:c5:00.5: BAR 0 [mem 0xd4600000-0xd467ffff 64bit]
[    0.325255] pci 0000:c5:00.5: Max Payload Size set to 128 (was 256, max 256)
[    0.325257] pci 0000:c5:00.5: enabling Extended Tags
[    0.325293] pci 0000:c5:00.5: PME# supported from D0 D3hot D3cold
[    0.325594] pci 0000:c5:00.6: [1022:158e] type 00 class 0x0c0340 PCIe Endpoint
[    0.325624] pci 0000:c5:00.6: BAR 0 [mem 0xd4680000-0xd46fffff 64bit]
[    0.325631] pci 0000:c5:00.6: Max Payload Size set to 128 (was 256, max 256)
[    0.325633] pci 0000:c5:00.6: enabling Extended Tags
[    0.325669] pci 0000:c5:00.6: PME# supported from D0 D3hot D3cold
[    0.325979] pci 0000:00:08.3: PCI bridge to [bus c5]
[    0.343058] Low-power S0 idle used by default for system suspend
[    0.343266] ACPI: PCI: Interrupt link LNKA configured for IRQ 0
[    0.343267] ACPI: PCI: Interrupt link LNKA disabled
[    0.343379] ACPI: PCI: Interrupt link LNKB configured for IRQ 0
[    0.343379] ACPI: PCI: Interrupt link LNKB disabled
[    0.343464] ACPI: PCI: Interrupt link LNKC configured for IRQ 0
[    0.343464] ACPI: PCI: Interrupt link LNKC disabled
[    0.343574] ACPI: PCI: Interrupt link LNKD configured for IRQ 0
[    0.343575] ACPI: PCI: Interrupt link LNKD disabled
[    0.343675] ACPI: PCI: Interrupt link LNKE configured for IRQ 0
[    0.343676] ACPI: PCI: Interrupt link LNKE disabled
[    0.343755] ACPI: PCI: Interrupt link LNKF configured for IRQ 0
[    0.343755] ACPI: PCI: Interrupt link LNKF disabled
[    0.343834] ACPI: PCI: Interrupt link LNKG configured for IRQ 0
[    0.343834] ACPI: PCI: Interrupt link LNKG disabled
[    0.343915] ACPI: PCI: Interrupt link LNKH configured for IRQ 0
[    0.343915] ACPI: PCI: Interrupt link LNKH disabled
[    0.344059] ACPI: EC: interrupt unblocked
[    0.344059] ACPI: EC: event unblocked
[    0.344902] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
[    0.344902] ACPI: EC: GPE=0x3
[    0.344902] ACPI: \_SB_.PCI0.LPCB.EC0_: Boot DSDT EC initialization complete
[    0.344902] ACPI: \_SB_.PCI0.LPCB.EC0_: EC: Used to handle transactions and events
[    0.344925] iommu: Default domain type: Translated
[    0.344925] iommu: DMA domain TLB invalidation policy: lazy mode
[    0.345002] SCSI subsystem initialized
[    0.345002] libata version 3.00 loaded.
[    0.345002] ACPI: bus type USB registered
[    0.345002] usbcore: registered new interface driver usbfs
[    0.345002] usbcore: registered new interface driver hub
[    0.345002] usbcore: registered new device driver usb
[    0.364778] EDAC MC: Ver: 3.0.0
[    0.365918] efivars: Registered efivars operations
[    0.366040] NetLabel: Initializing
[    0.366041] NetLabel:  domain hash size = 128
[    0.366041] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.366049] NetLabel:  unlabeled traffic allowed by default
[    0.366050] mctp: management component transport protocol core
[    0.366051] NET: Registered PF_MCTP protocol family
[    0.366059] PCI: Using ACPI for IRQ routing
[    0.373572] PCI: pci_cache_line_size set to 64 bytes
[    0.373791] e820: reserve RAM buffer [mem 0x0009f000-0x0009ffff]
[    0.373793] e820: reserve RAM buffer [mem 0x09f00000-0x0bffffff]
[    0.373793] e820: reserve RAM buffer [mem 0x3726b000-0x37ffffff]
[    0.373794] e820: reserve RAM buffer [mem 0x44bd0000-0x47ffffff]
[    0.373794] e820: reserve RAM buffer [mem 0x52bd2000-0x53ffffff]
[    0.373795] e820: reserve RAM buffer [mem 0x52bdc000-0x53ffffff]
[    0.373795] e820: reserve RAM buffer [mem 0x5d134000-0x5fffffff]
[    0.373795] e820: reserve RAM buffer [mem 0xc7e0c0000-0xc7fffffff]
[    0.373941] vgaarb: loaded
[    0.373943] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[    0.373943] hpet0: 3 comparators, 32-bit 14.318180 MHz counter
[    0.375954] clocksource: Switched to clocksource tsc-early
[    0.376326] VFS: Disk quotas dquot_6.6.0
[    0.376332] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.376416] pnp: PnP ACPI init
[    0.379245] system 00:01: [io  0x0400-0x04cf] has been reserved
[    0.379247] system 00:01: [io  0x04d0-0x04d1] has been reserved
[    0.379248] system 00:01: [io  0x04d6] has been reserved
[    0.379248] system 00:01: [io  0x0680-0x06ff] has been reserved
[    0.379249] system 00:01: [io  0x077a] has been reserved
[    0.379249] system 00:01: [io  0x0c00-0x0c01] has been reserved
[    0.379250] system 00:01: [io  0x0c14] has been reserved
[    0.379250] system 00:01: [io  0x0c50-0x0c52] has been reserved
[    0.379250] system 00:01: [io  0x0c6c] has been reserved
[    0.379251] system 00:01: [io  0x0c6f] has been reserved
[    0.379251] system 00:01: [io  0x0cd0-0x0cdb] has been reserved
[    0.379252] system 00:01: [io  0x0840-0x0847] has been reserved
[    0.379288] system 00:02: [mem 0x000e0000-0x000fffff] could not be reserved
[    0.379317] system 00:04: [io  0x0600-0x067f] has been reserved
[    0.379318] system 00:04: [mem 0xfedf1000-0xfedf1fff] has been reserved
[    0.379374] system 00:05: [mem 0xfec00000-0xfec00fff] could not be reserved
[    0.379375] system 00:05: [mem 0xfee00000-0xfee00fff] has been reserved
[    0.379376] system 00:05: [mem 0xfec20000-0xfec20fff] has been reserved
[    0.380365] pnp: PnP ACPI: found 6 devices
[    0.385897] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.385929] NET: Registered PF_INET protocol family
[    0.386029] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.392864] tcp_listen_portaddr_hash hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.392882] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.393066] TCP established hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.393293] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
[    0.393331] TCP: Hash tables configured (established 524288 bind 65536)
[    0.393479] MPTCP token hash table entries: 65536 (order: 8, 1572864 bytes, linear)
[    0.393602] UDP hash table entries: 32768 (order: 9, 2097152 bytes, linear)
[    0.393744] UDP-Lite hash table entries: 32768 (order: 9, 2097152 bytes, linear)
[    0.393825] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.393830] NET: Registered PF_XDP protocol family
[    0.393839] pci 0000:00:01.1: PCI bridge to [bus 01-60]
[    0.393846] pci 0000:00:01.1:   bridge window [io  0x6000-0x9fff]
[    0.393856] pci 0000:00:01.1:   bridge window [mem 0xbc000000-0xd3ffffff]
[    0.393881] pci 0000:00:01.1:   bridge window [mem 0x3800000000-0x57ffffffff 64bit pref]
[    0.393909] pci 0000:00:01.2: PCI bridge to [bus 61-c0]
[    0.393910] pci 0000:00:01.2:   bridge window [io  0x2000-0x5fff]
[    0.393936] pci 0000:00:01.2:   bridge window [mem 0xa4000000-0xbbffffff]
[    0.393938] pci 0000:00:01.2:   bridge window [mem 0x1800000000-0x37ffffffff 64bit pref]
[    0.393942] pci 0000:00:02.3: PCI bridge to [bus c1]
[    0.393945] pci 0000:00:02.3:   bridge window [mem 0xd4000000-0xd42fffff]
[    0.393949] pci 0000:00:02.5: PCI bridge to [bus c2]
[    0.393952] pci 0000:00:02.5:   bridge window [mem 0xd4900000-0xd49fffff]
[    0.393956] pci 0000:00:08.1: PCI bridge to [bus c3]
[    0.393962] pci 0000:00:08.1:   bridge window [io  0x1000-0x1fff]
[    0.393964] pci 0000:00:08.1:   bridge window [mem 0x90000000-0xa04fffff]
[    0.393966] pci 0000:00:08.1:   bridge window [mem 0x5800000000-0x5c007fffff 64bit pref]
[    0.393969] pci 0000:00:08.2: PCI bridge to [bus c4]
[    0.393971] pci 0000:00:08.2:   bridge window [mem 0xd4700000-0xd48fffff]
[    0.393973] pci 0000:00:08.2:   bridge window [mem 0x5c00800000-0x5c008fffff 64bit pref]
[    0.393976] pci 0000:00:08.3: PCI bridge to [bus c5]
[    0.393979] pci 0000:00:08.3:   bridge window [mem 0xd4300000-0xd46fffff]
[    0.393983] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    0.393984] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    0.393984] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[    0.393985] pci_bus 0000:00: resource 7 [mem 0x000c0000-0x000cffff window]
[    0.393985] pci_bus 0000:00: resource 8 [mem 0x000d0000-0x000effff window]
[    0.393986] pci_bus 0000:00: resource 9 [mem 0x80000000-0xefffffff window]
[    0.393986] pci_bus 0000:00: resource 10 [mem 0xfed45000-0xfed814ff window]
[    0.393987] pci_bus 0000:00: resource 11 [mem 0xfed81900-0xfed81fff window]
[    0.393987] pci_bus 0000:00: resource 12 [mem 0xfedc0000-0xfedc0fff window]
[    0.393987] pci_bus 0000:00: resource 13 [mem 0xfedc6000-0xfedc6fff window]
[    0.393988] pci_bus 0000:00: resource 14 [mem 0xc7e0c0000-0x108fffffff window]
[    0.393988] pci_bus 0000:00: resource 15 [mem 0x10b0200000-0x8b4fffffff window]
[    0.393989] pci_bus 0000:01: resource 0 [io  0x6000-0x9fff]
[    0.393989] pci_bus 0000:01: resource 1 [mem 0xbc000000-0xd3ffffff]
[    0.393990] pci_bus 0000:01: resource 2 [mem 0x3800000000-0x57ffffffff 64bit pref]
[    0.393990] pci_bus 0000:61: resource 0 [io  0x2000-0x5fff]
[    0.393991] pci_bus 0000:61: resource 1 [mem 0xa4000000-0xbbffffff]
[    0.393991] pci_bus 0000:61: resource 2 [mem 0x1800000000-0x37ffffffff 64bit pref]
[    0.393992] pci_bus 0000:c1: resource 1 [mem 0xd4000000-0xd42fffff]
[    0.393992] pci_bus 0000:c2: resource 1 [mem 0xd4900000-0xd49fffff]
[    0.393993] pci_bus 0000:c3: resource 0 [io  0x1000-0x1fff]
[    0.393993] pci_bus 0000:c3: resource 1 [mem 0x90000000-0xa04fffff]
[    0.393993] pci_bus 0000:c3: resource 2 [mem 0x5800000000-0x5c007fffff 64bit pref]
[    0.393994] pci_bus 0000:c4: resource 1 [mem 0xd4700000-0xd48fffff]
[    0.393994] pci_bus 0000:c4: resource 2 [mem 0x5c00800000-0x5c008fffff 64bit pref]
[    0.393995] pci_bus 0000:c5: resource 1 [mem 0xd4300000-0xd46fffff]
[    0.394235] pci 0000:c3:00.1: D0 power state depends on 0000:c3:00.0
[    0.394291] pci 0000:c3:00.4: enabling device (0000 -> 0002)
[    0.394325] pci 0000:c5:00.0: enabling device (0000 -> 0002)
[    0.394368] pci 0000:c5:00.3: enabling device (0000 -> 0002)
[    0.394403] pci 0000:c5:00.4: enabling device (0000 -> 0002)
[    0.394437] PCI: CLS 0 bytes, default 64
[    0.394467] pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported
[    0.394482] Trying to unpack rootfs image as initramfs...
[    0.394490] platform AMDI0201:00: AMD-Vi: [Firmware Bug]: No ACPI device matched UID, but 1 device matched HID.
[    0.394499] platform AMDI0201:00: Adding to iommu group 0
[    0.394503] platform MSFT0201:00: Adding to iommu group 1
[    0.394714] pci 0000:00:01.0: Adding to iommu group 2
[    0.394722] pci 0000:00:01.1: Adding to iommu group 3
[    0.394730] pci 0000:00:01.2: Adding to iommu group 4
[    0.394740] pci 0000:00:02.0: Adding to iommu group 5
[    0.394748] pci 0000:00:02.3: Adding to iommu group 6
[    0.394754] pci 0000:00:02.5: Adding to iommu group 7
[    0.394762] pci 0000:00:03.0: Adding to iommu group 8
[    0.394779] pci 0000:00:08.0: Adding to iommu group 9
[    0.394786] pci 0000:00:08.1: Adding to iommu group 10
[    0.394791] pci 0000:00:08.2: Adding to iommu group 11
[    0.394797] pci 0000:00:08.3: Adding to iommu group 12
[    0.394808] pci 0000:00:14.0: Adding to iommu group 13
[    0.394813] pci 0000:00:14.3: Adding to iommu group 13
[    0.394837] pci 0000:00:18.0: Adding to iommu group 14
[    0.394843] pci 0000:00:18.1: Adding to iommu group 14
[    0.394849] pci 0000:00:18.2: Adding to iommu group 14
[    0.394855] pci 0000:00:18.3: Adding to iommu group 14
[    0.394862] pci 0000:00:18.4: Adding to iommu group 14
[    0.394868] pci 0000:00:18.5: Adding to iommu group 14
[    0.394874] pci 0000:00:18.6: Adding to iommu group 14
[    0.394880] pci 0000:00:18.7: Adding to iommu group 14
[    0.394893] pci 0000:c1:00.0: Adding to iommu group 15
[    0.394900] pci 0000:c2:00.0: Adding to iommu group 16
[    0.394930] pci 0000:c3:00.0: Adding to iommu group 17
[    0.394937] pci 0000:c3:00.1: Adding to iommu group 18
[    0.394945] pci 0000:c3:00.2: Adding to iommu group 19
[    0.394953] pci 0000:c3:00.4: Adding to iommu group 20
[    0.394961] pci 0000:c3:00.5: Adding to iommu group 21
[    0.394971] pci 0000:c3:00.6: Adding to iommu group 22
[    0.394979] pci 0000:c3:00.7: Adding to iommu group 23
[    0.394987] pci 0000:c4:00.0: Adding to iommu group 24
[    0.394997] pci 0000:c4:00.1: Adding to iommu group 25
[    0.395006] pci 0000:c5:00.0: Adding to iommu group 26
[    0.395014] pci 0000:c5:00.3: Adding to iommu group 27
[    0.395022] pci 0000:c5:00.4: Adding to iommu group 28
[    0.395030] pci 0000:c5:00.5: Adding to iommu group 29
[    0.395039] pci 0000:c5:00.6: Adding to iommu group 30
[    0.397954] AMD-Vi: Extended features (0x246577efa2254afa, 0x10): PPR NX GT [5] IA GA PC GA_vAPIC
[    0.397961] AMD-Vi: Interrupt remapping enabled
[    0.398091] AMD-Vi: Virtual APIC enabled
[    0.398118] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.398142] software IO TLB: mapped [mem 0x0000000074000000-0x0000000078000000] (64MB)
[    0.398176] LVT offset 0 assigned for vector 0x400
[    0.400577] perf: AMD IBS detected (0x00081bff)
[    0.400582] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).
[    0.410990] Initialise system trusted keyrings
[    0.411000] Key type blacklist registered
[    0.411049] workingset: timestamp_bits=36 max_order=24 bucket_order=0
[    0.411206] fuse: init (API version 7.44)
[    0.411267] integrity: Platform Keyring initialized
[    0.411268] integrity: Machine keyring initialized
[    0.415662] xor: automatically using best checksumming function   avx       
[    0.415663] Key type asymmetric registered
[    0.415664] Asymmetric key parser 'x509' registered
[    0.415677] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.415709] io scheduler mq-deadline registered
[    0.415710] io scheduler kyber registered
[    0.415717] io scheduler bfq registered
[    0.417375] ledtrig-cpu: registered to indicate activity on CPUs
[    0.417638] pcieport 0000:00:01.1: PME: Signaling with IRQ 33
[    0.417668] pcieport 0000:00:01.1: pciehp: Slot #0 AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ Surprise+ Interlock- NoCompl+ IbPresDis- LLActRep+
[    0.418266] pcieport 0000:00:01.2: PME: Signaling with IRQ 34
[    0.418297] pcieport 0000:00:01.2: pciehp: Slot #0 AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ Surprise+ Interlock- NoCompl+ IbPresDis- LLActRep+
[    0.418663] pcieport 0000:00:02.3: PME: Signaling with IRQ 35
[    0.418793] pcieport 0000:00:02.5: PME: Signaling with IRQ 36
[    0.418933] pcieport 0000:00:08.1: PME: Signaling with IRQ 37
[    0.419086] pcieport 0000:00:08.2: PME: Signaling with IRQ 38
[    0.419215] pcieport 0000:00:08.3: PME: Signaling with IRQ 39
[    0.419530] ACPI: AC: AC Adapter [AC] (off-line)
[    0.419556] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
[    0.419565] ACPI: button: Power Button [PWRB]
[    0.419578] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1
[    0.419584] ACPI: button: Sleep Button [SLPB]
[    0.419594] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input2
[    0.419600] ACPI: button: Lid Switch [LID]
[    0.419614] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
[    0.424431] ACPI: button: Power Button [PWRF]
[    0.424763] Monitor-Mwait will be used to enter C-1 state
[    0.426049] Freeing initrd memory: 46560K
[    0.427934] Estimated ratio of average max frequency by base frequency (times 1024): 1397
[    0.429927] thermal LNXTHERM:00: registered as thermal_zone0
[    0.429928] ACPI: thermal: Thermal Zone [CPUZ] (39 C)
[    0.430981] thermal LNXTHERM:01: registered as thermal_zone1
[    0.430981] ACPI: thermal: Thermal Zone [GFXZ] (25 C)
[    0.432070] thermal LNXTHERM:02: registered as thermal_zone2
[    0.432071] ACPI: thermal: Thermal Zone [EXTZ] (35 C)
[    0.433153] thermal LNXTHERM:03: registered as thermal_zone3
[    0.433153] ACPI: thermal: Thermal Zone [LOCZ] (40 C)
[    0.434216] thermal LNXTHERM:04: registered as thermal_zone4
[    0.434217] ACPI: thermal: Thermal Zone [BATZ] (38 C)
[    0.435266] thermal LNXTHERM:05: registered as thermal_zone5
[    0.435267] ACPI: thermal: Thermal Zone [CHGZ] (39 C)
[    0.435299] thermal LNXTHERM:06: registered as thermal_zone6
[    0.435300] ACPI: thermal: Thermal Zone [MSHZ] (30 C)
[    0.435458] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    0.436288] Non-volatile memory driver v1.3
[    0.436289] Linux agpgart interface v0.103
[    0.443154] tpm_tis NTC0702:00: 2.0 TPM (device-id 0xFC, rev-id 1)
[    0.446576] ACPI: battery: Slot [BAT0] (battery present)
[    0.555707] ACPI: bus type drm_connector registered
[    0.558319] xhci_hcd 0000:c3:00.4: xHCI Host Controller
[    0.558325] xhci_hcd 0000:c3:00.4: new USB bus registered, assigned bus number 1
[    0.558759] xhci_hcd 0000:c3:00.4: hcc params 0x0118ffc5 hci version 0x120 quirks 0x0000000200000010
[    0.559014] xhci_hcd 0000:c3:00.4: xHCI Host Controller
[    0.559015] xhci_hcd 0000:c3:00.4: new USB bus registered, assigned bus number 2
[    0.559016] xhci_hcd 0000:c3:00.4: Host supports USB 3.1 Enhanced SuperSpeed
[    0.559042] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.17
[    0.559044] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.559045] usb usb1: Product: xHCI Host Controller
[    0.559045] usb usb1: Manufacturer: Linux 6.17.5-arch1-1 xhci-hcd
[    0.559046] usb usb1: SerialNumber: 0000:c3:00.4
[    0.559116] hub 1-0:1.0: USB hub found
[    0.559133] hub 1-0:1.0: 1 port detected
[    0.559240] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.559246] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.17
[    0.559246] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.559247] usb usb2: Product: xHCI Host Controller
[    0.559247] usb usb2: Manufacturer: Linux 6.17.5-arch1-1 xhci-hcd
[    0.559248] usb usb2: SerialNumber: 0000:c3:00.4
[    0.559293] hub 2-0:1.0: USB hub found
[    0.559304] hub 2-0:1.0: 1 port detected
[    0.559473] xhci_hcd 0000:c5:00.0: xHCI Host Controller
[    0.559475] xhci_hcd 0000:c5:00.0: new USB bus registered, assigned bus number 3
[    0.559925] xhci_hcd 0000:c5:00.0: hcc params 0x0128ffc5 hci version 0x120 quirks 0x0000000200000010
[    0.560155] xhci_hcd 0000:c5:00.0: xHCI Host Controller
[    0.560156] xhci_hcd 0000:c5:00.0: new USB bus registered, assigned bus number 4
[    0.560157] xhci_hcd 0000:c5:00.0: Host supports USB 3.1 Enhanced SuperSpeed
[    0.560170] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.17
[    0.560171] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.560172] usb usb3: Product: xHCI Host Controller
[    0.560172] usb usb3: Manufacturer: Linux 6.17.5-arch1-1 xhci-hcd
[    0.560172] usb usb3: SerialNumber: 0000:c5:00.0
[    0.560222] hub 3-0:1.0: USB hub found
[    0.560228] hub 3-0:1.0: 5 ports detected
[    0.560554] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.560559] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.17
[    0.560559] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.560560] usb usb4: Product: xHCI Host Controller
[    0.560560] usb usb4: Manufacturer: Linux 6.17.5-arch1-1 xhci-hcd
[    0.560561] usb usb4: SerialNumber: 0000:c5:00.0
[    0.560602] hub 4-0:1.0: USB hub found
[    0.560614] hub 4-0:1.0: 2 ports detected
[    0.560869] xhci_hcd 0000:c5:00.3: xHCI Host Controller
[    0.560872] xhci_hcd 0000:c5:00.3: new USB bus registered, assigned bus number 5
[    0.561233] xhci_hcd 0000:c5:00.3: hcc params 0x0118ffc5 hci version 0x120 quirks 0x0000000200000010
[    0.561587] xhci_hcd 0000:c5:00.3: xHCI Host Controller
[    0.561588] xhci_hcd 0000:c5:00.3: new USB bus registered, assigned bus number 6
[    0.561589] xhci_hcd 0000:c5:00.3: Host supports USB 3.1 Enhanced SuperSpeed
[    0.561602] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.17
[    0.561602] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.561603] usb usb5: Product: xHCI Host Controller
[    0.561603] usb usb5: Manufacturer: Linux 6.17.5-arch1-1 xhci-hcd
[    0.561604] usb usb5: SerialNumber: 0000:c5:00.3
[    0.561647] hub 5-0:1.0: USB hub found
[    0.561654] hub 5-0:1.0: 1 port detected
[    0.562010] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.562015] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.17
[    0.562016] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.562016] usb usb6: Product: xHCI Host Controller
[    0.562017] usb usb6: Manufacturer: Linux 6.17.5-arch1-1 xhci-hcd
[    0.562017] usb usb6: SerialNumber: 0000:c5:00.3
[    0.562060] hub 6-0:1.0: USB hub found
[    0.562071] hub 6-0:1.0: 1 port detected
[    0.562623] xhci_hcd 0000:c5:00.4: xHCI Host Controller
[    0.562625] xhci_hcd 0000:c5:00.4: new USB bus registered, assigned bus number 7
[    0.562986] xhci_hcd 0000:c5:00.4: hcc params 0x0118ffc5 hci version 0x120 quirks 0x0000000200000010
[    0.563331] xhci_hcd 0000:c5:00.4: xHCI Host Controller
[    0.563332] xhci_hcd 0000:c5:00.4: new USB bus registered, assigned bus number 8
[    0.563332] xhci_hcd 0000:c5:00.4: Host supports USB 3.1 Enhanced SuperSpeed
[    0.563345] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.17
[    0.563346] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.563346] usb usb7: Product: xHCI Host Controller
[    0.563347] usb usb7: Manufacturer: Linux 6.17.5-arch1-1 xhci-hcd
[    0.563347] usb usb7: SerialNumber: 0000:c5:00.4
[    0.563391] hub 7-0:1.0: USB hub found
[    0.563398] hub 7-0:1.0: 1 port detected
[    0.563751] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.563756] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.17
[    0.563756] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.563757] usb usb8: Product: xHCI Host Controller
[    0.563757] usb usb8: Manufacturer: Linux 6.17.5-arch1-1 xhci-hcd
[    0.563758] usb usb8: SerialNumber: 0000:c5:00.4
[    0.563798] hub 8-0:1.0: USB hub found
[    0.563809] hub 8-0:1.0: 1 port detected
[    0.564342] usbcore: registered new interface driver usbserial_generic
[    0.564344] usbserial: USB Serial support registered for generic
[    0.564360] i8042: PNP: PS/2 Controller [PNP0303:KBC0] at 0x60,0x64 irq 1
[    0.564361] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[    0.564762] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.564855] rtc_cmos 00:00: RTC can wake from S4
[    0.565088] rtc_cmos 00:00: registered as rtc0
[    0.565118] rtc_cmos 00:00: setting system clock to 2025-10-26T16:21:40 UTC (1761495700)
[    0.565137] rtc_cmos 00:00: alarms up to one month, y3k, 114 bytes nvram
[    0.567480] simple-framebuffer simple-framebuffer.0: [drm] Registered 1 planes with drm panic
[    0.567481] [drm] Initialized simpledrm 1.0.0 for simple-framebuffer.0 on minor 0
[    0.569385] fbcon: Deferring console take-over
[    0.569386] simple-framebuffer simple-framebuffer.0: [drm] fb0: simpledrmdrmfb frame buffer device
[    0.569437] hid: raw HID events driver (C) Jiri Kosina
[    0.569447] usbcore: registered new interface driver usbhid
[    0.569448] usbhid: USB HID core driver
[    0.569488] drop_monitor: Initializing network drop monitor service
[    0.569572] NET: Registered PF_INET6 protocol family
[    0.569818] Segment Routing with IPv6
[    0.569819] RPL Segment Routing with IPv6
[    0.569823] In-situ OAM (IOAM) with IPv6
[    0.569834] NET: Registered PF_PACKET protocol family
[    0.572415] x86/amd: Previous system reset reason [0x00080800]: software wrote 0x6 to reset control register 0xCF9
[    0.572443] microcode: Current revision: 0x0b700032
[    0.575901] resctrl: L3 allocation detected
[    0.575903] resctrl: MB allocation detected
[    0.575903] resctrl: SMBA allocation detected
[    0.575904] resctrl: L3 monitoring detected
[    0.575927] IPI shorthand broadcast: enabled
[    0.576655] sched_clock: Marking stable (575010578, 1413257)->(599389642, -22965807)
[    0.577058] registered taskstats version 1
[    0.578137] Loading compiled-in X.509 certificates
[    0.582104] Loaded X.509 cert 'Build time autogenerated kernel key: 4c14fb9492bceb402a9e10d54352fc3dcf9cc666'
[    0.582570] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4
[    0.583146] zswap: loaded using pool zstd/zsmalloc
[    0.583176] Demotion targets for Node 0: null
[    0.583353] Key type .fscrypt registered
[    0.583354] Key type fscrypt-provisioning registered
[    0.583679] Btrfs loaded, zoned=yes, fsverity=yes
[    0.583694] Key type big_key registered
[    0.583737] integrity: Loading X.509 certificate: UEFI:db
[    0.583748] integrity: Loaded X.509 cert 'HP Inc.: HP UEFI Secure Boot DB 2017: d9c01b50cfcae89d3b05345c163aa76e5dd589e7'
[    0.583749] integrity: Loading X.509 certificate: UEFI:db
[    0.583754] integrity: Loaded X.509 cert 'HP Inc.: HP UEFI Secure Boot DB 2024: 9031be8bd10636d7ed703b1ec5807354b05cd8ee'
[    0.583755] integrity: Loading X.509 certificate: UEFI:db
[    0.583759] integrity: Loaded X.509 cert 'Microsoft Corporation: Windows UEFI CA 2023: aefc5fbbbe055d8f8daa585473499417ab5a5272'
[    0.583759] integrity: Loading X.509 certificate: UEFI:db
[    0.583762] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[    0.584391] PM:   Magic number: 13:499:389
[    0.584399] usb usb7: hash matches
[    0.584418] thermal cooling_device4: hash matches
[    0.584501] acpi ACPI0007:0c: hash matches
[    0.585071] RAS: Correctable Errors collector initialized.
[    0.587196] clk: Disabling unused clocks
[    0.587198] PM: genpd: Disabling unused power domains
[    0.587951] Freeing unused decrypted memory: 2028K
[    0.588343] Freeing unused kernel image (initmem) memory: 4692K
[    0.588353] Write protecting the kernel read-only data: 38912k
[    0.588583] Freeing unused kernel image (text/rodata gap) memory: 400K
[    0.588768] Freeing unused kernel image (rodata/data gap) memory: 1592K
[    0.593446] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[    0.593450] rodata_test: all tests were successful
[    0.593454] Run /init as init process
[    0.593454]   with arguments:
[    0.593455]     /init
[    0.593456]   with environment:
[    0.593456]     HOME=/
[    0.593456]     TERM=linux
[    0.600636] systemd[1]: Successfully made /usr/ read-only.
[    0.600894] systemd[1]: systemd 258.1-1-arch running in system mode (+PAM +AUDIT -SELINUX +APPARMOR -IMA +IPE +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK +BTF +XKBCOMMON +UTMP -SYSVINIT +LIBARCHIVE)
[    0.600902] systemd[1]: Detected architecture x86-64.
[    0.600904] systemd[1]: Running in initrd.
[    0.601242] systemd[1]: Initializing machine ID from random generator.
[    0.641588] systemd[1]: Queued start job for default target Initrd Default Target.
[    0.644285] systemd[1]: Created slice Slice /system/systemd-cryptsetup.
[    0.644317] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    0.644325] systemd[1]: Expecting device /dev/disk/by-uuid/58b07f98-4fa4-4db6-b312-6a63156d9a43...
[    0.644327] systemd[1]: Expecting device /dev/mapper/cryptroot...
[    0.644335] systemd[1]: Reached target Path Units.
[    0.644340] systemd[1]: Reached target Slice Units.
[    0.644345] systemd[1]: Reached target Swaps.
[    0.644351] systemd[1]: Reached target Timer Units.
[    0.644387] systemd[1]: Listening on Journal Socket (/dev/log).
[    0.644405] systemd[1]: Listening on Journal Sockets.
[    0.644428] systemd[1]: Listening on udev Control Socket.
[    0.644440] systemd[1]: Listening on udev Kernel Socket.
[    0.644444] systemd[1]: Reached target Socket Units.
[    0.644760] systemd[1]: Starting Create List of Static Device Nodes...
[    0.645269] systemd[1]: Starting Check battery level during early boot...
[    0.646882] systemd[1]: Starting Journal Service...
[    0.647715] systemd[1]: Starting Load Kernel Modules...
[    0.648437] systemd[1]: Starting TPM PCR Barrier (initrd)...
[    0.648827] systemd[1]: Starting Create Static Device Nodes in /dev...
[    0.649233] systemd[1]: Starting Coldplug All udev Devices...
[    0.649839] systemd[1]: Finished Create List of Static Device Nodes.
[    0.650785] systemd[1]: Finished Load Kernel Modules.
[    0.652001] systemd[1]: Finished Check battery level during early boot.
[    0.652357] systemd[1]: Started Display Boot-Time Emergency Messages In Full Screen.
[    0.652798] systemd[1]: Finished Create Static Device Nodes in /dev.
[    0.652882] systemd[1]: Reached target Preparation for Local File Systems.
[    0.652887] systemd[1]: Reached target Local File Systems.
[    0.653294] systemd[1]: Starting Rule-based Manager for Device Events and Files...
[    0.654134] systemd-journald[299]: Collecting audit messages is disabled.
[    0.664141] systemd[1]: Started Rule-based Manager for Device Events and Files.
[    0.671605] systemd[1]: Started Journal Service.
[    0.764362] wmi_bus wmi_bus-PNP0C14:00: [Firmware Info]: DF4E63B6-3BBC-4858-9737-C74F82F821F3 has zero instances
[    0.764379] wmi_bus wmi_bus-PNP0C14:00: [Firmware Info]: 8F1F6436-9F42-42C8-BADC-0E9424F20C9A has zero instances
[    0.769826] ACPI: video: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    0.770328] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:13/LNXVIDEO:00/input/input5
[    0.771034] Key type psk registered
[    0.771151] ccp 0000:c3:00.2: tee enabled
[    0.772331] ccp 0000:c3:00.2: psp: TSME enabled
[    0.772343] ccp 0000:c3:00.2: psp enabled
[    0.780180] nvme 0000:c2:00.0: platform quirk: setting simple suspend
[    0.780241] nvme nvme0: pci function 0000:c2:00.0
[    0.801440] usb 3-2: new full-speed USB device number 2 using xhci_hcd
[    0.813806] nvme nvme0: 32/0/0 default/read/poll queues
[    0.818833]  nvme0n1: p1 p2 p3 p4 p5 p6 p7
[    0.948292] usb 3-2: New USB device found, idVendor=046d, idProduct=c52b, bcdDevice=24.11
[    0.948303] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    0.948306] usb 3-2: Product: USB Receiver
[    0.948307] usb 3-2: Manufacturer: Logitech
[    0.985534] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:08.3/0000:c5:00.0/usb3/3-2/3-2:1.0/0003:046D:C52B.0001/input/input6
[    1.407446] tsc: Refined TSC clocksource calibration: 2994.356 MHz
[    1.407457] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2b2971b61a7, max_idle_ns: 440795211682 ns
[    1.407776] clocksource: Switched to clocksource tsc
[    1.725487] hid-generic 0003:046D:C52B.0001: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:c5:00.0-2/input0
[    1.730388] input: Logitech USB Receiver Mouse as /devices/pci0000:00/0000:00:08.3/0000:c5:00.0/usb3/3-2/3-2:1.1/0003:046D:C52B.0002/input/input7
[    1.730497] input: Logitech USB Receiver Consumer Control as /devices/pci0000:00/0000:00:08.3/0000:c5:00.0/usb3/3-2/3-2:1.1/0003:046D:C52B.0002/input/input8
[    1.731583] device-mapper: uevent: version 1.0.3
[    1.731626] device-mapper: ioctl: 4.50.0-ioctl (2025-04-28) initialised: dm-devel@lists.linux.dev
[    1.733454] [drm] amdgpu kernel modesetting enabled.
[    1.734254] amdgpu: Virtual CRAT table created for CPU
[    1.734263] amdgpu: Topology: Add CPU node
[    1.734427] amdgpu 0000:c3:00.0: amdgpu: initializing kernel modesetting (IP DISCOVERY 0x1002:0x1586 0x103C:0x8D01 0xD1).
[    1.734670] amdgpu 0000:c3:00.0: amdgpu: register mmio base: 0xA0300000
[    1.734670] amdgpu 0000:c3:00.0: amdgpu: register mmio size: 1048576
[    1.738117] amdgpu 0000:c3:00.0: amdgpu: detected ip block number 0 <soc21_common>
[    1.738118] amdgpu 0000:c3:00.0: amdgpu: detected ip block number 1 <gmc_v11_0>
[    1.738119] amdgpu 0000:c3:00.0: amdgpu: detected ip block number 2 <ih_v6_1>
[    1.738120] amdgpu 0000:c3:00.0: amdgpu: detected ip block number 3 <psp>
[    1.738121] amdgpu 0000:c3:00.0: amdgpu: detected ip block number 4 <smu>
[    1.738122] amdgpu 0000:c3:00.0: amdgpu: detected ip block number 5 <dm>
[    1.738123] amdgpu 0000:c3:00.0: amdgpu: detected ip block number 6 <gfx_v11_0>
[    1.738124] amdgpu 0000:c3:00.0: amdgpu: detected ip block number 7 <sdma_v6_0>
[    1.738125] amdgpu 0000:c3:00.0: amdgpu: detected ip block number 8 <vcn_v4_0_5>
[    1.738125] amdgpu 0000:c3:00.0: amdgpu: detected ip block number 9 <jpeg_v4_0_5>
[    1.738126] amdgpu 0000:c3:00.0: amdgpu: detected ip block number 10 <mes_v11_0>
[    1.738127] amdgpu 0000:c3:00.0: amdgpu: detected ip block number 11 <vpe_v6_1>
[    1.738127] amdgpu 0000:c3:00.0: amdgpu: detected ip block number 12 <isp_ip>
[    1.738149] amdgpu 0000:c3:00.0: amdgpu: Fetched VBIOS from VFCT
[    1.738150] amdgpu: ATOM BIOS: 113-STRXLGEN-001
[    1.741798] amdgpu 0000:c3:00.0: amdgpu: VPE: collaborate mode true
[    1.780561] fbcon: Taking over console
[    1.782513] input: Logitech USB Receiver System Control as /devices/pci0000:00/0000:00:08.3/0000:c5:00.0/usb3/3-2/3-2:1.1/0003:046D:C52B.0002/input/input9
[    1.782843] hid-generic 0003:046D:C52B.0002: input,hiddev96,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:c5:00.0-2/input1
[    1.788752] hid-generic 0003:046D:C52B.0003: hiddev97,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:c5:00.0-2/input2
[    1.792197] amdgpu 0000:c3:00.0: amdgpu: Trusted Memory Zone (TMZ) feature disabled as experimental (default)
[    1.792262] amdgpu 0000:c3:00.0: amdgpu: vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit
[    1.792285] amdgpu 0000:c3:00.0: amdgpu: VRAM: 16384M 0x0000008000000000 - 0x00000083FFFFFFFF (16384M used)
[    1.792287] amdgpu 0000:c3:00.0: amdgpu: GART: 512M 0x00007FFF00000000 - 0x00007FFF1FFFFFFF
[    1.792309] [drm] Detected VRAM RAM=16384M, BAR=16384M
[    1.792310] [drm] RAM width 256bits LPDDR5
[    1.792444] amdgpu 0000:c3:00.0: amdgpu: amdgpu: 16384M of VRAM memory ready
[    1.792446] amdgpu 0000:c3:00.0: amdgpu: amdgpu: 23966M of GTT memory ready.
[    1.792459] [drm] GART: num cpu pages 131072, num gpu pages 131072
[    1.793136] [drm] PCIE GART of 512M enabled (table at 0x00000083FFB00000).
[    1.793561] amdgpu 0000:c3:00.0: amdgpu: [drm] Loading DMUB firmware via PSP: version=0x09003100
[    1.793942] amdgpu 0000:c3:00.0: amdgpu: Found VCN firmware Version ENC: 1.24 DEC: 9 VEP: 0 Revision: 22
[    1.793988] amdgpu 0000:c3:00.0: amdgpu: Found VCN firmware Version ENC: 1.24 DEC: 9 VEP: 0 Revision: 22
[    1.817926] amdgpu 0000:c3:00.0: amdgpu: reserve 0x8c00000 from 0x83e0000000 for PSP TMR
[    1.900433] usb 3-4: new full-speed USB device number 3 using xhci_hcd
[    2.044615] usb 3-4: New USB device found, idVendor=06cb, idProduct=0106, bcdDevice= 0.00
[    2.044620] usb 3-4: New USB device strings: Mfr=0, Product=0, SerialNumber=1
[    2.044622] usb 3-4: SerialNumber: aaa9f4b58ca2
[    2.169431] usb 3-5: new high-speed USB device number 4 using xhci_hcd
[    2.296742] usb 3-5: New USB device found, idVendor=0e8d, idProduct=8c38, bcdDevice= 1.00
[    2.296747] usb 3-5: New USB device strings: Mfr=5, Product=6, SerialNumber=7
[    2.296749] usb 3-5: Product: Wireless_Device
[    2.296751] usb 3-5: Manufacturer: MediaTek Inc.
[    2.296752] usb 3-5: SerialNumber: 000000000
[    2.440023] amdgpu 0000:c3:00.0: amdgpu: RAS: optional ras ta ucode is not available
[    2.444023] amdgpu 0000:c3:00.0: amdgpu: RAP: optional rap ta ucode is not available
[    2.444024] amdgpu 0000:c3:00.0: amdgpu: SECUREDISPLAY: optional securedisplay ta ucode is not available
[    2.475451] amdgpu 0000:c3:00.0: amdgpu: SMU is initialized successfully!
[    2.476843] amdgpu 0000:c3:00.0: amdgpu: [drm] Display Core v3.2.340 initialized on DCN 3.5.1
[    2.476844] amdgpu 0000:c3:00.0: amdgpu: [drm] DP-HDMI FRL PCON supported
[    2.480003] logitech-djreceiver 0003:046D:C52B.0003: hiddev96,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:c5:00.0-2/input2
[    2.480209] amdgpu 0000:c3:00.0: amdgpu: [drm] DMUB hardware initialized: version=0x09003100
[    2.547089] amdgpu 0000:c3:00.0: amdgpu: [drm] Using ACPI provided EDID for eDP-1
[    2.548369] amdgpu 0000:c3:00.0: amdgpu: [drm] PSR support 1, DC PSR ver 0, sink PSR ver 4 DPCD caps 0x3a su_y_granularity 4
[    2.548561] amdgpu 0000:c3:00.0: amdgpu: [drm] PSR support 0, DC PSR ver -1, sink PSR ver 0 DPCD caps 0x0 su_y_granularity 0
[    2.548696] amdgpu 0000:c3:00.0: amdgpu: [drm] PSR support 0, DC PSR ver -1, sink PSR ver 0 DPCD caps 0x0 su_y_granularity 0
[    2.548815] amdgpu 0000:c3:00.0: amdgpu: [drm] PSR support 0, DC PSR ver -1, sink PSR ver 0 DPCD caps 0x0 su_y_granularity 0
[    2.548934] amdgpu 0000:c3:00.0: amdgpu: [drm] PSR support 0, DC PSR ver -1, sink PSR ver 0 DPCD caps 0x0 su_y_granularity 0
[    2.548982] amdgpu 0000:c3:00.0: amdgpu: [drm] PSR support 0, DC PSR ver -1, sink PSR ver 0 DPCD caps 0x0 su_y_granularity 0
[    2.549018] amdgpu 0000:c3:00.0: amdgpu: [drm] PSR support 0, DC PSR ver -1, sink PSR ver 0 DPCD caps 0x0 su_y_granularity 0
[    2.549056] amdgpu 0000:c3:00.0: amdgpu: [drm] PSR support 0, DC PSR ver -1, sink PSR ver 0 DPCD caps 0x0 su_y_granularity 0
[    2.549095] amdgpu 0000:c3:00.0: amdgpu: [drm] PSR support 0, DC PSR ver -1, sink PSR ver 0 DPCD caps 0x0 su_y_granularity 0
[    2.559892] kfd kfd: amdgpu: Allocated 3969056 bytes on gart
[    2.559903] kfd kfd: amdgpu: Total number of KFD nodes to be created: 1
[    2.560412] amdgpu: Virtual CRAT table created for GPU
[    2.560553] amdgpu: Topology: Add dGPU node [0x1586:0x1002]
[    2.560554] kfd kfd: amdgpu: added device 1002:1586
[    2.560564] amdgpu 0000:c3:00.0: amdgpu: SE 2, SH per SE 2, CU per SH 10, active_cu_number 40
[    2.560568] amdgpu 0000:c3:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
[    2.560570] amdgpu 0000:c3:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[    2.560570] amdgpu 0000:c3:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[    2.560571] amdgpu 0000:c3:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 6 on hub 0
[    2.560571] amdgpu 0000:c3:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 7 on hub 0
[    2.560572] amdgpu 0000:c3:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 8 on hub 0
[    2.560572] amdgpu 0000:c3:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 9 on hub 0
[    2.560572] amdgpu 0000:c3:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 10 on hub 0
[    2.560573] amdgpu 0000:c3:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 11 on hub 0
[    2.560573] amdgpu 0000:c3:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
[    2.560573] amdgpu 0000:c3:00.0: amdgpu: ring vcn_unified_0 uses VM inv eng 0 on hub 8
[    2.560574] amdgpu 0000:c3:00.0: amdgpu: ring vcn_unified_1 uses VM inv eng 1 on hub 8
[    2.560574] amdgpu 0000:c3:00.0: amdgpu: ring jpeg_dec_0 uses VM inv eng 4 on hub 8
[    2.560574] amdgpu 0000:c3:00.0: amdgpu: ring jpeg_dec_1 uses VM inv eng 6 on hub 8
[    2.560575] amdgpu 0000:c3:00.0: amdgpu: ring mes_kiq_3.1.0 uses VM inv eng 13 on hub 0
[    2.560575] amdgpu 0000:c3:00.0: amdgpu: ring vpe uses VM inv eng 7 on hub 8
[    2.564763] amdgpu 0000:c3:00.0: amdgpu: Runtime PM not available
[    2.565086] amdgpu 0000:c3:00.0: amdgpu: [drm] Using custom brightness curve
[    2.565507] amdgpu 0000:c3:00.0: [drm] Registered 4 planes with drm panic
[    2.565508] [drm] Initialized amdgpu 3.64.0 for 0000:c3:00.0 on minor 1
[    2.581575] [drm] pre_validate_dsc:1628 MST_DSC dsc precompute is not needed
[    2.587386] input: Logitech Wireless Device PID:4090 Mouse as /devices/pci0000:00/0000:00:08.3/0000:c5:00.0/usb3/3-2/3-2:1.2/0003:046D:C52B.0003/0003:046D:4090.0004/input/input11
[    2.587508] hid-generic 0003:046D:4090.0004: input,hidraw1: USB HID v1.11 Mouse [Logitech Wireless Device PID:4090] on usb-0000:c5:00.0-2/input2:1
[    2.588392] input: Logitech Wireless Device PID:4051 Mouse as /devices/pci0000:00/0000:00:08.3/0000:c5:00.0/usb3/3-2/3-2:1.2/0003:046D:C52B.0003/0003:046D:4051.0005/input/input15
[    2.588483] hid-generic 0003:046D:4051.0005: input,hidraw2: USB HID v1.11 Mouse [Logitech Wireless Device PID:4051] on usb-0000:c5:00.0-2/input2:2
[    2.620347] input: Logitech MX Anywhere 3 as /devices/pci0000:00/0000:00:08.3/0000:c5:00.0/usb3/3-2/3-2:1.2/0003:046D:C52B.0003/0003:046D:4090.0004/input/input19
[    2.620525] logitech-hidpp-device 0003:046D:4090.0004: input,hidraw1: USB HID v1.11 Mouse [Logitech MX Anywhere 3] on usb-0000:c5:00.0-2/input2:1
[    2.646369] input: Logitech M510 as /devices/pci0000:00/0000:00:08.3/0000:c5:00.0/usb3/3-2/3-2:1.2/0003:046D:C52B.0003/0003:046D:4051.0005/input/input20
[    2.646538] logitech-hidpp-device 0003:046D:4051.0005: input,hidraw2: USB HID v1.11 Mouse [Logitech M510] on usb-0000:c5:00.0-2/input2:2
[    3.565341] Console: switching to colour frame buffer device 180x56
[    3.577885] amdgpu 0000:c3:00.0: [drm] fb0: amdgpudrmfb frame buffer device
[    5.864782] logitech-hidpp-device 0003:046D:4051.0005: HID++ 4.5 device connected.
[   14.596212] Key type trusted registered
[   14.598406] Key type encrypted registered
[   14.660401] BTRFS: device fsid aeb8e528-e8a2-406e-a704-7b620223063b devid 1 transid 8688 /dev/mapper/cryptroot (253:0) scanned by mount (729)
[   14.660570] BTRFS info (device dm-0): first mount of filesystem aeb8e528-e8a2-406e-a704-7b620223063b
[   14.660574] BTRFS info (device dm-0): using crc32c (crc32c-lib) checksum algorithm
[   14.688334] BTRFS info (device dm-0): enabling ssd optimizations
[   14.688335] BTRFS info (device dm-0): enabling free space tree
[   14.822079] systemd-journald[299]: Received SIGTERM from PID 1 (systemd).
[   14.868511] systemd[1]: systemd 258.1-1-arch running in system mode (+PAM +AUDIT -SELINUX +APPARMOR -IMA +IPE +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK +BTF +XKBCOMMON +UTMP -SYSVINIT +LIBARCHIVE)
[   14.868517] systemd[1]: Detected architecture x86-64.
[   14.868691] systemd[1]: Hostname set to <lars-laptop>.
[   14.941102] systemd[1]: bpf-restrict-fs: LSM BPF program attached
[   15.062845] systemd[1]: initrd-switch-root.service: Deactivated successfully.
[   15.062915] systemd[1]: Stopped Switch Root.
[   15.063337] systemd[1]: systemd-journald.service: Scheduled restart job, restart counter is at 1.
[   15.063573] systemd[1]: Created slice Slice /system/dirmngr.
[   15.063738] systemd[1]: Created slice Slice /system/getty.
[   15.063893] systemd[1]: Created slice Slice /system/gpg-agent.
[   15.064039] systemd[1]: Created slice Slice /system/gpg-agent-browser.
[   15.064188] systemd[1]: Created slice Slice /system/gpg-agent-extra.
[   15.064332] systemd[1]: Created slice Slice /system/gpg-agent-ssh.
[   15.064496] systemd[1]: Created slice Slice /system/keyboxd.
[   15.064644] systemd[1]: Created slice Slice /system/modprobe.
[   15.064748] systemd[1]: Created slice User and Session Slice.
[   15.064771] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[   15.064784] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   15.064881] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   15.064887] systemd[1]: Expecting device /dev/disk/by-uuid/1A53-E53C...
[   15.064894] systemd[1]: Reached target Local Encrypted Volumes.
[   15.064901] systemd[1]: Reached target Image Downloads.
[   15.064907] systemd[1]: Stopped target Switch Root.
[   15.064914] systemd[1]: Stopped target Initrd File Systems.
[   15.064918] systemd[1]: Stopped target Initrd Root File System.
[   15.064923] systemd[1]: Reached target Local Integrity Protected Volumes.
[   15.064934] systemd[1]: Reached target Path Units.
[   15.064939] systemd[1]: Reached target Remote File Systems.
[   15.064944] systemd[1]: Reached target Slice Units.
[   15.064956] systemd[1]: Reached target Local Verity Protected Volumes.
[   15.064990] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[   15.065356] systemd[1]: Listening on Query the User Interactively for a Password.
[   15.065805] systemd[1]: Listening on Process Core Dump Socket.
[   15.066024] systemd[1]: Listening on Credential Encryption/Decryption.
[   15.066336] systemd[1]: Listening on Factory Reset Management.
[   15.066381] systemd[1]: Listening on Userspace Out-Of-Memory (OOM) Killer Socket.
[   15.066721] systemd[1]: Listening on TPM PCR Measurements.
[   15.066959] systemd[1]: Listening on Make TPM PCR Policy.
[   15.066975] systemd[1]: Listening on Resolve Monitor Varlink Socket.
[   15.067005] systemd[1]: Listening on Resolve Service Varlink Socket.
[   15.067023] systemd[1]: Listening on udev Control Socket.
[   15.067041] systemd[1]: Listening on udev Varlink Socket.
[   15.067059] systemd[1]: Listening on User Database Manager Socket.
[   15.068247] systemd[1]: Mounting Huge Pages File System...
[   15.068594] systemd[1]: Mounting POSIX Message Queue File System...
[   15.068993] systemd[1]: Mounting Kernel Debug File System...
[   15.069880] systemd[1]: Mounting Kernel Trace File System...
[   15.070890] systemd[1]: Starting Create List of Static Device Nodes...
[   15.070910] systemd[1]: Load Kernel Module configfs was skipped because of an unmet condition check (ConditionKernelModuleLoaded=!configfs).
[   15.071360] systemd[1]: Mounting Kernel Configuration File System...
[   15.071378] systemd[1]: Load Kernel Module dm_mod was skipped because of an unmet condition check (ConditionKernelModuleLoaded=!dm_mod).
[   15.071392] systemd[1]: Load Kernel Module drm was skipped because of an unmet condition check (ConditionKernelModuleLoaded=!drm).
[   15.071402] systemd[1]: Load Kernel Module fuse was skipped because of an unmet condition check (ConditionKernelModuleLoaded=!fuse).
[   15.071779] systemd[1]: Mounting FUSE Control File System...
[   15.072450] systemd[1]: Starting Load Kernel Module loop...
[   15.073460] systemd[1]: Starting Mullvad early boot network blocker...
[   15.073521] systemd[1]: systemd-cryptsetup@cryptroot.service: Deactivated successfully.
[   15.073549] systemd[1]: Stopped systemd-cryptsetup@cryptroot.service.
[   15.073595] systemd[1]: systemd-cryptsetup@cryptroot.service: Consumed 7.751s CPU time, 1G memory peak.
[   15.073734] systemd[1]: Clear Stale Hibernate Storage Info was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67).
[   15.074465] systemd[1]: Starting Journal Service...
[   15.075905] systemd[1]: Starting Load Kernel Modules...
[   15.076284] systemd[1]: Starting TPM PCR Machine ID Measurement...
[   15.076593] systemd[1]: Starting Remount Root and Kernel File Systems...
[   15.076901] systemd[1]: Starting Early TPM SRK Setup...
[   15.077232] systemd[1]: Starting Load udev Rules from Credentials...
[   15.077564] systemd[1]: Starting Coldplug All udev Devices...
[   15.078118] loop: module loaded
[   15.079209] systemd[1]: Mounted Huge Pages File System.
[   15.079253] systemd[1]: Mounted POSIX Message Queue File System.
[   15.079282] systemd[1]: Mounted Kernel Debug File System.
[   15.079362] systemd[1]: Mounted Kernel Trace File System.
[   15.079518] systemd[1]: Finished Create List of Static Device Nodes.
[   15.079616] systemd[1]: Mounted Kernel Configuration File System.
[   15.079677] systemd[1]: Mounted FUSE Control File System.
[   15.079797] systemd[1]: modprobe@loop.service: Deactivated successfully.
[   15.079946] systemd[1]: Finished Load Kernel Module loop.
[   15.080725] systemd[1]: Starting Create Static Device Nodes in /dev gracefully...
[   15.083613] BTRFS info (device dm-0 state M): turning on async discard
[   15.083617] BTRFS info (device dm-0 state M): use zstd compression, level 3
[   15.084777] systemd[1]: Finished Remount Root and Kernel File Systems.
[   15.085361] systemd[1]: Rebuild Hardware Database was skipped because of an unmet condition check (ConditionNeedsUpdate=/etc).
[   15.085715] acpi_call: loading out-of-tree module taints kernel.
[   15.085718] acpi_call: module verification failed: signature and/or required key missing - tainting kernel
[   15.086017] systemd[1]: Starting Load/Save OS Random Seed...
[   15.087868] systemd[1]: Finished Load udev Rules from Credentials.
[   15.088961] systemd-journald[807]: Collecting audit messages is disabled.
[   15.091993] systemd[1]: Started Journal Service.
[   15.109036] i2c_dev: i2c /dev entries driver
[   15.222389] nvidia: module license 'NVIDIA' taints kernel.
[   15.222393] Disabling lock debugging due to kernel taint
[   15.222395] nvidia: module license taints kernel.
[   15.396258] input: Wireless hotkeys as /devices/virtual/input/input21
[   15.397781] nvidia-nvlink: Nvlink Core is being initialized, major device number 511

[   15.401288] Serial bus multi instantiate pseudo device driver CSC3554:00: Instantiated 5 I2C devices.
[   15.401561] pcie_mp2_amd 0000:c3:00.7: enabling device (0000 -> 0002)
[   15.401590] RAPL PMU: API unit is 2^-32 Joules, 2 fixed counters, 163840 ms ovfl timer
[   15.401593] RAPL PMU: hw unit of domain package 2^-16 Joules
[   15.401594] RAPL PMU: hw unit of domain core 2^-16 Joules
[   15.402053] NVRM: No NVIDIA GPU found.
[   15.402656] nvidia-nvlink: Unregistered Nvlink Core, major device number 511
[   15.402819] ACPI: bus type thunderbolt registered
[   15.404133] amdxdna 0000:c4:00.1: enabling device (0000 -> 0002)
[   15.407429] piix4_smbus 0000:00:14.0: SMBus Host Controller at 0xb00, revision 0
[   15.407433] piix4_smbus 0000:00:14.0: Using register 0x02 for SMBus port selection
[   15.413072] piix4_smbus 0000:00:14.0: Auxiliary SMBus Host Controller at 0xb20
[   15.413137] hp_wmi: query 0x4 returned error 0x5
[   15.413468] i2c i2c-23: Successfully instantiated SPD at 0x50
[   15.414019] i2c i2c-23: Successfully instantiated SPD at 0x51
[   15.414452] i2c i2c-23: Successfully instantiated SPD at 0x52
[   15.414998] i2c i2c-23: Successfully instantiated SPD at 0x53
[   15.415458] i2c i2c-23: Successfully instantiated SPD at 0x54
[   15.416016] i2c i2c-23: Successfully instantiated SPD at 0x55
[   15.416467] i2c i2c-23: Successfully instantiated SPD at 0x56
[   15.417017] i2c i2c-23: Successfully instantiated SPD at 0x57
[   15.421882] input: HP WMI hotkeys as /devices/virtual/input/input22
[   15.437665] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   15.440533] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   15.440611] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[   15.440771] faux_driver regulatory: Direct firmware load for regulatory.db failed with error -2
[   15.440773] cfg80211: failed to load regulatory.db
[   15.495553] i2c_hid_acpi i2c-ELAN2513:00: i2c_hid_get_input: IRQ triggered but there's no data
[   15.495643] input: ELAN2513:00 04F3:4356 Touchscreen as /devices/platform/AMDI0010:02/i2c-2/i2c-ELAN2513:00/0018:04F3:4356.0006/input/input23
[   15.495763] input: ELAN2513:00 04F3:4356 as /devices/platform/AMDI0010:02/i2c-2/i2c-ELAN2513:00/0018:04F3:4356.0006/input/input24
[   15.495811] input: ELAN2513:00 04F3:4356 as /devices/platform/AMDI0010:02/i2c-2/i2c-ELAN2513:00/0018:04F3:4356.0006/input/input25
[   15.495891] hid-generic 0018:04F3:4356.0006: input,hidraw3: I2C HID v1.00 Device [ELAN2513:00 04F3:4356] on i2c-ELAN2513:00
[   15.508178] [drm] Initialized amdxdna_accel_driver 0.0.0 for 0000:c4:00.1 on minor 0
[   15.558850] input: SYNA3133:00 06CB:CFE2 Mouse as /devices/platform/AMDI0010:00/i2c-0/i2c-SYNA3133:00/0018:06CB:CFE2.0007/input/input27
[   15.558916] input: SYNA3133:00 06CB:CFE2 Touchpad as /devices/platform/AMDI0010:00/i2c-0/i2c-SYNA3133:00/0018:06CB:CFE2.0007/input/input28
[   15.558982] hid-generic 0018:06CB:CFE2.0007: input,hidraw4: I2C HID v1.00 Mouse [SYNA3133:00 06CB:CFE2] on i2c-SYNA3133:00
[   15.564305] sp5100_tco: SP5100/SB800 TCO WatchDog Timer Driver
[   15.564388] sp5100-tco sp5100-tco: Using 0xfeb00000 for watchdog MMIO address
[   15.564472] sp5100-tco sp5100-tco: initialized. heartbeat=60 sec (nowayout=0)
[   15.637928] snd_acp_pci 0000:c3:00.5: enabling device (0000 -> 0002)
[   15.638228] kvm_amd: TSC scaling supported
[   15.638230] kvm_amd: Nested Virtualization enabled
[   15.638231] kvm_amd: Nested Paging enabled
[   15.638232] kvm_amd: LBR virtualization supported
[   15.638237] kvm_amd: Virtual VMLOAD VMSAVE supported
[   15.638238] kvm_amd: Virtual GIF supported
[   15.638238] kvm_amd: Virtual NMI enabled
[   15.644814] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.0: Cirrus Logic CS35L54 Rev B0 OTP4 fw:3.4.4 (patched=0)
[   15.651534] snd_hda_intel 0000:c3:00.1: enabling device (0000 -> 0002)
[   15.651703] snd_hda_intel 0000:c3:00.6: enabling device (0000 -> 0002)
[   15.653473] mt7925e 0000:c1:00.0: enabling device (0000 -> 0002)
[   15.657552] input: ELAN2513:00 04F3:4356 as /devices/platform/AMDI0010:02/i2c-2/i2c-ELAN2513:00/0018:04F3:4356.0006/input/input30
[   15.657599] input: ELAN2513:00 04F3:4356 UNKNOWN as /devices/platform/AMDI0010:02/i2c-2/i2c-ELAN2513:00/0018:04F3:4356.0006/input/input31
[   15.657626] input: ELAN2513:00 04F3:4356 UNKNOWN as /devices/platform/AMDI0010:02/i2c-2/i2c-ELAN2513:00/0018:04F3:4356.0006/input/input32
[   15.657663] hid-multitouch 0018:04F3:4356.0006: input,hidraw3: I2C HID v1.00 Device [ELAN2513:00 04F3:4356] on i2c-ELAN2513:00
[   15.658335] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.0: DSP system name: '103C8D01', amp name: 'AMP1'
[   15.658447] mt7925e 0000:c1:00.0: ASIC revision: 79250000
[   15.660635] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.1: Reset GPIO busy, assume shared reset
[   15.662831] snd_hda_intel 0000:c3:00.1: bound 0000:c3:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[   15.663809] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:c3:00.1/sound/card0/input34
[   15.666499] input: HD-Audio Generic HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:08.1/0000:c3:00.1/sound/card0/input35
[   15.667712] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.1: Cirrus Logic CS35L54 Rev B0 OTP4 fw:3.4.4 (patched=0)
[   15.674487] input: HD-Audio Generic HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:08.1/0000:c3:00.1/sound/card0/input36
[   15.674512] input: HD-Audio Generic HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:08.1/0000:c3:00.1/sound/card0/input37
[   15.674553] input: PMF-TA output events as /devices/platform/AMDI0105:00/input/input38
[   15.674589] amd-pmf AMDI0105:00: registered PMF device successfully
[   15.681128] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.1: DSP system name: '103C8D01', amp name: 'AMP2'
[   15.681163] intel_rapl_common: Found RAPL domain package
[   15.681165] intel_rapl_common: Found RAPL domain core
[   15.682395] input: SYNA3133:00 06CB:CFE2 Mouse as /devices/platform/AMDI0010:00/i2c-0/i2c-SYNA3133:00/0018:06CB:CFE2.0007/input/input39
[   15.682469] input: SYNA3133:00 06CB:CFE2 Touchpad as /devices/platform/AMDI0010:00/i2c-0/i2c-SYNA3133:00/0018:06CB:CFE2.0007/input/input40
[   15.682470] amd_atl: AMD Address Translation Library initialized
[   15.682507] hid-multitouch 0018:06CB:CFE2.0007: input,hidraw4: I2C HID v1.00 Mouse [SYNA3133:00 06CB:CFE2] on i2c-SYNA3133:00
[   15.683191] snd_hda_codec_alc269 hdaudioC1D0: ALC245: picked fixup  for PCI SSID 103c:8d01
[   15.683277] snd_hda_codec_alc269 hdaudioC1D0: Found 4 CSC3554 on i2c (-%s:00-cs35l54-hda.%d)
[   15.683302] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.2: Reset GPIO busy, assume shared reset
[   15.683771] snd_hda_codec_alc269 hdaudioC1D0: autoconfig for ALC245: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[   15.683776] snd_hda_codec_alc269 hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   15.683779] snd_hda_codec_alc269 hdaudioC1D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[   15.683782] snd_hda_codec_alc269 hdaudioC1D0:    mono: mono_out=0x0
[   15.683783] snd_hda_codec_alc269 hdaudioC1D0:    inputs:
[   15.683786] snd_hda_codec_alc269 hdaudioC1D0:      Mic=0x19
[   15.688114] mousedev: PS/2 mouse device common for all mice
[   15.690719] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.2: Cirrus Logic CS35L54 Rev B0 OTP4 fw:3.4.4 (patched=0)
[   15.703791] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.2: DSP system name: '103C8D01', amp name: 'AMP3'
[   15.705988] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.3: Reset GPIO busy, assume shared reset
[   15.712700] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.3: Cirrus Logic CS35L54 Rev B0 OTP4 fw:3.4.4 (patched=0)
[   15.725896] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.3: DSP system name: '103C8D01', amp name: 'AMP4'
[   15.728018] snd_hda_codec_alc269 hdaudioC1D0: bound i2c-CSC3554:00-cs35l54-hda.0 (ops cs35l56_hda_comp_ops [snd_hda_scodec_cs35l56])
[   15.728050] snd_hda_codec_alc269 hdaudioC1D0: bound i2c-CSC3554:00-cs35l54-hda.1 (ops cs35l56_hda_comp_ops [snd_hda_scodec_cs35l56])
[   15.728081] snd_hda_codec_alc269 hdaudioC1D0: bound i2c-CSC3554:00-cs35l54-hda.2 (ops cs35l56_hda_comp_ops [snd_hda_scodec_cs35l56])
[   15.728104] snd_hda_codec_alc269 hdaudioC1D0: bound i2c-CSC3554:00-cs35l54-hda.3 (ops cs35l56_hda_comp_ops [snd_hda_scodec_cs35l56])
[   15.731922] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.3: DSP1: cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: format 3 timestamp 0x66300c2d
[   15.731926] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.3: DSP1: cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: Mon 29 Apr 2024 22:07:57 GMT Daylight Time
[   15.732113] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.2: DSP1: cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: format 3 timestamp 0x66300c2d
[   15.732114] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.2: DSP1: cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: Mon 29 Apr 2024 22:07:57 GMT Daylight Time
[   15.732300] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.0: DSP1: cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: format 3 timestamp 0x66300c2d
[   15.732301] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.0: DSP1: cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: Mon 29 Apr 2024 22:07:57 GMT Daylight Time
[   15.732487] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.1: DSP1: cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: format 3 timestamp 0x66300c2d
[   15.732488] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.1: DSP1: cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: Mon 29 Apr 2024 22:07:57 GMT Daylight Time
[   15.734268] mt7925e 0000:c1:00.0: HW/SW Version: 0x8a108a10, Build Time: 20250825215832a

[   15.753576] input: HD-Audio Generic Mic as /devices/pci0000:00/0000:00:08.1/0000:c3:00.6/sound/card1/input42
[   15.753650] input: HD-Audio Generic Headphone as /devices/pci0000:00/0000:00:08.1/0000:c3:00.6/sound/card1/input43
[   16.107010] systemd-journald[807]: Received client request to flush runtime journal.
[   16.109102] Adding 68157436k swap on /var/swap/swapfile.  Priority:-2 extents:2 across:70308596k SS
[   16.215508] mt7925e 0000:c1:00.0: WM Firmware Version: ____000000, Build Time: 20250825215925
[   16.416013] Bluetooth: Core ver 2.22
[   16.416055] NET: Registered PF_BLUETOOTH protocol family
[   16.416058] Bluetooth: HCI device and connection manager initialized
[   16.416065] Bluetooth: HCI socket layer initialized
[   16.416067] Bluetooth: L2CAP socket layer initialized
[   16.416070] Bluetooth: SCO socket layer initialized
[   16.432798] usbcore: registered new interface driver btusb
[   16.435493] Bluetooth: hci0: HW/SW Version: 0x00000000, Build Time: 20250825220109
[   16.462262] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   16.462266] Bluetooth: BNEP filters: protocol multicast
[   16.462270] Bluetooth: BNEP socket layer initialized
[   16.553299] Initializing XFRM netlink socket
[   16.657862] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[   16.729158] Bluetooth: hci0: Device setup in 289396 usecs
[   16.729163] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
[   16.732468] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.3: DSP1: Firmware: 1a00d6 vendor: 0x2 v3.11.18, 41 algorithms
[   16.733269] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.2: DSP1: Firmware: 1a00d6 vendor: 0x2 v3.11.18, 41 algorithms
[   16.734058] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.0: DSP1: Firmware: 1a00d6 vendor: 0x2 v3.11.18, 41 algorithms
[   16.734845] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.1: DSP1: Firmware: 1a00d6 vendor: 0x2 v3.11.18, 41 algorithms
[   16.751239] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.3: DSP1: cirrus/cs35l54-b0-dsp1-misc-103c8d01-amp4.bin: v3.11.18
[   16.751248] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.3: DSP1: misc: C:\ProductSetting\HP\Chiron\Tuning_Relese\20250216\init\Right_Woofer (131118.360000.80216)-init.bin
[   16.766408] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.2: DSP1: cirrus/cs35l54-b0-dsp1-misc-103c8d01-amp3.bin: v3.11.18
[   16.766422] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.2: DSP1: misc: C:\ProductSetting\HP\Chiron\Tuning_Relese\20250216\init\Right_Tweeter (131118.360100.80216)-init.bin
[   16.781586] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.0: DSP1: cirrus/cs35l54-b0-dsp1-misc-103c8d01-amp1.bin: v3.11.18
[   16.781593] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.0: DSP1: misc: C:\ProductSetting\HP\Chiron\Tuning_Relese\20250216\init\Left_Woofer (131118.360200.80216)-init.bin
[   16.796729] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.1: DSP1: cirrus/cs35l54-b0-dsp1-misc-103c8d01-amp2.bin: v3.11.18
[   16.796734] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.1: DSP1: misc: C:\ProductSetting\HP\Chiron\Tuning_Relese\20250216\init\Left_Tweeter (131118.360300.80216)-init.bin
[   16.814698] Bluetooth: hci0: AOSP extensions version v1.00
[   16.814701] Bluetooth: hci0: AOSP quality report is supported
[   16.814870] Bluetooth: MGMT ver 1.23
[   16.820271] NET: Registered PF_ALG protocol family
[   17.009253] mt7925e 0000:c1:00.0 wlp193s0: renamed from wlan0
[   17.259735] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.3: Calibration applied
[   17.261130] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.3: Tuning PID: 0x131118, SID: 0x360000, TID: 0x80216
[   17.261997] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.2: Calibration applied
[   17.262170] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.0: Calibration applied
[   17.262344] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.1: Calibration applied
[   17.263047] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.2: Tuning PID: 0x131118, SID: 0x360100, TID: 0x80216
[   17.263236] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.0: Tuning PID: 0x131118, SID: 0x360200, TID: 0x80216
[   17.263426] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.1: Tuning PID: 0x131118, SID: 0x360300, TID: 0x80216
[   20.201037] wlp193s0: authenticate with d0:21:f9:c7:b1:d8 (local address=42:9b:72:9a:57:1a)
[   20.317112] wlp193s0: send auth to d0:21:f9:c7:b1:d8 (try 1/3)
[   20.322113] wlp193s0: d0:21:f9:c7:b1:d8 denied authentication (status 37)
[   20.790043] wlp193s0: authenticate with d0:21:f9:c7:b1:d9 (local address=42:9b:72:9a:57:1a)
[   21.162844] wlp193s0: send auth to d0:21:f9:c7:b1:d9 (try 1/3)
[   21.234116] wlp193s0: authenticate with d0:21:f9:c7:b1:d9 (local address=42:9b:72:9a:57:1a)
[   21.234123] wlp193s0: send auth to d0:21:f9:c7:b1:d9 (try 1/3)
[   21.258159] wlp193s0: authenticated
[   21.263435] wlp193s0: associate with d0:21:f9:c7:b1:d9 (try 1/3)
[   21.320314] wlp193s0: RX AssocResp from d0:21:f9:c7:b1:d9 (capab=0x1111 status=0 aid=2)
[   21.353237] wlp193s0: associated
[   21.356483] wlp193s0: Limiting TX power to 23 (23 - 0) dBm as advertised by d0:21:f9:c7:b1:d9
[   22.784527] Unknown laptop placement
[   25.038602] hid-generic 0020:1022:0001.0008: hidraw5: SENSOR HUB HID v0.00 Device [hid-amdsfh 1022:0001] on pcie_mp2_amd
[   25.038844] hid-generic 0020:1022:0001.0009: hidraw6: SENSOR HUB HID v0.00 Device [hid-amdsfh 1022:0001] on pcie_mp2_amd
[   25.062190] hid-sensor-hub 0020:1022:0001.0008: hidraw5: SENSOR HUB HID v0.00 Device [hid-amdsfh 1022:0001] on pcie_mp2_amd
[   25.062567] hid-sensor-hub 0020:1022:0001.0009: hidraw6: SENSOR HUB HID v0.00 Device [hid-amdsfh 1022:0001] on pcie_mp2_amd
[   29.364373] Bluetooth: RFCOMM TTY layer initialized
[   29.364405] Bluetooth: RFCOMM socket layer initialized
[   29.364410] Bluetooth: RFCOMM ver 1.11
[   38.148329] tee_params_to_amd_params: type[0] = 0x7
[   38.148352] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   38.148355] tee_params_to_amd_params: type[1] = 0x0
[   38.148356] tee_params_to_amd_params: type[2] = 0x0
[   38.148358] tee_params_to_amd_params: type[3] = 0x0
[   38.149418] amd_params_to_tee_params: type[0] = 0x7
[   38.149419] amd_params_to_tee_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   38.149421] amd_params_to_tee_params: type[1] = 0x0
[   38.149421] amd_params_to_tee_params: type[2] = 0x0
[   38.149422] amd_params_to_tee_params: type[3] = 0x0
[   38.149422] invoke command: RO = 0x4 ret = 0x0
[   39.171308] tee_params_to_amd_params: type[0] = 0x7
[   39.171330] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   39.171333] tee_params_to_amd_params: type[1] = 0x0
[   39.171334] tee_params_to_amd_params: type[2] = 0x0
[   39.171335] tee_params_to_amd_params: type[3] = 0x0
[   39.172419] amd_params_to_tee_params: type[0] = 0x7
[   39.172421] amd_params_to_tee_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   39.172422] amd_params_to_tee_params: type[1] = 0x0
[   39.172423] amd_params_to_tee_params: type[2] = 0x0
[   39.172424] amd_params_to_tee_params: type[3] = 0x0
[   39.172424] invoke command: RO = 0x4 ret = 0x0
[   40.194471] tee_params_to_amd_params: type[0] = 0x7
[   40.194495] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   40.194499] tee_params_to_amd_params: type[1] = 0x0
[   40.194500] tee_params_to_amd_params: type[2] = 0x0
[   40.194501] tee_params_to_amd_params: type[3] = 0x0
[   40.195633] amd_params_to_tee_params: type[0] = 0x7
[   40.195636] amd_params_to_tee_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   40.195638] amd_params_to_tee_params: type[1] = 0x0
[   40.195638] amd_params_to_tee_params: type[2] = 0x0
[   40.195639] amd_params_to_tee_params: type[3] = 0x0
[   40.195639] invoke command: RO = 0x4 ret = 0x0
[   40.893857] wlp193s0: deauthenticating from d0:21:f9:c7:b1:d9 by local choice (Reason: 3=DEAUTH_LEAVING)
[   41.217462] tee_params_to_amd_params: type[0] = 0x7
[   41.217477] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   41.217481] tee_params_to_amd_params: type[1] = 0x0
[   41.217483] tee_params_to_amd_params: type[2] = 0x0
[   41.217484] tee_params_to_amd_params: type[3] = 0x0
[   41.218623] amd_params_to_tee_params: type[0] = 0x7
[   41.218626] amd_params_to_tee_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   41.218629] amd_params_to_tee_params: type[1] = 0x0
[   41.218630] amd_params_to_tee_params: type[2] = 0x0
[   41.218630] amd_params_to_tee_params: type[3] = 0x0
[   41.218631] invoke command: RO = 0x4 ret = 0x0
[   41.535444] PM: Image not found (code -16)
[   41.622264] PM: hibernation: hibernation entry
[   41.655137] Filesystems sync: 0.028 seconds
[   41.655314] Freezing user space processes
[   41.656463] Freezing user space processes completed (elapsed 0.001 seconds)
[   41.656468] OOM killer disabled.
[   41.656666] PM: hibernation: Marking nosave pages: [mem 0x00000000-0x00000fff]
[   41.656670] PM: hibernation: Marking nosave pages: [mem 0x0009f000-0x000fffff]
[   41.656672] PM: hibernation: Marking nosave pages: [mem 0x09f00000-0x09f87fff]
[   41.656675] PM: hibernation: Marking nosave pages: [mem 0x3726b000-0x3747afff]
[   41.656680] PM: hibernation: Marking nosave pages: [mem 0x44bd0000-0x4913dfff]
[   41.656839] PM: hibernation: Marking nosave pages: [mem 0x52bd2000-0x52bd2fff]
[   41.656839] PM: hibernation: Marking nosave pages: [mem 0x52bdc000-0x52bdcfff]
[   41.656840] PM: hibernation: Marking nosave pages: [mem 0x5d134000-0x5d138fff]
[   41.656840] PM: hibernation: Marking nosave pages: [mem 0x78000000-0xffffffff]
[   41.656841] PM: hibernation: Basic memory bitmaps created
[   41.658371] PM: hibernation: Preallocating image memory
[   42.241345] tee_params_to_amd_params: type[0] = 0x7
[   42.241363] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   42.241365] tee_params_to_amd_params: type[1] = 0x0
[   42.241367] tee_params_to_amd_params: type[2] = 0x0
[   42.241367] tee_params_to_amd_params: type[3] = 0x0
[   42.244422] amd_params_to_tee_params: type[0] = 0x7
[   42.244428] amd_params_to_tee_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   42.244429] amd_params_to_tee_params: type[1] = 0x0
[   42.244430] amd_params_to_tee_params: type[2] = 0x0
[   42.244431] amd_params_to_tee_params: type[3] = 0x0
[   42.244432] invoke command: RO = 0x4 ret = 0x0
[   42.551191] PM: hibernation: Allocated 1006908 pages for snapshot
[   42.551196] PM: hibernation: Allocated 4027632 kbytes in 0.89 seconds (4525.42 MB/s)
[   42.551198] Freezing remaining freezable tasks
[   42.552440] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[   42.553710] printk: Suspending console(s) (use no_console_suspend to debug)
[   42.568550] queueing ieee80211 work while going to suspend
[   43.203887] ------------[ cut here ]------------
[   43.203895] amdgpu 0000:c3:00.0: SMU uninitialized but power gate requested for 16!
[   43.204049] WARNING: CPU: 4 PID: 2287 at drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:398 smu_dpm_set_power_gate+0x1eb/0x210 [amdgpu]
[   43.204453] Modules linked in: rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device hid_sensor_gyro_3d hid_sensor_prox hid_sensor_trigger industrialio_triggered_buffer kfifo_buf hid_sensor_iio_common industrialio hid_sensor_hub ccm cmac algif_hash algif_skcipher af_alg xt_conntrack xt_MASQUERADE bridge stp llc ip6table_nat ip6table_filter ip6_tables xt_set ip_set iptable_nat xt_addrtype iptable_filter xfrm_user xfrm_algo bnep btusb btrtl btintel btbcm btmtk bluetooth overlay vfat fat snd_acp_legacy_mach snd_acp_mach snd_soc_nau8821 snd_acp3x_rn snd_hda_scodec_cs35l56_spi snd_acp70 snd_acp_i2s snd_acp_pdm snd_soc_dmic snd_acp_pcm snd_sof_amd_acp70 snd_sof_amd_acp63 snd_sof_amd_vangogh snd_sof_amd_rembrandt snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp snd_sof joydev snd_sof_utils mousedev snd_ctl_led snd_pci_ps snd_soc_acpi_amd_match amd_atl snd_hda_codec_alc269 intel_rapl_msr snd_amd_sdw_acpi intel_rapl_common soundwire_amd snd_hda_scodec_component soundwire_generic_allocation
[   43.204511]  snd_hda_codec_realtek_lib soundwire_bus snd_hda_codec_generic snd_soc_sdca snd_hda_codec_atihdmi snd_hda_codec_hdmi snd_soc_core mt7925e snd_hda_intel snd_compress mt7925_common ac97_bus snd_hda_codec mt792x_lib snd_pcm_dmaengine snd_rpl_pci_acp6x mt76_connac_lib snd_hda_core snd_hda_scodec_cs35l56_i2c snd_acp_pci kvm_amd mt76 snd_hda_scodec_cs35l56 ucsi_acpi snd_intel_dspcfg snd_amd_acpi_mach snd_acp_legacy_common snd_intel_sdw_acpi mac80211 snd_hda_cirrus_scodec snd_pci_acp6x snd_hwdep typec_ucsi snd_soc_cs35l56_shared kvm spd5118 snd_pcm snd_soc_cs_amp_lib typec snd_pci_acp5x amd_pmf hid_multitouch snd_timer cs_dsp sp5100_tco roles snd_rn_pci_acp3x libarc4 cfg80211 snd_acp_config hp_wmi i2c_piix4 amdtee snd irqbypass i2c_hid_acpi snd_soc_acpi sparse_keymap wmi_bmof rapl i2c_designware_amdisp amdxdna rfkill amd_sfh snd_pci_acp3x i2c_smbus pinctrl_amdisp soundcore thunderbolt serial_multi_instantiate amd_isp4 i2c_hid platform_profile wireless_hotkey amd_pmc mac_hid nft_reject_inet nf_reject_ipv4
[   43.204563]  nf_reject_ipv6 nft_reject nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables i2c_dev crypto_user acpi_call(OE) loop nfnetlink ip_tables x_tables dm_crypt encrypted_keys trusted asn1_encoder tee hid_logitech_hidpp hid_logitech_dj dm_mod amdgpu amdxcp i2c_algo_bit drm_ttm_helper ttm drm_exec gpu_sched drm_suballoc_helper nvme drm_panel_backlight_quirks drm_buddy nvme_core polyval_clmulni drm_display_helper ghash_clmulni_intel nvme_keyring aesni_intel video ccp cec nvme_auth wmi serio_raw
[   43.204599] Unloaded tainted modules: nvidia(POE):1
[   43.204609] CPU: 4 UID: 0 PID: 2287 Comm: systemd-sleep Tainted: P           OE       6.17.5-arch1-1 #1 PREEMPT(full)  01c39fc421df2af799dd5e9180b572af860b40c1
[   43.204617] Tainted: [P]=PROPRIETARY_MODULE, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
[   43.204619] Hardware name: HP HP ZBook Ultra G1a 14 inch Mobile Workstation PC/8D01, BIOS X89 Ver. 01.03.11 08/28/2025
[   43.204622] RIP: 0010:smu_dpm_set_power_gate+0x1eb/0x210 [amdgpu]
[   43.204885] Code: 85 ed 75 03 48 8b 2f 89 74 24 04 e8 ef 2e dd e5 44 8b 44 24 04 48 89 d9 48 89 ea 48 89 c6 48 c7 c7 e8 8f 7b c1 e8 15 cb 26 e5 <0f> 0b b8 a1 ff ff ff e9 95 fe ff ff e9 a7 c2 40 00 e9 a2 c2 40 00
[   43.204887] RSP: 0018:ffffd2b18b33fa90 EFLAGS: 00010246
[   43.204890] RAX: 0000000000000000 RBX: ffffffffc181b003 RCX: 0000000000000027
[   43.204892] RDX: ffff8b780db1cfc8 RSI: 0000000000000001 RDI: ffff8b780db1cfc0
[   43.204893] RBP: ffff8b6cc3006ca0 R08: 0000000000000000 R09: 00000000ffffdfff
[   43.204895] R10: ffffffffa8f9d880 R11: ffffd2b18b33f860 R12: ffff8b6cdba166b0
[   43.204895] R13: 0000000000000002 R14: 0000000000000001 R15: ffffffffc16202e0
[   43.204897] FS:  00007f9a712e5880(0000) GS:ffff8b7864c06000(0000) knlGS:0000000000000000
[   43.204898] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   43.204899] CR2: 00007f8f37bf1150 CR3: 00000001b02e3000 CR4: 0000000000f50ef0
[   43.204901] PKRU: 55555554
[   43.204902] Call Trace:
[   43.204909]  <TASK>
[   43.204918]  amdgpu_dpm_set_powergating_by_smu+0xff/0x150 [amdgpu 02022ce4aee5e37157721ed7588d157409a3623e]
[   43.205214]  _genpd_power_off+0x8c/0x170
[   43.205228]  genpd_sync_power_off+0xc4/0x1b0
[   43.205232]  ? __pfx_pm_generic_thaw_noirq+0x10/0x10
[   43.205241]  genpd_finish_suspend+0xc6/0x120
[   43.205244]  ? __pfx_genpd_freeze_noirq+0x10/0x10
[   43.205246]  dpm_run_callback+0x47/0x150
[   43.205251]  device_suspend_noirq+0x99/0x2f0
[   43.205254]  dpm_noirq_suspend_devices+0x1e0/0x3c0
[   43.205257]  dpm_suspend_end+0x53/0xe0
[   43.205261]  hibernation_snapshot+0xfd/0x540
[   43.205271]  hibernate.cold+0x11b/0x487
[   43.205280]  state_store+0xc3/0xd0
[   43.205287]  kernfs_fop_write_iter+0x14a/0x200
[   43.205296]  vfs_write+0x25a/0x480
[   43.205306]  ksys_write+0x73/0xf0
[   43.205311]  do_syscall_64+0x81/0x970
[   43.205322]  ? __handle_mm_fault+0xa45/0xf10
[   43.205329]  ? kmem_cache_free+0x490/0x4d0
[   43.205336]  ? count_memcg_events+0xc2/0x190
[   43.205343]  ? handle_mm_fault+0x1d7/0x2d0
[   43.205345]  ? do_user_addr_fault+0x21a/0x690
[   43.205353]  ? exc_page_fault+0x7e/0x1a0
[   43.205358]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[   43.205362] RIP: 0033:0x7f9a70a931ce
[   43.205463] Code: 4d 89 d8 e8 64 be 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 <c9> c3 83 e2 39 83 fa 08 75 e7 e8 13 ff ff ff 0f 1f 00 f3 0f 1e fa
[   43.205464] RSP: 002b:00007ffeb7dbc290 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
[   43.205466] RAX: ffffffffffffffda RBX: 0000560a08ff9310 RCX: 00007f9a70a931ce
[   43.205467] RDX: 0000000000000005 RSI: 0000560a09003130 RDI: 0000000000000005
[   43.205468] RBP: 00007ffeb7dbc2a0 R08: 0000000000000000 R09: 0000000000000000
[   43.205469] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000005
[   43.205470] R13: 0000000000000005 R14: 0000560a09003130 R15: 00007ffeb7dbc430
[   43.205472]  </TASK>
[   43.205472] ---[ end trace 0000000000000000 ]---
[   43.205612] ACPI: EC: interrupt blocked
[   43.265870] ACPI: PM: Preparing to enter system sleep state S4
[   43.267659] ACPI: EC: event blocked
[   43.267660] ACPI: EC: EC stopped
[   43.267661] ACPI: PM: Saving platform NVS memory
[   43.270977] Disabling non-boot CPUs ...
[   43.273781] smpboot: CPU 31 is now offline
[   43.276516] smpboot: CPU 30 is now offline
[   43.279488] smpboot: CPU 29 is now offline
[   43.282479] smpboot: CPU 28 is now offline
[   43.285633] smpboot: CPU 27 is now offline
[   43.289008] smpboot: CPU 26 is now offline
[   43.293274] smpboot: CPU 25 is now offline
[   43.297288] smpboot: CPU 24 is now offline
[   43.301509] smpboot: CPU 23 is now offline
[   43.305096] smpboot: CPU 22 is now offline
[   43.309363] smpboot: CPU 21 is now offline
[   43.313262] smpboot: CPU 20 is now offline
[   43.317534] smpboot: CPU 19 is now offline
[   43.321142] smpboot: CPU 18 is now offline
[   43.325163] smpboot: CPU 17 is now offline
[   43.329262] smpboot: CPU 16 is now offline
[   43.334233] smpboot: CPU 15 is now offline
[   43.338560] smpboot: CPU 14 is now offline
[   43.342934] smpboot: CPU 13 is now offline
[   43.346511] smpboot: CPU 12 is now offline
[   43.350643] smpboot: CPU 11 is now offline
[   43.354143] smpboot: CPU 10 is now offline
[   43.358263] smpboot: CPU 9 is now offline
[   43.361648] smpboot: CPU 8 is now offline
[   43.365438] smpboot: CPU 7 is now offline
[   43.369014] smpboot: CPU 6 is now offline
[   43.373128] smpboot: CPU 5 is now offline
[   43.376882] smpboot: CPU 4 is now offline
[   43.381066] smpboot: CPU 3 is now offline
[   43.384956] smpboot: CPU 2 is now offline
[   43.389509] smpboot: CPU 1 is now offline
[   43.392146] PM: hibernation: Creating image:
[   43.765260] PM: hibernation: Need to copy 953810 pages
[   43.765265] PM: hibernation: Normal pages needed: 953810 + 1024, available pages: 11568147
[   43.393814] ACPI: PM: Restoring platform NVS memory
[   43.395338] ACPI: EC: EC started
[   43.395702] AMD-Vi: Virtual APIC enabled
[   43.396035] AMD-Vi: Virtual APIC enabled
[   43.396092] LVT offset 0 assigned for vector 0x400
[   43.397095] Enabling non-boot CPUs ...
[   43.397537] smpboot: Booting Node 0 Processor 1 APIC 0x1
[   43.399979] CPU1 is up
[   43.400058] smpboot: Booting Node 0 Processor 2 APIC 0x2
[   43.402009] CPU2 is up
[   43.402036] smpboot: Booting Node 0 Processor 3 APIC 0x3
[   43.403566] CPU3 is up
[   43.403595] smpboot: Booting Node 0 Processor 4 APIC 0x4
[   43.405737] CPU4 is up
[   43.405776] smpboot: Booting Node 0 Processor 5 APIC 0x5
[   43.407335] CPU5 is up
[   43.407390] smpboot: Booting Node 0 Processor 6 APIC 0x6
[   43.408769] CPU6 is up
[   43.408796] smpboot: Booting Node 0 Processor 7 APIC 0x7
[   43.410393] CPU7 is up
[   43.410417] smpboot: Booting Node 0 Processor 8 APIC 0x8
[   43.412276] CPU8 is up
[   43.412331] smpboot: Booting Node 0 Processor 9 APIC 0x9
[   43.413918] CPU9 is up
[   43.413959] smpboot: Booting Node 0 Processor 10 APIC 0xa
[   43.415285] CPU10 is up
[   43.415373] smpboot: Booting Node 0 Processor 11 APIC 0xb
[   43.416946] CPU11 is up
[   43.416985] smpboot: Booting Node 0 Processor 12 APIC 0xc
[   43.418364] CPU12 is up
[   43.418399] smpboot: Booting Node 0 Processor 13 APIC 0xd
[   43.420148] CPU13 is up
[   43.420180] smpboot: Booting Node 0 Processor 14 APIC 0xe
[   43.422177] CPU14 is up
[   43.422239] smpboot: Booting Node 0 Processor 15 APIC 0xf
[   43.423929] CPU15 is up
[   43.423969] smpboot: Booting Node 0 Processor 16 APIC 0x10
[   43.426942] CPU16 is up
[   43.426984] smpboot: Booting Node 0 Processor 17 APIC 0x11
[   43.428935] CPU17 is up
[   43.428977] smpboot: Booting Node 0 Processor 18 APIC 0x12
[   43.430671] CPU18 is up
[   43.430712] smpboot: Booting Node 0 Processor 19 APIC 0x13
[   43.432710] CPU19 is up
[   43.432748] smpboot: Booting Node 0 Processor 20 APIC 0x14
[   43.434501] CPU20 is up
[   43.434544] smpboot: Booting Node 0 Processor 21 APIC 0x15
[   43.436457] CPU21 is up
[   43.436500] smpboot: Booting Node 0 Processor 22 APIC 0x16
[   43.438292] CPU22 is up
[   43.438340] smpboot: Booting Node 0 Processor 23 APIC 0x17
[   43.440270] CPU23 is up
[   43.440317] smpboot: Booting Node 0 Processor 24 APIC 0x18
[   43.442204] CPU24 is up
[   43.442252] smpboot: Booting Node 0 Processor 25 APIC 0x19
[   43.444338] CPU25 is up
[   43.444383] smpboot: Booting Node 0 Processor 26 APIC 0x1a
[   43.446340] CPU26 is up
[   43.446371] smpboot: Booting Node 0 Processor 27 APIC 0x1b
[   43.448406] CPU27 is up
[   43.448448] smpboot: Booting Node 0 Processor 28 APIC 0x1c
[   43.450412] CPU28 is up
[   43.450456] smpboot: Booting Node 0 Processor 29 APIC 0x1d
[   43.452563] CPU29 is up
[   43.452608] smpboot: Booting Node 0 Processor 30 APIC 0x1e
[   43.454592] CPU30 is up
[   43.454633] smpboot: Booting Node 0 Processor 31 APIC 0x1f
[   43.456728] CPU31 is up
[   43.468492] ACPI: PM: Waking up from system sleep state S4
[   43.476615] ACPI: EC: interrupt unblocked
[   43.486433] amd_isp_i2c_designware amd_isp_i2c_designware: timeout while trying to abort current transfer
[   43.511608] amd_isp_i2c_designware amd_isp_i2c_designware: timeout in disabling adapter
[   43.582496] usb usb1: root hub lost power or was reset
[   43.582508] amdxdna 0000:c4:00.1: [drm] firmware resuming...
[   43.582514] usb usb2: root hub lost power or was reset
[   43.582536] usb usb5: root hub lost power or was reset
[   43.582537] usb usb3: root hub lost power or was reset
[   43.582544] usb usb4: root hub lost power or was reset
[   43.582544] usb usb6: root hub lost power or was reset
[   43.582554] usb usb7: root hub lost power or was reset
[   43.582561] usb usb8: root hub lost power or was reset
[   43.582955] ACPI: EC: event unblocked
[   43.583435] [drm] PCIE GART of 512M enabled (table at 0x00000083FFB00000).
[   43.583486] amdgpu 0000:c3:00.0: amdgpu: PSP is resuming...
[   43.609229] amdgpu 0000:c3:00.0: amdgpu: reserve 0x8c00000 from 0x83e0000000 for PSP TMR
[   43.615289] nvme nvme0: 32/0/0 default/read/poll queues
[   43.620934] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.2: DSP1: cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: format 3 timestamp 0x66300c2d
[   43.620938] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.2: DSP1: cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: Mon 29 Apr 2024 22:07:57 GMT Daylight Time
[   43.621139] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.3: DSP1: cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: format 3 timestamp 0x66300c2d
[   43.621142] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.3: DSP1: cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: Mon 29 Apr 2024 22:07:57 GMT Daylight Time
[   43.646651] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.0: DSP1: cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: format 3 timestamp 0x66300c2d
[   43.646656] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.0: DSP1: cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: Mon 29 Apr 2024 22:07:57 GMT Daylight Time
[   43.647386] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.1: DSP1: cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: format 3 timestamp 0x66300c2d
[   43.647388] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.1: DSP1: cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: Mon 29 Apr 2024 22:07:57 GMT Daylight Time
[   43.684146] amdxdna 0000:c4:00.1: [drm] hardware context resuming...
[   43.735442] usb 3-2: WARN: invalid context state for evaluate context command.
[   43.847372] usb 3-2: reset full-speed USB device number 2 using xhci_hcd
[   44.084363] usb 3-5: reset high-speed USB device number 4 using xhci_hcd
[   44.172688] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.2: DSP1: Firmware: 1a00d6 vendor: 0x2 v3.11.18, 41 algorithms
[   44.173465] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.3: DSP1: Firmware: 1a00d6 vendor: 0x2 v3.11.18, 41 algorithms
[   44.414165] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.2: DSP1: cirrus/cs35l54-b0-dsp1-misc-103c8d01-amp3.bin: v3.11.18
[   44.414170] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.2: DSP1: misc: C:\ProductSetting\HP\Chiron\Tuning_Relese\20250216\init\Right_Tweeter (131118.360100.80216)-init.bin
[   44.429364] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.3: DSP1: cirrus/cs35l54-b0-dsp1-misc-103c8d01-amp4.bin: v3.11.18
[   44.429368] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.3: DSP1: misc: C:\ProductSetting\HP\Chiron\Tuning_Relese\20250216\init\Right_Woofer (131118.360000.80216)-init.bin
[   44.653093] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.0: DSP1: Firmware: 1a00d6 vendor: 0x2 v3.11.18, 41 algorithms
[   44.675812] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.1: DSP1: Firmware: 1a00d6 vendor: 0x2 v3.11.18, 41 algorithms
[   44.691951] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.0: DSP1: cirrus/cs35l54-b0-dsp1-misc-103c8d01-amp1.bin: v3.11.18
[   44.691955] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.0: DSP1: misc: C:\ProductSetting\HP\Chiron\Tuning_Relese\20250216\init\Left_Woofer (131118.360200.80216)-init.bin
[   44.708052] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.1: DSP1: cirrus/cs35l54-b0-dsp1-misc-103c8d01-amp2.bin: v3.11.18
[   44.708053] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.1: DSP1: misc: C:\ProductSetting\HP\Chiron\Tuning_Relese\20250216\init\Left_Tweeter (131118.360300.80216)-init.bin
[   44.749821] amdgpu 0000:c3:00.0: amdgpu: RAS: optional ras ta ucode is not available
[   44.754126] amdgpu 0000:c3:00.0: amdgpu: RAP: optional rap ta ucode is not available
[   44.754128] amdgpu 0000:c3:00.0: amdgpu: SECUREDISPLAY: optional securedisplay ta ucode is not available
[   44.754131] amdgpu 0000:c3:00.0: amdgpu: SMU is resuming...
[   44.779772] amdgpu 0000:c3:00.0: amdgpu: SMU is resumed successfully!
[   44.797179] amdgpu 0000:c3:00.0: amdgpu: [drm] DMUB hardware initialized: version=0x09003100
[   45.144507] amdgpu 0000:c3:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
[   45.144510] amdgpu 0000:c3:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[   45.144510] amdgpu 0000:c3:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[   45.144511] amdgpu 0000:c3:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 6 on hub 0
[   45.144511] amdgpu 0000:c3:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 7 on hub 0
[   45.144512] amdgpu 0000:c3:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 8 on hub 0
[   45.144512] amdgpu 0000:c3:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 9 on hub 0
[   45.144512] amdgpu 0000:c3:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 10 on hub 0
[   45.144513] amdgpu 0000:c3:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 11 on hub 0
[   45.144514] amdgpu 0000:c3:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
[   45.144514] amdgpu 0000:c3:00.0: amdgpu: ring vcn_unified_0 uses VM inv eng 0 on hub 8
[   45.144515] amdgpu 0000:c3:00.0: amdgpu: ring vcn_unified_1 uses VM inv eng 1 on hub 8
[   45.144515] amdgpu 0000:c3:00.0: amdgpu: ring jpeg_dec_0 uses VM inv eng 4 on hub 8
[   45.144516] amdgpu 0000:c3:00.0: amdgpu: ring jpeg_dec_1 uses VM inv eng 6 on hub 8
[   45.144517] amdgpu 0000:c3:00.0: amdgpu: ring mes_kiq_3.1.0 uses VM inv eng 13 on hub 0
[   45.144517] amdgpu 0000:c3:00.0: amdgpu: ring vpe uses VM inv eng 7 on hub 8
[   45.165388] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.2: Calibration applied
[   45.165766] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.3: Calibration applied
[   45.166931] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.2: Tuning PID: 0x131118, SID: 0x360100, TID: 0x80216
[   45.167336] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.3: Tuning PID: 0x131118, SID: 0x360000, TID: 0x80216
[   45.167696] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.0: Calibration applied
[   45.167875] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.1: Calibration applied
[   45.168756] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.1: Tuning PID: 0x131118, SID: 0x360300, TID: 0x80216
[   45.168953] cs35l56-hda i2c-CSC3554:00-cs35l54-hda.0: Tuning PID: 0x131118, SID: 0x360200, TID: 0x80216
[   45.636934] tee_params_to_amd_params: type[0] = 0x7
[   45.636941] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   45.636944] tee_params_to_amd_params: type[1] = 0x0
[   45.636945] tee_params_to_amd_params: type[2] = 0x0
[   45.636945] tee_params_to_amd_params: type[3] = 0x0
[   46.596344] mt7925e 0000:c1:00.0: PM: dpm_run_callback(): pci_pm_restore returns -110
[   46.596364] mt7925e 0000:c1:00.0: PM: failed to restore async: error -110
[   46.674912] mt7925e 0000:c1:00.0: HW/SW Version: 0x8a108a10, Build Time: 20250825215832a

[   47.166834] mt7925e 0000:c1:00.0: WM Firmware Version: ____000000, Build Time: 20250825215925
[   48.042324] wlp193s0: Driver requested disconnection from AP 00:00:00:00:00:00
[   50.399817] PM: hibernation: Basic memory bitmaps freed
[   50.400415] OOM killer enabled.
[   50.400416] Restarting tasks: Starting
[   50.400649] usb 3-4: USB disconnect, device number 3
[   50.401371] Restarting tasks: Done
[   50.404682] Bluetooth: hci0: HW/SW Version: 0x00000000, Build Time: 20250825220109
[   50.419955] PM: hibernation: hibernation exit
[   50.514372] usb 3-4: new full-speed USB device number 5 using xhci_hcd
[   50.659388] usb 3-4: New USB device found, idVendor=06cb, idProduct=0106, bcdDevice= 0.00
[   50.659405] usb 3-4: New USB device strings: Mfr=0, Product=0, SerialNumber=1
[   50.659408] usb 3-4: SerialNumber: aaa9f4b58ca2
[   52.239044] Bluetooth: hci0: Device setup in 1792932 usecs
[   52.239062] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
[   52.324048] Bluetooth: hci0: AOSP extensions version v1.00
[   52.324057] Bluetooth: hci0: AOSP quality report is supported
[   52.324627] Bluetooth: MGMT ver 1.23
[   53.083366] wlp193s0: authenticate with 80:2a:a8:12:10:e3 (local address=42:9b:72:9a:57:1a)
[   53.441515] wlp193s0: send auth to 80:2a:a8:12:10:e3 (try 1/3)
[   53.530601] wlp193s0: authenticate with 80:2a:a8:12:10:e3 (local address=42:9b:72:9a:57:1a)
[   53.530636] wlp193s0: send auth to 80:2a:a8:12:10:e3 (try 1/3)
[   53.566243] wlp193s0: authenticated
[   53.570338] wlp193s0: associate with 80:2a:a8:12:10:e3 (try 1/3)
[   53.587944] wlp193s0: RX AssocResp from 80:2a:a8:12:10:e3 (capab=0x1511 status=0 aid=3)
[   53.621036] wlp193s0: associated
[   53.770589] wlp193s0: Limiting TX power to 23 (23 - 0) dBm as advertised by 80:2a:a8:12:10:e3
[   56.979026] ccp 0000:c3:00.2: tee: command 0x5 timed out, disabling PSP
[   56.979053] amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
[   57.990606] tee_params_to_amd_params: type[0] = 0x7
[   57.990628] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   57.990631] tee_params_to_amd_params: type[1] = 0x0
[   57.990633] tee_params_to_amd_params: type[2] = 0x0
[   57.990633] tee_params_to_amd_params: type[3] = 0x0
[   57.990641] amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
[   59.013667] tee_params_to_amd_params: type[0] = 0x7
[   59.013689] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   59.013692] tee_params_to_amd_params: type[1] = 0x0
[   59.013693] tee_params_to_amd_params: type[2] = 0x0
[   59.013694] tee_params_to_amd_params: type[3] = 0x0
[   59.013702] amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
[   60.040832] tee_params_to_amd_params: type[0] = 0x7
[   60.040855] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   60.040858] tee_params_to_amd_params: type[1] = 0x0
[   60.040859] tee_params_to_amd_params: type[2] = 0x0
[   60.040860] tee_params_to_amd_params: type[3] = 0x0
[   60.040868] amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
[   61.070654] tee_params_to_amd_params: type[0] = 0x7
[   61.070677] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   61.070680] tee_params_to_amd_params: type[1] = 0x0
[   61.070681] tee_params_to_amd_params: type[2] = 0x0
[   61.070682] tee_params_to_amd_params: type[3] = 0x0
[   61.070690] amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
[   62.088919] tee_params_to_amd_params: type[0] = 0x7
[   62.088939] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   62.088942] tee_params_to_amd_params: type[1] = 0x0
[   62.088944] tee_params_to_amd_params: type[2] = 0x0
[   62.088944] tee_params_to_amd_params: type[3] = 0x0
[   62.088952] amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
[   63.111822] tee_params_to_amd_params: type[0] = 0x7
[   63.111843] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   63.111846] tee_params_to_amd_params: type[1] = 0x0
[   63.111848] tee_params_to_amd_params: type[2] = 0x0
[   63.111849] tee_params_to_amd_params: type[3] = 0x0
[   63.111857] amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
[   64.134956] tee_params_to_amd_params: type[0] = 0x7
[   64.134980] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   64.134983] tee_params_to_amd_params: type[1] = 0x0
[   64.134984] tee_params_to_amd_params: type[2] = 0x0
[   64.134985] tee_params_to_amd_params: type[3] = 0x0
[   64.134993] amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
[   65.158961] tee_params_to_amd_params: type[0] = 0x7
[   65.158984] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   65.158987] tee_params_to_amd_params: type[1] = 0x0
[   65.158988] tee_params_to_amd_params: type[2] = 0x0
[   65.158989] tee_params_to_amd_params: type[3] = 0x0
[   65.158997] amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
[   66.183867] tee_params_to_amd_params: type[0] = 0x7
[   66.183889] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   66.183893] tee_params_to_amd_params: type[1] = 0x0
[   66.183895] tee_params_to_amd_params: type[2] = 0x0
[   66.183896] tee_params_to_amd_params: type[3] = 0x0
[   66.183905] amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
[   67.206078] tee_params_to_amd_params: type[0] = 0x7
[   67.206096] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   67.206099] tee_params_to_amd_params: type[1] = 0x0
[   67.206100] tee_params_to_amd_params: type[2] = 0x0
[   67.206101] tee_params_to_amd_params: type[3] = 0x0
[   67.206108] amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
[   68.230064] tee_params_to_amd_params: type[0] = 0x7
[   68.230086] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   68.230090] tee_params_to_amd_params: type[1] = 0x0
[   68.230091] tee_params_to_amd_params: type[2] = 0x0
[   68.230092] tee_params_to_amd_params: type[3] = 0x0
[   68.230099] amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
[   69.254208] tee_params_to_amd_params: type[0] = 0x7
[   69.254230] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   69.254234] tee_params_to_amd_params: type[1] = 0x0
[   69.254235] tee_params_to_amd_params: type[2] = 0x0
[   69.254235] tee_params_to_amd_params: type[3] = 0x0
[   69.254243] amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
[   70.278265] tee_params_to_amd_params: type[0] = 0x7
[   70.278289] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   70.278292] tee_params_to_amd_params: type[1] = 0x0
[   70.278293] tee_params_to_amd_params: type[2] = 0x0
[   70.278294] tee_params_to_amd_params: type[3] = 0x0
[   70.278303] amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
[   71.302188] tee_params_to_amd_params: type[0] = 0x7
[   71.302210] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   71.302213] tee_params_to_amd_params: type[1] = 0x0
[   71.302214] tee_params_to_amd_params: type[2] = 0x0
[   71.302215] tee_params_to_amd_params: type[3] = 0x0
[   71.302223] amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
[   72.327344] tee_params_to_amd_params: type[0] = 0x7
[   72.327367] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   72.327371] tee_params_to_amd_params: type[1] = 0x0
[   72.327373] tee_params_to_amd_params: type[2] = 0x0
[   72.327374] tee_params_to_amd_params: type[3] = 0x0
[   72.327383] amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
[   73.351439] tee_params_to_amd_params: type[0] = 0x7
[   73.351462] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   73.351465] tee_params_to_amd_params: type[1] = 0x0
[   73.351467] tee_params_to_amd_params: type[2] = 0x0
[   73.351467] tee_params_to_amd_params: type[3] = 0x0
[   73.351476] amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
[   74.375416] tee_params_to_amd_params: type[0] = 0x7
[   74.375439] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   74.375443] tee_params_to_amd_params: type[1] = 0x0
[   74.375445] tee_params_to_amd_params: type[2] = 0x0
[   74.375445] tee_params_to_amd_params: type[3] = 0x0
[   74.375455] amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
[   75.398451] tee_params_to_amd_params: type[0] = 0x7
[   75.398474] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   75.398477] tee_params_to_amd_params: type[1] = 0x0
[   75.398478] tee_params_to_amd_params: type[2] = 0x0
[   75.398479] tee_params_to_amd_params: type[3] = 0x0
[   75.398486] amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
[   76.422534] tee_params_to_amd_params: type[0] = 0x7
[   76.422557] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   76.422561] tee_params_to_amd_params: type[1] = 0x0
[   76.422562] tee_params_to_amd_params: type[2] = 0x0
[   76.422563] tee_params_to_amd_params: type[3] = 0x0
[   76.422571] amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
[   77.446605] tee_params_to_amd_params: type[0] = 0x7
[   77.446626] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   77.446630] tee_params_to_amd_params: type[1] = 0x0
[   77.446631] tee_params_to_amd_params: type[2] = 0x0
[   77.446631] tee_params_to_amd_params: type[3] = 0x0
[   77.446639] amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
[   78.470528] tee_params_to_amd_params: type[0] = 0x7
[   78.470552] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   78.470555] tee_params_to_amd_params: type[1] = 0x0
[   78.470557] tee_params_to_amd_params: type[2] = 0x0
[   78.470557] tee_params_to_amd_params: type[3] = 0x0
[   78.470566] amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
[   79.495775] tee_params_to_amd_params: type[0] = 0x7
[   79.495799] tee_params_to_amd_params: bufid[0] = 0x4, offset[0] = 0x0, size[0] = 0x4be84
[   79.495803] tee_params_to_amd_params: type[1] = 0x0
[   79.495805] tee_params_to_amd_params: type[2] = 0x0
[   79.495806] tee_params_to_amd_params: type[3] = 0x0
[   79.495814] amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0

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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  2025-10-26 16:46   ` Lars Francke
@ 2025-10-26 16:49     ` Shyam Sundar S K
  2025-10-26 17:40       ` Mario Limonciello
  0 siblings, 1 reply; 27+ messages in thread
From: Shyam Sundar S K @ 2025-10-26 16:49 UTC (permalink / raw)
  To: Lars Francke
  Cc: Tom Lendacky, John Allen, platform-driver-x86, Patil Rajesh,
	Mario Limonciello

+ Mario

On 10/26/2025 22:16, Lars Francke wrote:
> Hi,
> 
> thank you Mario for the super quick response.
> It arrived so fast I missed it.
> 
> On Sun, Oct 26, 2025 at 3:17 PM Shyam Sundar S K
> <Shyam-sundar.S-k@amd.com> wrote:
>>> After resuming from hibernation I get this log line once a second:
>>>   amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
>>
>> Can you please share full dmesg log? Perhaps with both ccp and amd_tee
>> drivers enabled with dynamic debug.
> 
> I have (with AI help, but reviewed manually) created a shell script to
> collect the necessary information. I have attached the full dmesg file
> to this mail but am not sure if that is proper etiquette here?
> 
> I put up the script & more debug information in a dedicated
> repository: https://github.com/lfrancke/amd-pmf-hibernate/tree/main
> 
>>> 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
>>
>> Do you see this message after hibernation exit?
> 
> Yes. On a fresh boot it works without issues but after the first
> hibernate I get these.
> 
> 
>>> 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/
>>
>> This was a case fixed for S2Idle cases, but I seem to understand that
>> you are attempting hibernate here, right?
> 
> Correct. I use hibernate.
> 
> The issue I'm really trying to debug is a separate one (I'll report
> separately): Hibernate doesn't reliably turn off the laptop. Image is
> being written successfully but I have to press the power button for
> 4s.
> 
>> If yes, can you switch to S2Idle or S3 and see there are no errors?
> 
> "suspend" works fine. I do not see the issue there, only after hibernate.
> 
> I hope that helps?
> 
> Thanks for looking into it!
> Cheers,
> Lars


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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  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
  0 siblings, 2 replies; 27+ messages in thread
From: Mario Limonciello @ 2025-10-26 17:40 UTC (permalink / raw)
  To: Shyam Sundar S K, Lars Francke
  Cc: Tom Lendacky, John Allen, platform-driver-x86, Patil Rajesh,
	Mario Limonciello

[-- Attachment #1: Type: text/plain, Size: 2954 bytes --]



On 10/26/25 11:49 AM, Shyam Sundar S K wrote:
> + Mario
> 
> On 10/26/2025 22:16, Lars Francke wrote:
>> Hi,
>>
>> thank you Mario for the super quick response.
>> It arrived so fast I missed it.
>>
>> On Sun, Oct 26, 2025 at 3:17 PM Shyam Sundar S K
>> <Shyam-sundar.S-k@amd.com> wrote:
>>>> After resuming from hibernation I get this log line once a second:
>>>>    amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
>>>
>>> Can you please share full dmesg log? Perhaps with both ccp and amd_tee
>>> drivers enabled with dynamic debug.
>>
>> I have (with AI help, but reviewed manually) created a shell script to
>> collect the necessary information. I have attached the full dmesg file
>> to this mail but am not sure if that is proper etiquette here?
>>
>> I put up the script & more debug information in a dedicated
>> repository: https://github.com/lfrancke/amd-pmf-hibernate/tree/main
>>
>>>> Right after hibernation and before the first of those errors I get:
>>>>    ccp 0000:c3:00.2: tee: command 0x5 timed out, disabling PSP
>>>>

This comes from tee_wait_cmd_completion().  Looking at the 
suspend/resume handling code from ccp.ko, I notice that we don't 
actually have any special handling for the TEE ring for S4.  Normally 
that ring is initialized at bootup (by sending PSP_CMD_TEE_RING_INIT to 
PSP).

During the S4 resume flow I don't expect that this has happened and is 
needed explicitly in the restore() call.

Can you try this attached patch which inserts that flow to see if it 
helps?

Note mostly to myself: I need to double check flows but I think restore 
also needs a pm_hibernate_is_recovering() check in this case too if this 
works.

>>>> On boot it looks good:
>>>>    ccp 0000:c3:00.2: psp enabled
>>>
>>> Do you see this message after hibernation exit?
>>
>> Yes. On a fresh boot it works without issues but after the first
>> hibernate I get these.
>>
>>
>>>> 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/
>>>
>>> This was a case fixed for S2Idle cases, but I seem to understand that
>>> you are attempting hibernate here, right?
>>
>> Correct. I use hibernate.
>>
>> The issue I'm really trying to debug is a separate one (I'll report
>> separately): Hibernate doesn't reliably turn off the laptop. Image is
>> being written successfully but I have to press the power button for
>> 4s.

Potential theory on root cause is that it's the same regression reported 
here [1].

If so the root cause is [2], and the fix is [3].

Link:
https://lore.kernel.org/linux-pm/a2563b83-e5d7-4d02-a317-54d51e718d32@kernel.org/T/#m19966ea259837e4b02c6d0a55d67acfe15fc64ae 
[1]
Link: https://git.kernel.org/torvalds/c/469d80a3712c6  [2]
Link: 
https://lore.kernel.org/linux-pm/20251026033115.436448-1-superm1@kernel.org/ 
[3]

[-- Attachment #2: 0001-crypto-ccp-Add-an-S4-restore-flow.patch --]
[-- Type: text/x-patch, Size: 3811 bytes --]

From 1a44b96b4b93d6ec00856dd335302e0a2dccbd96 Mon Sep 17 00:00:00 2001
From: "Mario Limonciello (AMD)" <superm1@kernel.org>
Date: Sun, 26 Oct 2025 12:34:48 -0500
Subject: [PATCH] crypto: ccp - Add an S4 restore flow

The system will have lost power during S4.  The ring used for TEE
communications needs to be initialized before use.

Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
---
 drivers/crypto/ccp/sp-dev.c  | 13 +++++++++++++
 drivers/crypto/ccp/sp-dev.h  |  1 +
 drivers/crypto/ccp/sp-pci.c  | 16 ++++++++++++++++
 drivers/crypto/ccp/tee-dev.c |  8 ++++++++
 drivers/crypto/ccp/tee-dev.h |  1 +
 5 files changed, 39 insertions(+)

diff --git a/drivers/crypto/ccp/sp-dev.c b/drivers/crypto/ccp/sp-dev.c
index 3467f6db4f505..e3fa94d14026b 100644
--- a/drivers/crypto/ccp/sp-dev.c
+++ b/drivers/crypto/ccp/sp-dev.c
@@ -21,6 +21,7 @@
 
 #include "sev-dev.h"
 #include "ccp-dev.h"
+#include "tee-dev.h"
 #include "sp-dev.h"
 
 MODULE_AUTHOR("Tom Lendacky <thomas.lendacky@amd.com>");
@@ -230,6 +231,18 @@ int sp_resume(struct sp_device *sp)
 	return 0;
 }
 
+int sp_restore(struct sp_device *sp)
+{
+	if (sp->dev_vdata->psp_vdata->tee) {
+		int r = tee_restore(sp->psp_data);
+
+		if (r)
+			return r;
+	}
+
+	return sp_resume(sp);
+}
+
 struct sp_device *sp_get_psp_master_device(void)
 {
 	struct sp_device *i, *ret = NULL;
diff --git a/drivers/crypto/ccp/sp-dev.h b/drivers/crypto/ccp/sp-dev.h
index 6f9d7063257d7..37b38afaab147 100644
--- a/drivers/crypto/ccp/sp-dev.h
+++ b/drivers/crypto/ccp/sp-dev.h
@@ -141,6 +141,7 @@ void sp_destroy(struct sp_device *sp);
 
 int sp_suspend(struct sp_device *sp);
 int sp_resume(struct sp_device *sp);
+int sp_restore(struct sp_device *sp);
 int sp_request_ccp_irq(struct sp_device *sp, irq_handler_t handler,
 		       const char *name, void *data);
 void sp_free_ccp_irq(struct sp_device *sp, void *data);
diff --git a/drivers/crypto/ccp/sp-pci.c b/drivers/crypto/ccp/sp-pci.c
index 8891ceee1d7d0..47406a6f150bf 100644
--- a/drivers/crypto/ccp/sp-pci.c
+++ b/drivers/crypto/ccp/sp-pci.c
@@ -353,6 +353,13 @@ static int __maybe_unused sp_pci_resume(struct device *dev)
 	return sp_resume(sp);
 }
 
+static int __maybe_unused sp_pci_restore(struct device *dev)
+{
+	struct sp_device *sp = dev_get_drvdata(dev);
+
+	return sp_restore(sp);
+}
+
 #ifdef CONFIG_CRYPTO_DEV_SP_PSP
 static const struct sev_vdata sevv1 = {
 	.cmdresp_reg		= 0x10580,	/* C2PMSG_32 */
@@ -565,6 +572,15 @@ MODULE_DEVICE_TABLE(pci, sp_pci_table);
 
 static SIMPLE_DEV_PM_OPS(sp_pci_pm_ops, sp_pci_suspend, sp_pci_resume);
 
+const struct dev_pm_ops i2c_hid_core_pm = {
+	.suspend = pm_sleep_ptr(sp_pci_suspend),
+	.resume = pm_sleep_ptr(sp_pci_resume),
+	.freeze = pm_sleep_ptr(sp_pci_suspend),
+	.thaw = pm_sleep_ptr(sp_pci_resume),
+	.poweroff = pm_sleep_ptr(sp_pci_suspend),
+	.restore = pm_sleep_ptr(sp_pci_restore),
+};
+
 static struct pci_driver sp_pci_driver = {
 	.name = "ccp",
 	.id_table = sp_pci_table,
diff --git a/drivers/crypto/ccp/tee-dev.c b/drivers/crypto/ccp/tee-dev.c
index 5e1d80724678d..a7470477117d6 100644
--- a/drivers/crypto/ccp/tee-dev.c
+++ b/drivers/crypto/ccp/tee-dev.c
@@ -365,3 +365,11 @@ int psp_check_tee_status(void)
 	return 0;
 }
 EXPORT_SYMBOL(psp_check_tee_status);
+
+int tee_restore(struct psp_device *psp)
+{
+	if (!psp || !psp->tee_data)
+		return -ENODEV;
+
+	return tee_init_ring(psp->tee_data);
+}
\ No newline at end of file
diff --git a/drivers/crypto/ccp/tee-dev.h b/drivers/crypto/ccp/tee-dev.h
index ea9a2b7c05f57..c23416cb7bb37 100644
--- a/drivers/crypto/ccp/tee-dev.h
+++ b/drivers/crypto/ccp/tee-dev.h
@@ -111,5 +111,6 @@ struct tee_ring_cmd {
 
 int tee_dev_init(struct psp_device *psp);
 void tee_dev_destroy(struct psp_device *psp);
+int tee_restore(struct psp_device *psp);
 
 #endif /* __TEE_DEV_H__ */
-- 
2.43.0


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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  2025-10-26 17:40       ` Mario Limonciello
@ 2025-10-26 17:44         ` Mario Limonciello
  2025-10-26 20:39         ` Lars Francke
  1 sibling, 0 replies; 27+ messages in thread
From: Mario Limonciello @ 2025-10-26 17:44 UTC (permalink / raw)
  To: Shyam Sundar S K, Lars Francke
  Cc: Tom Lendacky, John Allen, platform-driver-x86, Patil Rajesh,
	Mario Limonciello



On 10/26/25 12:40 PM, Mario Limonciello wrote:
> 
> 
> On 10/26/25 11:49 AM, Shyam Sundar S K wrote:
>> + Mario
>>
>> On 10/26/2025 22:16, Lars Francke wrote:
>>> Hi,
>>>
>>> thank you Mario for the super quick response.
>>> It arrived so fast I missed it.
>>>
>>> On Sun, Oct 26, 2025 at 3:17 PM Shyam Sundar S K
>>> <Shyam-sundar.S-k@amd.com> wrote:
>>>>> After resuming from hibernation I get this log line once a second:
>>>>>    amd-pmf AMDI0105:00: TEE enact cmd failed. err: ffff000e, ret:0
>>>>
>>>> Can you please share full dmesg log? Perhaps with both ccp and amd_tee
>>>> drivers enabled with dynamic debug.
>>>
>>> I have (with AI help, but reviewed manually) created a shell script to
>>> collect the necessary information. I have attached the full dmesg file
>>> to this mail but am not sure if that is proper etiquette here?
>>>
>>> I put up the script & more debug information in a dedicated
>>> repository: https://github.com/lfrancke/amd-pmf-hibernate/tree/main
>>>
>>>>> Right after hibernation and before the first of those errors I get:
>>>>>    ccp 0000:c3:00.2: tee: command 0x5 timed out, disabling PSP
>>>>>
> 
> This comes from tee_wait_cmd_completion().  Looking at the suspend/ 
> resume handling code from ccp.ko, I notice that we don't actually have 
> any special handling for the TEE ring for S4.  Normally that ring is 
> initialized at bootup (by sending PSP_CMD_TEE_RING_INIT to PSP).
> 
> During the S4 resume flow I don't expect that this has happened and is 
> needed explicitly in the restore() call.
> 
> Can you try this attached patch which inserts that flow to see if it helps?
> 
> Note mostly to myself: I need to double check flows but I think restore 
> also needs a pm_hibernate_is_recovering() check in this case too if this 
> works.
> 
>>>>> On boot it looks good:
>>>>>    ccp 0000:c3:00.2: psp enabled
>>>>
>>>> Do you see this message after hibernation exit?
>>>
>>> Yes. On a fresh boot it works without issues but after the first
>>> hibernate I get these.
>>>
>>>
>>>>> 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/
>>>>
>>>> This was a case fixed for S2Idle cases, but I seem to understand that
>>>> you are attempting hibernate here, right?
>>>
>>> Correct. I use hibernate.
>>>
>>> The issue I'm really trying to debug is a separate one (I'll report
>>> separately): Hibernate doesn't reliably turn off the laptop. Image is
>>> being written successfully but I have to press the power button for
>>> 4s.
> 
> Potential theory on root cause is that it's the same regression reported 
> here [1].
> 
> If so the root cause is [2], and the fix is [3].
> 
> Link:
> https://lore.kernel.org/linux-pm/a2563b83-e5d7-4d02- 
> a317-54d51e718d32@kernel.org/T/ 
> #m19966ea259837e4b02c6d0a55d67acfe15fc64ae [1]
> Link: https://git.kernel.org/torvalds/c/469d80a3712c6  [2]

Sorry - minor correction.  Root cause is [4].
> Link: https://lore.kernel.org/linux-pm/20251026033115.436448-1- 
> superm1@kernel.org/ [3]

Link: https://git.kernel.org/torvalds/c/449c9c02537a [4]

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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  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
  1 sibling, 1 reply; 27+ messages in thread
From: Lars Francke @ 2025-10-26 20:39 UTC (permalink / raw)
  To: Mario Limonciello
  Cc: Shyam Sundar S K, Tom Lendacky, John Allen, platform-driver-x86,
	Patil Rajesh, Mario Limonciello

> 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!

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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  2025-10-26 20:39         ` Lars Francke
@ 2025-10-26 21:16           ` Mario Limonciello
  2025-10-26 23:21             ` Lars Francke
  0 siblings, 1 reply; 27+ messages in thread
From: Mario Limonciello @ 2025-10-26 21:16 UTC (permalink / raw)
  To: Lars Francke
  Cc: Shyam Sundar S K, Tom Lendacky, John Allen, platform-driver-x86,
	Patil Rajesh



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.

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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  2025-10-26 21:16           ` Mario Limonciello
@ 2025-10-26 23:21             ` Lars Francke
  2025-10-27  2:15               ` Mario Limonciello
  0 siblings, 1 reply; 27+ messages in thread
From: Lars Francke @ 2025-10-26 23:21 UTC (permalink / raw)
  To: Mario Limonciello
  Cc: Shyam Sundar S K, Tom Lendacky, John Allen, platform-driver-x86,
	Patil Rajesh

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>


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.

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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  2025-10-26 23:21             ` Lars Francke
@ 2025-10-27  2:15               ` Mario Limonciello
  2025-10-27 11:12                 ` Lars Francke
  0 siblings, 1 reply; 27+ messages in thread
From: Mario Limonciello @ 2025-10-27  2:15 UTC (permalink / raw)
  To: Lars Francke
  Cc: Shyam Sundar S K, Tom Lendacky, John Allen, platform-driver-x86,
	Patil Rajesh



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.


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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  2025-10-27  2:15               ` Mario Limonciello
@ 2025-10-27 11:12                 ` Lars Francke
  2025-10-27 12:11                   ` Shyam Sundar S K
  0 siblings, 1 reply; 27+ messages in thread
From: Lars Francke @ 2025-10-27 11:12 UTC (permalink / raw)
  To: Mario Limonciello
  Cc: Shyam Sundar S K, Tom Lendacky, John Allen, platform-driver-x86,
	Patil Rajesh

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

I did that now, thanks for the hint.
I added a pr_info to the sp_restore method but it is never printed.
Just to confirm that I'm building and booting the right kernel I also
added a debug line right before the "TEE enact" error:

Oct 27 10:50:06 lars-laptop kernel: Lars patch worked
Oct 27 10:50:06 lars-laptop kernel: amd-pmf AMDI0105:00: TEE enact cmd
failed. err: ffff000e, ret:0

In other words: I'm pretty certain I have your patch applied but
sp_restore is never called which I think was the intention.

I did play around a bit in the code but all I achieved are NULL
pointer crashes :)
It looks like "i2c_hid_core_pm" might be a typo/copy & paste error? I
assume it should be "sp_pci_pm_ops"?

Cheers,
Lars

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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  2025-10-27 11:12                 ` Lars Francke
@ 2025-10-27 12:11                   ` Shyam Sundar S K
  2025-10-27 13:10                     ` Mario Limonciello
  0 siblings, 1 reply; 27+ messages in thread
From: Shyam Sundar S K @ 2025-10-27 12:11 UTC (permalink / raw)
  To: Lars Francke, Mario Limonciello
  Cc: Tom Lendacky, John Allen, platform-driver-x86, Patil Rajesh



On 10/27/2025 16:42, Lars Francke wrote:
>> 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.
> 
> I did that now, thanks for the hint.
> I added a pr_info to the sp_restore method but it is never printed.
> Just to confirm that I'm building and booting the right kernel I also
> added a debug line right before the "TEE enact" error:
> 
> Oct 27 10:50:06 lars-laptop kernel: Lars patch worked
> Oct 27 10:50:06 lars-laptop kernel: amd-pmf AMDI0105:00: TEE enact cmd
> failed. err: ffff000e, ret:0
> 
> In other words: I'm pretty certain I have your patch applied but
> sp_restore is never called which I think was the intention.
> 
> I did play around a bit in the code but all I achieved are NULL
> pointer crashes :)
> It looks like "i2c_hid_core_pm" might be a typo/copy & paste error? I
> assume it should be "sp_pci_pm_ops"?

Yes — that should be sp_pci_pm_ops. Keep the pr_info in sp_restore();
if that log appears but the issue remains, the PMF driver will need to
be updated to support the .restore callback.

Thanks,
Shyam

> 
> Cheers,
> Lars


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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  2025-10-27 12:11                   ` Shyam Sundar S K
@ 2025-10-27 13:10                     ` Mario Limonciello
  2025-10-27 16:18                       ` Lars Francke
  0 siblings, 1 reply; 27+ messages in thread
From: Mario Limonciello @ 2025-10-27 13:10 UTC (permalink / raw)
  To: Shyam Sundar S K, Lars Francke
  Cc: Tom Lendacky, John Allen, platform-driver-x86, Patil Rajesh

On 10/27/25 7:11 AM, Shyam Sundar S K wrote:
> 
> 
> On 10/27/2025 16:42, Lars Francke wrote:
>>> 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.
>>
>> I did that now, thanks for the hint.
>> I added a pr_info to the sp_restore method but it is never printed.
>> Just to confirm that I'm building and booting the right kernel I also
>> added a debug line right before the "TEE enact" error:
>>
>> Oct 27 10:50:06 lars-laptop kernel: Lars patch worked
>> Oct 27 10:50:06 lars-laptop kernel: amd-pmf AMDI0105:00: TEE enact cmd
>> failed. err: ffff000e, ret:0
>>
>> In other words: I'm pretty certain I have your patch applied but
>> sp_restore is never called which I think was the intention.
>>
>> I did play around a bit in the code but all I achieved are NULL
>> pointer crashes :)
>> It looks like "i2c_hid_core_pm" might be a typo/copy & paste error? I
>> assume it should be "sp_pci_pm_ops"?
> 
> Yes — that should be sp_pci_pm_ops. Keep the pr_info in sp_restore();
> if that log appears but the issue remains, the PMF driver will need to
> be updated to support the .restore callback.
> 

Yes; sorry about that.  If you need me to spin a new one, let me know.

But I am still suspecting we're going to need PMF driver changes too 
because if the ring is not active then it's going to mean the TA wasn't 
running.

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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  2025-10-27 13:10                     ` Mario Limonciello
@ 2025-10-27 16:18                       ` Lars Francke
  2025-10-27 19:32                         ` Mario Limonciello
  0 siblings, 1 reply; 27+ messages in thread
From: Lars Francke @ 2025-10-27 16:18 UTC (permalink / raw)
  To: Mario Limonciello
  Cc: Shyam Sundar S K, Tom Lendacky, John Allen, platform-driver-x86,
	Patil Rajesh

[-- Attachment #1: Type: text/plain, Size: 10836 bytes --]

I changed the name and removed the macro and now get this with the
attached patch (I added the "sp_restore called" log line)

Oct 27 12:44:47 lars-laptop kernel: sp_restore called
Oct 27 12:44:47 lars-laptop kernel: ACPI: EC: event unblocked
Oct 27 12:44:47 lars-laptop kernel: usb usb1: root hub lost power or was reset
Oct 27 12:44:47 lars-laptop kernel: usb usb2: root hub lost power or was reset
Oct 27 12:44:47 lars-laptop kernel: usb usb5: root hub lost power or was reset
Oct 27 12:44:47 lars-laptop kernel: usb usb6: root hub lost power or was reset
Oct 27 12:44:47 lars-laptop kernel: usb usb7: root hub lost power or was reset
Oct 27 12:44:47 lars-laptop kernel: usb usb3: root hub lost power or was reset
Oct 27 12:44:47 lars-laptop kernel: usb usb4: root hub lost power or was reset
Oct 27 12:44:47 lars-laptop kernel: usb usb8: root hub lost power or was reset
Oct 27 12:44:47 lars-laptop kernel: amdxdna 0000:c4:00.1: [drm]
firmware resuming...
Oct 27 12:44:47 lars-laptop kernel: [drm] PCIE GART of 512M enabled
(table at 0x00000083FFB00000).
Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: PSP
is resuming...
Oct 27 12:44:47 lars-laptop kernel: ccp 0000:c3:00.2: tee: ring init
command failed (0x0000000d)
Oct 27 12:44:47 lars-laptop kernel: ccp 0000:c3:00.2: PM:
dpm_run_callback(): pci_pm_restore returns -5
Oct 27 12:44:47 lars-laptop kernel: ccp 0000:c3:00.2: PM: failed to
restore async: error -5
Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu:
reserve 0x8c00000 from 0x83e0000000 for PSP TMR
Oct 27 12:44:47 lars-laptop kernel: nvme nvme0: 32/0/0 default/read/poll queues
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.2: DSP1:
cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: format 3 timestamp
0x66300c2d
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.2: DSP1:
cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: Mon 29 Apr 2024 22:07:57
GMT Daylight Time
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.0: DSP1:
cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: format 3 timestamp
0x66300c2d
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.0: DSP1:
cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: Mon 29 Apr 2024 22:07:57
GMT Daylight Time
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.1: DSP1:
cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: format 3 timestamp
0x66300c2d
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.1: DSP1:
cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: Mon 29 Apr 2024 22:07:57
GMT Daylight Time
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.3: DSP1:
cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: format 3 timestamp
0x66300c2d
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.3: DSP1:
cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: Mon 29 Apr 2024 22:07:57
GMT Daylight Time
Oct 27 12:44:47 lars-laptop kernel: amdxdna 0000:c4:00.1: [drm]
hardware context resuming...
Oct 27 12:44:47 lars-laptop kernel: usb 3-2: WARN: invalid context
state for evaluate context command.
Oct 27 12:44:47 lars-laptop kernel: usb 3-2: reset full-speed USB
device number 2 using xhci_hcd
Oct 27 12:44:47 lars-laptop kernel: usb 3-5: reset high-speed USB
device number 4 using xhci_hcd
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.2: DSP1: Firmware: 1a00d6 vendor: 0x2
v3.11.18, 41 algorithms
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.0: DSP1: Firmware: 1a00d6 vendor: 0x2
v3.11.18, 41 algorithms
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.2: DSP1:
cirrus/cs35l54-b0-dsp1-misc-103c8d01-amp3.bin: v3.11.18
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.2: DSP1: misc:
C:\ProductSetting\HP\Chiron\Tuning_Relese\20250216\init\Right_Tweeter
(131118.360100.80216)-init.bin
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.0: DSP1:
cirrus/cs35l54-b0-dsp1-misc-103c8d01-amp1.bin: v3.11.18
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.0: DSP1: misc:
C:\ProductSetting\HP\Chiron\Tuning_Relese\20250216\init\Left_Woofer
(131118.360200.80216)-init.bin
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.1: DSP1: Firmware: 1a00d6 vendor: 0x2
v3.11.18, 41 algorithms
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.3: DSP1: Firmware: 1a00d6 vendor: 0x2
v3.11.18, 41 algorithms
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.1: DSP1:
cirrus/cs35l54-b0-dsp1-misc-103c8d01-amp2.bin: v3.11.18
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.1: DSP1: misc:
C:\ProductSetting\HP\Chiron\Tuning_Relese\20250216\init\Left_Tweeter
(131118.360300.80216)-init.bin
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.3: DSP1:
cirrus/cs35l54-b0-dsp1-misc-103c8d01-amp4.bin: v3.11.18
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.3: DSP1: misc:
C:\ProductSetting\HP\Chiron\Tuning_Relese\20250216\init\Right_Woofer
(131118.360000.80216)-init.bin
Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: RAS:
optional ras ta ucode is not available
Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: RAP:
optional rap ta ucode is not available
Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu:
SECUREDISPLAY: optional securedisplay ta ucode is not available
Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: SMU
is resuming...
Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: SMU
is resumed successfully!
Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: [drm]
DMUB hardware initialized: version=0x09003100
Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
gfx_0.0.0 uses VM inv eng 0 on hub 0
Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
comp_1.0.0 uses VM inv eng 1 on hub 0
Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
comp_1.1.0 uses VM inv eng 4 on hub 0
Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
comp_1.2.0 uses VM inv eng 6 on hub 0
Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
comp_1.3.0 uses VM inv eng 7 on hub 0
Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
comp_1.0.1 uses VM inv eng 8 on hub 0
Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
comp_1.1.1 uses VM inv eng 9 on hub 0
Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
comp_1.2.1 uses VM inv eng 10 on hub 0
Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
comp_1.3.1 uses VM inv eng 11 on hub 0
Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
sdma0 uses VM inv eng 12 on hub 0
Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
vcn_unified_0 uses VM inv eng 0 on hub 8
Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
vcn_unified_1 uses VM inv eng 1 on hub 8
Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
jpeg_dec_0 uses VM inv eng 4 on hub 8
Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
jpeg_dec_1 uses VM inv eng 6 on hub 8
Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
mes_kiq_3.1.0 uses VM inv eng 13 on hub 0
Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
vpe uses VM inv eng 7 on hub 8
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.2: Calibration applied
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.0: Calibration applied
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.2: Tuning PID: 0x131118, SID: 0x360100,
TID: 0x80216
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.0: Tuning PID: 0x131118, SID: 0x360200,
TID: 0x80216
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.1: Calibration applied
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.3: Calibration applied
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.1: Tuning PID: 0x131118, SID: 0x360300,
TID: 0x80216
Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
i2c-CSC3554:00-cs35l54-hda.3: Tuning PID: 0x131118, SID: 0x360000,
TID: 0x80216
Oct 27 12:44:47 lars-laptop kernel: BUG: kernel NULL pointer
dereference, address: 00000000000003fc
Oct 27 12:44:47 lars-laptop kernel: #PF: supervisor read access in kernel mode
Oct 27 12:44:47 lars-laptop kernel: #PF: error_code(0x0000) - not-present page

Then I have to reboot. I'm happy to try more patches - but I have way
too little knowledge about any of this to be of any other help I'm
afraid.

Thanks,
Lars

On Mon, Oct 27, 2025 at 2:10 PM Mario Limonciello <superm1@kernel.org> wrote:
>
> On 10/27/25 7:11 AM, Shyam Sundar S K wrote:
> >
> >
> > On 10/27/2025 16:42, Lars Francke wrote:
> >>> 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.
> >>
> >> I did that now, thanks for the hint.
> >> I added a pr_info to the sp_restore method but it is never printed.
> >> Just to confirm that I'm building and booting the right kernel I also
> >> added a debug line right before the "TEE enact" error:
> >>
> >> Oct 27 10:50:06 lars-laptop kernel: Lars patch worked
> >> Oct 27 10:50:06 lars-laptop kernel: amd-pmf AMDI0105:00: TEE enact cmd
> >> failed. err: ffff000e, ret:0
> >>
> >> In other words: I'm pretty certain I have your patch applied but
> >> sp_restore is never called which I think was the intention.
> >>
> >> I did play around a bit in the code but all I achieved are NULL
> >> pointer crashes :)
> >> It looks like "i2c_hid_core_pm" might be a typo/copy & paste error? I
> >> assume it should be "sp_pci_pm_ops"?
> >
> > Yes — that should be sp_pci_pm_ops. Keep the pr_info in sp_restore();
> > if that log appears but the issue remains, the PMF driver will need to
> > be updated to support the .restore callback.
> >
>
> Yes; sorry about that.  If you need me to spin a new one, let me know.
>
> But I am still suspecting we're going to need PMF driver changes too
> because if the ring is not active then it's going to mean the TA wasn't
> running.

[-- Attachment #2: 0001-tee-patch.patch --]
[-- Type: text/x-patch, Size: 3227 bytes --]

diff --git i/drivers/crypto/ccp/sp-dev.c w/drivers/crypto/ccp/sp-dev.c
index 3467f6db4f50..6cc991b01ae2 100644
--- i/drivers/crypto/ccp/sp-dev.c
+++ w/drivers/crypto/ccp/sp-dev.c
@@ -21,6 +21,7 @@
 
 #include "sev-dev.h"
 #include "ccp-dev.h"
+#include "tee-dev.h"
 #include "sp-dev.h"
 
 MODULE_AUTHOR("Tom Lendacky <thomas.lendacky@amd.com>");
@@ -230,6 +231,19 @@ int sp_resume(struct sp_device *sp)
 	return 0;
 }
 
+int sp_restore(struct sp_device *sp)
+{
+	pr_info("sp_restore called\n");
+	if (sp->dev_vdata->psp_vdata->tee) {
+		int r = tee_restore(sp->psp_data);
+
+		if (r)
+			return r;
+	}
+	pr_info("sp_restore done\n");
+	return sp_resume(sp);
+}
+
 struct sp_device *sp_get_psp_master_device(void)
 {
 	struct sp_device *i, *ret = NULL;
diff --git i/drivers/crypto/ccp/sp-dev.h w/drivers/crypto/ccp/sp-dev.h
index 6f9d7063257d..37b38afaab14 100644
--- i/drivers/crypto/ccp/sp-dev.h
+++ w/drivers/crypto/ccp/sp-dev.h
@@ -141,6 +141,7 @@ void sp_destroy(struct sp_device *sp);
 
 int sp_suspend(struct sp_device *sp);
 int sp_resume(struct sp_device *sp);
+int sp_restore(struct sp_device *sp);
 int sp_request_ccp_irq(struct sp_device *sp, irq_handler_t handler,
 		       const char *name, void *data);
 void sp_free_ccp_irq(struct sp_device *sp, void *data);
diff --git i/drivers/crypto/ccp/sp-pci.c w/drivers/crypto/ccp/sp-pci.c
index e7bb803912a6..98bb0d74c8eb 100644
--- i/drivers/crypto/ccp/sp-pci.c
+++ w/drivers/crypto/ccp/sp-pci.c
@@ -353,6 +353,13 @@ static int __maybe_unused sp_pci_resume(struct device *dev)
 	return sp_resume(sp);
 }
 
+static int __maybe_unused sp_pci_restore(struct device *dev)
+{
+	struct sp_device *sp = dev_get_drvdata(dev);
+
+	return sp_restore(sp);
+}
+
 #ifdef CONFIG_CRYPTO_DEV_SP_PSP
 static const struct sev_vdata sevv1 = {
 	.cmdresp_reg		= 0x10580,	/* C2PMSG_32 */
@@ -544,7 +551,15 @@ static const struct pci_device_id sp_pci_table[] = {
 };
 MODULE_DEVICE_TABLE(pci, sp_pci_table);
 
-static SIMPLE_DEV_PM_OPS(sp_pci_pm_ops, sp_pci_suspend, sp_pci_resume);
+
+const struct dev_pm_ops sp_pci_pm_ops = {
+	.suspend = pm_sleep_ptr(sp_pci_suspend),
+	.resume = pm_sleep_ptr(sp_pci_resume),
+	.freeze = pm_sleep_ptr(sp_pci_suspend),
+	.thaw = pm_sleep_ptr(sp_pci_resume),
+	.poweroff = pm_sleep_ptr(sp_pci_suspend),
+	.restore = pm_sleep_ptr(sp_pci_restore),
+};
 
 static struct pci_driver sp_pci_driver = {
 	.name = "ccp",
diff --git i/drivers/crypto/ccp/tee-dev.c w/drivers/crypto/ccp/tee-dev.c
index 5e1d80724678..a7470477117d 100644
--- i/drivers/crypto/ccp/tee-dev.c
+++ w/drivers/crypto/ccp/tee-dev.c
@@ -365,3 +365,11 @@ int psp_check_tee_status(void)
 	return 0;
 }
 EXPORT_SYMBOL(psp_check_tee_status);
+
+int tee_restore(struct psp_device *psp)
+{
+	if (!psp || !psp->tee_data)
+		return -ENODEV;
+
+	return tee_init_ring(psp->tee_data);
+}
\ No newline at end of file
diff --git i/drivers/crypto/ccp/tee-dev.h w/drivers/crypto/ccp/tee-dev.h
index ea9a2b7c05f5..c23416cb7bb3 100644
--- i/drivers/crypto/ccp/tee-dev.h
+++ w/drivers/crypto/ccp/tee-dev.h
@@ -111,5 +111,6 @@ struct tee_ring_cmd {
 
 int tee_dev_init(struct psp_device *psp);
 void tee_dev_destroy(struct psp_device *psp);
+int tee_restore(struct psp_device *psp);
 
 #endif /* __TEE_DEV_H__ */

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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  2025-10-27 16:18                       ` Lars Francke
@ 2025-10-27 19:32                         ` Mario Limonciello
  2025-10-27 20:17                           ` Lars Francke
  0 siblings, 1 reply; 27+ messages in thread
From: Mario Limonciello @ 2025-10-27 19:32 UTC (permalink / raw)
  To: Lars Francke
  Cc: Shyam Sundar S K, Tom Lendacky, John Allen, platform-driver-x86,
	Patil Rajesh

[-- Attachment #1: Type: text/plain, Size: 9381 bytes --]

On 10/27/25 11:18 AM, Lars Francke wrote:
> I changed the name and removed the macro and now get this with the
> attached patch (I added the "sp_restore called" log line)
> 
> Oct 27 12:44:47 lars-laptop kernel: sp_restore called
> Oct 27 12:44:47 lars-laptop kernel: ACPI: EC: event unblocked
> Oct 27 12:44:47 lars-laptop kernel: usb usb1: root hub lost power or was reset
> Oct 27 12:44:47 lars-laptop kernel: usb usb2: root hub lost power or was reset
> Oct 27 12:44:47 lars-laptop kernel: usb usb5: root hub lost power or was reset
> Oct 27 12:44:47 lars-laptop kernel: usb usb6: root hub lost power or was reset
> Oct 27 12:44:47 lars-laptop kernel: usb usb7: root hub lost power or was reset
> Oct 27 12:44:47 lars-laptop kernel: usb usb3: root hub lost power or was reset
> Oct 27 12:44:47 lars-laptop kernel: usb usb4: root hub lost power or was reset
> Oct 27 12:44:47 lars-laptop kernel: usb usb8: root hub lost power or was reset
> Oct 27 12:44:47 lars-laptop kernel: amdxdna 0000:c4:00.1: [drm]
> firmware resuming...
> Oct 27 12:44:47 lars-laptop kernel: [drm] PCIE GART of 512M enabled
> (table at 0x00000083FFB00000).
> Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: PSP
> is resuming...
> Oct 27 12:44:47 lars-laptop kernel: ccp 0000:c3:00.2: tee: ring init
> command failed (0x0000000d)
> Oct 27 12:44:47 lars-laptop kernel: ccp 0000:c3:00.2: PM:
> dpm_run_callback(): pci_pm_restore returns -5
> Oct 27 12:44:47 lars-laptop kernel: ccp 0000:c3:00.2: PM: failed to
> restore async: error -5
> Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu:
> reserve 0x8c00000 from 0x83e0000000 for PSP TMR
> Oct 27 12:44:47 lars-laptop kernel: nvme nvme0: 32/0/0 default/read/poll queues
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.2: DSP1:
> cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: format 3 timestamp
> 0x66300c2d
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.2: DSP1:
> cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: Mon 29 Apr 2024 22:07:57
> GMT Daylight Time
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.0: DSP1:
> cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: format 3 timestamp
> 0x66300c2d
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.0: DSP1:
> cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: Mon 29 Apr 2024 22:07:57
> GMT Daylight Time
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.1: DSP1:
> cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: format 3 timestamp
> 0x66300c2d
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.1: DSP1:
> cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: Mon 29 Apr 2024 22:07:57
> GMT Daylight Time
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.3: DSP1:
> cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: format 3 timestamp
> 0x66300c2d
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.3: DSP1:
> cirrus/cs35l54-b0-dsp1-misc-103c8d01.wmfw: Mon 29 Apr 2024 22:07:57
> GMT Daylight Time
> Oct 27 12:44:47 lars-laptop kernel: amdxdna 0000:c4:00.1: [drm]
> hardware context resuming...
> Oct 27 12:44:47 lars-laptop kernel: usb 3-2: WARN: invalid context
> state for evaluate context command.
> Oct 27 12:44:47 lars-laptop kernel: usb 3-2: reset full-speed USB
> device number 2 using xhci_hcd
> Oct 27 12:44:47 lars-laptop kernel: usb 3-5: reset high-speed USB
> device number 4 using xhci_hcd
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.2: DSP1: Firmware: 1a00d6 vendor: 0x2
> v3.11.18, 41 algorithms
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.0: DSP1: Firmware: 1a00d6 vendor: 0x2
> v3.11.18, 41 algorithms
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.2: DSP1:
> cirrus/cs35l54-b0-dsp1-misc-103c8d01-amp3.bin: v3.11.18
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.2: DSP1: misc:
> C:\ProductSetting\HP\Chiron\Tuning_Relese\20250216\init\Right_Tweeter
> (131118.360100.80216)-init.bin
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.0: DSP1:
> cirrus/cs35l54-b0-dsp1-misc-103c8d01-amp1.bin: v3.11.18
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.0: DSP1: misc:
> C:\ProductSetting\HP\Chiron\Tuning_Relese\20250216\init\Left_Woofer
> (131118.360200.80216)-init.bin
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.1: DSP1: Firmware: 1a00d6 vendor: 0x2
> v3.11.18, 41 algorithms
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.3: DSP1: Firmware: 1a00d6 vendor: 0x2
> v3.11.18, 41 algorithms
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.1: DSP1:
> cirrus/cs35l54-b0-dsp1-misc-103c8d01-amp2.bin: v3.11.18
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.1: DSP1: misc:
> C:\ProductSetting\HP\Chiron\Tuning_Relese\20250216\init\Left_Tweeter
> (131118.360300.80216)-init.bin
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.3: DSP1:
> cirrus/cs35l54-b0-dsp1-misc-103c8d01-amp4.bin: v3.11.18
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.3: DSP1: misc:
> C:\ProductSetting\HP\Chiron\Tuning_Relese\20250216\init\Right_Woofer
> (131118.360000.80216)-init.bin
> Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: RAS:
> optional ras ta ucode is not available
> Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: RAP:
> optional rap ta ucode is not available
> Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu:
> SECUREDISPLAY: optional securedisplay ta ucode is not available
> Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: SMU
> is resuming...
> Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: SMU
> is resumed successfully!
> Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: [drm]
> DMUB hardware initialized: version=0x09003100
> Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
> gfx_0.0.0 uses VM inv eng 0 on hub 0
> Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
> comp_1.0.0 uses VM inv eng 1 on hub 0
> Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
> comp_1.1.0 uses VM inv eng 4 on hub 0
> Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
> comp_1.2.0 uses VM inv eng 6 on hub 0
> Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
> comp_1.3.0 uses VM inv eng 7 on hub 0
> Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
> comp_1.0.1 uses VM inv eng 8 on hub 0
> Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
> comp_1.1.1 uses VM inv eng 9 on hub 0
> Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
> comp_1.2.1 uses VM inv eng 10 on hub 0
> Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
> comp_1.3.1 uses VM inv eng 11 on hub 0
> Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
> sdma0 uses VM inv eng 12 on hub 0
> Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
> vcn_unified_0 uses VM inv eng 0 on hub 8
> Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
> vcn_unified_1 uses VM inv eng 1 on hub 8
> Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
> jpeg_dec_0 uses VM inv eng 4 on hub 8
> Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
> jpeg_dec_1 uses VM inv eng 6 on hub 8
> Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
> mes_kiq_3.1.0 uses VM inv eng 13 on hub 0
> Oct 27 12:44:47 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: ring
> vpe uses VM inv eng 7 on hub 8
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.2: Calibration applied
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.0: Calibration applied
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.2: Tuning PID: 0x131118, SID: 0x360100,
> TID: 0x80216
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.0: Tuning PID: 0x131118, SID: 0x360200,
> TID: 0x80216
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.1: Calibration applied
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.3: Calibration applied
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.1: Tuning PID: 0x131118, SID: 0x360300,
> TID: 0x80216
> Oct 27 12:44:47 lars-laptop kernel: cs35l56-hda
> i2c-CSC3554:00-cs35l54-hda.3: Tuning PID: 0x131118, SID: 0x360000,
> TID: 0x80216
> Oct 27 12:44:47 lars-laptop kernel: BUG: kernel NULL pointer
> dereference, address: 00000000000003fc
> Oct 27 12:44:47 lars-laptop kernel: #PF: supervisor read access in kernel mode
> Oct 27 12:44:47 lars-laptop kernel: #PF: error_code(0x0000) - not-present page
> 
> Then I have to reboot. I'm happy to try more patches - but I have way
> too little knowledge about any of this to be of any other help I'm
> afraid.
> 
> Thanks,
> Lars
> 

See if this one helps.  I do think we still need a PMF change though too.

Thanks,

[-- Attachment #2: 0001-crypto-ccp-Add-an-S4-restore-flow.patch --]
[-- Type: text/x-patch, Size: 3792 bytes --]

From 4f669618f4e45627295854e69c516dd2a37a0e75 Mon Sep 17 00:00:00 2001
From: "Mario Limonciello (AMD)" <superm1@kernel.org>
Date: Sun, 26 Oct 2025 12:34:48 -0500
Subject: [PATCH] crypto: ccp - Add an S4 restore flow

The system will have lost power during S4.  The ring used for TEE
communications needs to be initialized before use.

Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
---
 drivers/crypto/ccp/sp-dev.c  | 13 +++++++++++++
 drivers/crypto/ccp/sp-dev.h  |  1 +
 drivers/crypto/ccp/sp-pci.c  | 16 +++++++++++++++-
 drivers/crypto/ccp/tee-dev.c |  6 ++++++
 drivers/crypto/ccp/tee-dev.h |  1 +
 5 files changed, 36 insertions(+), 1 deletion(-)

diff --git a/drivers/crypto/ccp/sp-dev.c b/drivers/crypto/ccp/sp-dev.c
index 3467f6db4f50..e3fa94d14026 100644
--- a/drivers/crypto/ccp/sp-dev.c
+++ b/drivers/crypto/ccp/sp-dev.c
@@ -21,6 +21,7 @@
 
 #include "sev-dev.h"
 #include "ccp-dev.h"
+#include "tee-dev.h"
 #include "sp-dev.h"
 
 MODULE_AUTHOR("Tom Lendacky <thomas.lendacky@amd.com>");
@@ -230,6 +231,18 @@ int sp_resume(struct sp_device *sp)
 	return 0;
 }
 
+int sp_restore(struct sp_device *sp)
+{
+	if (sp->dev_vdata->psp_vdata->tee) {
+		int r = tee_restore(sp->psp_data);
+
+		if (r)
+			return r;
+	}
+
+	return sp_resume(sp);
+}
+
 struct sp_device *sp_get_psp_master_device(void)
 {
 	struct sp_device *i, *ret = NULL;
diff --git a/drivers/crypto/ccp/sp-dev.h b/drivers/crypto/ccp/sp-dev.h
index 6f9d7063257d..37b38afaab14 100644
--- a/drivers/crypto/ccp/sp-dev.h
+++ b/drivers/crypto/ccp/sp-dev.h
@@ -141,6 +141,7 @@ void sp_destroy(struct sp_device *sp);
 
 int sp_suspend(struct sp_device *sp);
 int sp_resume(struct sp_device *sp);
+int sp_restore(struct sp_device *sp);
 int sp_request_ccp_irq(struct sp_device *sp, irq_handler_t handler,
 		       const char *name, void *data);
 void sp_free_ccp_irq(struct sp_device *sp, void *data);
diff --git a/drivers/crypto/ccp/sp-pci.c b/drivers/crypto/ccp/sp-pci.c
index 8891ceee1d7d..1419cdcf2ac5 100644
--- a/drivers/crypto/ccp/sp-pci.c
+++ b/drivers/crypto/ccp/sp-pci.c
@@ -353,6 +353,13 @@ static int __maybe_unused sp_pci_resume(struct device *dev)
 	return sp_resume(sp);
 }
 
+static int __maybe_unused sp_pci_restore(struct device *dev)
+{
+	struct sp_device *sp = dev_get_drvdata(dev);
+
+	return sp_restore(sp);
+}
+
 #ifdef CONFIG_CRYPTO_DEV_SP_PSP
 static const struct sev_vdata sevv1 = {
 	.cmdresp_reg		= 0x10580,	/* C2PMSG_32 */
@@ -563,7 +570,14 @@ static const struct pci_device_id sp_pci_table[] = {
 };
 MODULE_DEVICE_TABLE(pci, sp_pci_table);
 
-static SIMPLE_DEV_PM_OPS(sp_pci_pm_ops, sp_pci_suspend, sp_pci_resume);
+const struct dev_pm_ops sp_pci_pm_ops = {
+	.suspend = pm_sleep_ptr(sp_pci_suspend),
+	.resume = pm_sleep_ptr(sp_pci_resume),
+	.freeze = pm_sleep_ptr(sp_pci_suspend),
+	.thaw = pm_sleep_ptr(sp_pci_resume),
+	.poweroff = pm_sleep_ptr(sp_pci_suspend),
+	.restore = pm_sleep_ptr(sp_pci_restore),
+};
 
 static struct pci_driver sp_pci_driver = {
 	.name = "ccp",
diff --git a/drivers/crypto/ccp/tee-dev.c b/drivers/crypto/ccp/tee-dev.c
index 5e1d80724678..66468de08fc3 100644
--- a/drivers/crypto/ccp/tee-dev.c
+++ b/drivers/crypto/ccp/tee-dev.c
@@ -365,3 +365,9 @@ int psp_check_tee_status(void)
 	return 0;
 }
 EXPORT_SYMBOL(psp_check_tee_status);
+
+int tee_restore(struct psp_device *psp)
+{
+	tee_free_ring(psp->tee_data);
+	return tee_init_ring(psp->tee_data);
+}
diff --git a/drivers/crypto/ccp/tee-dev.h b/drivers/crypto/ccp/tee-dev.h
index ea9a2b7c05f5..c23416cb7bb3 100644
--- a/drivers/crypto/ccp/tee-dev.h
+++ b/drivers/crypto/ccp/tee-dev.h
@@ -111,5 +111,6 @@ struct tee_ring_cmd {
 
 int tee_dev_init(struct psp_device *psp);
 void tee_dev_destroy(struct psp_device *psp);
+int tee_restore(struct psp_device *psp);
 
 #endif /* __TEE_DEV_H__ */
-- 
2.51.1


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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  2025-10-27 19:32                         ` Mario Limonciello
@ 2025-10-27 20:17                           ` Lars Francke
  2025-10-27 20:40                             ` Mario Limonciello
  2025-10-28 17:12                             ` Shyam Sundar S K
  0 siblings, 2 replies; 27+ messages in thread
From: Lars Francke @ 2025-10-27 20:17 UTC (permalink / raw)
  To: Mario Limonciello
  Cc: Shyam Sundar S K, Tom Lendacky, John Allen, platform-driver-x86,
	Patil Rajesh

> See if this one helps.  I do think we still need a PMF change though too.

I tried it. System crashes again with:

Oct 27 21:13:51 lars-laptop kernel: BUG: kernel NULL pointer
dereference, address: 00000000000003fc
Oct 27 21:13:51 lars-laptop kernel: #PF: supervisor read access in kernel mode
Oct 27 21:13:51 lars-laptop kernel: #PF: error_code(0x0000) - not-present page

Cheers,
Lars

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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  2025-10-27 20:17                           ` Lars Francke
@ 2025-10-27 20:40                             ` Mario Limonciello
  2025-10-27 20:46                               ` Lars Francke
  2025-10-28 17:12                             ` Shyam Sundar S K
  1 sibling, 1 reply; 27+ messages in thread
From: Mario Limonciello @ 2025-10-27 20:40 UTC (permalink / raw)
  To: Lars Francke
  Cc: Shyam Sundar S K, Tom Lendacky, John Allen, platform-driver-x86,
	Patil Rajesh

On 10/27/25 3:17 PM, Lars Francke wrote:
>> See if this one helps.  I do think we still need a PMF change though too.
> 
> I tried it. System crashes again with:
> 
> Oct 27 21:13:51 lars-laptop kernel: BUG: kernel NULL pointer
> dereference, address: 00000000000003fc
> Oct 27 21:13:51 lars-laptop kernel: #PF: supervisor read access in kernel mode
> Oct 27 21:13:51 lars-laptop kernel: #PF: error_code(0x0000) - not-present page
> 
> Cheers,
> Lars

OK thanks for checking.  Any chance there is a trace below that?  Or is 
that is all you see?

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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  2025-10-27 20:40                             ` Mario Limonciello
@ 2025-10-27 20:46                               ` Lars Francke
  2025-10-27 21:23                                 ` Lars Francke
  0 siblings, 1 reply; 27+ messages in thread
From: Lars Francke @ 2025-10-27 20:46 UTC (permalink / raw)
  To: Mario Limonciello
  Cc: Shyam Sundar S K, Tom Lendacky, John Allen, platform-driver-x86,
	Patil Rajesh

> OK thanks for checking.  Any chance there is a trace below that?  Or is
> that is all you see?

That's all I see.
After booting & logging in I get to the console and immediately get
kernel logs printed to the console.
I can't do anything then and have to do a hard reboot. These logs are
the last thing before a "boot" line when looking at the logs using
"journalctl -b 1 --system".

I've tried adding a bunch of log statements now - will recompile again
and report should I find anything.
That said: I'm very much fishing in the dark :)

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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  2025-10-27 20:46                               ` Lars Francke
@ 2025-10-27 21:23                                 ` Lars Francke
  0 siblings, 0 replies; 27+ messages in thread
From: Lars Francke @ 2025-10-27 21:23 UTC (permalink / raw)
  To: Mario Limonciello
  Cc: Shyam Sundar S K, Tom Lendacky, John Allen, platform-driver-x86,
	Patil Rajesh

This is with a bunch of log statements added. Not sure if it helps.

Oct 27 22:04:57 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu: PSP
is resuming...
Oct 27 22:04:57 lars-laptop kernel: ccp 0000:c3:00.2: tee: ring init
command failed (0x0000000d)
Oct 27 22:04:57 lars-laptop kernel: ccp 0000:c3:00.2: sp_restore:
tee_restore returned -5
Oct 27 22:04:57 lars-laptop kernel: ccp 0000:c3:00.2: sp_restore:
tee_restore failed, returning -5
Oct 27 22:04:57 lars-laptop kernel: ccp 0000:c3:00.2: sp_pci_restore:
sp_restore returned -5
Oct 27 22:04:57 lars-laptop kernel: ccp 0000:c3:00.2: sp_pci_restore:
EXIT (ret=-5)
Oct 27 22:04:57 lars-laptop kernel: ccp 0000:c3:00.2:
======================================
Oct 27 22:04:57 lars-laptop kernel: ccp 0000:c3:00.2: PM:
dpm_run_callback(): pci_pm_restore returns -5
Oct 27 22:04:57 lars-laptop kernel: ccp 0000:c3:00.2: PM: failed to
restore async: error -5
Oct 27 22:04:57 lars-laptop kernel: amdgpu 0000:c3:00.0: amdgpu:
reserve 0x8c00000 from 0x83e0000000 for PSP TMR

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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  2025-10-27 20:17                           ` Lars Francke
  2025-10-27 20:40                             ` Mario Limonciello
@ 2025-10-28 17:12                             ` Shyam Sundar S K
  2025-10-28 23:45                               ` Lars Francke
  1 sibling, 1 reply; 27+ messages in thread
From: Shyam Sundar S K @ 2025-10-28 17:12 UTC (permalink / raw)
  To: Lars Francke, Mario Limonciello
  Cc: Tom Lendacky, John Allen, platform-driver-x86, Patil Rajesh

[-- Attachment #1: Type: text/plain, Size: 1692 bytes --]



On 10/28/2025 01:47, Lars Francke wrote:
>> See if this one helps.  I do think we still need a PMF change though too.
> 
> I tried it. System crashes again with:
> 
> Oct 27 21:13:51 lars-laptop kernel: BUG: kernel NULL pointer
> dereference, address: 00000000000003fc
> Oct 27 21:13:51 lars-laptop kernel: #PF: supervisor read access in kernel mode
> Oct 27 21:13:51 lars-laptop kernel: #PF: error_code(0x0000) - not-present page

Can you try the attached patches now?

First patch is the same which Mario shared last time and the 2nd one
is on PMF to handle the .restore() callback for hibernate.

I have tried this on 6.18-rc3 (though this should not matter)

92cc770312fa (HEAD -> master) platform/x86/amd/pmf: Prevent TEE errors
after hibernate
c992e558b474 crypto: ccp - Add an S4 restore flow
fd57572253bc (origin/master, origin/HEAD) Merge tag
'sched_ext-for-6.18-rc3-fixes' of
git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext
dcb6fa37fd7b (tag: v6.18-rc3) Linux 6.18-rc3

and.. hibernate works on my setup.

[  647.633672] PM: hibernation: hibernation entry
[  647.640686] Filesystems sync: 0.005 seconds
[  647.641206] Freezing user space processes
[  647.643223] Freezing user space processes completed (elapsed 0.001
seconds)

...

[  648.475190] amd-pmf AMDI0108:00: TEE init done
[  648.475191] amd-pmf AMDI0108:00: Policy Binary size: 880 bytes
[  648.477416] amd-pmf AMDI0108:00: start policy engine ret: 0 (UUID
idx: 0)

...
[  650.018324] PM: hibernation: Basic memory bitmaps freed
[  650.018963] OOM killer enabled.
[  650.019313] Restarting tasks: Starting
[  650.020597] Restarting tasks: Done
[  650.021011] PM: hibernation: hibernation exit

Thanks,
Shyam

[-- Attachment #2: 0001-crypto-ccp-Add-an-S4-restore-flow.patch --]
[-- Type: text/plain, Size: 3796 bytes --]

From c992e558b47404cdf197b4a6e5ae3c337f40850e Mon Sep 17 00:00:00 2001
From: "Mario Limonciello (AMD)" <superm1@kernel.org>
Date: Sun, 26 Oct 2025 12:34:48 -0500
Subject: [PATCH 1/2] crypto: ccp - Add an S4 restore flow

The system will have lost power during S4.  The ring used for TEE
communications needs to be initialized before use.

Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
---
 drivers/crypto/ccp/sp-dev.c  | 13 +++++++++++++
 drivers/crypto/ccp/sp-dev.h  |  1 +
 drivers/crypto/ccp/sp-pci.c  | 16 +++++++++++++++-
 drivers/crypto/ccp/tee-dev.c |  6 ++++++
 drivers/crypto/ccp/tee-dev.h |  1 +
 5 files changed, 36 insertions(+), 1 deletion(-)

diff --git a/drivers/crypto/ccp/sp-dev.c b/drivers/crypto/ccp/sp-dev.c
index 3467f6db4f50..e3fa94d14026 100644
--- a/drivers/crypto/ccp/sp-dev.c
+++ b/drivers/crypto/ccp/sp-dev.c
@@ -21,6 +21,7 @@
 
 #include "sev-dev.h"
 #include "ccp-dev.h"
+#include "tee-dev.h"
 #include "sp-dev.h"
 
 MODULE_AUTHOR("Tom Lendacky <thomas.lendacky@amd.com>");
@@ -230,6 +231,18 @@ int sp_resume(struct sp_device *sp)
 	return 0;
 }
 
+int sp_restore(struct sp_device *sp)
+{
+	if (sp->dev_vdata->psp_vdata->tee) {
+		int r = tee_restore(sp->psp_data);
+
+		if (r)
+			return r;
+	}
+
+	return sp_resume(sp);
+}
+
 struct sp_device *sp_get_psp_master_device(void)
 {
 	struct sp_device *i, *ret = NULL;
diff --git a/drivers/crypto/ccp/sp-dev.h b/drivers/crypto/ccp/sp-dev.h
index 6f9d7063257d..37b38afaab14 100644
--- a/drivers/crypto/ccp/sp-dev.h
+++ b/drivers/crypto/ccp/sp-dev.h
@@ -141,6 +141,7 @@ void sp_destroy(struct sp_device *sp);
 
 int sp_suspend(struct sp_device *sp);
 int sp_resume(struct sp_device *sp);
+int sp_restore(struct sp_device *sp);
 int sp_request_ccp_irq(struct sp_device *sp, irq_handler_t handler,
 		       const char *name, void *data);
 void sp_free_ccp_irq(struct sp_device *sp, void *data);
diff --git a/drivers/crypto/ccp/sp-pci.c b/drivers/crypto/ccp/sp-pci.c
index e7bb803912a6..61c7b4b4b4c7 100644
--- a/drivers/crypto/ccp/sp-pci.c
+++ b/drivers/crypto/ccp/sp-pci.c
@@ -353,6 +353,13 @@ static int __maybe_unused sp_pci_resume(struct device *dev)
 	return sp_resume(sp);
 }
 
+static int __maybe_unused sp_pci_restore(struct device *dev)
+{
+	struct sp_device *sp = dev_get_drvdata(dev);
+
+	return sp_restore(sp);
+}
+
 #ifdef CONFIG_CRYPTO_DEV_SP_PSP
 static const struct sev_vdata sevv1 = {
 	.cmdresp_reg		= 0x10580,	/* C2PMSG_32 */
@@ -544,7 +551,14 @@ static const struct pci_device_id sp_pci_table[] = {
 };
 MODULE_DEVICE_TABLE(pci, sp_pci_table);
 
-static SIMPLE_DEV_PM_OPS(sp_pci_pm_ops, sp_pci_suspend, sp_pci_resume);
+const struct dev_pm_ops sp_pci_pm_ops = {
+	.suspend = pm_sleep_ptr(sp_pci_suspend),
+	.resume = pm_sleep_ptr(sp_pci_resume),
+	.freeze = pm_sleep_ptr(sp_pci_suspend),
+	.thaw = pm_sleep_ptr(sp_pci_resume),
+	.poweroff = pm_sleep_ptr(sp_pci_suspend),
+	.restore = pm_sleep_ptr(sp_pci_restore),
+};
 
 static struct pci_driver sp_pci_driver = {
 	.name = "ccp",
diff --git a/drivers/crypto/ccp/tee-dev.c b/drivers/crypto/ccp/tee-dev.c
index 5e1d80724678..66468de08fc3 100644
--- a/drivers/crypto/ccp/tee-dev.c
+++ b/drivers/crypto/ccp/tee-dev.c
@@ -365,3 +365,9 @@ int psp_check_tee_status(void)
 	return 0;
 }
 EXPORT_SYMBOL(psp_check_tee_status);
+
+int tee_restore(struct psp_device *psp)
+{
+	tee_free_ring(psp->tee_data);
+	return tee_init_ring(psp->tee_data);
+}
diff --git a/drivers/crypto/ccp/tee-dev.h b/drivers/crypto/ccp/tee-dev.h
index ea9a2b7c05f5..c23416cb7bb3 100644
--- a/drivers/crypto/ccp/tee-dev.h
+++ b/drivers/crypto/ccp/tee-dev.h
@@ -111,5 +111,6 @@ struct tee_ring_cmd {
 
 int tee_dev_init(struct psp_device *psp);
 void tee_dev_destroy(struct psp_device *psp);
+int tee_restore(struct psp_device *psp);
 
 #endif /* __TEE_DEV_H__ */
-- 
2.34.1


[-- Attachment #3: 0002-platform-x86-amd-pmf-Prevent-TEE-errors-after-hibern.patch --]
[-- Type: text/plain, Size: 5922 bytes --]

From 92cc770312faa7065a07ccee4a842181765657bf Mon Sep 17 00:00:00 2001
From: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Date: Tue, 28 Oct 2025 22:18:52 +0530
Subject: [PATCH 2/2] platform/x86/amd/pmf: Prevent TEE errors after hibernate

After resuming from hibernate, TEE commands can time out and cause PSP
disables. Fix this by reinitializing the Trusted Application (TA) and
cancelling the pb workqueue in the hibernate callbacks to avoid these
errors.

ccp 0000:c4:00.2: tee: command 0x5 timed out, disabling PSP
amd-pmf AMDI0107:00: TEE enact cmd failed. err: ffff000e, ret:0
amd-pmf AMDI0107:00: TEE enact cmd failed. err: ffff000e, ret:0
amd-pmf AMDI0107:00: TEE enact cmd failed. err: ffff000e, ret:0

Fixes: ae82cef7d9c5 ("platform/x86/amd/pmf: Add support for PMF-TA interaction")
Co-developed-by: Patil Rajesh Reddy <Patil.Reddy@amd.com>
Signed-off-by: Patil Rajesh Reddy <Patil.Reddy@amd.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
---
 drivers/platform/x86/amd/pmf/core.c   | 62 ++++++++++++++++++++++++++-
 drivers/platform/x86/amd/pmf/pmf.h    | 10 +++++
 drivers/platform/x86/amd/pmf/tee-if.c | 12 ++----
 3 files changed, 74 insertions(+), 10 deletions(-)

diff --git a/drivers/platform/x86/amd/pmf/core.c b/drivers/platform/x86/amd/pmf/core.c
index bc544a4a5266..e787480f4df2 100644
--- a/drivers/platform/x86/amd/pmf/core.c
+++ b/drivers/platform/x86/amd/pmf/core.c
@@ -314,6 +314,61 @@ int amd_pmf_init_metrics_table(struct amd_pmf_dev *dev)
 	return 0;
 }
 
+static int amd_pmf_reinit_ta(struct amd_pmf_dev *pdev)
+{
+	bool status;
+	int ret, i;
+
+	for (i = 0; i < ARRAY_SIZE(amd_pmf_ta_uuid); i++) {
+		ret = amd_pmf_tee_init(pdev, &amd_pmf_ta_uuid[i]);
+		if (ret) {
+			dev_err(pdev->dev, "TEE init failed for UUID[%d] ret: %d\n", i, ret);
+			return ret;
+		}
+
+		ret = amd_pmf_start_policy_engine(pdev);
+		dev_dbg(pdev->dev, "start policy engine ret: %d (UUID idx: %d)\n", ret, i);
+		status = ret == TA_PMF_TYPE_SUCCESS;
+		if (status)
+			break;
+		amd_pmf_tee_deinit(pdev);
+	}
+
+	return 0;
+}
+
+static int amd_pmf_restore_handler(struct device *dev)
+{
+	struct amd_pmf_dev *pdev = dev_get_drvdata(dev);
+	int ret;
+
+	if (pdev->buf) {
+		ret = amd_pmf_set_dram_addr(pdev, false);
+		if (ret)
+			return ret;
+	}
+
+	if (pdev->smart_pc_enabled)
+		amd_pmf_reinit_ta(pdev);
+
+	return 0;
+}
+
+static int amd_pmf_freeze_handler(struct device *dev)
+{
+	struct amd_pmf_dev *pdev = dev_get_drvdata(dev);
+
+	if (!pdev->smart_pc_enabled)
+		return 0;
+
+	cancel_delayed_work_sync(&pdev->pb_work);
+	/* Clear all TEE resources */
+	amd_pmf_tee_deinit(pdev);
+	pdev->session_id = 0;
+
+	return 0;
+}
+
 static int amd_pmf_suspend_handler(struct device *dev)
 {
 	struct amd_pmf_dev *pdev = dev_get_drvdata(dev);
@@ -347,7 +402,12 @@ static int amd_pmf_resume_handler(struct device *dev)
 	return 0;
 }
 
-static DEFINE_SIMPLE_DEV_PM_OPS(amd_pmf_pm, amd_pmf_suspend_handler, amd_pmf_resume_handler);
+static const struct dev_pm_ops amd_pmf_pm = {
+	.suspend = amd_pmf_suspend_handler,
+	.resume = amd_pmf_resume_handler,
+	.freeze = amd_pmf_freeze_handler,
+	.restore = amd_pmf_restore_handler,
+};
 
 static void amd_pmf_init_features(struct amd_pmf_dev *dev)
 {
diff --git a/drivers/platform/x86/amd/pmf/pmf.h b/drivers/platform/x86/amd/pmf/pmf.h
index bd19f2a6bc78..2da1885d8791 100644
--- a/drivers/platform/x86/amd/pmf/pmf.h
+++ b/drivers/platform/x86/amd/pmf/pmf.h
@@ -122,6 +122,12 @@ struct cookie_header {
 
 typedef void (*apmf_event_handler_t)(acpi_handle handle, u32 event, void *data);
 
+static const uuid_t amd_pmf_ta_uuid[] __used = { UUID_INIT(0xd9b39bf2, 0x66bd, 0x4154, 0xaf, 0xb8,
+							   0x8a, 0xcc, 0x2b, 0x2b, 0x60, 0xd6),
+						 UUID_INIT(0x6fd93b77, 0x3fb8, 0x524d, 0xb1, 0x2d,
+							   0xc5, 0x29, 0xb1, 0x3d, 0x85, 0x43),
+					       };
+
 /* APTS PMF BIOS Interface */
 struct amd_pmf_apts_output {
 	u16 table_version;
@@ -888,4 +894,8 @@ void amd_pmf_populate_ta_inputs(struct amd_pmf_dev *dev, struct ta_pmf_enact_tab
 void amd_pmf_dump_ta_inputs(struct amd_pmf_dev *dev, struct ta_pmf_enact_table *in);
 int amd_pmf_invoke_cmd_enact(struct amd_pmf_dev *dev);
 
+int amd_pmf_tee_init(struct amd_pmf_dev *dev, const uuid_t *uuid);
+void amd_pmf_tee_deinit(struct amd_pmf_dev *dev);
+int amd_pmf_start_policy_engine(struct amd_pmf_dev *dev);
+
 #endif /* PMF_H */
diff --git a/drivers/platform/x86/amd/pmf/tee-if.c b/drivers/platform/x86/amd/pmf/tee-if.c
index 6e8116bef4f6..903045935237 100644
--- a/drivers/platform/x86/amd/pmf/tee-if.c
+++ b/drivers/platform/x86/amd/pmf/tee-if.c
@@ -27,12 +27,6 @@ module_param(pb_side_load, bool, 0444);
 MODULE_PARM_DESC(pb_side_load, "Sideload policy binaries debug policy failures");
 #endif
 
-static const uuid_t amd_pmf_ta_uuid[] = { UUID_INIT(0xd9b39bf2, 0x66bd, 0x4154, 0xaf, 0xb8, 0x8a,
-						    0xcc, 0x2b, 0x2b, 0x60, 0xd6),
-					  UUID_INIT(0x6fd93b77, 0x3fb8, 0x524d, 0xb1, 0x2d, 0xc5,
-						    0x29, 0xb1, 0x3d, 0x85, 0x43),
-					};
-
 static const char *amd_pmf_uevent_as_str(unsigned int state)
 {
 	switch (state) {
@@ -312,7 +306,7 @@ static void amd_pmf_invoke_cmd(struct work_struct *work)
 	schedule_delayed_work(&dev->pb_work, msecs_to_jiffies(pb_actions_ms));
 }
 
-static int amd_pmf_start_policy_engine(struct amd_pmf_dev *dev)
+int amd_pmf_start_policy_engine(struct amd_pmf_dev *dev)
 {
 	struct cookie_header *header;
 	int res;
@@ -468,7 +462,7 @@ static int amd_pmf_register_input_device(struct amd_pmf_dev *dev)
 	return 0;
 }
 
-static int amd_pmf_tee_init(struct amd_pmf_dev *dev, const uuid_t *uuid)
+int amd_pmf_tee_init(struct amd_pmf_dev *dev, const uuid_t *uuid)
 {
 	u32 size;
 	int ret;
@@ -516,7 +510,7 @@ static int amd_pmf_tee_init(struct amd_pmf_dev *dev, const uuid_t *uuid)
 	return ret;
 }
 
-static void amd_pmf_tee_deinit(struct amd_pmf_dev *dev)
+void amd_pmf_tee_deinit(struct amd_pmf_dev *dev)
 {
 	if (!dev->tee_ctx)
 		return;
-- 
2.34.1


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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  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)
  0 siblings, 1 reply; 27+ messages in thread
From: Lars Francke @ 2025-10-28 23:45 UTC (permalink / raw)
  To: Shyam Sundar S K
  Cc: Mario Limonciello, Tom Lendacky, John Allen, platform-driver-x86,
	Patil Rajesh

On Tue, Oct 28, 2025 at 6:12 PM Shyam Sundar S K
<Shyam-sundar.S-k@amd.com> wrote:

> Can you try the attached patches now?
>
> First patch is the same which Mario shared last time and the 2nd one
> is on PMF to handle the .restore() callback for hibernate.
>
> I have tried this on 6.18-rc3 (though this should not matter)

I just did and I'm afraid that the patches made it even worse for some reason.
Hibernate works but when rebooting I end up in the console, the cursor
is blinking but I can't do anything - no keyboard input, nothing. And
what's even weirder is that after a reboot I have nothing in my
journal on that boot. Not a single line. I have no idea how to debug
this behavior, sorry. Usually when my patches broke the system I would
still get logs. If you have any idea what I can do to debug let me
know.

Thanks,
Lars

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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  2025-10-28 23:45                               ` Lars Francke
@ 2025-10-29  3:38                                 ` Mario Limonciello (AMD) (kernel.org)
  2025-10-30  0:22                                   ` Lars Francke
  0 siblings, 1 reply; 27+ messages in thread
From: Mario Limonciello (AMD) (kernel.org) @ 2025-10-29  3:38 UTC (permalink / raw)
  To: Lars Francke, Shyam Sundar S K
  Cc: Tom Lendacky, John Allen, platform-driver-x86, Patil Rajesh



On 10/28/2025 6:45 PM, Lars Francke wrote:
> On Tue, Oct 28, 2025 at 6:12 PM Shyam Sundar S K
> <Shyam-sundar.S-k@amd.com> wrote:
> 
>> Can you try the attached patches now?
>>
>> First patch is the same which Mario shared last time and the 2nd one
>> is on PMF to handle the .restore() callback for hibernate.
>>
>> I have tried this on 6.18-rc3 (though this should not matter)
> 
> I just did and I'm afraid that the patches made it even worse for some reason.
> Hibernate works but when rebooting I end up in the console, the cursor
> is blinking but I can't do anything - no keyboard input, nothing. And
> what's even weirder is that after a reboot I have nothing in my
> journal on that boot. Not a single line. I have no idea how to debug
> this behavior, sorry. Usually when my patches broke the system I would
> still get logs. If you have any idea what I can do to debug let me
> know.
> 
> Thanks,
> Lars
> 

FWIW I tested Shyam's PMF + my CCP patch and didn't observe this behavior.

Can you please add this patch and see if it improves things?

https://lore.kernel.org/linux-pm/5935682.DvuYhMxLoT@rafael.j.wysocki/T/#u


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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  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)
  0 siblings, 1 reply; 27+ messages in thread
From: Lars Francke @ 2025-10-30  0:22 UTC (permalink / raw)
  To: Mario Limonciello (AMD) (kernel.org)
  Cc: Shyam Sundar S K, Tom Lendacky, John Allen, platform-driver-x86,
	Patil Rajesh

On Wed, Oct 29, 2025 at 4:38 AM Mario Limonciello (AMD) (kernel.org)
<superm1@kernel.org> wrote:
> On 10/28/2025 6:45 PM, Lars Francke wrote:
> > On Tue, Oct 28, 2025 at 6:12 PM Shyam Sundar S K
> > <Shyam-sundar.S-k@amd.com> wrote:
> >
> >> Can you try the attached patches now?
> >>
> >> First patch is the same which Mario shared last time and the 2nd one
> >> is on PMF to handle the .restore() callback for hibernate.
> >>
> >> I have tried this on 6.18-rc3 (though this should not matter)
> >
> > I just did and I'm afraid that the patches made it even worse for some reason.
> > Hibernate works but when rebooting I end up in the console, the cursor
> > is blinking but I can't do anything - no keyboard input, nothing. And
> > what's even weirder is that after a reboot I have nothing in my
> > journal on that boot. Not a single line. I have no idea how to debug
> > this behavior, sorry. Usually when my patches broke the system I would
> > still get logs. If you have any idea what I can do to debug let me
> > know.
> >
> > Thanks,
> > Lars
> >
>
> FWIW I tested Shyam's PMF + my CCP patch and didn't observe this behavior.

Thanks. I tested the patches on 6.18-rc3 and I observed the same behavior.

> Can you please add this patch and see if it improves things?
>
> https://lore.kernel.org/linux-pm/5935682.DvuYhMxLoT@rafael.j.wysocki/T/#u

I tried this as well, didn't change anything.
I'll try again in a couple of days with various combinations of
patches just to make sure that I haven't made a mistake.

Lars

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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  2025-10-30  0:22                                   ` Lars Francke
@ 2025-10-30 13:35                                     ` Mario Limonciello (AMD) (kernel.org)
  2025-11-04 16:16                                       ` Mario Limonciello
  0 siblings, 1 reply; 27+ messages in thread
From: Mario Limonciello (AMD) (kernel.org) @ 2025-10-30 13:35 UTC (permalink / raw)
  To: Lars Francke
  Cc: Shyam Sundar S K, Tom Lendacky, John Allen, platform-driver-x86,
	Patil Rajesh



On 10/29/2025 7:22 PM, Lars Francke wrote:
> On Wed, Oct 29, 2025 at 4:38 AM Mario Limonciello (AMD) (kernel.org)
> <superm1@kernel.org> wrote:
>> On 10/28/2025 6:45 PM, Lars Francke wrote:
>>> On Tue, Oct 28, 2025 at 6:12 PM Shyam Sundar S K
>>> <Shyam-sundar.S-k@amd.com> wrote:
>>>
>>>> Can you try the attached patches now?
>>>>
>>>> First patch is the same which Mario shared last time and the 2nd one
>>>> is on PMF to handle the .restore() callback for hibernate.
>>>>
>>>> I have tried this on 6.18-rc3 (though this should not matter)
>>>
>>> I just did and I'm afraid that the patches made it even worse for some reason.
>>> Hibernate works but when rebooting I end up in the console, the cursor
>>> is blinking but I can't do anything - no keyboard input, nothing. And
>>> what's even weirder is that after a reboot I have nothing in my
>>> journal on that boot. Not a single line. I have no idea how to debug
>>> this behavior, sorry. Usually when my patches broke the system I would
>>> still get logs. If you have any idea what I can do to debug let me
>>> know.
>>>
>>> Thanks,
>>> Lars
>>>
>>
>> FWIW I tested Shyam's PMF + my CCP patch and didn't observe this behavior.
> 
> Thanks. I tested the patches on 6.18-rc3 and I observed the same behavior.
> 
>> Can you please add this patch and see if it improves things?
>>
>> https://lore.kernel.org/linux-pm/5935682.DvuYhMxLoT@rafael.j.wysocki/T/#u
> 
> I tried this as well, didn't change anything.
> I'll try again in a couple of days with various combinations of
> patches just to make sure that I haven't made a mistake.
> 
> Lars

I have a suspicion.  With all those patches added (mine, Rafael's and 
Shyam's) can you please try to hibernate and then after resuming run:

# rmmod amd-pmf

And see if system hangs/reboots in a similar way?

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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  2025-10-30 13:35                                     ` Mario Limonciello (AMD) (kernel.org)
@ 2025-11-04 16:16                                       ` Mario Limonciello
  2025-11-11  8:56                                         ` Lars Francke
  0 siblings, 1 reply; 27+ messages in thread
From: Mario Limonciello @ 2025-11-04 16:16 UTC (permalink / raw)
  To: Lars Francke
  Cc: Shyam Sundar S K, Tom Lendacky, John Allen, platform-driver-x86,
	Patil Rajesh, Shen, Yijun

[-- Attachment #1: Type: text/plain, Size: 2031 bytes --]

On 10/30/25 8:35 AM, Mario Limonciello (AMD) (kernel.org) wrote:
> 
> 
> On 10/29/2025 7:22 PM, Lars Francke wrote:
>> On Wed, Oct 29, 2025 at 4:38 AM Mario Limonciello (AMD) (kernel.org)
>> <superm1@kernel.org> wrote:
>>> On 10/28/2025 6:45 PM, Lars Francke wrote:
>>>> On Tue, Oct 28, 2025 at 6:12 PM Shyam Sundar S K
>>>> <Shyam-sundar.S-k@amd.com> wrote:
>>>>
>>>>> Can you try the attached patches now?
>>>>>
>>>>> First patch is the same which Mario shared last time and the 2nd one
>>>>> is on PMF to handle the .restore() callback for hibernate.
>>>>>
>>>>> I have tried this on 6.18-rc3 (though this should not matter)
>>>>
>>>> I just did and I'm afraid that the patches made it even worse for 
>>>> some reason.
>>>> Hibernate works but when rebooting I end up in the console, the cursor
>>>> is blinking but I can't do anything - no keyboard input, nothing. And
>>>> what's even weirder is that after a reboot I have nothing in my
>>>> journal on that boot. Not a single line. I have no idea how to debug
>>>> this behavior, sorry. Usually when my patches broke the system I would
>>>> still get logs. If you have any idea what I can do to debug let me
>>>> know.
>>>>
>>>> Thanks,
>>>> Lars
>>>>
>>>
>>> FWIW I tested Shyam's PMF + my CCP patch and didn't observe this 
>>> behavior.
>>
>> Thanks. I tested the patches on 6.18-rc3 and I observed the same 
>> behavior.
>>
>>> Can you please add this patch and see if it improves things?
>>>
>>> https://lore.kernel.org/linux-pm/5935682.DvuYhMxLoT@rafael.j.wysocki/ 
>>> T/#u
>>
>> I tried this as well, didn't change anything.
>> I'll try again in a couple of days with various combinations of
>> patches just to make sure that I haven't made a mistake.
>>
>> Lars
> 
> I have a suspicion.  With all those patches added (mine, Rafael's and 
> Shyam's) can you please try to hibernate and then after resuming run:
> 
> # rmmod amd-pmf
> 
> And see if system hangs/reboots in a similar way?
> 

Can you please add this patch to the other two and try again?

Thanks,

[-- Attachment #2: 0001-crypto-ccp-Prevent-calling-psp_tee_process_cmd-with-.patch --]
[-- Type: text/x-patch, Size: 984 bytes --]

From 4dcba357f10b0558bc36f6fb15f4210c43f44dbf Mon Sep 17 00:00:00 2001
From: Mario Limonciello <mario.limonciello@amd.com>
Date: Tue, 4 Nov 2025 09:45:33 -0600
Subject: [PATCH] crypto/ccp: Prevent calling psp_tee_process_cmd() with
 invalid ring

psp_tee_process_cmd() is exported and can be called by other modules
at a time that the ring isn't ready.  Prevent failures by checking
for a valid ring.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
---
 drivers/crypto/ccp/tee-dev.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/crypto/ccp/tee-dev.c b/drivers/crypto/ccp/tee-dev.c
index 66468de08fc3..972fc848d0f2 100644
--- a/drivers/crypto/ccp/tee-dev.c
+++ b/drivers/crypto/ccp/tee-dev.c
@@ -336,6 +336,9 @@ int psp_tee_process_cmd(enum tee_cmd_id cmd_id, void *buf, size_t len,
 
 	tee = psp->tee_data;
 
+	if (!tee->rb_mgr.ring_start)
+		return -ENODEV;
+
 	ret = tee_submit_cmd(tee, cmd_id, buf, len, &resp);
 	if (ret)
 		return ret;
-- 
2.51.2


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

* Re: AMD PMF: CCP PSP fails to reinitialize after hibernation causing TEE errors
  2025-11-04 16:16                                       ` Mario Limonciello
@ 2025-11-11  8:56                                         ` Lars Francke
  0 siblings, 0 replies; 27+ messages in thread
From: Lars Francke @ 2025-11-11  8:56 UTC (permalink / raw)
  To: Mario Limonciello
  Cc: Shyam Sundar S K, Tom Lendacky, John Allen, platform-driver-x86,
	Patil Rajesh, Shen, Yijun

On Tue, Nov 4, 2025 at 5:16 PM Mario Limonciello <superm1@kernel.org> wrote:
>
> On 10/30/25 8:35 AM, Mario Limonciello (AMD) (kernel.org) wrote:
> >
> >
> > On 10/29/2025 7:22 PM, Lars Francke wrote:
> >> On Wed, Oct 29, 2025 at 4:38 AM Mario Limonciello (AMD) (kernel.org)
> >> <superm1@kernel.org> wrote:
> >>> On 10/28/2025 6:45 PM, Lars Francke wrote:
> >>>> On Tue, Oct 28, 2025 at 6:12 PM Shyam Sundar S K
> >>>> <Shyam-sundar.S-k@amd.com> wrote:
> >>>>
> >>>>> Can you try the attached patches now?
> >>>>>
> >>>>> First patch is the same which Mario shared last time and the 2nd one
> >>>>> is on PMF to handle the .restore() callback for hibernate.
> >>>>>
> >>>>> I have tried this on 6.18-rc3 (though this should not matter)
> >>>>
> >>>> I just did and I'm afraid that the patches made it even worse for
> >>>> some reason.
> >>>> Hibernate works but when rebooting I end up in the console, the cursor
> >>>> is blinking but I can't do anything - no keyboard input, nothing. And
> >>>> what's even weirder is that after a reboot I have nothing in my
> >>>> journal on that boot. Not a single line. I have no idea how to debug
> >>>> this behavior, sorry. Usually when my patches broke the system I would
> >>>> still get logs. If you have any idea what I can do to debug let me
> >>>> know.
> >>>>
> >>>> Thanks,
> >>>> Lars
> >>>>
> >>>
> >>> FWIW I tested Shyam's PMF + my CCP patch and didn't observe this
> >>> behavior.
> >>
> >> Thanks. I tested the patches on 6.18-rc3 and I observed the same
> >> behavior.
> >>
> >>> Can you please add this patch and see if it improves things?
> >>>
> >>> https://lore.kernel.org/linux-pm/5935682.DvuYhMxLoT@rafael.j.wysocki/
> >>> T/#u
> >>
> >> I tried this as well, didn't change anything.
> >> I'll try again in a couple of days with various combinations of
> >> patches just to make sure that I haven't made a mistake.
> >>
> >> Lars
> >
> > I have a suspicion.  With all those patches added (mine, Rafael's and
> > Shyam's) can you please try to hibernate and then after resuming run:
> >
> > # rmmod amd-pmf
> >
> > And see if system hangs/reboots in a similar way?
> >
>
> Can you please add this patch to the other two and try again?

Sorry for the long silence, just back from vacation.

I have now tried these three patches on 6.18-rc5:

* 0001-crypto-ccp-Add-an-S4-restore-flow.patch
* 0001-crypto-ccp-Prevent-calling-psp_tee_process_cmd-with-.patch
* 0002-platform-x86-amd-pmf-Prevent-TEE-errors-after-hibern.patch

The good news: The original error (TEE enact cmd) is gone after hibernate.
The bad news:
* I tried four hibernate cycles
* Two of them did shut down the laptop, two did not
* After resuming from hibernate I could not reenter hibernate, reboot
or shutdown at all on one occasion
* I don't have logs for any of these :(

I assume these two are unrelated:
* On boot I now get a message "RDSEED32 is broken. Disabling
corresponding CPUID bit." before I enter my LUKS password
* Twice WiFi failed to reconnect after boot ("send auth to" followed
by "authentication timed out") - I'm 100% sure this is not an issue
with my home setup

I have not tried to debug any of these yet as I'm just back at my
laptop but I can try to look into them a bit more if there's interest.

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