public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [Bug 216877] New: Regression in PCI powermanagement breaks resume after suspend
       [not found] <bug-216877-41252@https.bugzilla.kernel.org/>
@ 2023-01-02 17:15 ` Bjorn Helgaas
  2023-01-04  0:30   ` Bjorn Helgaas
  0 siblings, 1 reply; 7+ messages in thread
From: Bjorn Helgaas @ 2023-01-02 17:15 UTC (permalink / raw)
  To: Vidya Sagar; +Cc: Thomas Witt, linux-kernel, linux-pci

Thank you very much for your report and all the work of bisecting,
Thomas!  If you have a chance, can you collect the "sudo lspci -vv"
output (the one attached doesn't include the ASPM info, probably
because lspci wasn't run as root), and also a complete dmesg log from
before the suspend?

On Mon, Jan 02, 2023 at 02:02:51PM +0000, bugzilla-daemon@kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=216877
> 
>             Bug ID: 216877
>            Summary: Regression in PCI powermanagement breaks resume after
>                     suspend
>     Kernel Version: 6.0.0-rc1
> 
> Created attachment 303512
>   --> https://bugzilla.kernel.org/attachment.cgi?id=303512&action=edit
> output of git bisect log
> 
> After commit 5e85eba6f50dc288c22083a7e213152bcc4b8208 "PCI/ASPM:
> Refactor L1 PM Substates Control Register programming" my Laptop
> does not resume PCI devices back from suspend.
> 
> My Laptop is a Tuxedo Infinitybook S 14 v5, as far as I can tell
> they use a Clevo L140CU Mainboard.
> 
> The main symptom is:
> iwlwifi 0000:02:00.0: Unable to change power state from D3hot to D0, device inaccessible
> nvme 0000:03:00.0: Unable to change power state from D3hot to D0, device inaccessible
> 
> after that, the level of interaction I still have with the laptop
> varies, but It cannot run dmesg and it cannot do a clean reboot. The
> issue occurs on every suspend/resume cycle.

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

* Re: [Bug 216877] New: Regression in PCI powermanagement breaks resume after suspend
  2023-01-02 17:15 ` [Bug 216877] New: Regression in PCI powermanagement breaks resume after suspend Bjorn Helgaas
@ 2023-01-04  0:30   ` Bjorn Helgaas
  2023-01-04  8:44     ` Thomas Witt
  0 siblings, 1 reply; 7+ messages in thread
From: Bjorn Helgaas @ 2023-01-04  0:30 UTC (permalink / raw)
  To: Vidya Sagar; +Cc: Thomas Witt, linux-kernel, linux-pci

On Mon, Jan 02, 2023 at 11:15:16AM -0600, Bjorn Helgaas wrote:
> On Mon, Jan 02, 2023 at 02:02:51PM +0000, bugzilla-daemon@kernel.org wrote:
> > https://bugzilla.kernel.org/show_bug.cgi?id=216877
> > 
> >             Bug ID: 216877
> >            Summary: Regression in PCI powermanagement breaks resume after
> >                     suspend
> >     Kernel Version: 6.0.0-rc1
> > 
> > Created attachment 303512
> >   --> https://bugzilla.kernel.org/attachment.cgi?id=303512&action=edit
> > output of git bisect log
> > 
> > After commit 5e85eba6f50dc288c22083a7e213152bcc4b8208 "PCI/ASPM:
> > Refactor L1 PM Substates Control Register programming" my Laptop
> > does not resume PCI devices back from suspend.

Thomas, could you try the debug patch below on top of v6.2-rc1?

Prior to 5e85eba6f50d, aspm_calc_l1ss_info() did these config writes:

    if (enables)
 a    child  clear L1SS_CTL1  PCIPM_L1_2 ASPM_L1_2	# disable L1.2
 b    parent clear L1SS_CTL1  PCIPM_L1_2 ASPM_L1_2	# disable L1.2
    /* T_POWER_ON in both */
 c  parent write L1SS_CTL2  T_POWER_ON
 d  child  write L1SS_CTL2  T_POWER_ON
    /* Common_Mode_Restore_Time in parent (rsvd in child) */
 e  parent write L1SS_CTL1  CM_RESTORE_TIME | LTR_L12_TH # clear CM_REST_TIME 
    /* LTR_L1.2_THRESHOLD in both */
 f  parent write L1SS_CTL1  CM_RESTORE_TIME | LTR_L12_TH # clear LTR_L2_TH
 g  child  write L1SS_CTL1  CM_RESTORE_TIME | LTR_L12_TH # CM_REST_TIME rsvd?
    if (enables)
 h    parent write L1SS_CTL1  PCIPM_L1_2 ASPM_L1_2
 i    child  write L1SS_CTL1  PCIPM_L1_2 ASPM_L1_2

After 5e85eba6f50d, we do these:

 A  parent write L1SS_CTL2  T_POWER_ON
 B  parent write L1SS_CTL1  (CM_RESTORE_TIME | LTR_L12_TH) & ~(PCIPM_L1_2 ASPM_L1_2)
    if (enable)
 C    parent write L1SS_CTL1  PCIPM_L1_2 ASPM_L1_2

 D  child  write L1SS_CTL2  T_POWER_ON
 E  child  write L1SS_CTL1  (CM_RESTORE_TIME | LTR_L12_TH) & ~(PCIPM_L1_2 ASPM_L1_2)
    if (enable)
 F    child  write L1SS_CTL1  PCIPM_L1_2 ASPM_L1_2

Notes:

  - Before 5e85eba6f50d, we disable L1.2 at (a,b) before writing
    T_POWER_ON, CM_RESTORE_TIME, and LTR_L12_TH at (c,d,e,f,g).

    After 5e85eba6f50d, we write T_POWER_ON, CM_RESTORE_TIME, and
    LTR_L12_TH at (A,B) without disabling L1.2.  Sec 5.5.4 suggests
    this may be a problem.

  - Even before 5e85eba6f50d, we write CM_REST_TIME for the child at
    (g), which is reserved per spec.

  - Before 5e85eba6f50d, the write at (e) inserts the new CMRT value,
    but ORs in the LTR_L12_TH values without clearing what was there
    before.  The write at (f) inserts LTR_L12_TH correctly, so the
    result is probably correct, but it's messy.  I think 5e85eba6f50d
    does this better.


commit 98248ea220c8 ("debug https://bugzilla.kernel.org/show_bug.cgi?id=216877")
Author: Bjorn Helgaas <bhelgaas@google.com>
Date:   Tue Jan 3 18:15:11 2023 -0600

    debug https://bugzilla.kernel.org/show_bug.cgi?id=216877
    

diff --git a/drivers/pci/pcie/aspm.c b/drivers/pci/pcie/aspm.c
index 53a1fa306e1e..398c817858ac 100644
--- a/drivers/pci/pcie/aspm.c
+++ b/drivers/pci/pcie/aspm.c
@@ -552,6 +552,11 @@ static void aspm_calc_l1ss_info(struct pcie_link_state *link,
 	    ctl2 == pctl2 && ctl2 == cctl2)
 		return;
 
+	pci_clear_and_set_dword(child, child->l1ss + PCI_L1SS_CTL1,
+				PCI_L1SS_CTL1_L1_2_MASK, 0);
+	pci_clear_and_set_dword(parent, parent->l1ss + PCI_L1SS_CTL1,
+				PCI_L1SS_CTL1_L1_2_MASK, 0);
+
 	pctl1 &= ~(PCI_L1SS_CTL1_CM_RESTORE_TIME |
 		   PCI_L1SS_CTL1_LTR_L12_TH_VALUE |
 		   PCI_L1SS_CTL1_LTR_L12_TH_SCALE);

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

* Re: [Bug 216877] New: Regression in PCI powermanagement breaks resume after suspend
  2023-01-04  0:30   ` Bjorn Helgaas
@ 2023-01-04  8:44     ` Thomas Witt
  2023-01-04 15:02       ` Bjorn Helgaas
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Witt @ 2023-01-04  8:44 UTC (permalink / raw)
  To: Bjorn Helgaas, Vidya Sagar; +Cc: Thomas Witt, linux-kernel, linux-pci

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

On 04/01/2023 01:30, Bjorn Helgaas wrote:
> On Mon, Jan 02, 2023 at 11:15:16AM -0600, Bjorn Helgaas wrote:
>> On Mon, Jan 02, 2023 at 02:02:51PM +0000, bugzilla-daemon@kernel.org wrote:
>>> https://bugzilla.kernel.org/show_bug.cgi?id=216877
>>>
>>>              Bug ID: 216877
>>>             Summary: Regression in PCI powermanagement breaks resume after
>>>                      suspend
>>>      Kernel Version: 6.0.0-rc1
>>>
>>> Created attachment 303512
>>>    --> https://bugzilla.kernel.org/attachment.cgi?id=303512&action=edit
>>> output of git bisect log
>>>
>>> After commit 5e85eba6f50dc288c22083a7e213152bcc4b8208 "PCI/ASPM:
>>> Refactor L1 PM Substates Control Register programming" my Laptop
>>> does not resume PCI devices back from suspend.
> 
> Thomas, could you try the debug patch below on top of v6.2-rc1?
> 

Thank you for that patch Bjorn, but as far as I can see it does not 
change anything.

[-- Attachment #2: dmesg --]
[-- Type: text/plain, Size: 81885 bytes --]

[    0.000000] microcode: microcode updated early to revision 0xf4, date = 2022-07-31
[    0.000000] Linux version 6.2.0-rc1_bisect_1-dirty (pyro@explorer) (gcc (GCC) 12.2.0, GNU ld (GNU Binutils) 2.39) #15 SMP PREEMPT_DYNAMIC Wed Jan  4 09:22:16 CET 2023
[    0.000000] Command line: luks.name=52c9f62f-3dce-46ad-964b-4c3f5bc5b8ca=explorer-root root=UUID=b9a5309f-2e58-4368-b94d-6105c22c383b mem_sleep_default=deep rd.shell=1 splash
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: xstate_offset[3]:  832, xstate_sizes[3]:   64
[    0.000000] x86/fpu: xstate_offset[4]:  896, xstate_sizes[4]:   64
[    0.000000] x86/fpu: Enabled xstate features 0x1f, context size is 960 bytes, using 'compacted' format.
[    0.000000] signal: max sigframe size: 1616
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009f000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x0000000056558fff] usable
[    0.000000] BIOS-e820: [mem 0x0000000056559000-0x0000000056e58fff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000056e59000-0x000000006d06efff] usable
[    0.000000] BIOS-e820: [mem 0x000000006d06f000-0x000000006f2cefff] reserved
[    0.000000] BIOS-e820: [mem 0x000000006f2cf000-0x000000006fbcefff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000006fbcf000-0x000000006fc4efff] ACPI data
[    0.000000] BIOS-e820: [mem 0x000000006fc4f000-0x000000006fc4ffff] usable
[    0.000000] BIOS-e820: [mem 0x000000006fc50000-0x000000007b7fffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000e0000000-0x00000000efffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fe000000-0x00000000fe010fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed10000-0x00000000fed19fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed84000-0x00000000fed84fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ff400000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x00000006827fffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] e820: update [mem 0x4d5a9018-0x4d5b9057] usable ==> usable
[    0.000000] e820: update [mem 0x4d5a9018-0x4d5b9057] usable ==> usable
[    0.000000] extended physical RAM map:
[    0.000000] reserve setup_data: [mem 0x0000000000000000-0x000000000009efff] usable
[    0.000000] reserve setup_data: [mem 0x000000000009f000-0x00000000000fffff] reserved
[    0.000000] reserve setup_data: [mem 0x0000000000100000-0x000000004d5a9017] usable
[    0.000000] reserve setup_data: [mem 0x000000004d5a9018-0x000000004d5b9057] usable
[    0.000000] reserve setup_data: [mem 0x000000004d5b9058-0x0000000056558fff] usable
[    0.000000] reserve setup_data: [mem 0x0000000056559000-0x0000000056e58fff] reserved
[    0.000000] reserve setup_data: [mem 0x0000000056e59000-0x000000006d06efff] usable
[    0.000000] reserve setup_data: [mem 0x000000006d06f000-0x000000006f2cefff] reserved
[    0.000000] reserve setup_data: [mem 0x000000006f2cf000-0x000000006fbcefff] ACPI NVS
[    0.000000] reserve setup_data: [mem 0x000000006fbcf000-0x000000006fc4efff] ACPI data
[    0.000000] reserve setup_data: [mem 0x000000006fc4f000-0x000000006fc4ffff] usable
[    0.000000] reserve setup_data: [mem 0x000000006fc50000-0x000000007b7fffff] reserved
[    0.000000] reserve setup_data: [mem 0x00000000e0000000-0x00000000efffffff] reserved
[    0.000000] reserve setup_data: [mem 0x00000000fe000000-0x00000000fe010fff] reserved
[    0.000000] reserve setup_data: [mem 0x00000000fed10000-0x00000000fed19fff] reserved
[    0.000000] reserve setup_data: [mem 0x00000000fed84000-0x00000000fed84fff] reserved
[    0.000000] reserve setup_data: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[    0.000000] reserve setup_data: [mem 0x00000000ff400000-0x00000000ffffffff] reserved
[    0.000000] reserve setup_data: [mem 0x0000000100000000-0x00000006827fffff] usable
[    0.000000] efi: EFI v2.70 by INSYDE Corp.
[    0.000000] efi: ACPI=0x6fc4e000 ACPI 2.0=0x6fc4e014 TPMFinalLog=0x6fbc6000 SMBIOS=0x6d654000 SMBIOS 3.0=0x6d652000 ESRT=0x6d650e18 INITRD=0x56e6ec98 RNG=0x6fbed018 TPMEventLog=0x56e6b018 
[    0.000000] random: crng init done
[    0.000000] efi: Remove mem68: MMIO range=[0xe0000000-0xefffffff] (256MB) from e820 map
[    0.000000] e820: remove [mem 0xe0000000-0xefffffff] reserved
[    0.000000] efi: Not removing mem69: MMIO range=[0xfe000000-0xfe010fff] (68KB) from e820 map
[    0.000000] efi: Not removing mem70: MMIO range=[0xfed10000-0xfed19fff] (40KB) from e820 map
[    0.000000] efi: Not removing mem71: MMIO range=[0xfed84000-0xfed84fff] (4KB) from e820 map
[    0.000000] efi: Not removing mem72: MMIO range=[0xfee00000-0xfee00fff] (4KB) from e820 map
[    0.000000] efi: Remove mem73: MMIO range=[0xff400000-0xffffffff] (12MB) from e820 map
[    0.000000] e820: remove [mem 0xff400000-0xffffffff] reserved
[    0.000000] SMBIOS 3.2.0 present.
[    0.000000] DMI: TUXEDO InfinityBook S 14 v5/L140CU                          , BIOS 1.07.09RTR1 07/28/2020
[    0.000000] tsc: Detected 2300.000 MHz processor
[    0.000000] tsc: Detected 2299.968 MHz TSC
[    0.000006] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000010] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000022] last_pfn = 0x682800 max_arch_pfn = 0x400000000
[    0.000027] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
[    0.000468] last_pfn = 0x6fc50 max_arch_pfn = 0x400000000
[    0.012290] esrt: Reserving ESRT space from 0x000000006d650e18 to 0x000000006d650e78.
[    0.012310] Using GB pages for direct mapping
[    0.013057] Secure boot enabled
[    0.013058] RAMDISK: [mem 0x4d5ba000-0x4ee56fff]
[    0.013066] ACPI: Early table checksum verification disabled
[    0.013069] ACPI: RSDP 0x000000006FC4E014 000024 (v02 INSYDE)
[    0.013075] ACPI: XSDT 0x000000006FBEF188 0000D4 (v01 INSYDE CML-ULT  00000002      01000013)
[    0.013083] ACPI: FACP 0x000000006FC38000 000114 (v06 INSYDE CML-ULT  00000002 ACPI 00040000)
[    0.013090] ACPI: DSDT 0x000000006FBF4000 040751 (v02 INSYDE CML-ULT  00000002 ACPI 00040000)
[    0.013095] ACPI: FACS 0x000000006FB69000 000040
[    0.013098] ACPI: UEFI 0x000000006FBCE000 000236 (v01 INSYDE H2O BIOS 00000001 ACPI 00040000)
[    0.013102] ACPI: SSDT 0x000000006FC49000 003E69 (v02 DptfTa DptfTabl 00001000 ACPI 00040000)
[    0.013106] ACPI: SSDT 0x000000006FC47000 001B4A (v02 CpuRef CpuSsdt  00003000 ACPI 00040000)
[    0.013110] ACPI: SSDT 0x000000006FC43000 003082 (v02 SaSsdt SaSsdt   00003000 ACPI 00040000)
[    0.013114] ACPI: SSDT 0x000000006FC42000 00077B (v02 INSYDE Tpm2Tabl 00001000 ACPI 00040000)
[    0.013118] ACPI: TPM2 0x000000006FC41000 000034 (v04 INSYDE CML-ULT  00000002 ACPI 00040000)
[    0.013122] ACPI: LPIT 0x000000006FC3F000 000094 (v01 INSYDE CML-ULT  00000002 ACPI 00040000)
[    0.013126] ACPI: WSMT 0x000000006FC3E000 000028 (v01 INSYDE CML-ULT  00000002 ACPI 00040000)
[    0.013130] ACPI: SSDT 0x000000006FC3D000 000B70 (v02 INSYDE PtidDevc 00001000 ACPI 00040000)
[    0.013134] ACPI: DBGP 0x000000006FC3C000 000034 (v01 INSYDE          00000002 ACPI 00040000)
[    0.013138] ACPI: DBG2 0x000000006FC3B000 000054 (v00 INSYDE          00000002 ACPI 00040000)
[    0.013143] ACPI: SSDT 0x000000006FC3A000 0007A2 (v02 INTEL  xh_cmud4 00000000 ACPI 00040000)
[    0.013147] ACPI: NHLT 0x000000006FC39000 00002D (v00 INSYDE CML-ULT  00000002 ACPI 00040000)
[    0.013151] ACPI: HPET 0x000000006FC37000 000038 (v01 INSYDE CML-ULT  00000002 ACPI 00040000)
[    0.013155] ACPI: APIC 0x000000006FC36000 000164 (v03 INSYDE CML-ULT  00000002 ACPI 00040000)
[    0.013159] ACPI: MCFG 0x000000006FC35000 00003C (v01 INSYDE CML-ULT  00000002 ACPI 00040000)
[    0.013162] ACPI: SSDT 0x000000006FBF2000 001E4B (v02 INSYDE CML-ULT  00000002 ACPI 00040000)
[    0.013166] ACPI: DMAR 0x000000006FBF1000 0000A8 (v01 INTEL  EDK2     00000002 ACPI 00040000)
[    0.013170] ACPI: SSDT 0x000000006FBF0000 000164 (v01 INSYDE PcdTabl  00001000 ACPI 00040000)
[    0.013174] ACPI: FPDT 0x000000006FC4D000 000044 (v01 INSYDE CML-ULT  00000002 ACPI 00040000)
[    0.013178] ACPI: BGRT 0x000000006FBEE000 000038 (v01 INSYDE H2O BIOS 00000001 ACPI 00040000)
[    0.013181] ACPI: Reserving FACP table memory at [mem 0x6fc38000-0x6fc38113]
[    0.013184] ACPI: Reserving DSDT table memory at [mem 0x6fbf4000-0x6fc34750]
[    0.013185] ACPI: Reserving FACS table memory at [mem 0x6fb69000-0x6fb6903f]
[    0.013187] ACPI: Reserving UEFI table memory at [mem 0x6fbce000-0x6fbce235]
[    0.013188] ACPI: Reserving SSDT table memory at [mem 0x6fc49000-0x6fc4ce68]
[    0.013190] ACPI: Reserving SSDT table memory at [mem 0x6fc47000-0x6fc48b49]
[    0.013191] ACPI: Reserving SSDT table memory at [mem 0x6fc43000-0x6fc46081]
[    0.013193] ACPI: Reserving SSDT table memory at [mem 0x6fc42000-0x6fc4277a]
[    0.013194] ACPI: Reserving TPM2 table memory at [mem 0x6fc41000-0x6fc41033]
[    0.013196] ACPI: Reserving LPIT table memory at [mem 0x6fc3f000-0x6fc3f093]
[    0.013197] ACPI: Reserving WSMT table memory at [mem 0x6fc3e000-0x6fc3e027]
[    0.013199] ACPI: Reserving SSDT table memory at [mem 0x6fc3d000-0x6fc3db6f]
[    0.013200] ACPI: Reserving DBGP table memory at [mem 0x6fc3c000-0x6fc3c033]
[    0.013202] ACPI: Reserving DBG2 table memory at [mem 0x6fc3b000-0x6fc3b053]
[    0.013203] ACPI: Reserving SSDT table memory at [mem 0x6fc3a000-0x6fc3a7a1]
[    0.013205] ACPI: Reserving NHLT table memory at [mem 0x6fc39000-0x6fc3902c]
[    0.013206] ACPI: Reserving HPET table memory at [mem 0x6fc37000-0x6fc37037]
[    0.013208] ACPI: Reserving APIC table memory at [mem 0x6fc36000-0x6fc36163]
[    0.013209] ACPI: Reserving MCFG table memory at [mem 0x6fc35000-0x6fc3503b]
[    0.013211] ACPI: Reserving SSDT table memory at [mem 0x6fbf2000-0x6fbf3e4a]
[    0.013213] ACPI: Reserving DMAR table memory at [mem 0x6fbf1000-0x6fbf10a7]
[    0.013214] ACPI: Reserving SSDT table memory at [mem 0x6fbf0000-0x6fbf0163]
[    0.013216] ACPI: Reserving FPDT table memory at [mem 0x6fc4d000-0x6fc4d043]
[    0.013217] ACPI: Reserving BGRT table memory at [mem 0x6fbee000-0x6fbee037]
[    0.013430] No NUMA configuration found
[    0.013431] Faking a node at [mem 0x0000000000000000-0x00000006827fffff]
[    0.013437] NODE_DATA(0) allocated [mem 0x6827fc000-0x6827fffff]
[    0.013491] Zone ranges:
[    0.013492]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.013495]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.013497]   Normal   [mem 0x0000000100000000-0x00000006827fffff]
[    0.013499] Movable zone start for each node
[    0.013500] Early memory node ranges
[    0.013501]   node   0: [mem 0x0000000000001000-0x000000000009efff]
[    0.013503]   node   0: [mem 0x0000000000100000-0x0000000056558fff]
[    0.013505]   node   0: [mem 0x0000000056e59000-0x000000006d06efff]
[    0.013507]   node   0: [mem 0x000000006fc4f000-0x000000006fc4ffff]
[    0.013508]   node   0: [mem 0x0000000100000000-0x00000006827fffff]
[    0.013513] Initmem setup node 0 [mem 0x0000000000001000-0x00000006827fffff]
[    0.013519] On node 0, zone DMA: 1 pages in unavailable ranges
[    0.013556] On node 0, zone DMA: 97 pages in unavailable ranges
[    0.017604] On node 0, zone DMA32: 2304 pages in unavailable ranges
[    0.017820] On node 0, zone DMA32: 11232 pages in unavailable ranges
[    0.070852] On node 0, zone Normal: 944 pages in unavailable ranges
[    0.071296] On node 0, zone Normal: 22528 pages in unavailable ranges
[    0.071313] Reserving Intel graphics memory at [mem 0x79800000-0x7b7fffff]
[    0.071772] ACPI: PM-Timer IO Port: 0x1808
[    0.071782] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[    0.071784] ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
[    0.071786] ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
[    0.071787] ACPI: LAPIC_NMI (acpi_id[0x04] high edge lint[0x1])
[    0.071788] ACPI: LAPIC_NMI (acpi_id[0x05] high edge lint[0x1])
[    0.071789] ACPI: LAPIC_NMI (acpi_id[0x06] high edge lint[0x1])
[    0.071790] ACPI: LAPIC_NMI (acpi_id[0x07] high edge lint[0x1])
[    0.071791] ACPI: LAPIC_NMI (acpi_id[0x08] high edge lint[0x1])
[    0.071793] ACPI: LAPIC_NMI (acpi_id[0x09] high edge lint[0x1])
[    0.071794] ACPI: LAPIC_NMI (acpi_id[0x0a] high edge lint[0x1])
[    0.071795] ACPI: LAPIC_NMI (acpi_id[0x0b] high edge lint[0x1])
[    0.071796] ACPI: LAPIC_NMI (acpi_id[0x0c] high edge lint[0x1])
[    0.071797] ACPI: LAPIC_NMI (acpi_id[0x0d] high edge lint[0x1])
[    0.071798] ACPI: LAPIC_NMI (acpi_id[0x0e] high edge lint[0x1])
[    0.071799] ACPI: LAPIC_NMI (acpi_id[0x0f] high edge lint[0x1])
[    0.071800] ACPI: LAPIC_NMI (acpi_id[0x10] high edge lint[0x1])
[    0.071802] ACPI: LAPIC_NMI (acpi_id[0x11] high edge lint[0x1])
[    0.071803] ACPI: LAPIC_NMI (acpi_id[0x12] high edge lint[0x1])
[    0.071804] ACPI: LAPIC_NMI (acpi_id[0x13] high edge lint[0x1])
[    0.071805] ACPI: LAPIC_NMI (acpi_id[0x14] high edge lint[0x1])
[    0.071864] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-119
[    0.071869] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.071871] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.071878] ACPI: Using ACPI (MADT) for SMP configuration information
[    0.071879] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.071883] TSC deadline timer available
[    0.071884] smpboot: Allowing 8 CPUs, 0 hotplug CPUs
[    0.071915] [mem 0x7b800000-0xfdffffff] available for PCI devices
[    0.071919] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[    0.080206] setup_percpu: NR_CPUS:64 nr_cpumask_bits:8 nr_cpu_ids:8 nr_node_ids:1
[    0.080438] percpu: Embedded 44 pages/cpu s141672 r8192 d30360 u262144
[    0.080451] pcpu-alloc: s141672 r8192 d30360 u262144 alloc=1*2097152
[    0.080455] pcpu-alloc: [0] 0 1 2 3 4 5 6 7 
[    0.080488] Fallback order for Node 0: 0 
[    0.080492] Built 1 zonelists, mobility grouping on.  Total pages: 6124210
[    0.080494] Policy zone: Normal
[    0.080495] Kernel command line: luks.name=52c9f62f-3dce-46ad-964b-4c3f5bc5b8ca=explorer-root root=UUID=b9a5309f-2e58-4368-b94d-6105c22c383b mem_sleep_default=deep rd.shell=1 splash
[    0.080553] Unknown kernel command line parameters "splash", will be passed to user space.
[    0.083108] Dentry cache hash table entries: 4194304 (order: 13, 33554432 bytes, linear)
[    0.084353] Inode-cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
[    0.084520] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.084530] software IO TLB: area num 8.
[    0.164834] Memory: 24206836K/24886328K available (14336K kernel code, 1520K rwdata, 3792K rodata, 1956K init, 900K bss, 679232K reserved, 0K cma-reserved)
[    0.164904] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[    0.165583] Dynamic Preempt: voluntary
[    0.165626] rcu: Preemptible hierarchical RCU implementation.
[    0.165627] rcu: 	RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=8.
[    0.165630] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[    0.165632] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8
[    0.165672] NR_IRQS: 4352, nr_irqs: 2048, preallocated irqs: 16
[    0.165951] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.166235] Console: colour dummy device 80x25
[    0.166238] printk: console [tty0] enabled
[    0.166283] ACPI: Core revision 20221020
[    0.166769] hpet: HPET dysfunctional in PC10. Force disabled.
[    0.166771] APIC: Switch to symmetric I/O mode setup
[    0.174030] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x212717146a7, max_idle_ns: 440795291431 ns
[    0.174051] Calibrating delay loop (skipped), value calculated using timer frequency.. 4599.93 BogoMIPS (lpj=2299968)
[    0.174059] pid_max: default: 32768 minimum: 301
[    0.175036] Mount-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.175036] Mountpoint-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.175036] CPU0: Thermal monitoring enabled (TM1)
[    0.175036] process: using mwait in idle threads
[    0.175036] Last level iTLB entries: 4KB 64, 2MB 8, 4MB 8
[    0.175036] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4
[    0.175036] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.175036] Spectre V2 : Mitigation: Enhanced IBRS
[    0.175036] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.175036] Spectre V2 : Spectre v2 / PBRSB-eIBRS: Retire a single CALL on VMEXIT
[    0.175036] RETBleed: Mitigation: Enhanced IBRS
[    0.175036] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[    0.175036] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl
[    0.175036] MMIO Stale Data: Mitigation: Clear CPU buffers
[    0.175036] SRBDS: Mitigation: Microcode
[    0.175036] Freeing SMP alternatives memory: 36K
[    0.175036] smpboot: CPU0: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz (family: 0x6, model: 0x8e, stepping: 0xc)
[    0.175036] Performance Events: PEBS fmt3+, Skylake events, 32-deep LBR, full-width counters, Intel PMU driver.
[    0.175036] ... version:                4
[    0.175036] ... bit width:              48
[    0.175036] ... generic registers:      4
[    0.175036] ... value mask:             0000ffffffffffff
[    0.175036] ... max period:             00007fffffffffff
[    0.175036] ... fixed-purpose events:   3
[    0.175036] ... event mask:             000000070000000f
[    0.175036] Estimated ratio of average max frequency by base frequency (times 1024): 1914
[    0.175036] rcu: Hierarchical SRCU implementation.
[    0.175036] rcu: 	Max phase no-delay instances is 400.
[    0.175036] smp: Bringing up secondary CPUs ...
[    0.175036] x86: Booting SMP configuration:
[    0.175036] .... node  #0, CPUs:      #1 #2 #3 #4
[    0.185547] MMIO Stale Data CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/processor_mmio_stale_data.html for more details.
[    0.185547]  #5 #6 #7
[    0.193350] smp: Brought up 1 node, 8 CPUs
[    0.193350] smpboot: Max logical packages: 1
[    0.193350] smpboot: Total of 8 processors activated (36799.48 BogoMIPS)
[    0.194911] devtmpfs: initialized
[    0.195176] ACPI: PM: Registering ACPI NVS region [mem 0x6f2cf000-0x6fbcefff] (9437184 bytes)
[    0.195235] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.195241] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.195338] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.195430] audit: initializing netlink subsys (disabled)
[    0.195441] audit: type=2000 audit(1672821284.021:1): state=initialized audit_enabled=0 res=1
[    0.195441] thermal_sys: Registered thermal governor 'step_wise'
[    0.195441] thermal_sys: Registered thermal governor 'user_space'
[    0.195441] cpuidle: using governor menu
[    0.195441] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
[    0.195441] PCI: not using MMCONFIG
[    0.195441] PCI: Using configuration type 1 for base access
[    0.196039] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[    0.196089] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.196089] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[    0.196118] cryptd: max_cpu_qlen set to 1000
[    0.196118] fbcon: Taking over console
[    0.196118] ACPI: Added _OSI(Module Device)
[    0.196118] ACPI: Added _OSI(Processor Device)
[    0.196118] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.196118] ACPI: Added _OSI(Processor Aggregator Device)
[    0.250899] ACPI: 9 ACPI AML tables successfully acquired and loaded
[    0.293060] ACPI: Dynamic OEM Table Load:
[    0.293074] ACPI: SSDT 0xFFFF920A400C3E00 0000F4 (v02 PmRef  Cpu0Psd  00003000 INTL 20160422)
[    0.294047] ACPI: \_SB_.PR00: _OSC native thermal LVT Acked
[    0.295608] ACPI: Dynamic OEM Table Load:
[    0.295619] ACPI: SSDT 0xFFFF920A403BE000 000400 (v02 PmRef  Cpu0Cst  00003001 INTL 20160422)
[    0.296696] ACPI: Dynamic OEM Table Load:
[    0.296706] ACPI: SSDT 0xFFFF920A40AE2000 0005A2 (v02 PmRef  Cpu0Ist  00003000 INTL 20160422)
[    0.297855] ACPI: Dynamic OEM Table Load:
[    0.297863] ACPI: SSDT 0xFFFF920A40145400 00011B (v02 PmRef  Cpu0Hwp  00003000 INTL 20160422)
[    0.298872] ACPI: Dynamic OEM Table Load:
[    0.298883] ACPI: SSDT 0xFFFF920A4007D000 000BE2 (v02 PmRef  HwpLvt   00003000 INTL 20160422)
[    0.300154] ACPI: Dynamic OEM Table Load:
[    0.300164] ACPI: SSDT 0xFFFF920A40AE3000 000778 (v02 PmRef  ApIst    00003000 INTL 20160422)
[    0.301363] ACPI: Dynamic OEM Table Load:
[    0.301372] ACPI: SSDT 0xFFFF920A403BE800 0003D7 (v02 PmRef  ApHwp    00003000 INTL 20160422)
[    0.302582] ACPI: Dynamic OEM Table Load:
[    0.302593] ACPI: SSDT 0xFFFF920A40800000 000D74 (v02 PmRef  ApPsd    00003000 INTL 20160422)
[    0.303448] ACPI: Dynamic OEM Table Load:
[    0.303457] ACPI: SSDT 0xFFFF920A40808000 0003CA (v02 PmRef  ApCst    00003000 INTL 20160422)
[    0.308224] ACPI: EC: EC started
[    0.308226] ACPI: EC: interrupt blocked
[    0.311474] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
[    0.311478] ACPI: \_SB_.PCI0.LPCB.EC__: Boot DSDT EC used to handle transactions
[    0.311480] ACPI: Interpreter enabled
[    0.311527] ACPI: PM: (supports S0 S3 S5)
[    0.311529] ACPI: Using IOAPIC for interrupt routing
[    0.311578] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
[    0.313055] PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in ACPI motherboard resources
[    0.313055] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.313055] PCI: Using E820 reservations for host bridge windows
[    0.313671] ACPI: Enabled 8 GPEs in block 00 to 7F
[    0.319717] ACPI: \_SB_.PCI0.XDCI.USBC: New power resource
[    0.319902] ACPI: \_SB_.PCI0.PAUD: New power resource
[    0.322921] ACPI: \_SB_.PCI0.RP08.PXSX.WRST: New power resource
[    0.322983] ACPI: \_SB_.PCI0.RP08.PXSX.DRST: New power resource
[    0.328356] ACPI: \_SB_.PCI0.SAT0.VOL0.V0PR: New power resource
[    0.328548] ACPI: \_SB_.PCI0.SAT0.VOL1.V1PR: New power resource
[    0.328735] ACPI: \_SB_.PCI0.SAT0.VOL2.V2PR: New power resource
[    0.331162] ACPI: \_SB_.PCI0.CNVW.WRST: New power resource
[    0.335171] ACPI: \PIN_: New power resource
[    0.335563] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-fe])
[    0.335572] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]
[    0.336889] acpi PNP0A08:00: _OSC: OS now controls [PME PCIeCapability LTR]
[    0.337606] PCI host bridge to bus 0000:00
[    0.337608] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.337612] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.337614] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.337616] pci_bus 0000:00: root bus resource [mem 0x7b800000-0xdfffffff window]
[    0.337618] pci_bus 0000:00: root bus resource [mem 0xfc800000-0xfe7fffff window]
[    0.337621] pci_bus 0000:00: root bus resource [bus 00-fe]
[    0.337719] pci 0000:00:00.0: [8086:9b61] type 00 class 0x060000
[    0.337824] pci 0000:00:02.0: [8086:9b41] type 00 class 0x030000
[    0.337838] pci 0000:00:02.0: reg 0x10: [mem 0x90000000-0x90ffffff 64bit]
[    0.337847] pci 0000:00:02.0: reg 0x18: [mem 0x80000000-0x8fffffff 64bit pref]
[    0.337853] pci 0000:00:02.0: reg 0x20: [io  0x3000-0x303f]
[    0.337875] pci 0000:00:02.0: BAR 2: assigned to efifb
[    0.337880] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    0.338084] pci 0000:00:04.0: [8086:1903] type 00 class 0x118000
[    0.338098] pci 0000:00:04.0: reg 0x10: [mem 0x91410000-0x91417fff 64bit]
[    0.338448] pci 0000:00:12.0: [8086:02f9] type 00 class 0x118000
[    0.338472] pci 0000:00:12.0: reg 0x10: [mem 0x91420000-0x91420fff 64bit]
[    0.338673] pci 0000:00:14.0: [8086:02ed] type 00 class 0x0c0330
[    0.338693] pci 0000:00:14.0: reg 0x10: [mem 0x91400000-0x9140ffff 64bit]
[    0.338768] pci 0000:00:14.0: PME# supported from D3hot D3cold
[    0.339146] pci 0000:00:14.2: [8086:02ef] type 00 class 0x050000
[    0.339169] pci 0000:00:14.2: reg 0x10: [mem 0x9141c000-0x9141dfff 64bit]
[    0.339184] pci 0000:00:14.2: reg 0x18: [mem 0x91421000-0x91421fff 64bit]
[    0.339412] pci 0000:00:15.0: [8086:02e8] type 00 class 0x0c8000
[    0.339507] pci 0000:00:15.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    0.340180] pci 0000:00:15.2: [8086:02ea] type 00 class 0x0c8000
[    0.340274] pci 0000:00:15.2: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    0.340877] pci 0000:00:17.0: [8086:02d3] type 00 class 0x010601
[    0.340895] pci 0000:00:17.0: reg 0x10: [mem 0x9141e000-0x9141ffff]
[    0.340905] pci 0000:00:17.0: reg 0x14: [mem 0x91428000-0x914280ff]
[    0.340915] pci 0000:00:17.0: reg 0x18: [io  0x3080-0x3087]
[    0.340926] pci 0000:00:17.0: reg 0x1c: [io  0x3088-0x308b]
[    0.340935] pci 0000:00:17.0: reg 0x20: [io  0x3060-0x307f]
[    0.340945] pci 0000:00:17.0: reg 0x24: [mem 0x91427000-0x914277ff]
[    0.340996] pci 0000:00:17.0: PME# supported from D3hot
[    0.341354] pci 0000:00:1c.0: [8086:02bd] type 01 class 0x060400
[    0.341450] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
[    0.342096] pci 0000:00:1c.7: [8086:02bf] type 01 class 0x060400
[    0.342192] pci 0000:00:1c.7: PME# supported from D0 D3hot D3cold
[    0.342809] pci 0000:00:1d.0: [8086:02b0] type 01 class 0x060400
[    0.342927] pci 0000:00:1d.0: PME# supported from D0 D3hot D3cold
[    0.343595] pci 0000:00:1f.0: [8086:0284] type 00 class 0x060100
[    0.344093] pci 0000:00:1f.3: [8086:02c8] type 00 class 0x040300
[    0.344146] pci 0000:00:1f.3: reg 0x10: [mem 0x91418000-0x9141bfff 64bit]
[    0.344211] pci 0000:00:1f.3: reg 0x20: [mem 0x91000000-0x910fffff 64bit]
[    0.344340] pci 0000:00:1f.3: PME# supported from D3hot D3cold
[    0.344996] pci 0000:00:1f.4: [8086:02a3] type 00 class 0x0c0500
[    0.345024] pci 0000:00:1f.4: reg 0x10: [mem 0x91425000-0x914250ff 64bit]
[    0.345062] pci 0000:00:1f.4: reg 0x20: [io  0x3040-0x305f]
[    0.345323] pci 0000:00:1f.5: [8086:02a4] type 00 class 0x0c8000
[    0.345341] pci 0000:00:1f.5: reg 0x10: [mem 0xfe010000-0xfe010fff]
[    0.345504] pci 0000:01:00.0: [10ec:522a] type 00 class 0xff0000
[    0.345523] pci 0000:01:00.0: reg 0x10: [mem 0x91300000-0x91300fff]
[    0.345665] pci 0000:01:00.0: supports D1 D2
[    0.345667] pci 0000:01:00.0: PME# supported from D1 D2 D3hot D3cold
[    0.345849] pci 0000:00:1c.0: PCI bridge to [bus 01]
[    0.345855] pci 0000:00:1c.0:   bridge window [mem 0x91300000-0x913fffff]
[    0.346094] pci 0000:02:00.0: [8086:2723] type 00 class 0x028000
[    0.346168] pci 0000:02:00.0: reg 0x10: [mem 0x91200000-0x91203fff 64bit]
[    0.346517] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    0.347308] pci 0000:00:1c.7: PCI bridge to [bus 02]
[    0.347314] pci 0000:00:1c.7:   bridge window [mem 0x91200000-0x912fffff]
[    0.347536] pci 0000:03:00.0: [144d:a808] type 00 class 0x010802
[    0.347559] pci 0000:03:00.0: reg 0x10: [mem 0x91100000-0x91103fff 64bit]
[    0.348025] pci 0000:00:1d.0: PCI bridge to [bus 03]
[    0.348031] pci 0000:00:1d.0:   bridge window [mem 0x91100000-0x911fffff]
[    0.363949] ACPI: EC: interrupt unblocked
[    0.363951] ACPI: EC: event unblocked
[    0.363970] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
[    0.363971] ACPI: EC: GPE=0x50
[    0.363973] ACPI: \_SB_.PCI0.LPCB.EC__: Boot DSDT EC initialization complete
[    0.363976] ACPI: \_SB_.PCI0.LPCB.EC__: EC: Used to handle transactions and events
[    0.364055] iommu: Default domain type: Translated 
[    0.364057] iommu: DMA domain TLB invalidation policy: lazy mode 
[    0.364115] SCSI subsystem initialized
[    0.364119] ACPI: bus type USB registered
[    0.364133] usbcore: registered new interface driver usbfs
[    0.364139] usbcore: registered new interface driver hub
[    0.364147] usbcore: registered new device driver usb
[    0.364205] Registered efivars operations
[    0.365136] PCI: Using ACPI for IRQ routing
[    0.409313] PCI: pci_cache_line_size set to 64 bytes
[    0.410001] e820: reserve RAM buffer [mem 0x0009f000-0x0009ffff]
[    0.410004] e820: reserve RAM buffer [mem 0x4d5a9018-0x4fffffff]
[    0.410006] e820: reserve RAM buffer [mem 0x56559000-0x57ffffff]
[    0.410008] e820: reserve RAM buffer [mem 0x6d06f000-0x6fffffff]
[    0.410010] e820: reserve RAM buffer [mem 0x6fc50000-0x6fffffff]
[    0.410011] e820: reserve RAM buffer [mem 0x682800000-0x683ffffff]
[    0.410051] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    0.410051] pci 0000:00:02.0: vgaarb: bridge control possible
[    0.410051] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.410059] vgaarb: loaded
[    0.412100] clocksource: Switched to clocksource tsc-early
[    0.412198] pnp: PnP ACPI init
[    0.412303] system 00:00: [mem 0x40000000-0x403fffff] could not be reserved
[    0.412572] system 00:01: [io  0x1800-0x18fe] has been reserved
[    0.412576] system 00:01: [mem 0xfd000000-0xfd69ffff] has been reserved
[    0.412579] system 00:01: [mem 0xfd6b0000-0xfd6cffff] has been reserved
[    0.412581] system 00:01: [mem 0xfd6f0000-0xfdffffff] has been reserved
[    0.412583] system 00:01: [mem 0xfe000000-0xfe01ffff] could not be reserved
[    0.412585] system 00:01: [mem 0xfe200000-0xfe7fffff] has been reserved
[    0.412588] system 00:01: [mem 0xff000000-0xffffffff] has been reserved
[    0.412960] system 00:02: [io  0x2000-0x20fe] has been reserved
[    0.413042] system 00:03: [io  0x3322-0x3323] has been reserved
[    0.413196] system 00:05: [io  0x1854-0x1857] has been reserved
[    0.413705] system 00:08: [mem 0xfed10000-0xfed17fff] has been reserved
[    0.413709] system 00:08: [mem 0xfed18000-0xfed18fff] has been reserved
[    0.413711] system 00:08: [mem 0xfed19000-0xfed19fff] has been reserved
[    0.413713] system 00:08: [mem 0xe0000000-0xefffffff] has been reserved
[    0.413715] system 00:08: [mem 0xfed20000-0xfed3ffff] has been reserved
[    0.413717] system 00:08: [mem 0xfed90000-0xfed93fff] has been reserved
[    0.413719] system 00:08: [mem 0xfed45000-0xfed8ffff] could not be reserved
[    0.413722] system 00:08: [mem 0xfee00000-0xfeefffff] could not be reserved
[    0.414125] system 00:09: [mem 0xfe038000-0xfe038fff] has been reserved
[    0.414400] pnp: PnP ACPI: found 10 devices
[    0.420190] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.420263] NET: Registered PF_INET protocol family
[    0.420484] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.425068] tcp_listen_portaddr_hash hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    0.425118] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.425139] TCP established hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.425487] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
[    0.425905] TCP: Hash tables configured (established 262144 bind 65536)
[    0.425934] UDP hash table entries: 16384 (order: 7, 524288 bytes, linear)
[    0.426014] UDP-Lite hash table entries: 16384 (order: 7, 524288 bytes, linear)
[    0.426127] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.426505] resource: avoiding allocation from e820 entry [mem 0x0009f000-0x000fffff]
[    0.426509] pci 0000:00:15.0: BAR 0: assigned [mem 0x7b800000-0x7b800fff 64bit]
[    0.426576] resource: avoiding allocation from e820 entry [mem 0x0009f000-0x000fffff]
[    0.426578] pci 0000:00:15.2: BAR 0: assigned [mem 0x7b801000-0x7b801fff 64bit]
[    0.426636] pci 0000:00:1c.0: PCI bridge to [bus 01]
[    0.426641] pci 0000:00:1c.0:   bridge window [mem 0x91300000-0x913fffff]
[    0.426649] pci 0000:00:1c.7: PCI bridge to [bus 02]
[    0.426653] pci 0000:00:1c.7:   bridge window [mem 0x91200000-0x912fffff]
[    0.426660] pci 0000:00:1d.0: PCI bridge to [bus 03]
[    0.426671] pci 0000:00:1d.0:   bridge window [mem 0x91100000-0x911fffff]
[    0.426679] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    0.426682] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    0.426684] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[    0.426687] pci_bus 0000:00: resource 7 [mem 0x7b800000-0xdfffffff window]
[    0.426689] pci_bus 0000:00: resource 8 [mem 0xfc800000-0xfe7fffff window]
[    0.426691] pci_bus 0000:01: resource 1 [mem 0x91300000-0x913fffff]
[    0.426693] pci_bus 0000:02: resource 1 [mem 0x91200000-0x912fffff]
[    0.426696] pci_bus 0000:03: resource 1 [mem 0x91100000-0x911fffff]
[    0.429238] PCI: CLS 64 bytes, default 64
[    0.429249] DMAR: Host address width 39
[    0.429251] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[    0.429265] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap 1c0000c40660462 ecap 19e2ff0505e
[    0.429268] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[    0.429275] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 ecap f050da
[    0.429278] DMAR: RMRR base: 0x0000006f119000 end: 0x0000006f138fff
[    0.429280] DMAR: RMRR base: 0x00000079000000 end: 0x0000007b7fffff
[    0.429290] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.429291] software IO TLB: mapped [mem 0x0000000068100000-0x000000006c100000] (64MB)
[    0.429295] Unpacking initramfs...
[    0.437120] RAPL PMU: API unit is 2^-32 Joules, 5 fixed counters, 655360 ms ovfl timer
[    0.437124] RAPL PMU: hw unit of domain pp0-core 2^-14 Joules
[    0.437125] RAPL PMU: hw unit of domain package 2^-14 Joules
[    0.437126] RAPL PMU: hw unit of domain dram 2^-14 Joules
[    0.437127] RAPL PMU: hw unit of domain pp1-gpu 2^-14 Joules
[    0.437129] RAPL PMU: hw unit of domain psys 2^-14 Joules
[    0.439278] Initialise system trusted keyrings
[    0.439319] workingset: timestamp_bits=40 max_order=23 bucket_order=0
[    0.439399] ntfs: driver 2.1.32 [Flags: R/W].
[    0.452532] xor: automatically using best checksumming function   avx       
[    0.452534] async_tx: api initialized (async)
[    0.452536] Key type asymmetric registered
[    0.452538] Asymmetric key parser 'x509' registered
[    0.452546] io scheduler mq-deadline registered
[    0.452547] io scheduler kyber registered
[    0.453045] pcieport 0000:00:1c.0: PME: Signaling with IRQ 120
[    0.453300] pcieport 0000:00:1c.7: PME: Signaling with IRQ 121
[    0.453577] pcieport 0000:00:1d.0: PME: Signaling with IRQ 122
[    0.455894] ACPI: AC: AC Adapter [AC] (on-line)
[    0.455973] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
[    0.456010] ACPI: button: Power Button [PWRB]
[    0.456049] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1
[    0.456075] ACPI: button: Sleep Button [SLPB]
[    0.456106] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input2
[    0.456127] ACPI: button: Lid Switch [LID0]
[    0.456157] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
[    0.456177] ACPI: button: Power Button [PWRF]
[    0.458490] thermal LNXTHERM:00: registered as thermal_zone0
[    0.458493] ACPI: thermal: Thermal Zone [TZ0] (25 C)
[    0.458640] Non-volatile memory driver v1.3
[    0.458642] Linux agpgart interface v0.103
[    0.458720] ACPI: bus type drm_connector registered
[    0.459474] ACPI: battery: Slot [BAT0] (battery present)
[    0.459802] i915 0000:00:02.0: vgaarb: deactivate vga console
[    0.461160] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    0.498071] i915 0000:00:02.0: [drm] [ENCODER:102:DDI B/PHY B] is disabled/in DSI mode with an ungated DDI clock, gate it
[    0.500769] i915 0000:00:02.0: [drm] [ENCODER:117:DDI C/PHY C] is disabled/in DSI mode with an ungated DDI clock, gate it
[    1.485096] tsc: Refined TSC clocksource calibration: 2304.000 MHz
[    1.485107] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2135f7c97c8, max_idle_ns: 440795273205 ns
[    1.485331] clocksource: Switched to clocksource tsc
[    1.669387] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[    1.672175] ACPI: video: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    1.672329] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input4
[    1.674376] loop: module loaded
[    1.674618] nvme 0000:03:00.0: platform quirk: setting simple suspend
[    1.674642] usbcore: registered new interface driver usb-storage
[    1.674695] nvme nvme0: pci function 0000:03:00.0
[    1.674696] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[    1.675128] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    1.675206] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[    1.676345] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x110 quirks 0x0000000000009810
[    1.676607] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    1.676647] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[    1.676651] xhci_hcd 0000:00:14.0: Host supports USB 3.1 Enhanced SuperSpeed
[    1.676687] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.02
[    1.676691] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.676693] usb usb1: Product: xHCI Host Controller
[    1.676695] usb usb1: Manufacturer: Linux 6.2.0-rc1_bisect_1-dirty xhci-hcd
[    1.676696] usb usb1: SerialNumber: 0000:00:14.0
[    1.676823] hub 1-0:1.0: USB hub found
[    1.676838] hub 1-0:1.0: 12 ports detected
[    1.677469] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.02
[    1.677473] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.677475] usb usb2: Product: xHCI Host Controller
[    1.677477] usb usb2: Manufacturer: Linux 6.2.0-rc1_bisect_1-dirty xhci-hcd
[    1.677479] usb usb2: SerialNumber: 0000:00:14.0
[    1.677560] hub 2-0:1.0: USB hub found
[    1.677577] hub 2-0:1.0: 6 ports detected
[    1.677786] usb: port power management may be unreliable
[    1.681600] nvme nvme0: missing or invalid SUBNQN field.
[    1.681623] nvme nvme0: Shutdown timeout set to 8 seconds
[    1.692784] nvme nvme0: 8/0/0 default/read/poll queues
[    1.696255]  nvme0n1: p1 p2
[    1.703512] fbcon: i915drmfb (fb0) is primary device
[    1.718159] Console: switching to colour frame buffer device 240x67
[    1.737276] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[    1.919093] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    2.304402] i8042: Detected active multiplexing controller, rev 1.1
[    2.306229] serio: i8042 KBD port at 0x60,0x64 irq 1
[    2.306235] serio: i8042 AUX0 port at 0x60,0x64 irq 12
[    2.306278] serio: i8042 AUX1 port at 0x60,0x64 irq 12
[    2.306301] serio: i8042 AUX2 port at 0x60,0x64 irq 12
[    2.306319] serio: i8042 AUX3 port at 0x60,0x64 irq 12
[    2.306561] rtc_cmos 00:04: RTC can wake from S4
[    2.307956] rtc_cmos 00:04: registered as rtc0
[    2.308007] rtc_cmos 00:04: alarms up to one month, y3k, 242 bytes nvram
[    2.308432] i801_smbus 0000:00:1f.4: SPD Write Disable is set
[    2.308525] i801_smbus 0000:00:1f.4: SMBus using PCI interrupt
[    2.309002] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input5
[    2.309893] i2c i2c-6: 2/2 memory slots populated (from DMI)
[    2.310701] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[    2.310775] intel_pstate: Intel P-state driver initializing
[    2.311353] intel_pstate: HWP enabled
[    2.311368] hid: raw HID events driver (C) Jiri Kosina
[    2.311377] usbcore: registered new interface driver usbhid
[    2.311378] usbhid: USB HID core driver
[    2.311794] Initializing XFRM netlink socket
[    2.311803] NET: Registered PF_INET6 protocol family
[    2.311952] Segment Routing with IPv6
[    2.311956] In-situ OAM (IOAM) with IPv6
[    2.311971] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.312062] NET: Registered PF_PACKET protocol family
[    2.312066] Key type dns_resolver registered
[    2.324119] microcode: Microcode Update Driver: v2.2.
[    2.324122] IPI shorthand broadcast: enabled
[    2.324853] sched_clock: Marking stable (2316259183, 7858675)->(2377657916, -53540058)
[    2.325012] registered taskstats version 1
[    2.325013] Loading compiled-in X.509 certificates
[    2.326986] Loaded X.509 cert 'Build time autogenerated kernel key: 91705af3ca0ab9ab2bdcd21e99917aa1581d0f65'
[    2.328023] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    2.762432] Freeing initrd memory: 25204K
[    2.762521] i915 0000:00:02.0: Direct firmware load for i915/kbl_dmc_ver1_04.bin failed with error -2
[    2.762526] i915 0000:00:02.0: [drm] Failed to load DMC firmware i915/kbl_dmc_ver1_04.bin. Disabling runtime power management.
[    2.762527] i915 0000:00:02.0: [drm] DMC firmware homepage: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
[    2.764001] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    2.764279] Freeing unused kernel image (initmem) memory: 1956K
[    2.764407] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    2.764409] cfg80211: failed to load regulatory.db
[    2.778199] Write protecting the kernel read-only data: 18432k
[    2.778531] Freeing unused kernel image (rodata/data gap) memory: 304K
[    2.778535] Run /init as init process
[    2.778535]   with arguments:
[    2.778535]     /init
[    2.778536]     splash
[    2.778536]   with environment:
[    2.778537]     HOME=/
[    2.778537]     TERM=linux
[    2.780423] systemd[1]: Failed to find module 'autofs4'
[    2.845751] systemd[1]: systemd 252 running in system mode (+PAM -AUDIT -SELINUX -APPARMOR -IMA -SMACK +SECCOMP -GCRYPT -GNUTLS +OPENSSL +ACL +BLKID -CURL +ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 +BZIP2 -LZ4 +XZ +ZLIB -ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP -SYSVINIT default-hierarchy=unified)
[    2.845756] systemd[1]: Detected architecture x86-64.
[    2.845757] systemd[1]: Running in initrd.
[    2.845831] systemd[1]: No hostname configured, using default hostname.
[    2.845854] systemd[1]: Hostname set to <localhost>.
[    2.845883] systemd[1]: Initializing machine ID from random generator.
[    2.886233] systemd[1]: Queued start job for default target initrd.target.
[    2.893434] systemd[1]: Created slice system-systemd\x2dcryptsetup.slice - Slice /system/systemd-cryptsetup.
[    2.893522] systemd[1]: Reached target initrd-usr-fs.target - Initrd /usr File System.
[    2.893554] systemd[1]: Reached target local-fs.target - Local File Systems.
[    2.893587] systemd[1]: Reached target slices.target - Slice Units.
[    2.893615] systemd[1]: Reached target swap.target - Swaps.
[    2.893639] systemd[1]: Reached target timers.target - Timer Units.
[    2.893702] systemd[1]: Listening on dbus.socket - D-Bus System Message Bus Socket.
[    2.893788] systemd[1]: Listening on systemd-journald-audit.socket - Journal Audit Socket.
[    2.893852] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[    2.893918] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[    2.893985] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[    2.894046] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[    2.894079] systemd[1]: Reached target sockets.target - Socket Units.
[    2.894461] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
[    2.894537] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    2.894538] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    2.894824] systemd[1]: Starting systemd-journald.service - Journal Service...
[    2.894909] systemd[1]: systemd-modules-load.service - Load Kernel Modules was skipped because no trigger condition checks were met.
[    2.895301] systemd[1]: Starting systemd-sysctl.service - Apply Kernel Variables...
[    2.895708] systemd[1]: Starting systemd-vconsole-setup.service - Setup Virtual Console...
[    2.896292] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
[    2.896709] systemd[1]: Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev...
[    2.899178] systemd[1]: Finished systemd-sysctl.service - Apply Kernel Variables.
[    2.899972] systemd[1]: Finished systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev.
[    2.907430] systemd[1]: Finished systemd-vconsole-setup.service - Setup Virtual Console.
[    2.907526] systemd[1]: dracut-cmdline-ask.service - dracut ask for additional cmdline parameters was skipped because no trigger condition checks were met.
[    2.907963] systemd[1]: Starting dracut-cmdline.service - dracut cmdline hook...
[    2.917598] systemd[1]: Started systemd-journald.service - Journal Service.
[    3.101809] rtsx_pci 0000:01:00.0: enabling device (0000 -> 0002)
[    3.105442] AVX2 version of gcm_enc/dec engaged.
[    3.105481] AES CTR mode by8 optimization enabled
[    3.355415] psmouse serio2: elantech: assuming hardware version 4 (with firmware version 0x4f1001)
[    3.451221] psmouse serio2: elantech: Synaptics capabilities query result 0x00, 0x18, 0x0f.
[    3.546851] psmouse serio2: elantech: Elan sample query result 00, 52, 85
[    3.644308] psmouse serio2: elantech: Elan ic body: 0x10, current fw version: 0x2
[    3.835997] psmouse serio2: elantech: The touchpad can support a better bus than the too old PS/2 protocol. Make sure MOUSE_PS2_ELANTECH_SMBUS and MOUSE_ELAN_I2C_SMBUS are enabled to get a better touchpad experience.
[    3.957219] input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio2/input/input11
[    7.423149] usb 1-1: device descriptor read/64, error -110
[    7.651474] usb 1-1: New USB device found, idVendor=abcd, idProduct=1234, bcdDevice= 1.00
[    7.651487] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.651492] usb 1-1: Product: UDisk           
[    7.651497] usb 1-1: Manufacturer: General 
[    7.651500] usb 1-1: SerialNumber: Љ
[    7.652621] usb-storage 1-1:1.0: USB Mass Storage device detected
[    7.653149] scsi host0: usb-storage 1-1:1.0
[    7.767095] usb 1-7: new high-speed USB device number 3 using xhci_hcd
[    7.967076] usb 1-7: New USB device found, idVendor=04f2, idProduct=b684, bcdDevice= 0.02
[    7.967081] usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.967083] usb 1-7: Product: Chicony USB2.0 Camera
[    7.967085] usb 1-7: Manufacturer: SunplusIT Inc
[    7.967086] usb 1-7: SerialNumber: 01.00.00
[    8.096082] usb 1-10: new full-speed USB device number 4 using xhci_hcd
[    8.223610] usb 1-10: New USB device found, idVendor=8087, idProduct=0029, bcdDevice= 0.01
[    8.223617] usb 1-10: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    8.717273] scsi 0:0:0:0: Direct-Access     General  UDisk            5.00 PQ: 0 ANSI: 2
[    8.717612] sd 0:0:0:0: [sda] 7866368 512-byte logical blocks: (4.03 GB/3.75 GiB)
[    8.717743] sd 0:0:0:0: [sda] Write Protect is off
[    8.717746] sd 0:0:0:0: [sda] Mode Sense: 0b 00 00 08
[    8.717870] sd 0:0:0:0: [sda] No Caching mode page found
[    8.717872] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    8.769819]  sda: sda1
[    8.770024] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    9.129109] audit: type=1338 audit(1672821292.952:2): module=integrity op=ctr ppid=1 pid=357 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="systemd-cryptse" exe="/usr/x86_64-pc-linux-gnu/lib/systemd/systemd-cryptsetup" dev=254:0 error_msg='success' res=1
[    9.129237] audit: type=1300 audit(1672821292.952:2): arch=c000003e syscall=16 success=yes exit=0 a0=4 a1=c138fd09 a2=55845f44a290 a3=578a2d7f2f891618 items=6 ppid=1 pid=357 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="systemd-cryptse" exe="/usr/x86_64-pc-linux-gnu/lib/systemd/systemd-cryptsetup" key=(null)
[    9.129240] audit: type=1307 audit(1672821292.952:2): cwd="/"
[    9.129242] audit: type=1302 audit(1672821292.952:2): item=0 name=(null) inode=10 dev=00:06 mode=040755 ouid=0 ogid=0 rdev=00:00 nametype=PARENT cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0
[    9.129244] audit: type=1302 audit(1672821292.952:2): item=1 name=(null) inode=8242 dev=00:06 mode=040755 ouid=0 ogid=0 rdev=00:00 nametype=CREATE cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0
[    9.129245] audit: type=1302 audit(1672821292.952:2): item=2 name=(null) inode=6 dev=00:06 mode=040755 ouid=0 ogid=0 rdev=00:00 nametype=PARENT cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0
[    9.129247] audit: type=1302 audit(1672821292.952:2): item=3 name=(null) inode=8243 dev=00:06 mode=040755 ouid=0 ogid=0 rdev=00:00 nametype=CREATE cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0
[    9.129249] audit: type=1302 audit(1672821292.952:2): item=4 name=(null) inode=8243 dev=00:06 mode=040755 ouid=0 ogid=0 rdev=00:00 nametype=PARENT cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0
[    9.129250] audit: type=1302 audit(1672821292.952:2): item=5 name=(null) inode=8244 dev=00:06 mode=0100444 ouid=0 ogid=0 rdev=00:00 nametype=CREATE cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0
[    9.129252] audit: type=1327 audit(1672821292.952:2): proctitle=2F7573722F7838365F36342D70632D6C696E75782D676E752F6C69622F73797374656D642F73797374656D642D6372797074736574757000617474616368006578706C6F7265722D726F6F74002F6465762F6469736B2F62792D757569642F35326339663632662D336463652D343661642D393634622D346333663562633562
[    9.901053] EXT4-fs (dm-1): mounted filesystem b9a5309f-2e58-4368-b94d-6105c22c383b with ordered data mode. Quota mode: disabled.
[    9.992202] systemd-journald[136]: Received SIGTERM from PID 1 (systemd).
[   10.043403] systemd[1]: Failed to find module 'autofs4'
[   10.046712] systemd[1]: systemd 252 running in system mode (+PAM -AUDIT -SELINUX -APPARMOR -IMA -SMACK +SECCOMP -GCRYPT -GNUTLS +OPENSSL +ACL +BLKID -CURL +ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 +BZIP2 -LZ4 +XZ +ZLIB -ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP -SYSVINIT default-hierarchy=unified)
[   10.046717] systemd[1]: Detected architecture x86-64.
[   10.048017] systemd[1]: Hostname set to <explorer>.
[   10.140149] systemd[1]: initrd-switch-root.service: Deactivated successfully.
[   10.140210] systemd[1]: Stopped initrd-switch-root.service - Switch Root.
[   10.140342] systemd[1]: systemd-journald.service: Scheduled restart job, restart counter is at 1.
[   10.140476] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
[   10.140569] systemd[1]: Created slice user.slice - User and Session Slice.
[   10.140588] systemd[1]: systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch was skipped because of an unmet condition check (ConditionPathExists=!/run/plymouth/pid).
[   10.140611] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[   10.140632] systemd[1]: Starting of proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point unsupported.
[   10.140646] systemd[1]: Reached target blockdev@dev-mapper-explorer\x2droot.target - Block Device Preparation for /dev/mapper/explorer-root.
[   10.140658] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes.
[   10.140671] systemd[1]: Reached target getty.target - Login Prompts.
[   10.140686] systemd[1]: Stopped target initrd-switch-root.target - Switch Root.
[   10.140700] systemd[1]: Stopped target initrd-fs.target - Initrd File Systems.
[   10.140709] systemd[1]: Stopped target initrd-root-fs.target - Initrd Root File System.
[   10.140721] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[   10.140740] systemd[1]: Reached target slices.target - Slice Units.
[   10.140755] systemd[1]: Reached target swap.target - Swaps.
[   10.140771] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[   10.141414] systemd[1]: Listening on systemd-coredump.socket - Process Core Dump Socket.
[   10.141573] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[   10.141624] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[   10.153372] systemd[1]: Mounting dev-hugepages.mount - Huge Pages File System...
[   10.153800] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
[   10.154282] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
[   10.154344] systemd[1]: sys-kernel-tracing.mount - Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
[   10.154831] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
[   10.155318] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
[   10.155827] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
[   10.156256] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse...
[   10.156301] systemd[1]: plymouth-switch-root.service: Deactivated successfully.
[   10.156330] systemd[1]: Stopped plymouth-switch-root.service - Plymouth switch root service.
[   10.156383] systemd[1]: Stopped systemd-journald.service - Journal Service.
[   10.156849] systemd[1]: Starting systemd-journald.service - Journal Service...
[   10.157287] systemd[1]: systemd-modules-load.service - Load Kernel Modules was skipped because no trigger condition checks were met.
[   10.157886] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
[   10.158611] systemd[1]: Starting systemd-sysctl.service - Apply Kernel Variables...
[   10.159414] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[   10.160975] systemd[1]: Mounted dev-hugepages.mount - Huge Pages File System.
[   10.161078] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[   10.161167] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[   10.161360] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
[   10.161541] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[   10.161624] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs.
[   10.161771] systemd[1]: modprobe@drm.service: Deactivated successfully.
[   10.161842] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm.
[   10.161999] systemd[1]: sys-kernel-config.mount - Kernel Configuration File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/config).
[   10.164852] fuse: init (API version 7.38)
[   10.164881] systemd[1]: Finished systemd-sysctl.service - Apply Kernel Variables.
[   10.165202] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[   10.165273] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module fuse.
[   10.165874] systemd[1]: Mounting sys-fs-fuse-connections.mount - FUSE Control File System...
[   10.169865] systemd[1]: Mounted sys-fs-fuse-connections.mount - FUSE Control File System.
[   10.170452] EXT4-fs (dm-1): re-mounted b9a5309f-2e58-4368-b94d-6105c22c383b. Quota mode: disabled.
[   10.170914] systemd[1]: Finished systemd-remount-fs.service - Remount Root and Kernel File Systems.
[   10.170971] systemd[1]: systemd-firstboot.service - First Boot Wizard was skipped because of an unmet condition check (ConditionFirstBoot=yes).
[   10.171255] systemd[1]: systemd-hwdb-update.service - Rebuild Hardware Database was skipped because of an unmet condition check (ConditionNeedsUpdate=/etc).
[   10.171673] systemd[1]: Starting systemd-random-seed.service - Load/Save Random Seed...
[   10.171721] systemd[1]: systemd-sysusers.service - Create System Users was skipped because no trigger condition checks were met.
[   10.172138] systemd[1]: Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev...
[   10.182848] systemd[1]: Started systemd-journald.service - Journal Service.
[   10.186504] systemd-journald[652]: Received client request to flush runtime journal.
[   10.188432] systemd-journald[652]: File /var/log/journal/ca53b4b6d065429cba272d4846911585/system.journal corrupted or uncleanly shut down, renaming and replacing.
[   10.392547] mc: Linux media interface: v0.10
[   10.394427] Intel(R) Wireless WiFi driver for Linux
[   10.394655] iwlwifi 0000:02:00.0: enabling device (0000 -> 0002)
[   10.397519] Bluetooth: Core ver 2.22
[   10.400585] NET: Registered PF_BLUETOOTH protocol family
[   10.400587] Bluetooth: HCI device and connection manager initialized
[   10.400591] Bluetooth: HCI socket layer initialized
[   10.400593] Bluetooth: L2CAP socket layer initialized
[   10.400597] Bluetooth: SCO socket layer initialized
[   10.413696] iwlwifi 0000:02:00.0: api flags index 2 larger than supported by driver
[   10.413707] iwlwifi 0000:02:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37
[   10.413886] iwlwifi 0000:02:00.0: loaded firmware version 72.daa05125.0 cc-a0-72.ucode op_mode iwlmvm
[   10.415912] videodev: Linux video capture interface: v2.00
[   10.445814] iwlwifi 0000:02:00.0: Detected Intel(R) Wi-Fi 6 AX200 160MHz, REV=0x340
[   10.445863] thermal thermal_zone2: failed to read out thermal zone (-61)
[   10.446083] usbcore: registered new interface driver btusb
[   10.458712] intel_rapl_common: Found RAPL domain package
[   10.458714] intel_rapl_common: Found RAPL domain core
[   10.458715] intel_rapl_common: Found RAPL domain uncore
[   10.458716] intel_rapl_common: Found RAPL domain dram
[   10.458717] intel_rapl_common: Found RAPL domain psys
[   10.458723] intel_rapl_common: RAPL package-0 domain dram locked by BIOS
[   10.463067] usb 1-7: Found UVC 1.50 device Chicony USB2.0 Camera (04f2:b684)
[   10.466023] Bluetooth: hci0: Found device firmware: intel/ibt-20-1-3.sfi
[   10.466115] Bluetooth: hci0: Boot Address: 0x24800
[   10.466117] Bluetooth: hci0: Firmware Version: 106-39.22
[   10.466119] Bluetooth: hci0: Firmware already loaded
[   10.479316] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[   10.479435] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops 0xffffffffae48c840)
[   10.521928] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC293: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[   10.521932] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   10.521934] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
[   10.521935] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[   10.521936] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[   10.521937] snd_hda_codec_realtek hdaudioC0D0:      Headset Mic=0x1a
[   10.521938] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
[   10.531080] input: Chicony USB2.0 Camera: Chicony  as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/input/input14
[   10.534670] usb 1-7: Found UVC 1.50 device Chicony USB2.0 Camera (04f2:b684)
[   10.551141] input: Chicony USB2.0 Camera: IR Camer as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.2/input/input15
[   10.551165] usbcore: registered new interface driver uvcvideo
[   10.565681] snd_hda_codec_generic hdaudioC0D2: autoconfig for Generic: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
[   10.565687] snd_hda_codec_generic hdaudioC0D2:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   10.565690] snd_hda_codec_generic hdaudioC0D2:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   10.565693] snd_hda_codec_generic hdaudioC0D2:    mono: mono_out=0x0
[   10.565694] snd_hda_codec_generic hdaudioC0D2:    dig-out=0x3/0x0
[   10.565696] snd_hda_codec_generic hdaudioC0D2:    inputs:
[   10.567577] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input16
[   10.567603] input: HDA Intel PCH HDMI as /devices/pci0000:00/0000:00:1f.3/sound/card0/input17
[   10.570810] iwlwifi 0000:02:00.0: Detected RF HR B3, rfid=0x10a100
[   10.635987] iwlwifi 0000:02:00.0: base HW address: e0:d4:e8:19:b2:d4
[   10.652653] iwlwifi 0000:02:00.0 wlp2s0: renamed from wlan0
[   14.635901] Bluetooth: MGMT ver 1.22
[   14.639831] NET: Registered PF_ALG protocol family
[   14.816634] kauditd_printk_skb: 13 callbacks suppressed
[   14.816636] audit: type=1006 audit(1672821298.641:5): pid=849 uid=0 old-auid=4294967295 auid=991 tty=tty1 old-ses=4294967295 ses=1 res=1
[   14.816638] audit: type=1300 audit(1672821298.641:5): arch=c000003e syscall=1 success=yes exit=3 a0=a a1=7ffd1ece65a0 a2=3 a3=7fe7f5e78500 items=0 ppid=848 pid=849 auid=991 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=1 comm="greetd" exe="/usr/x86_64-pc-linux-gnu/bin/greetd" key=(null)
[   14.816640] audit: type=1327 audit(1672821298.641:5): proctitle=2F7573722F7838365F36342D70632D6C696E75782D676E752F62696E2F677265657464002D2D73657373696F6E2D776F726B6572003131
[   14.838661] audit: type=1006 audit(1672821298.663:6): pid=851 uid=0 old-auid=4294967295 auid=991 tty=(none) old-ses=4294967295 ses=2 res=1
[   14.838666] audit: type=1300 audit(1672821298.663:6): arch=c000003e syscall=1 success=yes exit=3 a0=8 a1=7ffccd3824b0 a2=3 a3=7f577f1d3500 items=0 ppid=1 pid=851 auid=991 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=2 comm="(systemd)" exe="/usr/x86_64-pc-linux-gnu/lib/systemd/systemd" key=(null)
[   14.838668] audit: type=1327 audit(1672821298.663:6): proctitle="(systemd)"
[   21.132197] audit: type=1006 audit(1672821304.957:7): pid=926 uid=0 old-auid=4294967295 auid=1000 tty=tty1 old-ses=4294967295 ses=3 res=1
[   21.132201] audit: type=1300 audit(1672821304.957:7): arch=c000003e syscall=1 success=yes exit=4 a0=b a1=7ffc81772d20 a2=4 a3=7fa28e736500 items=0 ppid=848 pid=926 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=3 comm="greetd" exe="/usr/x86_64-pc-linux-gnu/bin/greetd" key=(null)
[   21.132204] audit: type=1327 audit(1672821304.957:7): proctitle=2F7573722F7838365F36342D70632D6C696E75782D676E752F62696E2F677265657464002D2D73657373696F6E2D776F726B6572003132
[   21.157245] audit: type=1006 audit(1672821304.982:8): pid=928 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=4 res=1
[   21.157250] audit: type=1300 audit(1672821304.982:8): arch=c000003e syscall=1 success=yes exit=4 a0=8 a1=7ffccd3824b0 a2=4 a3=7f577f1d3500 items=0 ppid=1 pid=928 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4 comm="(systemd)" exe="/usr/x86_64-pc-linux-gnu/lib/systemd/systemd" key=(null)
[   21.157251] audit: type=1327 audit(1672821304.982:8): proctitle="(systemd)"
[   21.192724] systemd-journald[652]: File /var/log/journal/ca53b4b6d065429cba272d4846911585/user-1000.journal corrupted or uncleanly shut down, renaming and replacing.
[   21.332841] audit: type=1701 audit(1672821305.157:9): auid=1000 uid=1000 gid=1000 ses=4 pid=935 comm="nextcloud" exe="/usr/x86_64-pc-linux-gnu/bin/nextcloud" sig=6 res=1
[   21.874192] Bluetooth: RFCOMM socket layer initialized
[   21.874199] Bluetooth: RFCOMM ver 1.11
[   27.064076] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   27.400236] wlp2s0: authenticate with c8:0e:14:78:79:8e
[   27.403942] wlp2s0: send auth to c8:0e:14:78:79:8e (try 1/3)
[   28.303396] iwlwifi 0000:02:00.0: Not associated and the session protection is over already...
[   28.303476] wlp2s0: Connection to AP c8:0e:14:78:79:8e lost
[   29.437843] wlp2s0: send auth to c8:0e:14:78:79:8e (try 2/3)
[   29.455583] wlp2s0: authenticate with c8:0e:14:78:79:8e
[   29.455596] wlp2s0: send auth to c8:0e:14:78:79:8e (try 1/3)
[   29.578516] wlp2s0: authenticated
[   29.579106] wlp2s0: associate with c8:0e:14:78:79:8e (try 1/3)
[   29.582613] wlp2s0: RX AssocResp from c8:0e:14:78:79:8e (capab=0x1511 status=0 aid=5)
[   29.586797] wlp2s0: associated
[   29.665851] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
[   29.683904] wlp2s0: Limiting TX power to 27 (30 - 3) dBm as advertised by c8:0e:14:78:79:8e
[   95.300714] wlp2s0: deauthenticating from c8:0e:14:78:79:8e by local choice (Reason: 3=DEAUTH_LEAVING)
[   95.441224] PM: suspend entry (deep)
[   95.459037] Filesystems sync: 0.017 seconds
[   95.462292] Freezing user space processes
[   95.463497] Freezing user space processes completed (elapsed 0.001 seconds)
[   95.463506] OOM killer disabled.
[   95.463509] Freezing remaining freezable tasks
[   95.464448] Freezing remaining freezable tasks completed (elapsed 0.000 seconds)
[   95.464503] printk: Suspending console(s) (use no_console_suspend to debug)
[   97.089086] ACPI: EC: interrupt blocked
[   97.114801] ACPI: PM: Preparing to enter system sleep state S3
[   97.120813] ACPI: EC: event blocked
[   97.120815] ACPI: EC: EC stopped
[   97.120815] ACPI: PM: Saving platform NVS memory
[   97.120845] Disabling non-boot CPUs ...
[   97.122104] smpboot: CPU 1 is now offline
[   97.123551] smpboot: CPU 2 is now offline
[   97.124969] smpboot: CPU 3 is now offline
[   97.126418] smpboot: CPU 4 is now offline
[   97.127972] smpboot: CPU 5 is now offline
[   97.129310] smpboot: CPU 6 is now offline
[   97.130701] smpboot: CPU 7 is now offline
[   97.139598] ACPI: PM: Low-level resume complete
[   97.139654] ACPI: EC: EC started
[   97.139654] ACPI: PM: Restoring platform NVS memory
[   97.140553] Enabling non-boot CPUs ...
[   97.140588] x86: Booting SMP configuration:
[   97.140589] smpboot: Booting Node 0 Processor 1 APIC 0x2
[   97.149808] CPU1 is up
[   97.149845] smpboot: Booting Node 0 Processor 2 APIC 0x4
[   97.150490] CPU2 is up
[   97.150499] smpboot: Booting Node 0 Processor 3 APIC 0x6
[   97.151141] CPU3 is up
[   97.151151] smpboot: Booting Node 0 Processor 4 APIC 0x1
[   97.151910] CPU4 is up
[   97.151921] smpboot: Booting Node 0 Processor 5 APIC 0x3
[   97.152460] CPU5 is up
[   97.152470] smpboot: Booting Node 0 Processor 6 APIC 0x5
[   97.153107] CPU6 is up
[   97.153116] smpboot: Booting Node 0 Processor 7 APIC 0x7
[   97.153662] CPU7 is up
[   97.155936] ACPI: PM: Waking up from system sleep state S3
[   97.161309] ACPI: EC: interrupt unblocked
[   97.204290] iwlwifi 0000:02:00.0: Unable to change power state from D3hot to D0, device inaccessible
[   97.254429] nvme 0000:03:00.0: Unable to change power state from D3hot to D0, device inaccessible
[   97.318448] ACPI: EC: event unblocked
[   97.319948] iwlwifi 0000:02:00.0: Error, can not clear persistence bit
[   97.319951] iwlwifi 0000:02:00.0: mac start retry 0
[   97.319960] iwlwifi 0000:02:00.0: Error, can not clear persistence bit
[   97.319961] iwlwifi 0000:02:00.0: mac start retry 1
[   97.319970] iwlwifi 0000:02:00.0: Error, can not clear persistence bit
[   97.319970] iwlwifi 0000:02:00.0: mac start retry 2
[   97.319971] ------------[ cut here ]------------
[   97.319972] Hardware became unavailable upon resume. This could be a software issue prior to suspend or a hardware issue.
[   97.319978] nvme 0000:03:00.0: Unable to change power state from D3cold to D0, device inaccessible
[   97.319983] WARNING: CPU: 0 PID: 1308 at net/mac80211/util.c:2586 ieee80211_reconfig+0x8f/0xe20
[   97.319988] Modules linked in: rfcomm algif_hash algif_skcipher af_alg snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio led_class snd_hda_intel coretemp snd_intel_dspcfg uvcvideo intel_rapl_msr snd_hda_codec hwmon videobuf2_vmalloc snd_hda_core btusb intel_rapl_common videobuf2_memops iwlmvm videobuf2_v4l2 btbcm snd_pcm videodev snd_timer btintel videobuf2_common x86_pkg_temp_thermal bluetooth iwlwifi mc snd soundcore ecdh_generic fuse rtsx_pci_sdmmc mmc_core sha512_ssse3 aesni_intel rtsx_pci mfd_core efivarfs
[   97.320010] CPU: 0 PID: 1308 Comm: kworker/u16:39 Not tainted 6.2.0-rc1_bisect_1-dirty #15
[   97.320012] Hardware name: TUXEDO InfinityBook S 14 v5/L140CU                          , BIOS 1.07.09RTR1 07/28/2020
[   97.320013] Workqueue: events_unbound async_run_entry_fn
[   97.320017] RIP: 0010:ieee80211_reconfig+0x8f/0xe20
[   97.320019] Code: 0c 02 00 00 c6 83 8d 05 00 00 00 48 89 df e8 b8 32 fc ff 41 89 c4 85 c0 0f 84 1d 02 00 00 48 c7 c7 f8 8c 74 ae e8 96 ce 04 00 <0f> 0b eb 2d 84 c0 0f 85 58 01 00 00 c6 87 8d 05 00 00 00 e8 89 32
[   97.320020] RSP: 0018:ffff9d2281adfdc0 EFLAGS: 00010282
[   97.320022] RAX: 0000000000000000 RBX: ffff920a470008c0 RCX: 0000000000000027
[   97.320023] RDX: ffff920faa61b348 RSI: 0000000000000001 RDI: ffff920faa61b340
[   97.320024] RBP: ffff920a470003a0 R08: 80000000ffffe371 R09: ffff9d2281adfd58
[   97.320025] R10: 0000000000000001 R11: ffffffffffffffff R12: 00000000ffffffff
[   97.320026] R13: ffff920a47000598 R14: ffffffffadf43570 R15: ffff920a4005a005
[   97.320027] FS:  0000000000000000(0000) GS:ffff920faa600000(0000) knlGS:0000000000000000
[   97.320028] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   97.320029] CR2: 00007f497a082350 CR3: 00000002ffe0c003 CR4: 00000000003706f0
[   97.320030] Call Trace:
[   97.320031]  <TASK>
[   97.320032]  ? select_task_rq_fair+0x12f/0xf90
[   97.320036]  ? __pfx_wiphy_resume+0x10/0x10
[   97.320039]  wiphy_resume+0x7e/0xb0
[   97.320041]  device_resume+0x86/0x190
[   97.320044]  async_resume+0x14/0x30
[   97.320046]  async_run_entry_fn+0x18/0xa0
[   97.320048]  process_one_work+0x1c3/0x310
[   97.320050]  worker_thread+0x45/0x3b0
[   97.320052]  ? __pfx_worker_thread+0x10/0x10
[   97.320053]  kthread+0xd2/0x100
[   97.320055]  ? __pfx_kthread+0x10/0x10
[   97.320057]  ret_from_fork+0x29/0x50
[   97.320060] nvme nvme0: Disabling device after reset failure: -19
[   97.320062]  </TASK>
[   97.320062] ---[ end trace 0000000000000000 ]---
[   97.320079] nvme0n1: detected capacity change from 488397168 to 0
[   97.320152] ------------[ cut here ]------------
[   97.320206] wlp2s0: Failed check-sdata-in-driver check, flags: 0x0
[   97.320212] WARNING: CPU: 0 PID: 1308 at net/mac80211/driver-ops.c:99 drv_remove_interface+0x71/0x80
[   97.320233] Modules linked in: rfcomm algif_hash algif_skcipher af_alg snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio led_class snd_hda_intel coretemp snd_intel_dspcfg uvcvideo intel_rapl_msr snd_hda_codec hwmon videobuf2_vmalloc snd_hda_core btusb intel_rapl_common videobuf2_memops iwlmvm videobuf2_v4l2 btbcm snd_pcm videodev snd_timer btintel videobuf2_common x86_pkg_temp_thermal bluetooth iwlwifi mc snd soundcore ecdh_generic fuse rtsx_pci_sdmmc mmc_core sha512_ssse3 aesni_intel rtsx_pci mfd_core efivarfs
[   97.320331] CPU: 0 PID: 1308 Comm: kworker/u16:39 Tainted: G        W          6.2.0-rc1_bisect_1-dirty #15
[   97.320332] Hardware name: TUXEDO InfinityBook S 14 v5/L140CU                          , BIOS 1.07.09RTR1 07/28/2020
[   97.320333] Workqueue: events_unbound async_run_entry_fn
[   97.320334] RIP: 0010:drv_remove_interface+0x71/0x80
[   97.320357] Code: 75 f0 48 8b 83 00 05 00 00 48 8d b3 20 05 00 00 48 c7 c7 f0 7c 74 ae c6 05 31 e4 9e 00 01 48 85 c0 48 0f 45 f0 e8 94 99 08 00 <0f> 0b 5b 5d c3 cc cc cc cc 66 0f 1f 44 00 00 90 90 90 90 90 90 90
[   97.320358] RSP: 0018:ffff9d2281adfca0 EFLAGS: 00010286
[   97.320359] RAX: 0000000000000000 RBX: ffff920a865b0900 RCX: 0000000000000027
[   97.320359] RDX: ffff920faa61b348 RSI: 0000000000000001 RDI: ffff920faa61b340
[   97.320381] RBP: ffff920a470008c0 R08: 80000000ffffe396 R09: 0000000000ffff10
[   97.320382] R10: 0000000000000000 R11: ffffffffffffffff R12: ffff920a470008c0
[   97.320382] R13: ffff920a865b1840 R14: ffff920a470011c0 R15: 0000000000000000
[   97.320383] FS:  0000000000000000(0000) GS:ffff920faa600000(0000) knlGS:0000000000000000
[   97.320384] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   97.320406] CR2: 00007f497a082350 CR3: 00000002ffe0c003 CR4: 00000000003706f0
[   97.320407] Call Trace:
[   97.320407]  <TASK>
[   97.320408]  ieee80211_do_stop+0x61d/0x850
[   97.320431]  ? dev_reset_queue+0x18/0x90
[   97.320433]  ? __pfx_wiphy_resume+0x10/0x10
[   97.320435]  ieee80211_stop+0x44/0x170
[   97.320457]  ? __pfx_wiphy_resume+0x10/0x10
[   97.320459]  __dev_close_many+0x96/0x110
[   97.320462]  dev_close_many+0x76/0x120
[   97.320464]  ? __pfx_wiphy_resume+0x10/0x10
[   97.320466]  dev_close+0x58/0x70
[   97.320469]  cfg80211_shutdown_all_interfaces+0x44/0xe0
[   97.320471]  wiphy_resume+0x97/0xb0
[   97.320473]  device_resume+0x86/0x190
[   97.320475]  async_resume+0x14/0x30
[   97.320477]  async_run_entry_fn+0x18/0xa0
[   97.320478]  process_one_work+0x1c3/0x310
[   97.320480]  worker_thread+0x45/0x3b0
[   97.320482]  ? __pfx_worker_thread+0x10/0x10
[   97.320483]  kthread+0xd2/0x100
[   97.320485]  ? __pfx_kthread+0x10/0x10
[   97.320487]  ret_from_fork+0x29/0x50
[   97.320488]  </TASK>
[   97.320489] ---[ end trace 0000000000000000 ]---
[   97.320610] ------------[ cut here ]------------
[   97.320610] WARNING: CPU: 0 PID: 1308 at net/mac80211/driver-ops.c:38 drv_stop+0x52/0x60
[   97.320613] Modules linked in: rfcomm algif_hash algif_skcipher af_alg snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio led_class snd_hda_intel coretemp snd_intel_dspcfg uvcvideo intel_rapl_msr snd_hda_codec hwmon videobuf2_vmalloc snd_hda_core btusb intel_rapl_common videobuf2_memops iwlmvm videobuf2_v4l2 btbcm snd_pcm videodev snd_timer btintel videobuf2_common x86_pkg_temp_thermal bluetooth iwlwifi mc snd soundcore ecdh_generic fuse rtsx_pci_sdmmc mmc_core sha512_ssse3 aesni_intel rtsx_pci mfd_core efivarfs
[   97.320625] CPU: 0 PID: 1308 Comm: kworker/u16:39 Tainted: G        W          6.2.0-rc1_bisect_1-dirty #15
[   97.320626] Hardware name: TUXEDO InfinityBook S 14 v5/L140CU                          , BIOS 1.07.09RTR1 07/28/2020
[   97.320626] Workqueue: events_unbound async_run_entry_fn
[   97.320628] RIP: 0010:drv_stop+0x52/0x60
[   97.320629] Code: b8 05 00 00 f0 ff 83 c8 05 00 00 e8 88 b1 6e ff f0 83 44 24 fc 00 f0 ff 8b c8 05 00 00 c6 83 8d 05 00 00 00 5b c3 cc cc cc cc <0f> 0b 5b c3 cc cc cc cc 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90
[   97.320630] RSP: 0018:ffff9d2281adfca8 EFLAGS: 00010246
[   97.320631] RAX: 0000000000000000 RBX: ffff920a470008c0 RCX: 0000000000000002
[   97.320631] RDX: 0000000080000000 RSI: 0000000000000286 RDI: ffff920a470008c0
[   97.320632] RBP: ffff920a47001af0 R08: 0000000000000400 R09: 0000000000000001
[   97.320633] R10: 0000000000000001 R11: 0000000000000001 R12: ffff920a470008c0
[   97.320634] R13: ffff920a865b1840 R14: ffff920a470011c0 R15: 0000000000000000
[   97.320635] FS:  0000000000000000(0000) GS:ffff920faa600000(0000) knlGS:0000000000000000
[   97.320636] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   97.320637] CR2: 00007f497a082350 CR3: 00000002ffe0c003 CR4: 00000000003706f0
[   97.320638] Call Trace:
[   97.320638]  <TASK>
[   97.320639]  ieee80211_do_stop+0x64f/0x850
[   97.320640]  ? dev_reset_queue+0x18/0x90
[   97.320641]  ? __pfx_wiphy_resume+0x10/0x10
[   97.320643]  ieee80211_stop+0x44/0x170
[   97.320644]  ? __pfx_wiphy_resume+0x10/0x10
[   97.320646]  __dev_close_many+0x96/0x110
[   97.320648]  dev_close_many+0x76/0x120
[   97.320650]  ? __pfx_wiphy_resume+0x10/0x10
[   97.320651]  dev_close+0x58/0x70
[   97.320653]  cfg80211_shutdown_all_interfaces+0x44/0xe0
[   97.320655]  wiphy_resume+0x97/0xb0
[   97.320657]  device_resume+0x86/0x190
[   97.320658]  async_resume+0x14/0x30
[   97.320660]  async_run_entry_fn+0x18/0xa0
[   97.320661]  process_one_work+0x1c3/0x310
[   97.320662]  worker_thread+0x45/0x3b0
[   97.320664]  ? __pfx_worker_thread+0x10/0x10
[   97.320665]  kthread+0xd2/0x100
[   97.320666]  ? __pfx_kthread+0x10/0x10
[   97.320668]  ret_from_fork+0x29/0x50
[   97.320669]  </TASK>
[   97.320669] ---[ end trace 0000000000000000 ]---
[   97.320725] ieee80211 phy0: PM: dpm_run_callback(): wiphy_resume+0x0/0xb0 returns -1
[   97.320730] ieee80211 phy0: PM: failed to resume async: error -1
[   97.320798] i915 0000:00:02.0: [drm] [ENCODER:94:DDI A/PHY A] is disabled/in DSI mode with an ungated DDI clock, gate it
[   97.321109] i915 0000:00:02.0: [drm] [ENCODER:102:DDI B/PHY B] is disabled/in DSI mode with an ungated DDI clock, gate it
[   97.322318] i915 0000:00:02.0: [drm] [ENCODER:117:DDI C/PHY C] is disabled/in DSI mode with an ungated DDI clock, gate it
[   97.604002] usb 1-10: reset full-speed USB device number 4 using xhci_hcd
[   97.844005] usb 1-7: reset high-speed USB device number 3 using xhci_hcd
[   98.030168] OOM killer enabled.
[   98.030170] Restarting tasks ... done.
[   98.031321] random: crng reseeded on system resumption
[   98.031443] thermal thermal_zone2: failed to read out thermal zone (-61)
[   98.032739] PM: suspend exit
[   98.035412] device-mapper: integrity: Error on writing journal: -5
[   98.036184] EXT4-fs warning (device dm-1): ext4_end_bio:343: I/O error 10 writing to inode 10228310 starting block 16644608)
[   98.036189] Buffer I/O error on device dm-1, logical block 16644608
[   98.036266] Aborting journal on device dm-1-8.
[   98.036281] Buffer I/O error on dev dm-1, logical block 28344320, lost sync page write
[   98.036285] JBD2: I/O error when updating journal superblock for dm-1-8.
[   98.036299] EXT4-fs error (device dm-1): ext4_journal_check_start:83: comm journal-offline: Detected aborted journal
[   98.036317] Buffer I/O error on dev dm-1, logical block 0, lost sync page write
[   98.036319] EXT4-fs (dm-1): I/O error while writing superblock
[   98.036321] EXT4-fs (dm-1): Remounting filesystem read-only
[   98.062333] iwlwifi 0000:02:00.0: Error, can not clear persistence bit
[   98.062338] iwlwifi 0000:02:00.0: mac start retry 0
[   98.062343] iwlwifi 0000:02:00.0: Error, can not clear persistence bit
[   98.062344] iwlwifi 0000:02:00.0: mac start retry 1
[   98.062348] iwlwifi 0000:02:00.0: Error, can not clear persistence bit
[   98.062349] iwlwifi 0000:02:00.0: mac start retry 2
[   98.063187] iwlwifi 0000:02:00.0: Error, can not clear persistence bit
[   98.063190] iwlwifi 0000:02:00.0: mac start retry 0
[   98.063195] iwlwifi 0000:02:00.0: Error, can not clear persistence bit
[   98.063197] iwlwifi 0000:02:00.0: mac start retry 1
[   98.063202] iwlwifi 0000:02:00.0: Error, can not clear persistence bit
[   98.063204] iwlwifi 0000:02:00.0: mac start retry 2
[   98.063323] iwlwifi 0000:02:00.0: Error, can not clear persistence bit
[   98.063324] iwlwifi 0000:02:00.0: mac start retry 0
[   98.063328] iwlwifi 0000:02:00.0: Error, can not clear persistence bit
[   98.063329] iwlwifi 0000:02:00.0: mac start retry 1
[   98.063332] iwlwifi 0000:02:00.0: Error, can not clear persistence bit
[   98.063333] iwlwifi 0000:02:00.0: mac start retry 2
[   98.342811] Bluetooth: hci0: Bootloader revision 0.3 build 0 week 24 2017
[   98.343811] Bluetooth: hci0: Device revision is 1
[   98.343820] Bluetooth: hci0: Secure boot is enabled
[   98.343823] Bluetooth: hci0: OTP lock is enabled
[   98.343827] Bluetooth: hci0: API lock is enabled
[   98.343829] Bluetooth: hci0: Debug lock is disabled
[   98.343832] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[   98.343841] Bluetooth: hci0: Found device firmware: intel/ibt-20-1-3.sfi
[   98.344142] Bluetooth: hci0: Boot Address: 0x24800
[   98.344148] Bluetooth: hci0: Firmware Version: 106-39.22
[  100.164761] Bluetooth: hci0: Waiting for firmware download to complete
[  100.165849] Bluetooth: hci0: Firmware loaded in 1779334 usecs
[  100.165925] Bluetooth: hci0: Waiting for device to boot
[  100.183847] Bluetooth: hci0: Device booted in 17573 usecs
[  100.183897] bluetooth hci0: loading /lib/firmware/intel/ibt-20-1-3.ddc failed with error -5
[  100.183899] Bluetooth: hci0: Failed to load Intel DDC file intel/ibt-20-1-3.ddc (-5)
[  100.184923] Bluetooth: hci0: Firmware revision 0.3 build 106 week 39 2022
[  100.250088] Bluetooth: MGMT ver 1.22
[  108.029114] iwlwifi 0000:02:00.0: Error, can not clear persistence bit
[  108.029130] iwlwifi 0000:02:00.0: mac start retry 0
[  108.029154] iwlwifi 0000:02:00.0: Error, can not clear persistence bit
[  108.029159] iwlwifi 0000:02:00.0: mac start retry 1
[  108.029181] iwlwifi 0000:02:00.0: Error, can not clear persistence bit
[  108.029185] iwlwifi 0000:02:00.0: mac start retry 2
[  108.029567] iwlwifi 0000:02:00.0: Error, can not clear persistence bit
[  108.029577] iwlwifi 0000:02:00.0: mac start retry 0
[  108.029598] iwlwifi 0000:02:00.0: Error, can not clear persistence bit
[  108.029602] iwlwifi 0000:02:00.0: mac start retry 1
[  108.029623] iwlwifi 0000:02:00.0: Error, can not clear persistence bit
[  108.029627] iwlwifi 0000:02:00.0: mac start retry 2

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

* Re: [Bug 216877] New: Regression in PCI powermanagement breaks resume after suspend
  2023-01-04  8:44     ` Thomas Witt
@ 2023-01-04 15:02       ` Bjorn Helgaas
  2023-01-04 15:37         ` Thomas Witt
  0 siblings, 1 reply; 7+ messages in thread
From: Bjorn Helgaas @ 2023-01-04 15:02 UTC (permalink / raw)
  To: Thomas Witt; +Cc: Vidya Sagar, Thomas Witt, linux-kernel, linux-pci

On Wed, Jan 04, 2023 at 09:44:25AM +0100, Thomas Witt wrote:
> On 04/01/2023 01:30, Bjorn Helgaas wrote:
> > On Mon, Jan 02, 2023 at 11:15:16AM -0600, Bjorn Helgaas wrote:
> > > On Mon, Jan 02, 2023 at 02:02:51PM +0000, bugzilla-daemon@kernel.org wrote:
> > > > https://bugzilla.kernel.org/show_bug.cgi?id=216877
> > > > 
> > > >              Bug ID: 216877
> > > >             Summary: Regression in PCI powermanagement breaks resume after
> > > >                      suspend
> > > >      Kernel Version: 6.0.0-rc1

BTW, if the bisect is correct, I think the regression actually is in
v6.1-rc1, where 5e85eba6f50d ("PCI/ASPM: Refactor L1 PM Substates
Control Register programming") appeared. 

> > > > Created attachment 303512
> > > >    --> https://bugzilla.kernel.org/attachment.cgi?id=303512&action=edit
> > > > output of git bisect log
> > > > 
> > > > After commit 5e85eba6f50dc288c22083a7e213152bcc4b8208 "PCI/ASPM:
> > > > Refactor L1 PM Substates Control Register programming" my Laptop
> > > > does not resume PCI devices back from suspend.
> > 
> > Thomas, could you try the debug patch below on top of v6.2-rc1?
> 
> Thank you for that patch Bjorn, but as far as I can see it does not change
> anything.

Thanks for testing it.  Maybe Vidya will have more ideas.  The patch
below (based on v6.2-rc1) would revert 5e85eba6f50d and 4ff116d0d5fd.
If 5e85eba6f50d is the culprit, it should fix the regression.  It
would also potentially break L1 substates after resume, so we'd like
to avoid reverting it if possible.

But the "Unable to change power state from D3hot to D0, device
inaccessible" symptom suggests that the device is still in D3, which
would be more like a wakeup issue than an ASPM issue. 

Your bisect log said 3e347969a577 ("PCI/PM: Reduce D3hot delay with
usleep_range()") was "good", but it would be worth double-checking,
e.g., see if reverting it from v6.2-rc1 makes any difference.

Bjorn

commit 61de2691d549 ("Revert "PCI/ASPM: Refactor L1 PM Substates Control Register programming"")
parent 1b929c02afd3
Author: Bjorn Helgaas <bhelgaas@google.com>
Date:   Wed Jan 4 08:38:53 2023 -0600

    Revert "PCI/ASPM: Refactor L1 PM Substates Control Register programming"
    
    This reverts 5e85eba6f50d ("PCI/ASPM: Refactor L1 PM Substates Control
    Register programming") and 4ff116d0d5fd ("PCI/ASPM: Save L1 PM Substates
    Capability for suspend/resume").

diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index fba95486caaf..5641786bd020 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -1665,7 +1665,6 @@ int pci_save_state(struct pci_dev *dev)
 		return i;
 
 	pci_save_ltr_state(dev);
-	pci_save_aspm_l1ss_state(dev);
 	pci_save_dpc_state(dev);
 	pci_save_aer_state(dev);
 	pci_save_ptm_state(dev);
@@ -1772,7 +1771,6 @@ void pci_restore_state(struct pci_dev *dev)
 	 * LTR itself (in the PCIe capability).
 	 */
 	pci_restore_ltr_state(dev);
-	pci_restore_aspm_l1ss_state(dev);
 
 	pci_restore_pcie_state(dev);
 	pci_restore_pasid_state(dev);
@@ -3465,11 +3463,6 @@ void pci_allocate_cap_save_buffers(struct pci_dev *dev)
 	if (error)
 		pci_err(dev, "unable to allocate suspend buffer for LTR\n");
 
-	error = pci_add_ext_cap_save_buffer(dev, PCI_EXT_CAP_ID_L1SS,
-					    2 * sizeof(u32));
-	if (error)
-		pci_err(dev, "unable to allocate suspend buffer for ASPM-L1SS\n");
-
 	pci_allocate_vc_save_buffers(dev);
 }
 
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
index 9ed3b5550043..9049d07d3aae 100644
--- a/drivers/pci/pci.h
+++ b/drivers/pci/pci.h
@@ -566,14 +566,10 @@ bool pcie_wait_for_link(struct pci_dev *pdev, bool active);
 void pcie_aspm_init_link_state(struct pci_dev *pdev);
 void pcie_aspm_exit_link_state(struct pci_dev *pdev);
 void pcie_aspm_powersave_config_link(struct pci_dev *pdev);
-void pci_save_aspm_l1ss_state(struct pci_dev *dev);
-void pci_restore_aspm_l1ss_state(struct pci_dev *dev);
 #else
 static inline void pcie_aspm_init_link_state(struct pci_dev *pdev) { }
 static inline void pcie_aspm_exit_link_state(struct pci_dev *pdev) { }
 static inline void pcie_aspm_powersave_config_link(struct pci_dev *pdev) { }
-static inline void pci_save_aspm_l1ss_state(struct pci_dev *dev) { }
-static inline void pci_restore_aspm_l1ss_state(struct pci_dev *dev) { }
 #endif
 
 #ifdef CONFIG_PCIE_ECRC
diff --git a/drivers/pci/pcie/aspm.c b/drivers/pci/pcie/aspm.c
index 53a1fa306e1e..4b4184563a92 100644
--- a/drivers/pci/pcie/aspm.c
+++ b/drivers/pci/pcie/aspm.c
@@ -470,31 +470,6 @@ static void pci_clear_and_set_dword(struct pci_dev *pdev, int pos,
 	pci_write_config_dword(pdev, pos, val);
 }
 
-static void aspm_program_l1ss(struct pci_dev *dev, u32 ctl1, u32 ctl2)
-{
-	u16 l1ss = dev->l1ss;
-	u32 l1_2_enable;
-
-	/*
-	 * Per PCIe r6.0, sec 5.5.4, T_POWER_ON in PCI_L1SS_CTL2 must be
-	 * programmed prior to setting the L1.2 enable bits in PCI_L1SS_CTL1.
-	 */
-	pci_write_config_dword(dev, l1ss + PCI_L1SS_CTL2, ctl2);
-
-	/*
-	 * In addition, Common_Mode_Restore_Time and LTR_L1.2_THRESHOLD in
-	 * PCI_L1SS_CTL1 must be programmed *before* setting the L1.2
-	 * enable bits, even though they're all in PCI_L1SS_CTL1.
-	 */
-	l1_2_enable = ctl1 & PCI_L1SS_CTL1_L1_2_MASK;
-	ctl1 &= ~PCI_L1SS_CTL1_L1_2_MASK;
-
-	pci_write_config_dword(dev, l1ss + PCI_L1SS_CTL1, ctl1);
-	if (l1_2_enable)
-		pci_write_config_dword(dev, l1ss + PCI_L1SS_CTL1,
-				       ctl1 | l1_2_enable);
-}
-
 /* Calculate L1.2 PM substate timing parameters */
 static void aspm_calc_l1ss_info(struct pcie_link_state *link,
 				u32 parent_l1ss_cap, u32 child_l1ss_cap)
@@ -504,6 +479,7 @@ static void aspm_calc_l1ss_info(struct pcie_link_state *link,
 	u32 t_common_mode, t_power_on, l1_2_threshold, scale, value;
 	u32 ctl1 = 0, ctl2 = 0;
 	u32 pctl1, pctl2, cctl1, cctl2;
+	u32 pl1_2_enables, cl1_2_enables;
 
 	if (!(link->aspm_support & ASPM_STATE_L1_2_MASK))
 		return;
@@ -552,21 +528,39 @@ static void aspm_calc_l1ss_info(struct pcie_link_state *link,
 	    ctl2 == pctl2 && ctl2 == cctl2)
 		return;
 
-	pctl1 &= ~(PCI_L1SS_CTL1_CM_RESTORE_TIME |
-		   PCI_L1SS_CTL1_LTR_L12_TH_VALUE |
-		   PCI_L1SS_CTL1_LTR_L12_TH_SCALE);
-	pctl1 |= (ctl1 & (PCI_L1SS_CTL1_CM_RESTORE_TIME |
-			  PCI_L1SS_CTL1_LTR_L12_TH_VALUE |
-			  PCI_L1SS_CTL1_LTR_L12_TH_SCALE));
-	aspm_program_l1ss(parent, pctl1, ctl2);
+	/* Disable L1.2 while updating.  See PCIe r5.0, sec 5.5.4, 7.8.3.3 */
+	pl1_2_enables = pctl1 & PCI_L1SS_CTL1_L1_2_MASK;
+	cl1_2_enables = cctl1 & PCI_L1SS_CTL1_L1_2_MASK;
 
-	cctl1 &= ~(PCI_L1SS_CTL1_CM_RESTORE_TIME |
-		   PCI_L1SS_CTL1_LTR_L12_TH_VALUE |
-		   PCI_L1SS_CTL1_LTR_L12_TH_SCALE);
-	cctl1 |= (ctl1 & (PCI_L1SS_CTL1_CM_RESTORE_TIME |
-			  PCI_L1SS_CTL1_LTR_L12_TH_VALUE |
-			  PCI_L1SS_CTL1_LTR_L12_TH_SCALE));
-	aspm_program_l1ss(child, cctl1, ctl2);
+	if (pl1_2_enables || cl1_2_enables) {
+		pci_clear_and_set_dword(child, child->l1ss + PCI_L1SS_CTL1,
+					PCI_L1SS_CTL1_L1_2_MASK, 0);
+		pci_clear_and_set_dword(parent, parent->l1ss + PCI_L1SS_CTL1,
+					PCI_L1SS_CTL1_L1_2_MASK, 0);
+	}
+
+	/* Program T_POWER_ON times in both ports */
+	pci_write_config_dword(parent, parent->l1ss + PCI_L1SS_CTL2, ctl2);
+	pci_write_config_dword(child, child->l1ss + PCI_L1SS_CTL2, ctl2);
+
+	/* Program Common_Mode_Restore_Time in upstream device */
+	pci_clear_and_set_dword(parent, parent->l1ss + PCI_L1SS_CTL1,
+				PCI_L1SS_CTL1_CM_RESTORE_TIME, ctl1);
+
+	/* Program LTR_L1.2_THRESHOLD time in both ports */
+	pci_clear_and_set_dword(parent,	parent->l1ss + PCI_L1SS_CTL1,
+				PCI_L1SS_CTL1_LTR_L12_TH_VALUE |
+				PCI_L1SS_CTL1_LTR_L12_TH_SCALE, ctl1);
+	pci_clear_and_set_dword(child, child->l1ss + PCI_L1SS_CTL1,
+				PCI_L1SS_CTL1_LTR_L12_TH_VALUE |
+				PCI_L1SS_CTL1_LTR_L12_TH_SCALE, ctl1);
+
+	if (pl1_2_enables || cl1_2_enables) {
+		pci_clear_and_set_dword(parent, parent->l1ss + PCI_L1SS_CTL1, 0,
+					pl1_2_enables);
+		pci_clear_and_set_dword(child, child->l1ss + PCI_L1SS_CTL1, 0,
+					cl1_2_enables);
+	}
 }
 
 static void aspm_l1ss_init(struct pcie_link_state *link)
@@ -757,43 +751,6 @@ static void pcie_config_aspm_l1ss(struct pcie_link_state *link, u32 state)
 				PCI_L1SS_CTL1_L1SS_MASK, val);
 }
 
-void pci_save_aspm_l1ss_state(struct pci_dev *dev)
-{
-	struct pci_cap_saved_state *save_state;
-	u16 l1ss = dev->l1ss;
-	u32 *cap;
-
-	if (!l1ss)
-		return;
-
-	save_state = pci_find_saved_ext_cap(dev, PCI_EXT_CAP_ID_L1SS);
-	if (!save_state)
-		return;
-
-	cap = (u32 *)&save_state->cap.data[0];
-	pci_read_config_dword(dev, l1ss + PCI_L1SS_CTL2, cap++);
-	pci_read_config_dword(dev, l1ss + PCI_L1SS_CTL1, cap++);
-}
-
-void pci_restore_aspm_l1ss_state(struct pci_dev *dev)
-{
-	struct pci_cap_saved_state *save_state;
-	u32 *cap, ctl1, ctl2;
-	u16 l1ss = dev->l1ss;
-
-	if (!l1ss)
-		return;
-
-	save_state = pci_find_saved_ext_cap(dev, PCI_EXT_CAP_ID_L1SS);
-	if (!save_state)
-		return;
-
-	cap = (u32 *)&save_state->cap.data[0];
-	ctl2 = *cap++;
-	ctl1 = *cap;
-	aspm_program_l1ss(dev, ctl1, ctl2);
-}
-
 static void pcie_config_aspm_dev(struct pci_dev *pdev, u32 val)
 {
 	pcie_capability_clear_and_set_word(pdev, PCI_EXP_LNKCTL,

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

* Re: [Bug 216877] New: Regression in PCI powermanagement breaks resume after suspend
  2023-01-04 15:02       ` Bjorn Helgaas
@ 2023-01-04 15:37         ` Thomas Witt
  2023-01-26 19:24           ` Thomas Witt
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Witt @ 2023-01-04 15:37 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: Vidya Sagar, linux-kernel, linux-pci

On 04/01/2023 16:02, Bjorn Helgaas wrote:
> On Wed, Jan 04, 2023 at 09:44:25AM +0100, Thomas Witt wrote:
>> On 04/01/2023 01:30, Bjorn Helgaas wrote:
>>> On Mon, Jan 02, 2023 at 11:15:16AM -0600, Bjorn Helgaas wrote:
>>>> On Mon, Jan 02, 2023 at 02:02:51PM +0000, bugzilla-daemon@kernel.org wrote:
>>>>> https://bugzilla.kernel.org/show_bug.cgi?id=216877
>>>>>
>>>>>               Bug ID: 216877
>>>>>              Summary: Regression in PCI powermanagement breaks resume after
>>>>>                       suspend
>>>>>       Kernel Version: 6.0.0-rc1
> 
> BTW, if the bisect is correct, I think the regression actually is in
> v6.1-rc1, where 5e85eba6f50d ("PCI/ASPM: Refactor L1 PM Substates
> Control Register programming") appeared.
> 
>>>>> Created attachment 303512
>>>>>     --> https://bugzilla.kernel.org/attachment.cgi?id=303512&action=edit
>>>>> output of git bisect log
>>>>>
>>>>> After commit 5e85eba6f50dc288c22083a7e213152bcc4b8208 "PCI/ASPM:
>>>>> Refactor L1 PM Substates Control Register programming" my Laptop
>>>>> does not resume PCI devices back from suspend.
>>>
>>> Thomas, could you try the debug patch below on top of v6.2-rc1?
>>
>> Thank you for that patch Bjorn, but as far as I can see it does not change
>> anything.
> 
> Thanks for testing it.  Maybe Vidya will have more ideas.  The patch
> below (based on v6.2-rc1) would revert 5e85eba6f50d and 4ff116d0d5fd.
> If 5e85eba6f50d is the culprit, it should fix the regression.  It
> would also potentially break L1 substates after resume, so we'd like
> to avoid reverting it if possible.
> 
> But the "Unable to change power state from D3hot to D0, device
> inaccessible" symptom suggests that the device is still in D3, which
> would be more like a wakeup issue than an ASPM issue.
> 
> Your bisect log said 3e347969a577 ("PCI/PM: Reduce D3hot delay with
> usleep_range()") was "good", but it would be worth double-checking,
> e.g., see if reverting it from v6.2-rc1 makes any difference.
> 
> Bjorn
> 
> commit 61de2691d549 ("Revert "PCI/ASPM: Refactor L1 PM Substates Control Register programming"")
> parent 1b929c02afd3
> Author: Bjorn Helgaas <bhelgaas@google.com>
> Date:   Wed Jan 4 08:38:53 2023 -0600
> 
>      Revert "PCI/ASPM: Refactor L1 PM Substates Control Register programming"

With this patch on top of 6.2-rc1 suspend/resume works and my PCI 
devices come back online.


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

* Re: [Bug 216877] New: Regression in PCI powermanagement breaks resume after suspend
  2023-01-04 15:37         ` Thomas Witt
@ 2023-01-26 19:24           ` Thomas Witt
  2023-02-02 20:49             ` Bjorn Helgaas
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Witt @ 2023-01-26 19:24 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: Vidya Sagar, linux-kernel, linux-pci

On 04/01/2023 16:37, Thomas Witt wrote:
> On 04/01/2023 16:02, Bjorn Helgaas wrote:
>> Thanks for testing it.  Maybe Vidya will have more ideas.  The patch
>> below (based on v6.2-rc1) would revert 5e85eba6f50d and 4ff116d0d5fd.
>> If 5e85eba6f50d is the culprit, it should fix the regression.  It
>> would also potentially break L1 substates after resume, so we'd like
>> to avoid reverting it if possible.
>>
>> But the "Unable to change power state from D3hot to D0, device
>> inaccessible" symptom suggests that the device is still in D3, which
>> would be more like a wakeup issue than an ASPM issue.
>>
>> Your bisect log said 3e347969a577 ("PCI/PM: Reduce D3hot delay with
>> usleep_range()") was "good", but it would be worth double-checking,
>> e.g., see if reverting it from v6.2-rc1 makes any difference.
>>
>> Bjorn
>>
>> commit 61de2691d549 ("Revert "PCI/ASPM: Refactor L1 PM Substates 
>> Control Register programming"")
>> parent 1b929c02afd3
>> Author: Bjorn Helgaas <bhelgaas@google.com>
>> Date:   Wed Jan 4 08:38:53 2023 -0600
>>
>>      Revert "PCI/ASPM: Refactor L1 PM Substates Control Register 
>> programming"
> 
> With this patch on top of 6.2-rc1 suspend/resume works and my PCI 
> devices come back online.
> 

Hello Bjorn, hello Vidya,

do you have an Idea what went wrong in that commit to cause my PCI 
devices to not return from D3?

BR
Thomas

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

* Re: [Bug 216877] New: Regression in PCI powermanagement breaks resume after suspend
  2023-01-26 19:24           ` Thomas Witt
@ 2023-02-02 20:49             ` Bjorn Helgaas
  0 siblings, 0 replies; 7+ messages in thread
From: Bjorn Helgaas @ 2023-02-02 20:49 UTC (permalink / raw)
  To: Thomas Witt; +Cc: Vidya Sagar, linux-kernel, linux-pci

On Thu, Jan 26, 2023 at 08:24:23PM +0100, Thomas Witt wrote:
> On 04/01/2023 16:37, Thomas Witt wrote:
> > On 04/01/2023 16:02, Bjorn Helgaas wrote:
> > > Thanks for testing it.  Maybe Vidya will have more ideas.  The patch
> > > below (based on v6.2-rc1) would revert 5e85eba6f50d and 4ff116d0d5fd.
> > > If 5e85eba6f50d is the culprit, it should fix the regression.  It
> > > would also potentially break L1 substates after resume, so we'd like
> > > to avoid reverting it if possible.
> > > 
> > > But the "Unable to change power state from D3hot to D0, device
> > > inaccessible" symptom suggests that the device is still in D3, which
> > > would be more like a wakeup issue than an ASPM issue.
> > > 
> > > Your bisect log said 3e347969a577 ("PCI/PM: Reduce D3hot delay with
> > > usleep_range()") was "good", but it would be worth double-checking,
> > > e.g., see if reverting it from v6.2-rc1 makes any difference.
> > > 
> > > Bjorn
> > > 
> > > commit 61de2691d549 ("Revert "PCI/ASPM: Refactor L1 PM Substates
> > > Control Register programming"")
> > > parent 1b929c02afd3
> > > Author: Bjorn Helgaas <bhelgaas@google.com>
> > > Date:   Wed Jan 4 08:38:53 2023 -0600
> > > 
> > >      Revert "PCI/ASPM: Refactor L1 PM Substates Control Register
> > > programming"
> > 
> > With this patch on top of 6.2-rc1 suspend/resume works and my PCI
> > devices come back online.
> 
> do you have an Idea what went wrong in that commit to cause my PCI devices
> to not return from D3?

I do not have any ideas yet.

I suspect maybe we should plan to revert 5e85eba6f50d ("PCI/ASPM:
Refactor L1 PM Substates Control Register programming") and
4ff116d0d5fd ("PCI/ASPM: Save L1 PM Substates Capability for
suspend/resume") for now.

It's odd that they both appeared in v6.1, and we haven't seen a flood
of reports about this, so maybe there's something unusual about your
machine, Thomas.

I'll post a revert, and we can do that for v6.2 if we don't come up
with any other ideas.

Bjorn

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

end of thread, other threads:[~2023-02-02 20:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <bug-216877-41252@https.bugzilla.kernel.org/>
2023-01-02 17:15 ` [Bug 216877] New: Regression in PCI powermanagement breaks resume after suspend Bjorn Helgaas
2023-01-04  0:30   ` Bjorn Helgaas
2023-01-04  8:44     ` Thomas Witt
2023-01-04 15:02       ` Bjorn Helgaas
2023-01-04 15:37         ` Thomas Witt
2023-01-26 19:24           ` Thomas Witt
2023-02-02 20:49             ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox