linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* WARNING: CPU: 1 PID: 83 at arch/x86/kernel/cpu/sgx/main.c:446 ksgxd+0x1b7/0x1d0
@ 2022-08-19 13:19 Paul Menzel
  2022-08-19 16:02 ` Paul Menzel
  0 siblings, 1 reply; 17+ messages in thread
From: Paul Menzel @ 2022-08-19 13:19 UTC (permalink / raw)
  To: Jarkko Sakkinen, Thomas Gleixner, Ingo Molnar, Borislav Petkov, x86; +Cc: LKML

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

Dear Linux folks,


On the Dell XPS 13 9370, Linux 5.18.16 prints the warning below:

```
[    0.000000] Linux version 5.18.0-4-amd64 
(debian-kernel@lists.debian.org) (gcc-11 (Debian 11.3.0-5) 11.3.0, GNU 
ld (GNU Binutils for Debian) 2.38.90.20220713) #1 SMP PREEMPT_DYNAMIC 
Debian 5.18.16-1 (2022-08-10)
[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.18.0-4-amd64 
root=UUID=56f398e0-1e25-4fda-aa9f-611dece4b333 ro quiet
[…]
[    0.000000] DMI: Dell Inc. XPS 13 9370/0RMYH9, BIOS 1.21.0 07/06/2022
[…]
[    0.235418] sgx: EPC section 0x40200000-0x45f7ffff
[    0.235853] ------------[ cut here ]------------
[    0.235855] WARNING: CPU: 1 PID: 83 at 
arch/x86/kernel/cpu/sgx/main.c:446 ksgxd+0x1b7/0x1d0
[    0.235861] Modules linked in:
[    0.235862] CPU: 1 PID: 83 Comm: ksgxd Not tainted 5.18.0-4-amd64 #1 
Debian 5.18.16-1
[    0.235865] Hardware name: Dell Inc. XPS 13 9370/0RMYH9, BIOS 1.21.0 
07/06/2022
[    0.235866] RIP: 0010:ksgxd+0x1b7/0x1d0
[    0.235869] Code: ff e9 f2 fe ff ff 48 89 df e8 55 56 0d 00 84 c0 0f 
84 c3 fe ff ff 31 ff e8 c6 56 0d 00 84 c0 0f 85 94 fe ff ff e9 af fe ff 
ff <0f> 0b e9 7f fe ff ff e8 3d dd 93 00 66 66 2e 0f 1f 84 00 00 00 00
[    0.235870] RSP: 0000:ffffaaed0097bed8 EFLAGS: 00010287
[    0.235872] RAX: ffffaaed00431890 RBX: ffff9a323ccc8000 RCX: 
0000000000000000
[    0.235873] RDX: 0000000080000000 RSI: ffffaaed00431850 RDI: 
00000000ffffffff
[    0.235875] RBP: ffff9a31416ca080 R08: ffff9a31416cae40 R09: 
ffff9a31416cae40
[    0.235876] R10: 0000000000000000 R11: 0000000000000001 R12: 
ffffaaed0006bce0
[    0.235877] R13: ffff9a3140e9c480 R14: ffffffff9825ee60 R15: 
0000000000000000
[    0.235878] FS:  0000000000000000(0000) GS:ffff9a32e6640000(0000) 
knlGS:0000000000000000
[    0.235880] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.235881] CR2: 0000000000000000 CR3: 00000001fbe10001 CR4: 
00000000003706e0
[    0.235882] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 
0000000000000000
[    0.235883] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 
0000000000000400
[    0.235884] Call Trace:
[    0.235893]  <TASK>
[    0.235895]  ? _raw_spin_lock_irqsave+0x24/0x60
[    0.235900]  ? _raw_spin_unlock_irqrestore+0x23/0x40
[    0.235902]  ? __kthread_parkme+0x36/0x90
[    0.235905]  kthread+0xe5/0x110
[    0.235907]  ? kthread_complete_and_exit+0x20/0x20
[    0.235909]  ret_from_fork+0x1f/0x30
[    0.235914]  </TASK>
[    0.235915] ---[ end trace 0000000000000000 ]---
```


Kind regards,

Paul

[-- Attachment #2: 20220819--linux-5.18.16--dmesg-2.txt --]
[-- Type: text/plain, Size: 75315 bytes --]

[    0.000000] Linux version 5.18.0-4-amd64 (debian-kernel@lists.debian.org) (gcc-11 (Debian 11.3.0-5) 11.3.0, GNU ld (GNU Binutils for Debian) 2.38.90.20220713) #1 SMP PREEMPT_DYNAMIC Debian 5.18.16-1 (2022-08-10)
[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.18.0-4-amd64 root=UUID=56f398e0-1e25-4fda-aa9f-611dece4b333 ro quiet
[    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: 2032
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x0000000000057fff] usable
[    0.000000] BIOS-e820: [mem 0x0000000000058000-0x0000000000058fff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000059000-0x000000000009dfff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009e000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000002d6c4fff] usable
[    0.000000] BIOS-e820: [mem 0x000000002d6c5000-0x000000002d6c5fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000002d6c6000-0x000000002d6c6fff] reserved
[    0.000000] BIOS-e820: [mem 0x000000002d6c7000-0x000000003ecf1fff] usable
[    0.000000] BIOS-e820: [mem 0x000000003ecf2000-0x000000003f0b1fff] reserved
[    0.000000] BIOS-e820: [mem 0x000000003f0b2000-0x000000003f0fefff] ACPI data
[    0.000000] BIOS-e820: [mem 0x000000003f0ff000-0x000000003f7b6fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000003f7b7000-0x000000003ff25fff] reserved
[    0.000000] BIOS-e820: [mem 0x000000003ff26000-0x000000003fffefff] type 20
[    0.000000] BIOS-e820: [mem 0x000000003ffff000-0x000000003fffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000040000000-0x0000000047ffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000048000000-0x0000000048dfffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000048e00000-0x000000004f7fffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000e0000000-0x00000000efffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fe000000-0x00000000fe010fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x00000002ae7fffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] efi: EFI v2.40 by American Megatrends
[    0.000000] efi: ACPI=0x3f0c2000 ACPI 2.0=0x3f0c2000 SMBIOS=0xf0000 SMBIOS 3.0=0xf0020 TPMFinalLog=0x3f758000 ESRT=0x3fdc1698 MEMATTR=0x3c187018 
[    0.000000] secureboot: Secure boot disabled
[    0.000000] SMBIOS 3.0.0 present.
[    0.000000] DMI: Dell Inc. XPS 13 9370/0RMYH9, BIOS 1.21.0 07/06/2022
[    0.000000] tsc: Detected 1900.000 MHz processor
[    0.000000] tsc: Detected 1899.950 MHz TSC
[    0.000666] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000669] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000677] last_pfn = 0x2ae800 max_arch_pfn = 0x400000000
[    0.000781] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
[    0.001463] last_pfn = 0x48e00 max_arch_pfn = 0x400000000
[    0.008148] esrt: Reserving ESRT space from 0x000000003fdc1698 to 0x000000003fdc16d0.
[    0.008153] Using GB pages for direct mapping
[    0.008552] RAMDISK: [mem 0x3331f000-0x35986fff]
[    0.008560] ACPI: Early table checksum verification disabled
[    0.008566] ACPI: RSDP 0x000000003F0C2000 000024 (v02 DELL  )
[    0.008569] ACPI: XSDT 0x000000003F0C20C8 00010C (v01 DELL   CBX3     01072009 AMI  00010013)
[    0.008574] ACPI: FACP 0x000000003F0E89D0 00010C (v05 DELL   CBX3     01072009 AMI  00010013)
[    0.008578] ACPI: DSDT 0x000000003F0C2260 02676C (v02 DELL   CBX3     01072009 INTL 20160422)
[    0.008581] ACPI: FACS 0x000000003F7B4180 000040
[    0.008583] ACPI: APIC 0x000000003F0E8AE0 0000BC (v03 DELL   CBX3     01072009 AMI  00010013)
[    0.008585] ACPI: FPDT 0x000000003F0E8BA0 000044 (v01 DELL   CBX3     01072009 AMI  00010013)
[    0.008588] ACPI: FIDT 0x000000003F0E8BE8 0000AC (v01 DELL   CBX3     01072009 AMI  00010013)
[    0.008590] ACPI: MCFG 0x000000003F0E8C98 00003C (v01 DELL   CBX3     01072009 MSFT 00000097)
[    0.008593] ACPI: HPET 0x000000003F0E8CD8 000038 (v01 DELL   CBX3     01072009 AMI. 0005000B)
[    0.008595] ACPI: SSDT 0x000000003F0E8D10 000359 (v01 SataRe SataTabl 00001000 INTL 20160422)
[    0.008597] ACPI: BOOT 0x000000003F0E9070 000028 (v01 DELL   CBX3     01072009 AMI  00010013)
[    0.008600] ACPI: SSDT 0x000000003F0E9098 0012DE (v02 SaSsdt SaSsdt   00003000 INTL 20160422)
[    0.008602] ACPI: HPET 0x000000003F0EA378 000038 (v01 INTEL  KBL-ULT  00000001 MSFT 0000005F)
[    0.008605] ACPI: SSDT 0x000000003F0EA3B0 000CEF (v02 INTEL  xh_rvp07 00000000 INTL 20160422)
[    0.008607] ACPI: UEFI 0x000000003F0EB0A0 000042 (v01                 00000000      00000000)
[    0.008610] ACPI: SSDT 0x000000003F0EB0E8 0017AE (v02 CpuRef CpuSsdt  00003000 INTL 20160422)
[    0.008612] ACPI: LPIT 0x000000003F0EC898 000094 (v01 INTEL  KBL-ULT  00000000 MSFT 0000005F)
[    0.008615] ACPI: SSDT 0x000000003F0EC930 000161 (v02 INTEL  HdaDsp   00000000 INTL 20160422)
[    0.008617] ACPI: SSDT 0x000000003F0ECA98 00029F (v02 INTEL  sensrhub 00000000 INTL 20160422)
[    0.008620] ACPI: SSDT 0x000000003F0ECD38 003002 (v02 INTEL  PtidDevc 00001000 INTL 20160422)
[    0.008622] ACPI: SSDT 0x000000003F0EFD40 000517 (v02 INTEL  TbtTypeC 00000000 INTL 20160422)
[    0.008624] ACPI: DBGP 0x000000003F0F0258 000034 (v01 INTEL           00000002 MSFT 0000005F)
[    0.008627] ACPI: DBG2 0x000000003F0F0290 000054 (v00 INTEL           00000002 MSFT 0000005F)
[    0.008629] ACPI: SSDT 0x000000003F0F02E8 000801 (v02 INTEL  UsbCTabl 00001000 INTL 20160422)
[    0.008632] ACPI: SSDT 0x000000003F0F0AF0 00CFC3 (v02 DptfTa DptfTabl 00001000 INTL 20160422)
[    0.008634] ACPI: MSDM 0x000000003F0FDAB8 000055 (v03 DELL   CBX3     06222004 AMI  00010013)
[    0.008636] ACPI: SLIC 0x000000003F0FDB10 000176 (v03 DELL   CBX3     01072009 MSFT 00010013)
[    0.008639] ACPI: NHLT 0x000000003F0FDC88 00002D (v00 INTEL  EDK2     00000002      01000013)
[    0.008641] ACPI: BGRT 0x000000003F0FDCB8 000038 (v00                 01072009 AMI  00010013)
[    0.008644] ACPI: TPM2 0x000000003F0FDCF0 000034 (v03 DELL   CBX3     00000001 AMI  00000000)
[    0.008646] ACPI: ASF! 0x000000003F0FDD28 0000A0 (v32 INTEL   HCG     00000001 TFSM 000F4240)
[    0.008649] ACPI: DMAR 0x000000003F0FDDC8 0000F0 (v01 INTEL  KBL      00000001 INTL 00000001)
[    0.008651] ACPI: Reserving FACP table memory at [mem 0x3f0e89d0-0x3f0e8adb]
[    0.008652] ACPI: Reserving DSDT table memory at [mem 0x3f0c2260-0x3f0e89cb]
[    0.008653] ACPI: Reserving FACS table memory at [mem 0x3f7b4180-0x3f7b41bf]
[    0.008654] ACPI: Reserving APIC table memory at [mem 0x3f0e8ae0-0x3f0e8b9b]
[    0.008655] ACPI: Reserving FPDT table memory at [mem 0x3f0e8ba0-0x3f0e8be3]
[    0.008655] ACPI: Reserving FIDT table memory at [mem 0x3f0e8be8-0x3f0e8c93]
[    0.008656] ACPI: Reserving MCFG table memory at [mem 0x3f0e8c98-0x3f0e8cd3]
[    0.008657] ACPI: Reserving HPET table memory at [mem 0x3f0e8cd8-0x3f0e8d0f]
[    0.008658] ACPI: Reserving SSDT table memory at [mem 0x3f0e8d10-0x3f0e9068]
[    0.008659] ACPI: Reserving BOOT table memory at [mem 0x3f0e9070-0x3f0e9097]
[    0.008659] ACPI: Reserving SSDT table memory at [mem 0x3f0e9098-0x3f0ea375]
[    0.008660] ACPI: Reserving HPET table memory at [mem 0x3f0ea378-0x3f0ea3af]
[    0.008661] ACPI: Reserving SSDT table memory at [mem 0x3f0ea3b0-0x3f0eb09e]
[    0.008662] ACPI: Reserving UEFI table memory at [mem 0x3f0eb0a0-0x3f0eb0e1]
[    0.008662] ACPI: Reserving SSDT table memory at [mem 0x3f0eb0e8-0x3f0ec895]
[    0.008663] ACPI: Reserving LPIT table memory at [mem 0x3f0ec898-0x3f0ec92b]
[    0.008664] ACPI: Reserving SSDT table memory at [mem 0x3f0ec930-0x3f0eca90]
[    0.008665] ACPI: Reserving SSDT table memory at [mem 0x3f0eca98-0x3f0ecd36]
[    0.008666] ACPI: Reserving SSDT table memory at [mem 0x3f0ecd38-0x3f0efd39]
[    0.008666] ACPI: Reserving SSDT table memory at [mem 0x3f0efd40-0x3f0f0256]
[    0.008667] ACPI: Reserving DBGP table memory at [mem 0x3f0f0258-0x3f0f028b]
[    0.008668] ACPI: Reserving DBG2 table memory at [mem 0x3f0f0290-0x3f0f02e3]
[    0.008669] ACPI: Reserving SSDT table memory at [mem 0x3f0f02e8-0x3f0f0ae8]
[    0.008670] ACPI: Reserving SSDT table memory at [mem 0x3f0f0af0-0x3f0fdab2]
[    0.008671] ACPI: Reserving MSDM table memory at [mem 0x3f0fdab8-0x3f0fdb0c]
[    0.008671] ACPI: Reserving SLIC table memory at [mem 0x3f0fdb10-0x3f0fdc85]
[    0.008672] ACPI: Reserving NHLT table memory at [mem 0x3f0fdc88-0x3f0fdcb4]
[    0.008673] ACPI: Reserving BGRT table memory at [mem 0x3f0fdcb8-0x3f0fdcef]
[    0.008674] ACPI: Reserving TPM2 table memory at [mem 0x3f0fdcf0-0x3f0fdd23]
[    0.008675] ACPI: Reserving ASF! table memory at [mem 0x3f0fdd28-0x3f0fddc7]
[    0.008676] ACPI: Reserving DMAR table memory at [mem 0x3f0fddc8-0x3f0fdeb7]
[    0.008799] No NUMA configuration found
[    0.008802] Faking a node at [mem 0x0000000000000000-0x00000002ae7fffff]
[    0.008810] NODE_DATA(0) allocated [mem 0x2ae7d5000-0x2ae7fffff]
[    0.009080] Zone ranges:
[    0.009081]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.009083]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.009084]   Normal   [mem 0x0000000100000000-0x00000002ae7fffff]
[    0.009085]   Device   empty
[    0.009086] Movable zone start for each node
[    0.009088] Early memory node ranges
[    0.009089]   node   0: [mem 0x0000000000001000-0x0000000000057fff]
[    0.009090]   node   0: [mem 0x0000000000059000-0x000000000009dfff]
[    0.009091]   node   0: [mem 0x0000000000100000-0x000000002d6c4fff]
[    0.009092]   node   0: [mem 0x000000002d6c7000-0x000000003ecf1fff]
[    0.009093]   node   0: [mem 0x000000003ffff000-0x000000003fffffff]
[    0.009093]   node   0: [mem 0x0000000048000000-0x0000000048dfffff]
[    0.009094]   node   0: [mem 0x0000000100000000-0x00000002ae7fffff]
[    0.009096] Initmem setup node 0 [mem 0x0000000000001000-0x00000002ae7fffff]
[    0.009099] On node 0, zone DMA: 1 pages in unavailable ranges
[    0.009101] On node 0, zone DMA: 1 pages in unavailable ranges
[    0.009124] On node 0, zone DMA: 98 pages in unavailable ranges
[    0.010782] On node 0, zone DMA32: 2 pages in unavailable ranges
[    0.010832] On node 0, zone DMA32: 4877 pages in unavailable ranges
[    0.011334] On node 0, zone Normal: 29184 pages in unavailable ranges
[    0.011387] On node 0, zone Normal: 6144 pages in unavailable ranges
[    0.011394] Reserving Intel graphics memory at [mem 0x4b800000-0x4f7fffff]
[    0.011755] ACPI: PM-Timer IO Port: 0x1808
[    0.011760] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[    0.011762] ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
[    0.011763] ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
[    0.011763] ACPI: LAPIC_NMI (acpi_id[0x04] high edge lint[0x1])
[    0.011764] ACPI: LAPIC_NMI (acpi_id[0x05] high edge lint[0x1])
[    0.011765] ACPI: LAPIC_NMI (acpi_id[0x06] high edge lint[0x1])
[    0.011765] ACPI: LAPIC_NMI (acpi_id[0x07] high edge lint[0x1])
[    0.011766] ACPI: LAPIC_NMI (acpi_id[0x08] high edge lint[0x1])
[    0.011792] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-119
[    0.011794] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.011796] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.011798] ACPI: Using ACPI (MADT) for SMP configuration information
[    0.011799] ACPI: HPET id: 0x8086a701 base: 0xfed00000
[    0.011804] e820: update [mem 0x3b6ad000-0x3b720fff] usable ==> reserved
[    0.011814] TSC deadline timer available
[    0.011815] smpboot: Allowing 8 CPUs, 0 hotplug CPUs
[    0.011834] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.011836] PM: hibernation: Registered nosave memory: [mem 0x00058000-0x00058fff]
[    0.011838] PM: hibernation: Registered nosave memory: [mem 0x0009e000-0x000fffff]
[    0.011840] PM: hibernation: Registered nosave memory: [mem 0x2d6c5000-0x2d6c5fff]
[    0.011840] PM: hibernation: Registered nosave memory: [mem 0x2d6c6000-0x2d6c6fff]
[    0.011842] PM: hibernation: Registered nosave memory: [mem 0x3b6ad000-0x3b720fff]
[    0.011843] PM: hibernation: Registered nosave memory: [mem 0x3ecf2000-0x3f0b1fff]
[    0.011844] PM: hibernation: Registered nosave memory: [mem 0x3f0b2000-0x3f0fefff]
[    0.011845] PM: hibernation: Registered nosave memory: [mem 0x3f0ff000-0x3f7b6fff]
[    0.011845] PM: hibernation: Registered nosave memory: [mem 0x3f7b7000-0x3ff25fff]
[    0.011846] PM: hibernation: Registered nosave memory: [mem 0x3ff26000-0x3fffefff]
[    0.011847] PM: hibernation: Registered nosave memory: [mem 0x40000000-0x47ffffff]
[    0.011849] PM: hibernation: Registered nosave memory: [mem 0x48e00000-0x4f7fffff]
[    0.011850] PM: hibernation: Registered nosave memory: [mem 0x4f800000-0xdfffffff]
[    0.011850] PM: hibernation: Registered nosave memory: [mem 0xe0000000-0xefffffff]
[    0.011851] PM: hibernation: Registered nosave memory: [mem 0xf0000000-0xfdffffff]
[    0.011851] PM: hibernation: Registered nosave memory: [mem 0xfe000000-0xfe010fff]
[    0.011852] PM: hibernation: Registered nosave memory: [mem 0xfe011000-0xfebfffff]
[    0.011853] PM: hibernation: Registered nosave memory: [mem 0xfec00000-0xfec00fff]
[    0.011853] PM: hibernation: Registered nosave memory: [mem 0xfec01000-0xfedfffff]
[    0.011854] PM: hibernation: Registered nosave memory: [mem 0xfee00000-0xfee00fff]
[    0.011855] PM: hibernation: Registered nosave memory: [mem 0xfee01000-0xfeffffff]
[    0.011855] PM: hibernation: Registered nosave memory: [mem 0xff000000-0xffffffff]
[    0.011857] [mem 0x4f800000-0xdfffffff] available for PCI devices
[    0.011858] Booting paravirtualized kernel on bare hardware
[    0.011860] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[    0.015269] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:8 nr_cpu_ids:8 nr_node_ids:1
[    0.015404] percpu: Embedded 61 pages/cpu s212992 r8192 d28672 u262144
[    0.015410] pcpu-alloc: s212992 r8192 d28672 u262144 alloc=1*2097152
[    0.015412] pcpu-alloc: [0] 0 1 2 3 4 5 6 7 
[    0.015438] Fallback order for Node 0: 0 
[    0.015440] Built 1 zonelists, mobility grouping on.  Total pages: 1992293
[    0.015441] Policy zone: Normal
[    0.015442] Kernel command line: BOOT_IMAGE=/vmlinuz-5.18.0-4-amd64 root=UUID=56f398e0-1e25-4fda-aa9f-611dece4b333 ro quiet
[    0.015474] Unknown kernel command line parameters "BOOT_IMAGE=/vmlinuz-5.18.0-4-amd64", will be passed to user space.
[    0.015791] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.015960] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.016038] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.031220] Memory: 1022376K/8096308K available (12294K kernel code, 2773K rwdata, 8576K rodata, 2704K init, 4948K bss, 334676K reserved, 0K cma-reserved)
[    0.032066] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[    0.032097] Kernel/User page tables isolation: enabled
[    0.032112] ftrace: allocating 38656 entries in 152 pages
[    0.038385] ftrace: allocated 151 pages with 5 groups
[    0.038977] Dynamic Preempt: voluntary
[    0.039048] rcu: Preemptible hierarchical RCU implementation.
[    0.039049] rcu: 	RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=8.
[    0.039050] 	Trampoline variant of Tasks RCU enabled.
[    0.039051] 	Rude variant of Tasks RCU enabled.
[    0.039051] 	Tracing variant of Tasks RCU enabled.
[    0.039052] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.039053] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8
[    0.042769] NR_IRQS: 524544, nr_irqs: 2048, preallocated irqs: 16
[    0.043083] random: crng init done
[    0.043115] spurious 8259A interrupt: IRQ7.
[    0.043137] Console: colour dummy device 80x25
[    0.043155] printk: console [tty0] enabled
[    0.043167] ACPI: Core revision 20211217
[    0.043340] hpet: HPET dysfunctional in PC10. Force disabled.
[    0.043341] APIC: Switch to symmetric I/O mode setup
[    0.043343] DMAR: Host address width 39
[    0.043344] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[    0.043348] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap 1c0000c40660462 ecap 19e2ff0505e
[    0.043350] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[    0.043353] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 ecap f050da
[    0.043355] DMAR: RMRR base: 0x0000003edcc000 end: 0x0000003edebfff
[    0.043356] DMAR: RMRR base: 0x0000004b000000 end: 0x0000004f7fffff
[    0.043357] DMAR: ANDD device: 1 name: \_SB.PCI0.I2C0
[    0.043358] DMAR: ANDD device: 2 name: \_SB.PCI0.I2C1
[    0.043359] DMAR-IR: IOAPIC id 2 under DRHD base  0xfed91000 IOMMU 1
[    0.043360] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[    0.043361] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[    0.045005] DMAR-IR: Enabled IRQ remapping in x2apic mode
[    0.045007] x2apic enabled
[    0.045019] Switched APIC routing to cluster x2apic.
[    0.048847] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x36c5f9386c6, max_idle_ns: 881590416379 ns
[    0.048852] Calibrating delay loop (skipped), value calculated using timer frequency.. 3799.90 BogoMIPS (lpj=7599800)
[    0.048855] pid_max: default: 32768 minimum: 301
[    0.050917] LSM: Security Framework initializing
[    0.050928] landlock: Up and running.
[    0.050928] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.050946] AppArmor: AppArmor initialized
[    0.050947] TOMOYO Linux initialized
[    0.050952] LSM support for eBPF active
[    0.050977] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.050989] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.051180] CPU0: Thermal monitoring enabled (TM1)
[    0.051227] process: using mwait in idle threads
[    0.051229] Last level iTLB entries: 4KB 64, 2MB 8, 4MB 8
[    0.051230] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4
[    0.051235] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.051236] Spectre V2 : Mitigation: IBRS
[    0.051237] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.051238] Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on VMEXIT
[    0.051239] RETBleed: Mitigation: IBRS
[    0.051245] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[    0.051248] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl
[    0.051254] MDS: Mitigation: Clear CPU buffers
[    0.051255] TAA: Mitigation: TSX disabled
[    0.051256] MMIO Stale Data: Mitigation: Clear CPU buffers
[    0.051259] SRBDS: Mitigation: Microcode
[    0.052850] Freeing SMP alternatives memory: 32K
[    0.052850] smpboot: Estimated ratio of average max frequency by base frequency (times 1024): 1940
[    0.052850] smpboot: CPU0: Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz (family: 0x6, model: 0x8e, stepping: 0xa)
[    0.052850] cblist_init_generic: Setting adjustable number of callback queues.
[    0.052850] cblist_init_generic: Setting shift to 3 and lim to 1.
[    0.052850] cblist_init_generic: Setting shift to 3 and lim to 1.
[    0.052850] cblist_init_generic: Setting shift to 3 and lim to 1.
[    0.052850] Performance Events: PEBS fmt3+, Skylake events, 32-deep LBR, full-width counters, Intel PMU driver.
[    0.052850] ... version:                4
[    0.052850] ... bit width:              48
[    0.052850] ... generic registers:      4
[    0.052850] ... value mask:             0000ffffffffffff
[    0.052850] ... max period:             00007fffffffffff
[    0.052850] ... fixed-purpose events:   3
[    0.052850] ... event mask:             000000070000000f
[    0.052850] rcu: Hierarchical SRCU implementation.
[    0.052850] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[    0.052850] smp: Bringing up secondary CPUs ...
[    0.052850] x86: Booting SMP configuration:
[    0.052850] .... node  #0, CPUs:      #1 #2 #3 #4
[    0.054832] MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html for more details.
[    0.054832] 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.054832]  #5 #6 #7
[    0.058114] smp: Brought up 1 node, 8 CPUs
[    0.058114] smpboot: Max logical packages: 1
[    0.058114] smpboot: Total of 8 processors activated (30399.20 BogoMIPS)
[    0.070901] node 0 deferred pages initialised in 8ms
[    0.070903] devtmpfs: initialized
[    0.070903] x86/mm: Memory block size: 128MB
[    0.070903] ACPI: PM: Registering ACPI NVS region [mem 0x2d6c5000-0x2d6c5fff] (4096 bytes)
[    0.070903] ACPI: PM: Registering ACPI NVS region [mem 0x3f0ff000-0x3f7b6fff] (7045120 bytes)
[    0.070903] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.070903] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.070903] pinctrl core: initialized pinctrl subsystem
[    0.070903] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.070903] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.070903] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.070903] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.070903] audit: initializing netlink subsys (disabled)
[    0.072858] audit: type=2000 audit(1660921264.024:1): state=initialized audit_enabled=0 res=1
[    0.072928] thermal_sys: Registered thermal governor 'fair_share'
[    0.072929] thermal_sys: Registered thermal governor 'bang_bang'
[    0.072930] thermal_sys: Registered thermal governor 'step_wise'
[    0.072930] thermal_sys: Registered thermal governor 'user_space'
[    0.072931] thermal_sys: Registered thermal governor 'power_allocator'
[    0.072940] cpuidle: using governor ladder
[    0.072943] cpuidle: using governor menu
[    0.072963] Simple Boot Flag at 0x47 set to 0x80
[    0.072963] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[    0.072963] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.072963] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
[    0.072963] PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in E820
[    0.072963] PCI: Using configuration type 1 for base access
[    0.073179] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[    0.073598] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[    0.073602] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.073602] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.073602] ACPI: Added _OSI(Module Device)
[    0.073602] ACPI: Added _OSI(Processor Device)
[    0.073602] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.073602] ACPI: Added _OSI(Processor Aggregator Device)
[    0.073602] ACPI: Added _OSI(Linux-Dell-Video)
[    0.073602] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.073602] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    0.106788] ACPI: 11 ACPI AML tables successfully acquired and loaded
[    0.112926] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.118128] ACPI: Dynamic OEM Table Load:
[    0.118128] ACPI: SSDT 0xFFFF9A314120A000 0005AC (v02 PmRef  Cpu0Ist  00003000 INTL 20160422)
[    0.118823] ACPI: \_PR_.PR00: _OSC native thermal LVT Acked
[    0.118823] ACPI: Dynamic OEM Table Load:
[    0.118823] ACPI: SSDT 0xFFFF9A3141217400 0003FF (v02 PmRef  Cpu0Cst  00003001 INTL 20160422)
[    0.118823] ACPI: Dynamic OEM Table Load:
[    0.118823] ACPI: SSDT 0xFFFF9A314121D000 000D14 (v02 PmRef  ApIst    00003000 INTL 20160422)
[    0.120418] ACPI: Dynamic OEM Table Load:
[    0.120422] ACPI: SSDT 0xFFFF9A3141211000 000317 (v02 PmRef  ApHwp    00003000 INTL 20160422)
[    0.121737] ACPI: Dynamic OEM Table Load:
[    0.121743] ACPI: SSDT 0xFFFF9A3141216000 00030A (v02 PmRef  ApCst    00003000 INTL 20160422)
[    0.125091] ACPI: EC: EC started
[    0.125092] ACPI: EC: interrupt blocked
[    0.136037] ACPI: EC: EC_CMD/EC_SC=0x934, EC_DATA=0x930
[    0.136039] ACPI: \_SB_.PCI0.LPCB.ECDV: Boot DSDT EC used to handle transactions
[    0.136040] ACPI: Interpreter enabled
[    0.136080] ACPI: PM: (supports S0 S3 S4 S5)
[    0.136081] ACPI: Using IOAPIC for interrupt routing
[    0.136114] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.136680] ACPI: Enabled 8 GPEs in block 00 to 7F
[    0.141913] ACPI: PM: Power Resource [WRST]
[    0.163510] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-fe])
[    0.163516] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]
[    0.163660] acpi PNP0A08:00: _OSC: platform does not support [PCIeHotplug SHPCHotplug PME AER]
[    0.163926] acpi PNP0A08:00: _OSC: OS now controls [PCIeCapability LTR]
[    0.163927] acpi PNP0A08:00: FADT indicates ASPM is unsupported, using BIOS configuration
[    0.164537] PCI host bridge to bus 0000:00
[    0.164539] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.164541] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.164542] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000dffff window]
[    0.164543] pci_bus 0000:00: root bus resource [mem 0x4f800000-0xdfffffff window]
[    0.164545] pci_bus 0000:00: root bus resource [mem 0xfd000000-0xfe7fffff window]
[    0.164546] pci_bus 0000:00: root bus resource [bus 00-fe]
[    0.164562] pci 0000:00:00.0: [8086:5914] type 00 class 0x060000
[    0.164623] pci 0000:00:02.0: [8086:5917] type 00 class 0x030000
[    0.164630] pci 0000:00:02.0: reg 0x10: [mem 0xdb000000-0xdbffffff 64bit]
[    0.164635] pci 0000:00:02.0: reg 0x18: [mem 0x50000000-0x5fffffff 64bit pref]
[    0.164638] pci 0000:00:02.0: reg 0x20: [io  0xf000-0xf03f]
[    0.164651] pci 0000:00:02.0: BAR 2: assigned to efifb
[    0.164653] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    0.164774] pci 0000:00:04.0: [8086:1903] type 00 class 0x118000
[    0.164782] pci 0000:00:04.0: reg 0x10: [mem 0xdc320000-0xdc327fff 64bit]
[    0.165029] pci 0000:00:14.0: [8086:9d2f] type 00 class 0x0c0330
[    0.165045] pci 0000:00:14.0: reg 0x10: [mem 0xdc310000-0xdc31ffff 64bit]
[    0.165101] pci 0000:00:14.0: PME# supported from D3hot D3cold
[    0.165521] pci 0000:00:14.2: [8086:9d31] type 00 class 0x118000
[    0.165536] pci 0000:00:14.2: reg 0x10: [mem 0xdc335000-0xdc335fff 64bit]
[    0.165669] pci 0000:00:15.0: [8086:9d60] type 00 class 0x118000
[    0.165711] pci 0000:00:15.0: reg 0x10: [mem 0xdc334000-0xdc334fff 64bit]
[    0.166017] pci 0000:00:15.1: [8086:9d61] type 00 class 0x118000
[    0.166047] pci 0000:00:15.1: reg 0x10: [mem 0xdc333000-0xdc333fff 64bit]
[    0.166347] pci 0000:00:16.0: [8086:9d3a] type 00 class 0x078000
[    0.166360] pci 0000:00:16.0: reg 0x10: [mem 0xdc332000-0xdc332fff 64bit]
[    0.166404] pci 0000:00:16.0: PME# supported from D3hot
[    0.166629] pci 0000:00:16.3: [8086:9d3d] type 00 class 0x070002
[    0.166639] pci 0000:00:16.3: reg 0x10: [io  0xf060-0xf067]
[    0.166644] pci 0000:00:16.3: reg 0x14: [mem 0xdc331000-0xdc331fff]
[    0.166751] pci 0000:00:1c.0: [8086:9d10] type 01 class 0x060400
[    0.166812] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
[    0.166828] pci 0000:00:1c.0: Intel SPT PCH root port ACS workaround enabled
[    0.167184] pci 0000:00:1c.2: [8086:9d12] type 01 class 0x060400
[    0.167246] pci 0000:00:1c.2: PME# supported from D0 D3hot D3cold
[    0.167262] pci 0000:00:1c.2: Intel SPT PCH root port ACS workaround enabled
[    0.167612] pci 0000:00:1c.4: [8086:9d14] type 01 class 0x060400
[    0.167682] pci 0000:00:1c.4: PME# supported from D0 D3hot D3cold
[    0.167699] pci 0000:00:1c.4: Intel SPT PCH root port ACS workaround enabled
[    0.168065] pci 0000:00:1d.0: [8086:9d18] type 01 class 0x060400
[    0.168139] pci 0000:00:1d.0: PME# supported from D0 D3hot D3cold
[    0.168157] pci 0000:00:1d.0: Intel SPT PCH root port ACS workaround enabled
[    0.168532] pci 0000:00:1f.0: [8086:9d4e] type 00 class 0x060100
[    0.168761] pci 0000:00:1f.2: [8086:9d21] type 00 class 0x058000
[    0.168772] pci 0000:00:1f.2: reg 0x10: [mem 0xdc32c000-0xdc32ffff]
[    0.169005] pci 0000:00:1f.3: [8086:9d71] type 00 class 0x040380
[    0.169023] pci 0000:00:1f.3: reg 0x10: [mem 0xdc328000-0xdc32bfff 64bit]
[    0.169049] pci 0000:00:1f.3: reg 0x20: [mem 0xdc300000-0xdc30ffff 64bit]
[    0.169091] pci 0000:00:1f.3: PME# supported from D3hot D3cold
[    0.169609] pci 0000:00:1f.4: [8086:9d23] type 00 class 0x0c0500
[    0.169667] pci 0000:00:1f.4: reg 0x10: [mem 0xdc330000-0xdc3300ff 64bit]
[    0.169738] pci 0000:00:1f.4: reg 0x20: [io  0xf040-0xf05f]
[    0.170050] pci 0000:01:00.0: [10ec:525a] type 00 class 0xff0000
[    0.170071] pci 0000:01:00.0: reg 0x14: [mem 0xdc200000-0xdc200fff]
[    0.170171] pci 0000:01:00.0: supports D1 D2
[    0.170172] pci 0000:01:00.0: PME# supported from D1 D2 D3hot D3cold
[    0.170298] pci 0000:00:1c.0: PCI bridge to [bus 01]
[    0.170302] pci 0000:00:1c.0:   bridge window [mem 0xdc200000-0xdc2fffff]
[    0.170654] pci 0000:02:00.0: [8086:24fd] type 00 class 0x028000
[    0.170737] pci 0000:02:00.0: reg 0x10: [mem 0xdc100000-0xdc101fff 64bit]
[    0.171001] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    0.171772] pci 0000:00:1c.2: PCI bridge to [bus 02]
[    0.171775] pci 0000:00:1c.2:   bridge window [mem 0xdc100000-0xdc1fffff]
[    0.171861] pci 0000:00:1c.4: PCI bridge to [bus 03-6d]
[    0.171865] pci 0000:00:1c.4:   bridge window [mem 0xac000000-0xda0fffff]
[    0.171869] pci 0000:00:1c.4:   bridge window [mem 0x60000000-0xa9ffffff 64bit pref]
[    0.172167] pci 0000:6e:00.0: [144d:a808] type 00 class 0x010802
[    0.172186] pci 0000:6e:00.0: reg 0x10: [mem 0xdc000000-0xdc003fff 64bit]
[    0.172594] pci 0000:00:1d.0: PCI bridge to [bus 6e]
[    0.172598] pci 0000:00:1d.0:   bridge window [mem 0xdc000000-0xdc0fffff]
[    0.174543] ACPI: PCI: Interrupt link LNKA configured for IRQ 11
[    0.174543] ACPI: PCI: Interrupt link LNKB configured for IRQ 10
[    0.174543] ACPI: PCI: Interrupt link LNKC configured for IRQ 11
[    0.174543] ACPI: PCI: Interrupt link LNKD configured for IRQ 11
[    0.174543] ACPI: PCI: Interrupt link LNKE configured for IRQ 11
[    0.174543] ACPI: PCI: Interrupt link LNKF configured for IRQ 11
[    0.174543] ACPI: PCI: Interrupt link LNKG configured for IRQ 11
[    0.174543] ACPI: PCI: Interrupt link LNKH configured for IRQ 11
[    0.190091] ACPI: EC: interrupt unblocked
[    0.190092] ACPI: EC: event unblocked
[    0.190100] ACPI: EC: EC_CMD/EC_SC=0x934, EC_DATA=0x930
[    0.190101] ACPI: EC: GPE=0x6e
[    0.190102] ACPI: \_SB_.PCI0.LPCB.ECDV: Boot DSDT EC initialization complete
[    0.190104] ACPI: \_SB_.PCI0.LPCB.ECDV: EC: Used to handle transactions and events
[    0.190173] iommu: Default domain type: Translated 
[    0.190173] iommu: DMA domain TLB invalidation policy: lazy mode 
[    0.190173] EDAC MC: Ver: 3.0.0
[    0.190173] Registered efivars operations
[    0.190173] NetLabel: Initializing
[    0.190173] NetLabel:  domain hash size = 128
[    0.190173] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.190173] NetLabel:  unlabeled traffic allowed by default
[    0.190173] PCI: Using ACPI for IRQ routing
[    0.212173] PCI: pci_cache_line_size set to 64 bytes
[    0.213051] e820: reserve RAM buffer [mem 0x00058000-0x0005ffff]
[    0.213053] e820: reserve RAM buffer [mem 0x0009e000-0x0009ffff]
[    0.213054] e820: reserve RAM buffer [mem 0x2d6c5000-0x2fffffff]
[    0.213055] e820: reserve RAM buffer [mem 0x3b6ad000-0x3bffffff]
[    0.213056] e820: reserve RAM buffer [mem 0x3ecf2000-0x3fffffff]
[    0.213057] e820: reserve RAM buffer [mem 0x48e00000-0x4bffffff]
[    0.213058] e820: reserve RAM buffer [mem 0x2ae800000-0x2afffffff]
[    0.213070] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    0.213070] pci 0000:00:02.0: vgaarb: bridge control possible
[    0.213070] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.213070] vgaarb: loaded
[    0.213782] clocksource: Switched to clocksource tsc-early
[    0.220685] VFS: Disk quotas dquot_6.6.0
[    0.220697] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.220817] AppArmor: AppArmor Filesystem Enabled
[    0.220832] pnp: PnP ACPI init
[    0.221107] system 00:00: [io  0x0680-0x069f] has been reserved
[    0.221110] system 00:00: [io  0xffff] has been reserved
[    0.221112] system 00:00: [io  0xffff] has been reserved
[    0.221113] system 00:00: [io  0xffff] has been reserved
[    0.221114] system 00:00: [io  0x1800-0x18fe] has been reserved
[    0.221116] system 00:00: [io  0x164e-0x164f] has been reserved
[    0.221234] system 00:02: [io  0x1854-0x1857] has been reserved
[    0.221570] system 00:05: [mem 0xfed10000-0xfed17fff] has been reserved
[    0.221572] system 00:05: [mem 0xfed18000-0xfed18fff] has been reserved
[    0.221574] system 00:05: [mem 0xfed19000-0xfed19fff] has been reserved
[    0.221576] system 00:05: [mem 0xe0000000-0xefffffff] has been reserved
[    0.221577] system 00:05: [mem 0xfed20000-0xfed3ffff] has been reserved
[    0.221579] system 00:05: [mem 0xfed90000-0xfed93fff] could not be reserved
[    0.221580] system 00:05: [mem 0xfed45000-0xfed8ffff] has been reserved
[    0.221582] system 00:05: [mem 0xff000000-0xffffffff] has been reserved
[    0.221583] system 00:05: [mem 0xfee00000-0xfeefffff] could not be reserved
[    0.221585] system 00:05: [mem 0xdffe0000-0xdfffffff] has been reserved
[    0.221627] system 00:06: [mem 0xfd000000-0xfdabffff] has been reserved
[    0.221629] system 00:06: [mem 0xfdad0000-0xfdadffff] has been reserved
[    0.221630] system 00:06: [mem 0xfdb00000-0xfdffffff] has been reserved
[    0.221632] system 00:06: [mem 0xfe000000-0xfe01ffff] could not be reserved
[    0.221633] system 00:06: [mem 0xfe036000-0xfe03bfff] has been reserved
[    0.221635] system 00:06: [mem 0xfe03d000-0xfe3fffff] has been reserved
[    0.221636] system 00:06: [mem 0xfe410000-0xfe7fffff] has been reserved
[    0.221878] system 00:07: [io  0xff00-0xfffe] has been reserved
[    0.222786] system 00:08: [mem 0xfe029000-0xfe029fff] has been reserved
[    0.222788] system 00:08: [mem 0xfe028000-0xfe028fff] has been reserved
[    0.226275] pnp: PnP ACPI: found 9 devices
[    0.231776] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.231822] NET: Registered PF_INET protocol family
[    0.231892] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.232651] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.232680] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.232712] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.232804] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[    0.232857] TCP: Hash tables configured (established 65536 bind 65536)
[    0.232901] MPTCP token hash table entries: 8192 (order: 5, 196608 bytes, linear)
[    0.232924] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.232942] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.232976] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.232981] NET: Registered PF_XDP protocol family
[    0.232989] pci 0000:00:1c.4: bridge window [io  0x1000-0x0fff] to [bus 03-6d] add_size 1000
[    0.232995] pci 0000:00:1c.4: BAR 13: assigned [io  0x2000-0x2fff]
[    0.232998] pci 0000:00:1c.0: PCI bridge to [bus 01]
[    0.233002] pci 0000:00:1c.0:   bridge window [mem 0xdc200000-0xdc2fffff]
[    0.233007] pci 0000:00:1c.2: PCI bridge to [bus 02]
[    0.233010] pci 0000:00:1c.2:   bridge window [mem 0xdc100000-0xdc1fffff]
[    0.233014] pci 0000:00:1c.4: PCI bridge to [bus 03-6d]
[    0.233018] pci 0000:00:1c.4:   bridge window [io  0x2000-0x2fff]
[    0.233021] pci 0000:00:1c.4:   bridge window [mem 0xac000000-0xda0fffff]
[    0.233023] pci 0000:00:1c.4:   bridge window [mem 0x60000000-0xa9ffffff 64bit pref]
[    0.233029] pci 0000:00:1d.0: PCI bridge to [bus 6e]
[    0.233040] pci 0000:00:1d.0:   bridge window [mem 0xdc000000-0xdc0fffff]
[    0.233046] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    0.233047] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    0.233048] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000dffff window]
[    0.233050] pci_bus 0000:00: resource 7 [mem 0x4f800000-0xdfffffff window]
[    0.233051] pci_bus 0000:00: resource 8 [mem 0xfd000000-0xfe7fffff window]
[    0.233052] pci_bus 0000:01: resource 1 [mem 0xdc200000-0xdc2fffff]
[    0.233053] pci_bus 0000:02: resource 1 [mem 0xdc100000-0xdc1fffff]
[    0.233055] pci_bus 0000:03: resource 0 [io  0x2000-0x2fff]
[    0.233056] pci_bus 0000:03: resource 1 [mem 0xac000000-0xda0fffff]
[    0.233057] pci_bus 0000:03: resource 2 [mem 0x60000000-0xa9ffffff 64bit pref]
[    0.233058] pci_bus 0000:6e: resource 1 [mem 0xdc000000-0xdc0fffff]
[    0.233890] PCI: CLS 0 bytes, default 64
[    0.233899] DMAR: ACPI device "device:75" under DMAR at fed91000 as 00:15.0
[    0.233902] DMAR: ACPI device "device:76" under DMAR at fed91000 as 00:15.1
[    0.233909] DMAR: No ATSR found
[    0.233910] DMAR: No SATC found
[    0.233911] DMAR: IOMMU feature fl1gp_support inconsistent
[    0.233912] DMAR: IOMMU feature pgsel_inv inconsistent
[    0.233913] DMAR: IOMMU feature nwfs inconsistent
[    0.233913] DMAR: IOMMU feature pasid inconsistent
[    0.233914] DMAR: IOMMU feature eafs inconsistent
[    0.233915] DMAR: IOMMU feature prs inconsistent
[    0.233915] DMAR: IOMMU feature nest inconsistent
[    0.233916] DMAR: IOMMU feature mts inconsistent
[    0.233916] DMAR: IOMMU feature sc_support inconsistent
[    0.233917] DMAR: IOMMU feature dev_iotlb_support inconsistent
[    0.233918] DMAR: dmar0: Using Queued invalidation
[    0.233920] DMAR: dmar1: Using Queued invalidation
[    0.233933] Trying to unpack rootfs image as initramfs...
[    0.234180] pci 0000:00:00.0: Adding to iommu group 0
[    0.234190] pci 0000:00:02.0: Adding to iommu group 1
[    0.234198] pci 0000:00:04.0: Adding to iommu group 2
[    0.234216] pci 0000:00:14.0: Adding to iommu group 3
[    0.234223] pci 0000:00:14.2: Adding to iommu group 3
[    0.234235] pci 0000:00:15.0: Adding to iommu group 4
[    0.234242] pci 0000:00:15.1: Adding to iommu group 4
[    0.234254] pci 0000:00:16.0: Adding to iommu group 5
[    0.234261] pci 0000:00:16.3: Adding to iommu group 5
[    0.234270] pci 0000:00:1c.0: Adding to iommu group 6
[    0.234280] pci 0000:00:1c.2: Adding to iommu group 7
[    0.234290] pci 0000:00:1c.4: Adding to iommu group 8
[    0.234306] pci 0000:00:1d.0: Adding to iommu group 9
[    0.234323] pci 0000:00:1f.0: Adding to iommu group 10
[    0.234337] pci 0000:00:1f.2: Adding to iommu group 10
[    0.234344] pci 0000:00:1f.3: Adding to iommu group 10
[    0.234352] pci 0000:00:1f.4: Adding to iommu group 10
[    0.234360] pci 0000:01:00.0: Adding to iommu group 11
[    0.234369] pci 0000:02:00.0: Adding to iommu group 12
[    0.234385] pci 0000:6e:00.0: Adding to iommu group 13
[    0.235366] DMAR: Intel(R) Virtualization Technology for Directed I/O
[    0.235368] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.235369] software IO TLB: mapped [mem 0x00000000376ad000-0x000000003b6ad000] (64MB)
[    0.235418] sgx: EPC section 0x40200000-0x45f7ffff
[    0.235853] ------------[ cut here ]------------
[    0.235855] WARNING: CPU: 1 PID: 83 at arch/x86/kernel/cpu/sgx/main.c:446 ksgxd+0x1b7/0x1d0
[    0.235861] Modules linked in:
[    0.235862] CPU: 1 PID: 83 Comm: ksgxd Not tainted 5.18.0-4-amd64 #1  Debian 5.18.16-1
[    0.235865] Hardware name: Dell Inc. XPS 13 9370/0RMYH9, BIOS 1.21.0 07/06/2022
[    0.235866] RIP: 0010:ksgxd+0x1b7/0x1d0
[    0.235869] Code: ff e9 f2 fe ff ff 48 89 df e8 55 56 0d 00 84 c0 0f 84 c3 fe ff ff 31 ff e8 c6 56 0d 00 84 c0 0f 85 94 fe ff ff e9 af fe ff ff <0f> 0b e9 7f fe ff ff e8 3d dd 93 00 66 66 2e 0f 1f 84 00 00 00 00
[    0.235870] RSP: 0000:ffffaaed0097bed8 EFLAGS: 00010287
[    0.235872] RAX: ffffaaed00431890 RBX: ffff9a323ccc8000 RCX: 0000000000000000
[    0.235873] RDX: 0000000080000000 RSI: ffffaaed00431850 RDI: 00000000ffffffff
[    0.235875] RBP: ffff9a31416ca080 R08: ffff9a31416cae40 R09: ffff9a31416cae40
[    0.235876] R10: 0000000000000000 R11: 0000000000000001 R12: ffffaaed0006bce0
[    0.235877] R13: ffff9a3140e9c480 R14: ffffffff9825ee60 R15: 0000000000000000
[    0.235878] FS:  0000000000000000(0000) GS:ffff9a32e6640000(0000) knlGS:0000000000000000
[    0.235880] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.235881] CR2: 0000000000000000 CR3: 00000001fbe10001 CR4: 00000000003706e0
[    0.235882] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    0.235883] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[    0.235884] Call Trace:
[    0.235893]  <TASK>
[    0.235895]  ? _raw_spin_lock_irqsave+0x24/0x60
[    0.235900]  ? _raw_spin_unlock_irqrestore+0x23/0x40
[    0.235902]  ? __kthread_parkme+0x36/0x90
[    0.235905]  kthread+0xe5/0x110
[    0.235907]  ? kthread_complete_and_exit+0x20/0x20
[    0.235909]  ret_from_fork+0x1f/0x30
[    0.235914]  </TASK>
[    0.235915] ---[ end trace 0000000000000000 ]---
[    0.236270] Initialise system trusted keyrings
[    0.236278] Key type blacklist registered
[    0.236300] workingset: timestamp_bits=36 max_order=21 bucket_order=0
[    0.237510] zbud: loaded
[    0.237657] integrity: Platform Keyring initialized
[    0.237659] Key type asymmetric registered
[    0.237660] Asymmetric key parser 'x509' registered
[    0.474070] Freeing initrd memory: 39328K
[    0.478090] alg: self-tests for CTR-KDF (hmac(sha256)) passed
[    0.478107] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.478132] io scheduler mq-deadline registered
[    0.479431] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[    0.481918] thermal LNXTHERM:00: registered as thermal_zone0
[    0.481920] ACPI: thermal: Thermal Zone [THM] (25 C)
[    0.482048] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.482361] serial 0000:00:16.3: enabling device (0000 -> 0003)
[    0.482860] 0000:00:16.3: ttyS0 at I/O 0xf060 (irq = 19, base_baud = 115200) is a 16550A
[    0.483018] hpet_acpi_add: no address or irqs in _CRS
[    0.483037] Linux agpgart interface v0.103
[    0.509587] tpm_tis MSFT0101:00: 2.0 TPM (device-id 0xFC, rev-id 1)
[    0.527938] AMD-Vi: AMD IOMMUv2 functionality not available on this system - This is not a bug.
[    0.528760] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[    0.529034] i8042: Warning: Keylock active
[    0.530540] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.530545] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.530664] mousedev: PS/2 mouse device common for all mice
[    0.530707] rtc_cmos 00:01: RTC can wake from S4
[    0.531596] rtc_cmos 00:01: registered as rtc0
[    0.531765] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[    0.532878] rtc_cmos 00:01: setting system clock to 2022-08-19T15:01:04 UTC (1660921264)
[    0.532899] rtc_cmos 00:01: alarms up to one month, y3k, 242 bytes nvram
[    0.533319] intel_pstate: Intel P-state driver initializing
[    0.533788] intel_pstate: HWP enabled
[    0.533960] ledtrig-cpu: registered to indicate activity on CPUs
[    0.534280] efifb: probing for efifb
[    0.534292] efifb: framebuffer at 0x50000000, using 32448k, total 32448k
[    0.534293] efifb: mode is 3840x2160x32, linelength=15360, pages=1
[    0.534295] efifb: scrolling: redraw
[    0.534295] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    0.534421] Console: switching to colour frame buffer device 240x67
[    0.540315] fb0: EFI VGA frame buffer device
[    0.553649] NET: Registered PF_INET6 protocol family
[    0.558769] Segment Routing with IPv6
[    0.558779] In-situ OAM (IOAM) with IPv6
[    0.558803] mip6: Mobile IPv6
[    0.558804] NET: Registered PF_PACKET protocol family
[    0.558961] mpls_gso: MPLS GSO support
[    0.559633] microcode: sig=0x806ea, pf=0x80, revision=0xf0
[    0.559827] microcode: Microcode Update Driver: v2.2.
[    0.559832] IPI shorthand broadcast: enabled
[    0.559841] sched_clock: Marking stable (553756512, 5789265)->(581860121, -22314344)
[    0.560205] registered taskstats version 1
[    0.560208] Loading compiled-in X.509 certificates
[    0.605981] Loaded X.509 cert 'Debian Secure Boot CA: 6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
[    0.605996] Loaded X.509 cert 'Debian Secure Boot Signer 2021 - linux: 4b6ef5abca669825178e052c84667ccbc0531f8c'
[    0.606551] zswap: loaded using pool lzo/zbud
[    0.607001] Key type ._fscrypt registered
[    0.607003] Key type .fscrypt registered
[    0.607004] Key type fscrypt-provisioning registered
[    0.611059] Key type encrypted registered
[    0.611062] AppArmor: AppArmor sha1 policy hashing enabled
[    0.612498] integrity: Loading X.509 certificate: UEFI:db
[    0.612521] integrity: Loaded X.509 cert 'Dell Inc. UEFI DB: 5ddb772dc880660055ba0bc131886bb630a639e7'
[    0.612522] integrity: Loading X.509 certificate: UEFI:db
[    0.612537] integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
[    0.612538] integrity: Loading X.509 certificate: UEFI:db
[    0.612550] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[    0.613590] ima: Allocated hash algorithm: sha256
[    0.638812] ima: No architecture policies found
[    0.638850] evm: Initialising EVM extended attributes:
[    0.638852] evm: security.selinux
[    0.638855] evm: security.SMACK64 (disabled)
[    0.638857] evm: security.SMACK64EXEC (disabled)
[    0.638859] evm: security.SMACK64TRANSMUTE (disabled)
[    0.638861] evm: security.SMACK64MMAP (disabled)
[    0.638863] evm: security.apparmor
[    0.638864] evm: security.ima
[    0.638866] evm: security.capability
[    0.638868] evm: HMAC attrs: 0x1
[    0.740003] Freeing unused decrypted memory: 2036K
[    0.740423] Freeing unused kernel image (initmem) memory: 2704K
[    0.757122] Write protecting the kernel read-only data: 24576k
[    0.757856] Freeing unused kernel image (text/rodata gap) memory: 2040K
[    0.758235] Freeing unused kernel image (rodata/data gap) memory: 1664K
[    0.797092] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[    0.797094] x86/mm: Checking user space page tables
[    0.834176] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[    0.834185] Run /init as init process
[    0.834186]   with arguments:
[    0.834187]     /init
[    0.834188]   with environment:
[    0.834189]     HOME=/
[    0.834189]     TERM=linux
[    0.834190]     BOOT_IMAGE=/vmlinuz-5.18.0-4-amd64
[    0.975801] wmi_bus wmi_bus-PNP0C14:01: WQBC data block query control method not found
[    0.978311] hid: raw HID events driver (C) Jiri Kosina
[    0.980280] rtsx_pci 0000:01:00.0: enabling device (0000 -> 0002)
[    0.982622] cryptd: max_cpu_qlen set to 1000
[    1.005710] ACPI: battery: Slot [BAT0] (battery present)
[    1.007655] intel-lpss 0000:00:15.0: enabling device (0000 -> 0002)
[    1.007946] idma64 idma64.0: Found Intel integrated DMA 64-bit
[    1.014768] AVX2 version of gcm_enc/dec engaged.
[    1.014801] AES CTR mode by8 optimization enabled
[    1.016396] i801_smbus 0000:00:1f.4: SPD Write Disable is set
[    1.016435] i801_smbus 0000:00:1f.4: SMBus using PCI interrupt
[    1.021443] ACPI: bus type USB registered
[    1.021478] usbcore: registered new interface driver usbfs
[    1.021487] usbcore: registered new interface driver hub
[    1.021499] usbcore: registered new device driver usb
[    1.027496] intel-lpss 0000:00:15.1: enabling device (0000 -> 0002)
[    1.027792] idma64 idma64.1: Found Intel integrated DMA 64-bit
[    1.046748] i2c i2c-0: 2/2 memory slots populated (from DMI)
[    1.205467] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    1.205493] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[    1.206795] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0000000081109810
[    1.207811] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    1.207825] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[    1.207833] xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed
[    1.207924] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.18
[    1.207932] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.207937] usb usb1: Product: xHCI Host Controller
[    1.207941] usb usb1: Manufacturer: Linux 5.18.0-4-amd64 xhci-hcd
[    1.207945] usb usb1: SerialNumber: 0000:00:14.0
[    1.208255] hub 1-0:1.0: USB hub found
[    1.208281] hub 1-0:1.0: 12 ports detected
[    1.209906] input: ELAN24EE:00 04F3:24EE Touchscreen as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN24EE:00/0018:04F3:24EE.0001/input/input2
[    1.210112] input: ELAN24EE:00 04F3:24EE as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN24EE:00/0018:04F3:24EE.0001/input/input3
[    1.210210] input: ELAN24EE:00 04F3:24EE as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN24EE:00/0018:04F3:24EE.0001/input/input4
[    1.210350] hid-generic 0018:04F3:24EE.0001: input,hidraw0: I2C HID v1.00 Device [ELAN24EE:00 04F3:24EE] on i2c-ELAN24EE:00
[    1.211358] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.18
[    1.211363] input: DELL07E6:00 06CB:76AF Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-DELL07E6:00/0018:06CB:76AF.0002/input/input6
[    1.211367] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.211373] usb usb2: Product: xHCI Host Controller
[    1.211377] usb usb2: Manufacturer: Linux 5.18.0-4-amd64 xhci-hcd
[    1.211381] usb usb2: SerialNumber: 0000:00:14.0
[    1.211576] input: DELL07E6:00 06CB:76AF Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-DELL07E6:00/0018:06CB:76AF.0002/input/input7
[    1.211667] hub 2-0:1.0: USB hub found
[    1.211689] hub 2-0:1.0: 6 ports detected
[    1.211829] hid-generic 0018:06CB:76AF.0002: input,hidraw1: I2C HID v1.00 Mouse [DELL07E6:00 06CB:76AF] on i2c-DELL07E6:00
[    1.212516] usb: port power management may be unreliable
[    1.233780] nvme nvme0: pci function 0000:6e:00.0
[    1.241540] nvme nvme0: Shutdown timeout set to 8 seconds
[    1.251817] nvme nvme0: 8/0/0 default/read/poll queues
[    1.255567]  nvme0n1: p1 p2 p3
[    1.260887] tsc: Refined TSC clocksource calibration: 1896.002 MHz
[    1.260902] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x36a8d617cd5, max_idle_ns: 881590553509 ns
[    1.260958] clocksource: Switched to clocksource tsc
[    1.453219] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.
[    1.453287] device-mapper: uevent: version 1.0.3
[    1.453455] device-mapper: ioctl: 4.46.0-ioctl (2022-02-22) initialised: dm-devel@redhat.com
[    1.464913] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    1.617511] usb 1-1: New USB device found, idVendor=2109, idProduct=2820, bcdDevice= 9.f3
[    1.617525] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.617531] usb 1-1: Product: USB2.0 Hub             
[    1.617536] usb 1-1: Manufacturer: VIA Labs, Inc.         
[    1.618957] hub 1-1:1.0: USB hub found
[    1.619361] hub 1-1:1.0: 5 ports detected
[    1.743789] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
[    1.764987] usb 2-1: New USB device found, idVendor=2109, idProduct=0820, bcdDevice= 9.f3
[    1.765002] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.765008] usb 2-1: Product: USB3.1 Hub             
[    1.765013] usb 2-1: Manufacturer: VIA Labs, Inc.         
[    1.768685] hub 2-1:1.0: USB hub found
[    1.769312] hub 2-1:1.0: 4 ports detected
[    1.889176] usb 1-5: new high-speed USB device number 3 using xhci_hcd
[    2.086385] usb 1-5: New USB device found, idVendor=0bda, idProduct=58f4, bcdDevice=72.79
[    2.086399] usb 1-5: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[    2.086405] usb 1-5: Product: Integrated_Webcam_HD
[    2.086410] usb 1-5: Manufacturer: CN0FFMHCLOG0087LB412A01
[    2.086415] usb 1-5: SerialNumber: 200901010001
[    2.217152] usb 1-7: new full-speed USB device number 4 using xhci_hcd
[    2.367599] usb 1-7: New USB device found, idVendor=8087, idProduct=0a2b, bcdDevice= 0.10
[    2.367613] usb 1-7: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.493092] usb 1-1.1: new full-speed USB device number 5 using xhci_hcd
[    2.649504] usb 1-1.1: New USB device found, idVendor=06c4, idProduct=c412, bcdDevice= 0.01
[    2.649518] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.649524] usb 1-1.1: Product: DELL DA300
[    2.649529] usb 1-1.1: Manufacturer: Bizlink
[    2.649533] usb 1-1.1: SerialNumber: MCU Ver0001
[    2.669680] hid-generic 0003:06C4:C412.0003: hiddev0,hidraw2: USB HID v1.11 Device [Bizlink DELL DA300] on usb-0000:00:14.0-1.1/input0
[    2.669714] usbcore: registered new interface driver usbhid
[    2.669716] usbhid: USB HID core driver
[    2.769089] usb 1-10: new full-speed USB device number 6 using xhci_hcd
[    2.920008] usb 1-10: New USB device found, idVendor=27c6, idProduct=5385, bcdDevice= 1.00
[    2.920026] usb 1-10: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.920033] usb 1-10: Product: Goodix Fingerprint Device 
[    2.920037] usb 1-10: Manufacturer: HTMicroelectronics
[    2.920042] usb 1-10: SerialNumber: HTK32
[    3.629425] usb 2-1.2: new SuperSpeed USB device number 3 using xhci_hcd
[    3.650886] usb 2-1.2: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=31.00
[    3.650902] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[    3.650909] usb 2-1.2: Product: USB 10/100/1000 LAN
[    3.650914] usb 2-1.2: Manufacturer: Realtek
[    3.650919] usb 2-1.2: SerialNumber: 001000001
[    3.664391] usbcore: registered new interface driver r8152
[    3.669948] usbcore: registered new interface driver cdc_ether
[    3.749615] usb 2-1.2: reset SuperSpeed USB device number 3 using xhci_hcd
[    3.773488] r8152 2-1.2:1.0: firmware: direct-loading firmware rtl_nic/rtl8153b-2.fw
[    3.773672] r8152 2-1.2:1.0 (unnamed net_device) (uninitialized): Using pass-thru MAC addr e4:b9:7a:a0:fe:14
[    3.789409] r8152 2-1.2:1.0: load rtl8153b-2 v1 10/23/19 successfully
[    3.837170] r8152 2-1.2:1.0 eth0: v1.12.13
[    3.851556] r8152 2-1.2:1.0 enxe4b97aa0fe14: renamed from eth0
[    8.616779] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Quota mode: none.
[    8.660924] Not activating Mandatory Access Control as /sbin/tomoyo-init does not exist.
[    8.711328] systemd[1]: Inserted module 'autofs4'
[    8.894517] systemd[1]: systemd 251.4-1 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)
[    8.894523] systemd[1]: Detected architecture x86-64.
[    8.895145] systemd[1]: Hostname set to <bach>.
[    8.987170] systemd[1]: Queued start job for default target Graphical Interface.
[    8.988283] systemd[1]: Created slice Slice /system/getty.
[    8.988558] systemd[1]: Created slice Slice /system/modprobe.
[    8.988796] systemd[1]: Created slice Cryptsetup Units Slice.
[    8.989027] systemd[1]: Created slice Slice /system/systemd-fsck.
[    8.989208] systemd[1]: Created slice User and Session Slice.
[    8.989279] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    8.989325] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    8.989467] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    8.989506] systemd[1]: Reached target Local Integrity Protected Volumes.
[    8.989522] systemd[1]: Reached target User and Group Name Lookups.
[    8.989531] systemd[1]: Reached target Remote File Systems.
[    8.989540] systemd[1]: Reached target Slice Units.
[    8.989553] systemd[1]: Reached target Swaps.
[    8.989563] systemd[1]: Reached target Local Verity Protected Volumes.
[    8.990460] systemd[1]: Listening on Process Core Dump Socket.
[    8.990539] systemd[1]: Listening on fsck to fsckd communication Socket.
[    8.990593] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    8.990743] systemd[1]: Listening on Journal Audit Socket.
[    8.990846] systemd[1]: Listening on Journal Socket (/dev/log).
[    8.990955] systemd[1]: Listening on Journal Socket.
[    8.991207] systemd[1]: Listening on udev Control Socket.
[    8.991293] systemd[1]: Listening on udev Kernel Socket.
[    8.991995] systemd[1]: Mounting Huge Pages File System...
[    8.992687] systemd[1]: Mounting POSIX Message Queue File System...
[    8.993388] systemd[1]: Mounting Kernel Debug File System...
[    8.994088] systemd[1]: Mounting Kernel Trace File System...
[    8.995117] systemd[1]: Starting Set the console keyboard layout...
[    8.996163] systemd[1]: Starting Create List of Static Device Nodes...
[    8.997119] systemd[1]: Starting Load Kernel Module configfs...
[    8.998035] systemd[1]: Starting Load Kernel Module drm...
[    8.999025] systemd[1]: Starting Load Kernel Module fuse...
[    8.999170] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathExists=!/run/initramfs/fsck-root).
[    9.000599] systemd[1]: Starting Journal Service...
[    9.002262] systemd[1]: Starting Load Kernel Modules...
[    9.003224] systemd[1]: Starting Remount Root and Kernel File Systems...
[    9.003326] systemd[1]: Repartition Root Disk was skipped because all trigger condition checks failed.
[    9.004248] systemd[1]: Starting Coldplug All udev Devices...
[    9.006105] systemd[1]: Mounted Huge Pages File System.
[    9.006220] systemd[1]: Mounted POSIX Message Queue File System.
[    9.006321] systemd[1]: Mounted Kernel Debug File System.
[    9.006417] systemd[1]: Mounted Kernel Trace File System.
[    9.006638] systemd[1]: Finished Set the console keyboard layout.
[    9.006956] systemd[1]: Finished Create List of Static Device Nodes.
[    9.007253] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[    9.007395] systemd[1]: Finished Load Kernel Module configfs.
[    9.008531] fuse: init (API version 7.36)
[    9.008643] systemd[1]: Mounting Kernel Configuration File System...
[    9.009296] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[    9.009472] systemd[1]: Finished Load Kernel Module fuse.
[    9.010567] systemd[1]: Mounting FUSE Control File System...
[    9.011389] systemd[1]: Mounted Kernel Configuration File System.
[    9.012653] EXT4-fs (dm-0): re-mounted. Quota mode: none.
[    9.013260] systemd[1]: Mounted FUSE Control File System.
[    9.013507] systemd[1]: Finished Remount Root and Kernel File Systems.
[    9.013614] systemd[1]: Platform Persistent Storage Archival was skipped because of a failed condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
[    9.014399] systemd[1]: Starting Load/Save Random Seed...
[    9.015531] systemd[1]: Starting Create System Users...
[    9.017201] lp: driver loaded but no devices found
[    9.020292] ppdev: user-space parallel port driver
[    9.026692] systemd[1]: Finished Load/Save Random Seed.
[    9.027096] systemd[1]: Finished Create System Users.
[    9.027257] systemd[1]: First Boot Complete was skipped because of a failed condition check (ConditionFirstBoot=yes).
[    9.027948] ACPI: bus type drm_connector registered
[    9.028380] systemd[1]: Starting Create Static Device Nodes in /dev...
[    9.029014] systemd[1]: modprobe@drm.service: Deactivated successfully.
[    9.029214] systemd[1]: Finished Load Kernel Module drm.
[    9.029888] systemd[1]: Finished Load Kernel Modules.
[    9.031003] systemd[1]: Starting Apply Kernel Variables...
[    9.037020] systemd[1]: Finished Apply Kernel Variables.
[    9.040273] systemd[1]: Finished Create Static Device Nodes in /dev.
[    9.040382] systemd[1]: Reached target Preparation for Local File Systems.
[    9.042320] systemd[1]: Starting Rule-based Manager for Device Events and Files...
[    9.061587] systemd[1]: Started Journal Service.
[    9.067236] systemd-journald[457]: Received client request to flush runtime journal.
[    9.151219] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input9
[    9.151261] ACPI: button: Lid Switch [LID0]
[    9.151311] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input10
[    9.151342] ACPI: button: Power Button [PBTN]
[    9.151375] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input11
[    9.151399] ACPI: button: Sleep Button [SBTN]
[    9.151441] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input12
[    9.151647] ACPI: button: Power Button [PWRF]
[    9.156493] ACPI: AC: AC Adapter [AC] (on-line)
[    9.161449] input: Intel HID events as /devices/platform/INT33D5:00/input/input13
[    9.162521] intel-hid INT33D5:00: platform supports 5 button array
[    9.162801] input: Intel HID 5 button array as /devices/platform/INT33D5:00/input/input14
[    9.162818] intel_pmc_core INT33A1:00:  initialized
[    9.180185] Consider using thermal netlink events interface
[    9.228209] EXT4-fs (nvme0n1p2): mounted filesystem with ordered data mode. Quota mode: none.
[    9.301734] mc: Linux media interface: v0.10
[    9.346736] input: ELAN24EE:00 04F3:24EE as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN24EE:00/0018:04F3:24EE.0001/input/input15
[    9.346911] input: ELAN24EE:00 04F3:24EE UNKNOWN as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN24EE:00/0018:04F3:24EE.0001/input/input16
[    9.346995] input: ELAN24EE:00 04F3:24EE UNKNOWN as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN24EE:00/0018:04F3:24EE.0001/input/input17
[    9.347109] hid-multitouch 0018:04F3:24EE.0001: input,hidraw0: I2C HID v1.00 Device [ELAN24EE:00 04F3:24EE] on i2c-ELAN24EE:00
[    9.421639] cdc_acm 1-10:1.0: ttyACM0: USB ACM device
[    9.421718] usbcore: registered new interface driver cdc_acm
[    9.421722] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    9.446363] dcdbas dcdbas: Dell Systems Management Base Driver (version 5.6.0-3.4)
[    9.446395] input: DELL07E6:00 06CB:76AF Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-DELL07E6:00/0018:06CB:76AF.0002/input/input19
[    9.446719] input: DELL07E6:00 06CB:76AF Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-DELL07E6:00/0018:06CB:76AF.0002/input/input20
[    9.447049] hid-multitouch 0018:06CB:76AF.0002: input,hidraw1: I2C HID v1.00 Mouse [DELL07E6:00 06CB:76AF] on i2c-DELL07E6:00
[    9.448093] proc_thermal 0000:00:04.0: enabling device (0000 -> 0002)
[    9.449364] mei_me 0000:00:16.0: enabling device (0000 -> 0002)
[    9.449851] alg: No test for fips(ansi_cprng) (fips_ansi_cprng)
[    9.454215] iTCO_vendor_support: vendor-support=0
[    9.471552] intel_rapl_common: Found RAPL domain package
[    9.471560] intel_rapl_common: Found RAPL domain dram
[    9.479485] videodev: Linux video capture interface: v2.00
[    9.560507] pstore: Using crash dump compression: deflate
[    9.560524] pstore: Registered efi as persistent store backend
[    9.573999] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    9.574321] cfg80211: Loaded X.509 cert 'benh@debian.org: 577e021cb980e0e820821ba7b54b4961b8b4fadf'
[    9.574623] cfg80211: Loaded X.509 cert 'romain.perier@gmail.com: 3abbc6ec146e09d1b6016ab9d6cf71dd233f0328'
[    9.574912] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    9.575755] iTCO_wdt iTCO_wdt: Found a Intel PCH TCO device (Version=4, TCOBASE=0x0400)
[    9.576297] platform regulatory.0: firmware: direct-loading firmware regulatory.db
[    9.576684] platform regulatory.0: firmware: direct-loading firmware regulatory.db.p7s
[    9.580449] iTCO_wdt iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[    9.592423] input: PC Speaker as /devices/platform/pcspkr/input/input22
[    9.592638] input: Dell WMI hotkeys as /devices/platform/PNP0C14:01/wmi_bus/wmi_bus-PNP0C14:01/9DBB5994-A997-11DA-B012-B622A1EF5492/input/input23
[    9.593296] usb 1-5: Found UVC 1.50 device Integrated_Webcam_HD (0bda:58f4)
[    9.605678] Intel(R) Wireless WiFi driver for Linux
[    9.605998] iwlwifi 0000:02:00.0: enabling device (0000 -> 0002)
[    9.606339] input: Integrated_Webcam_HD: Integrate as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/input/input24
[    9.615356] usb 1-5: Found UVC 1.50 device Integrated_Webcam_HD (0bda:58f4)
[    9.615936] iwlwifi 0000:02:00.0: firmware: direct-loading firmware iwlwifi-8265-36.ucode
[    9.616438] iwlwifi 0000:02:00.0: loaded firmware version 36.ca7b901d.0 8265-36.ucode op_mode iwlmvm
[    9.618018] input: Integrated_Webcam_HD: Integrate as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/input/input25
[    9.618780] usbcore: registered new interface driver uvcvideo
[    9.730649] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    9.730668] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[    9.736398] intel_rapl_common: Found RAPL domain package
[    9.736402] intel_rapl_common: Found RAPL domain core
[    9.736403] intel_rapl_common: Found RAPL domain uncore
[    9.736405] intel_rapl_common: Found RAPL domain dram
[    9.736406] intel_rapl_common: Found RAPL domain psys
[    9.844109] RAPL PMU: API unit is 2^-32 Joules, 5 fixed counters, 655360 ms ovfl timer
[    9.844114] RAPL PMU: hw unit of domain pp0-core 2^-14 Joules
[    9.844115] RAPL PMU: hw unit of domain package 2^-14 Joules
[    9.844116] RAPL PMU: hw unit of domain dram 2^-14 Joules
[    9.844117] RAPL PMU: hw unit of domain pp1-gpu 2^-14 Joules
[    9.844118] RAPL PMU: hw unit of domain psys 2^-14 Joules
[    9.874585] Bluetooth: Core ver 2.22
[    9.874605] NET: Registered PF_BLUETOOTH protocol family
[    9.874607] Bluetooth: HCI device and connection manager initialized
[    9.874610] Bluetooth: HCI socket layer initialized
[    9.874612] Bluetooth: L2CAP socket layer initialized
[    9.874616] Bluetooth: SCO socket layer initialized
[    9.875554] i915 0000:00:02.0: [drm] VT-d active for gfx access
[    9.875870] Console: switching to colour dummy device 80x25
[    9.875940] i915 0000:00:02.0: vgaarb: deactivate vga console
[    9.875988] i915 0000:00:02.0: [drm] Transparent Hugepage mode 'huge=within_size'
[    9.882144] iwlwifi 0000:02:00.0: Detected Intel(R) Dual Band Wireless AC 8265, REV=0x230
[    9.882356] thermal thermal_zone10: failed to read out thermal zone (-61)
[    9.933162] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    9.934218] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[    9.934338] i915 0000:00:02.0: firmware: direct-loading firmware i915/kbl_dmc_ver1_04.bin
[    9.936237] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[    9.972310] iwlwifi 0000:02:00.0: base HW address: 38:ba:f8:94:0a:e8, OTP minor version: 0x0
[    9.982878] i915 0000:00:02.0: [drm] [ENCODER:102:DDI B/PHY B] is disabled/in DSI mode with an ungated DDI clock, gate it
[    9.995786] usbcore: registered new interface driver btusb
[    9.996550] i915 0000:00:02.0: [drm] [ENCODER:113:DDI C/PHY C] is disabled/in DSI mode with an ungated DDI clock, gate it
[   10.007019] Bluetooth: hci0: Bootloader revision 0.0 build 26 week 38 2015
[   10.008003] Bluetooth: hci0: Device revision is 16
[   10.008007] Bluetooth: hci0: Secure boot is enabled
[   10.008009] Bluetooth: hci0: OTP lock is enabled
[   10.008010] Bluetooth: hci0: API lock is enabled
[   10.008011] Bluetooth: hci0: Debug lock is disabled
[   10.008012] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[   10.009821] bluetooth hci0: firmware: direct-loading firmware intel/ibt-12-16.sfi
[   10.009828] Bluetooth: hci0: Found device firmware: intel/ibt-12-16.sfi
[   10.045631] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[   10.051374] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[   10.051560] ACPI: video: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[   10.054173] iwlwifi 0000:02:00.0 wlp2s0: renamed from wlan0
[   10.058878] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input26
[   10.059073] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   10.064359] fbcon: i915drmfb (fb0) is primary device
[   10.070786] Console: switching to colour frame buffer device 240x67
[   10.092168] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[   10.170255] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3271: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[   10.170261] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   10.170264] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[   10.170266] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[   10.170267] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[   10.170269] snd_hda_codec_realtek hdaudioC0D0:      Headset Mic=0x19
[   10.170271] snd_hda_codec_realtek hdaudioC0D0:      Headphone Mic=0x1b
[   10.170272] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
[   10.194840] audit: type=1400 audit(1660921274.157:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/ipsec/stroke" pid=686 comm="apparmor_parser"
[   10.195903] audit: type=1400 audit(1660921274.157:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-senddoc" pid=688 comm="apparmor_parser"
[   10.195949] audit: type=1400 audit(1660921274.157:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-oosplash" pid=687 comm="apparmor_parser"
[   10.196516] audit: type=1400 audit(1660921274.157:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=680 comm="apparmor_parser"
[   10.196521] audit: type=1400 audit(1660921274.157:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=681 comm="apparmor_parser"
[   10.196524] audit: type=1400 audit(1660921274.157:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=681 comm="apparmor_parser"
[   10.197589] audit: type=1400 audit(1660921274.161:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=683 comm="apparmor_parser"
[   10.197593] audit: type=1400 audit(1660921274.161:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=683 comm="apparmor_parser"
[   10.197595] audit: type=1400 audit(1660921274.161:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=683 comm="apparmor_parser"
[   10.199186] audit: type=1400 audit(1660921274.161:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-xpdfimport" pid=691 comm="apparmor_parser"
[   10.286834] Process accounting resumed
[   10.398175] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   10.398179] Bluetooth: BNEP filters: protocol multicast
[   10.398183] Bluetooth: BNEP socket layer initialized
[   10.402781] NET: Registered PF_QIPCRTR protocol family
[   10.524027] r8152 2-1.2:1.0 enxe4b97aa0fe14: carrier on
[   10.530507] Initializing XFRM netlink socket
[   10.532515] PPP generic driver version 2.4.2
[   10.735398] IPv6: ADDRCONF(NETDEV_CHANGE): enxe4b97aa0fe14: link becomes ready
[   10.737308] NET: Registered PF_PPPOX protocol family
[   10.913291] input: HDA Intel PCH Headphone Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input27
[   10.913350] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input28
[   10.913404] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input29
[   10.913449] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input30
[   10.913493] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input31
[   10.913535] input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input32
[   11.000473] l2tp_core: L2TP core driver, V2.0
[   11.002717] l2tp_netlink: L2TP netlink interface
[   11.005850] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[   11.445793] Bluetooth: hci0: Waiting for firmware download to complete
[   11.445985] Bluetooth: hci0: Firmware loaded in 1402494 usecs
[   11.446019] Bluetooth: hci0: Waiting for device to boot
[   11.458024] Bluetooth: hci0: Device booted in 11740 usecs
[   11.458184] bluetooth hci0: firmware: direct-loading firmware intel/ibt-12-16.ddc
[   11.458188] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-12-16.ddc
[   11.461029] Bluetooth: hci0: Applying Intel DDC parameters completed
[   11.462025] Bluetooth: hci0: Firmware revision 0.1 build 197 week 12 2021
[   11.524213] NET: Registered PF_ALG protocol family
[   11.550505] Bluetooth: RFCOMM TTY layer initialized
[   11.550530] Bluetooth: RFCOMM socket layer initialized
[   11.550535] Bluetooth: RFCOMM ver 1.11
[   12.526045] rfkill: input handler disabled
[   13.900028] ucsi_acpi USBC000:00: UCSI_GET_PDOS returned 0 bytes

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

* Re: WARNING: CPU: 1 PID: 83 at arch/x86/kernel/cpu/sgx/main.c:446 ksgxd+0x1b7/0x1d0
  2022-08-19 13:19 WARNING: CPU: 1 PID: 83 at arch/x86/kernel/cpu/sgx/main.c:446 ksgxd+0x1b7/0x1d0 Paul Menzel
@ 2022-08-19 16:02 ` Paul Menzel
  2022-08-19 18:28   ` Dave Hansen
  0 siblings, 1 reply; 17+ messages in thread
From: Paul Menzel @ 2022-08-19 16:02 UTC (permalink / raw)
  To: Jarkko Sakkinen, Thomas Gleixner, Ingo Molnar, Borislav Petkov, x86
  Cc: linux-sgx, LKML

[Cc: +linux-sgx@vger.kernel.org]

Am 19.08.22 um 15:19 schrieb Paul Menzel:
> Dear Linux folks,
> 
> 
> On the Dell XPS 13 9370, Linux 5.18.16 prints the warning below:
> 
> ```
> [    0.000000] Linux version 5.18.0-4-amd64 (debian-kernel@lists.debian.org) (gcc-11 (Debian 11.3.0-5) 11.3.0, GNU ld (GNU Binutils for Debian) 2.38.90.20220713) #1 SMP PREEMPT_DYNAMIC Debian 5.18.16-1 (2022-08-10)
> [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.18.0-4-amd64 root=UUID=56f398e0-1e25-4fda-aa9f-611dece4b333 ro quiet
> […]
> [    0.000000] DMI: Dell Inc. XPS 13 9370/0RMYH9, BIOS 1.21.0 07/06/2022
> […]
> [    0.235418] sgx: EPC section 0x40200000-0x45f7ffff
> [    0.235853] ------------[ cut here ]------------
> [    0.235855] WARNING: CPU: 1 PID: 83 at arch/x86/kernel/cpu/sgx/main.c:446 ksgxd+0x1b7/0x1d0
> [    0.235861] Modules linked in:
> [    0.235862] CPU: 1 PID: 83 Comm: ksgxd Not tainted 5.18.0-4-amd64 #1 Debian 5.18.16-1
> [    0.235865] Hardware name: Dell Inc. XPS 13 9370/0RMYH9, BIOS 1.21.0 07/06/2022
> [    0.235866] RIP: 0010:ksgxd+0x1b7/0x1d0
> [    0.235869] Code: ff e9 f2 fe ff ff 48 89 df e8 55 56 0d 00 84 c0 0f 84 c3 fe ff ff 31 ff e8 c6 56 0d 00 84 c0 0f 85 94 fe ff ff e9 af fe ff ff <0f> 0b e9 7f fe ff ff e8 3d dd 93 00 66 66 2e 0f 1f 84 00 00 00 00
> [    0.235870] RSP: 0000:ffffaaed0097bed8 EFLAGS: 00010287
> [    0.235872] RAX: ffffaaed00431890 RBX: ffff9a323ccc8000 RCX: 0000000000000000
> [    0.235873] RDX: 0000000080000000 RSI: ffffaaed00431850 RDI: 00000000ffffffff
> [    0.235875] RBP: ffff9a31416ca080 R08: ffff9a31416cae40 R09: ffff9a31416cae40
> [    0.235876] R10: 0000000000000000 R11: 0000000000000001 R12: ffffaaed0006bce0
> [    0.235877] R13: ffff9a3140e9c480 R14: ffffffff9825ee60 R15: 0000000000000000
> [    0.235878] FS:  0000000000000000(0000) GS:ffff9a32e6640000(0000) knlGS:0000000000000000
> [    0.235880] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [    0.235881] CR2: 0000000000000000 CR3: 00000001fbe10001 CR4: 00000000003706e0
> [    0.235882] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> [    0.235883] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
> [    0.235884] Call Trace:
> [    0.235893]  <TASK>
> [    0.235895]  ? _raw_spin_lock_irqsave+0x24/0x60
> [    0.235900]  ? _raw_spin_unlock_irqrestore+0x23/0x40
> [    0.235902]  ? __kthread_parkme+0x36/0x90
> [    0.235905]  kthread+0xe5/0x110
> [    0.235907]  ? kthread_complete_and_exit+0x20/0x20
> [    0.235909]  ret_from_fork+0x1f/0x30
> [    0.235914]  </TASK>
> [    0.235915] ---[ end trace 0000000000000000 ]---
> ```
> 
> 
> Kind regards,
> 
> Paul

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

* Re: WARNING: CPU: 1 PID: 83 at arch/x86/kernel/cpu/sgx/main.c:446 ksgxd+0x1b7/0x1d0
  2022-08-19 16:02 ` Paul Menzel
@ 2022-08-19 18:28   ` Dave Hansen
  2022-08-20  6:13     ` Paul Menzel
  2022-08-25  4:57     ` Jarkko Sakkinen
  0 siblings, 2 replies; 17+ messages in thread
From: Dave Hansen @ 2022-08-19 18:28 UTC (permalink / raw)
  To: Paul Menzel, Jarkko Sakkinen, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, x86, Chatre, Reinette
  Cc: linux-sgx, LKML

On 8/19/22 09:02, Paul Menzel wrote:
> On the Dell XPS 13 9370, Linux 5.18.16 prints the warning below:
> 
> ```
> [    0.000000] Linux version 5.18.0-4-amd64
> (debian-kernel@lists.debian.org) (gcc-11 (Debian 11.3.0-5) 11.3.0, GNU
> ld (GNU Binutils for Debian) 2.38.90.20220713) #1 SMP PREEMPT_DYNAMIC
> Debian 5.18.16-1 (2022-08-10)
> [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.18.0-4-amd64
> root=UUID=56f398e0-1e25-4fda-aa9f-611dece4b333 ro quiet
> […]
> [    0.000000] DMI: Dell Inc. XPS 13 9370/0RMYH9, BIOS 1.21.0 07/06/2022
> […]
> [    0.235418] sgx: EPC section 0x40200000-0x45f7ffff

Hi Paul,

Would you be able to send the entire dmesg, along with:

	cat /proc/iomem # (as root)
and
	cpuid -1 --raw

I'm suspecting either a BIOS problem.  Reinette (cc'd) also thought this
might be a case of the SGX initialization getting a bit too far along
when it should have been disabled.

We had some bugs where we didn't stop fast enough after spitting out the
"SGX Launch Control is locked..." errors.

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

* Re: WARNING: CPU: 1 PID: 83 at arch/x86/kernel/cpu/sgx/main.c:446 ksgxd+0x1b7/0x1d0
  2022-08-19 18:28   ` Dave Hansen
@ 2022-08-20  6:13     ` Paul Menzel
  2022-08-23 13:48       ` Paul Menzel
  2022-08-25  4:57     ` Jarkko Sakkinen
  1 sibling, 1 reply; 17+ messages in thread
From: Paul Menzel @ 2022-08-20  6:13 UTC (permalink / raw)
  To: Dave Hansen, Jarkko Sakkinen, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, x86, Reinette Chatre
  Cc: linux-sgx, LKML

Dear Dave,


Thank you for your quick reply.


Am 19.08.22 um 20:28 schrieb Dave Hansen:
> On 8/19/22 09:02, Paul Menzel wrote:
>> On the Dell XPS 13 9370, Linux 5.18.16 prints the warning below:
>>
>> ```
>> [    0.000000] Linux version 5.18.0-4-amd64 (debian-kernel@lists.debian.org) (gcc-11 (Debian 11.3.0-5) 11.3.0, GNU ld (GNU Binutils for Debian) 2.38.90.20220713) #1 SMP PREEMPT_DYNAMIC Debian 5.18.16-1 (2022-08-10)
>> [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.18.0-4-amd64 root=UUID=56f398e0-1e25-4fda-aa9f-611dece4b333 ro quiet
>> […]
>> [    0.000000] DMI: Dell Inc. XPS 13 9370/0RMYH9, BIOS 1.21.0 07/06/2022
>> […]
>> [    0.235418] sgx: EPC section 0x40200000-0x45f7ffff

> Would you be able to send the entire dmesg, along with:

The log message are attached to the first message, where I missed to 
carbon-copy linux-sgx@ [1].

> 	cat /proc/iomem # (as root)
> and
> 	cpuid -1 --raw

I am going to provide that next week. (Side note, Intel might have some 
Dell XPS 9370 test machines in some QA lab.)

> I'm suspecting either a BIOS problem.  Reinette (cc'd) also thought this
> might be a case of the SGX initialization getting a bit too far along
> when it should have been disabled.
> 
> We had some bugs where we didn't stop fast enough after spitting out the
> "SGX Launch Control is locked..." errors.


Kind regards,

Paul


[1]: 
https://lore.kernel.org/lkml/ce0b4d26-3a6e-7c5a-5f66-44cba05f9f35@molgen.mpg.de/

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

* Re: WARNING: CPU: 1 PID: 83 at arch/x86/kernel/cpu/sgx/main.c:446 ksgxd+0x1b7/0x1d0
  2022-08-20  6:13     ` Paul Menzel
@ 2022-08-23 13:48       ` Paul Menzel
  2022-08-23 16:32         ` Dave Hansen
  2022-08-25  2:12         ` Haitao Huang
  0 siblings, 2 replies; 17+ messages in thread
From: Paul Menzel @ 2022-08-23 13:48 UTC (permalink / raw)
  To: Dave Hansen, Jarkko Sakkinen, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, x86, Reinette Chatre
  Cc: linux-sgx, LKML

Dear Dave,


Am 20.08.22 um 08:13 schrieb Paul Menzel:

> Am 19.08.22 um 20:28 schrieb Dave Hansen:
>> On 8/19/22 09:02, Paul Menzel wrote:
>>> On the Dell XPS 13 9370, Linux 5.18.16 prints the warning below:
>>>
>>> ```
>>> [    0.000000] Linux version 5.18.0-4-amd64 (debian-kernel@lists.debian.org) (gcc-11 (Debian 11.3.0-5) 11.3.0, GNU ld (GNU Binutils for Debian) 2.38.90.20220713) #1 SMP PREEMPT_DYNAMIC Debian 5.18.16-1 (2022-08-10)
>>> [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.18.0-4-amd64 root=UUID=56f398e0-1e25-4fda-aa9f-611dece4b333 ro quiet
>>> […]
>>> [    0.000000] DMI: Dell Inc. XPS 13 9370/0RMYH9, BIOS 1.21.0 07/06/2022
>>> […]
>>> [    0.235418] sgx: EPC section 0x40200000-0x45f7ffff
> 
>> Would you be able to send the entire dmesg, along with:
> 
> The log message are attached to the first message, where I missed to 
> carbon-copy linux-sgx@ [1].
> 
>>     cat /proc/iomem # (as root)
>> and
>>     cpuid -1 --raw
> 
> I am going to provide that next week. (Side note, Intel might have some 
> Dell XPS 9370 test machines in some QA lab.)

Please find both outputs at the end of the file.

>> I'm suspecting either a BIOS problem.  Reinette (cc'd) also thought this
>> might be a case of the SGX initialization getting a bit too far along
>> when it should have been disabled.
>>
>> We had some bugs where we didn't stop fast enough after spitting out the
>> "SGX Launch Control is locked..." errors.

Let’s hope it’s something known to you.


Kind regards,

Paul


> [1]: https://lore.kernel.org/lkml/ce0b4d26-3a6e-7c5a-5f66-44cba05f9f35@molgen.mpg.de/


PS:

$ sudo cat /proc/iomem
[sudo] password for molgenit:
00000000-00000fff : Reserved
00001000-00057fff : System RAM
00058000-00058fff : Reserved
00059000-0009dfff : System RAM
0009e000-000fffff : Reserved
   00000000-00000000 : PCI Bus 0000:00
   00000000-00000000 : PCI Bus 0000:00
   00000000-00000000 : PCI Bus 0000:00
   00000000-00000000 : PCI Bus 0000:00
   00000000-00000000 : PCI Bus 0000:00
   00000000-00000000 : PCI Bus 0000:00
   00000000-00000000 : PCI Bus 0000:00
   00000000-00000000 : PCI Bus 0000:00
   000a0000-000dffff : PCI Bus 0000:00
     000c0000-000dffff : 0000:00:02.0
   000f0000-000fffff : System ROM
00100000-2d6c4fff : System RAM
2d6c5000-2d6c5fff : ACPI Non-volatile Storage
2d6c6000-2d6c6fff : Reserved
2d6c7000-3b6acfff : System RAM
3b6ad000-3b720fff : Reserved
3b721000-3ecf1fff : System RAM
3ecf2000-3f0b1fff : Reserved
3f0b2000-3f0fefff : ACPI Tables
3f0ff000-3f7b6fff : ACPI Non-volatile Storage
   3f798000-3f798fff : USBC000:00
3f7b7000-3ff25fff : Reserved
3ff26000-3fffefff : Unknown E820 type
3ffff000-3fffffff : System RAM
40000000-47ffffff : Reserved
   40200000-45f7ffff : INT0E0C:00
48000000-48dfffff : System RAM
48e00000-4f7fffff : Reserved
   4b800000-4f7fffff : Graphics Stolen Memory
4f800000-dfffffff : PCI Bus 0000:00
   50000000-5fffffff : 0000:00:02.0
   60000000-a9ffffff : PCI Bus 0000:03
   ac000000-da0fffff : PCI Bus 0000:03
   db000000-dbffffff : 0000:00:02.0
   dc000000-dc0fffff : PCI Bus 0000:6e
     dc000000-dc003fff : 0000:6e:00.0
       dc000000-dc003fff : nvme
   dc100000-dc1fffff : PCI Bus 0000:02
     dc100000-dc101fff : 0000:02:00.0
       dc100000-dc101fff : iwlwifi
   dc200000-dc2fffff : PCI Bus 0000:01
     dc200000-dc200fff : 0000:01:00.0
       dc200000-dc200fff : rtsx_pci
   dc300000-dc30ffff : 0000:00:1f.3
   dc310000-dc31ffff : 0000:00:14.0
     dc310000-dc31ffff : xhci-hcd
       dc318070-dc31846f : intel_xhci_usb_sw
   dc320000-dc327fff : 0000:00:04.0
     dc320000-dc327fff : proc_thermal
   dc328000-dc32bfff : 0000:00:1f.3
     dc328000-dc32bfff : ICH HD audio
   dc32c000-dc32ffff : 0000:00:1f.2
   dc330000-dc3300ff : 0000:00:1f.4
   dc331000-dc331fff : 0000:00:16.3
   dc332000-dc332fff : 0000:00:16.0
     dc332000-dc332fff : mei_me
   dc333000-dc333fff : 0000:00:15.1
     dc333000-dc3331ff : lpss_dev
       dc333000-dc3331ff : i2c_designware.1 lpss_dev
     dc333200-dc3332ff : lpss_priv
     dc333800-dc333fff : idma64.1
       dc333800-dc333fff : idma64.1 idma64.1
   dc334000-dc334fff : 0000:00:15.0
     dc334000-dc3341ff : lpss_dev
       dc334000-dc3341ff : i2c_designware.0 lpss_dev
     dc334200-dc3342ff : lpss_priv
     dc334800-dc334fff : idma64.0
       dc334800-dc334fff : idma64.0 idma64.0
   dc335000-dc335fff : 0000:00:14.2
     dc335000-dc335fff : Intel PCH thermal driver
   dffe0000-dfffffff : pnp 00:05
e0000000-efffffff : PCI MMCONFIG 0000 [bus 00-ff]
   e0000000-efffffff : Reserved
     e0000000-efffffff : pnp 00:05
fd000000-fe7fffff : PCI Bus 0000:00
   fd000000-fdabffff : pnp 00:06
   fdac0000-fdacffff : INT344B:00
     fdac0000-fdacffff : INT344B:00 INT344B:00
   fdad0000-fdadffff : pnp 00:06
   fdae0000-fdaeffff : INT344B:00
     fdae0000-fdaeffff : INT344B:00 INT344B:00
   fdaf0000-fdafffff : INT344B:00
     fdaf0000-fdafffff : INT344B:00 INT344B:00
   fdb00000-fdffffff : pnp 00:06
     fdc6000c-fdc6000f : iTCO_wdt
       fdc6000c-fdc6000f : iTCO_wdt iTCO_wdt
   fe000000-fe010fff : Reserved
   fe028000-fe028fff : pnp 00:08
   fe029000-fe029fff : pnp 00:08
   fe036000-fe03bfff : pnp 00:06
   fe03d000-fe3fffff : pnp 00:06
   fe410000-fe7fffff : pnp 00:06
fec00000-fec00fff : Reserved
   fec00000-fec003ff : IOAPIC 0
fed00000-fed003ff : HPET 0
   fed00000-fed003ff : PNP0103:00
fed10000-fed17fff : pnp 00:05
fed18000-fed18fff : pnp 00:05
fed19000-fed19fff : pnp 00:05
fed20000-fed3ffff : pnp 00:05
fed40000-fed44fff : MSFT0101:00
   fed40000-fed44fff : MSFT0101:00 MSFT0101:00
fed45000-fed8ffff : pnp 00:05
fed90000-fed90fff : dmar0
fed91000-fed91fff : dmar1
fee00000-fee00fff : Local APIC
   fee00000-fee00fff : Reserved
ff000000-ffffffff : Reserved
   ff000000-ffffffff : INT0800:00
     ff000000-ffffffff : pnp 00:05
100000000-2ae7fffff : System RAM
   190c00000-191801987 : Kernel code
   191a00000-19225ffff : Kernel rodata
   192400000-1926b57bf : Kernel data
   192d2b000-1931fffff : Kernel bss
2ae800000-2afffffff : RAM buffer

$ sudo cpuid -1 --raw
CPU:
    0x00000000 0x00: eax=0x00000016 ebx=0x756e6547 ecx=0x6c65746e 
edx=0x49656e69
    0x00000001 0x00: eax=0x000806ea ebx=0x00100800 ecx=0x7ffafbff 
edx=0xbfebfbff
    0x00000002 0x00: eax=0x76036301 ebx=0x00f0b5ff ecx=0x00000000 
edx=0x00c30000
    0x00000003 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 
edx=0x00000000
    0x00000004 0x00: eax=0x1c004121 ebx=0x01c0003f ecx=0x0000003f 
edx=0x00000000
    0x00000004 0x01: eax=0x1c004122 ebx=0x01c0003f ecx=0x0000003f 
edx=0x00000000
    0x00000004 0x02: eax=0x1c004143 ebx=0x00c0003f ecx=0x000003ff 
edx=0x00000000
    0x00000004 0x03: eax=0x1c03c163 ebx=0x02c0003f ecx=0x00001fff 
edx=0x00000006
    0x00000004 0x04: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 
edx=0x00000000
    0x00000005 0x00: eax=0x00000040 ebx=0x00000040 ecx=0x00000003 
edx=0x11142120
    0x00000006 0x00: eax=0x000027f7 ebx=0x00000002 ecx=0x00000009 
edx=0x00000000
    0x00000007 0x00: eax=0x00000000 ebx=0x029c67af ecx=0x00000000 
edx=0xbc002e00
    0x00000008 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 
edx=0x00000000
    0x00000009 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 
edx=0x00000000
    0x0000000a 0x00: eax=0x07300404 ebx=0x00000000 ecx=0x00000000 
edx=0x00000603
    0x0000000b 0x00: eax=0x00000001 ebx=0x00000002 ecx=0x00000100 
edx=0x00000000
    0x0000000b 0x01: eax=0x00000004 ebx=0x00000008 ecx=0x00000201 
edx=0x00000000
    0x0000000b 0x02: eax=0x00000000 ebx=0x00000000 ecx=0x00000002 
edx=0x00000000
    0x0000000c 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 
edx=0x00000000
    0x0000000d 0x00: eax=0x0000001f ebx=0x00000440 ecx=0x00000440 
edx=0x00000000
    0x0000000d 0x01: eax=0x0000000f ebx=0x000003c0 ecx=0x00000100 
edx=0x00000000
    0x0000000d 0x02: eax=0x00000100 ebx=0x00000240 ecx=0x00000000 
edx=0x00000000
    0x0000000d 0x03: eax=0x00000040 ebx=0x000003c0 ecx=0x00000000 
edx=0x00000000
    0x0000000d 0x04: eax=0x00000040 ebx=0x00000400 ecx=0x00000000 
edx=0x00000000
    0x0000000d 0x08: eax=0x00000080 ebx=0x00000000 ecx=0x00000001 
edx=0x00000000
    0x0000000e 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 
edx=0x00000000
    0x0000000f 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 
edx=0x00000000
    0x00000010 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 
edx=0x00000000
    0x00000011 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 
edx=0x00000000
    0x00000012 0x00: eax=0x00000001 ebx=0x00000000 ecx=0x00000000 
edx=0x0000241f
    0x00000012 0x01: eax=0x00000036 ebx=0x00000000 ecx=0x0000001f 
edx=0x00000000
    0x00000012 0x02: eax=0x40200001 ebx=0x00000000 ecx=0x05d80001 
edx=0x00000000
    0x00000012 0x03: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 
edx=0x00000000
    0x00000013 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 
edx=0x00000000
    0x00000014 0x00: eax=0x00000001 ebx=0x0000000f ecx=0x00000007 
edx=0x00000000
    0x00000014 0x01: eax=0x02490002 ebx=0x003f3fff ecx=0x00000000 
edx=0x00000000
    0x00000015 0x00: eax=0x00000002 ebx=0x0000009e ecx=0x00000000 
edx=0x00000000
    0x00000016 0x00: eax=0x0000076c ebx=0x00000e10 ecx=0x00000064 
edx=0x00000000
    0x20000000 0x00: eax=0x0000076c ebx=0x00000e10 ecx=0x00000064 
edx=0x00000000
    0x80000000 0x00: eax=0x80000008 ebx=0x00000000 ecx=0x00000000 
edx=0x00000000
    0x80000001 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000121 
edx=0x2c100800
    0x80000002 0x00: eax=0x65746e49 ebx=0x2952286c ecx=0x726f4320 
edx=0x4d542865
    0x80000003 0x00: eax=0x35692029 ebx=0x3533382d ecx=0x43205530 
edx=0x40205550
    0x80000004 0x00: eax=0x372e3120 ebx=0x7a484730 ecx=0x00000000 
edx=0x00000000
    0x80000005 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 
edx=0x00000000
    0x80000006 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x01006040 
edx=0x00000000
    0x80000007 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 
edx=0x00000100
    0x80000008 0x00: eax=0x00003027 ebx=0x00000000 ecx=0x00000000 
edx=0x00000000
    0x80860000 0x00: eax=0x0000076c ebx=0x00000e10 ecx=0x00000064 
edx=0x00000000
    0xc0000000 0x00: eax=0x0000076c ebx=0x00000e10 ecx=0x00000064 
edx=0x00000000

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

* Re: WARNING: CPU: 1 PID: 83 at arch/x86/kernel/cpu/sgx/main.c:446 ksgxd+0x1b7/0x1d0
  2022-08-23 13:48       ` Paul Menzel
@ 2022-08-23 16:32         ` Dave Hansen
  2022-08-23 22:33           ` Paul Menzel
  2022-08-25  2:12         ` Haitao Huang
  1 sibling, 1 reply; 17+ messages in thread
From: Dave Hansen @ 2022-08-23 16:32 UTC (permalink / raw)
  To: Paul Menzel, Jarkko Sakkinen, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, x86, Reinette Chatre
  Cc: linux-sgx, LKML

On 8/23/22 06:48, Paul Menzel wrote:
>>> I'm suspecting either a BIOS problem.  Reinette (cc'd) also thought this
>>> might be a case of the SGX initialization getting a bit too far along
>>> when it should have been disabled.
>>>
>>> We had some bugs where we didn't stop fast enough after spitting out the
>>> "SGX Launch Control is locked..." errors.
> 
> Let’s hope it’s something known to you.

Thanks for the extra debug info.  Unfortunately, nothing is really
sticking out as an obvious problem.

The EREMOVE return codes would be interesting to know, as well as an
idea what the physical addresses are that fail and the _counts_ of how
many pages get sanitized versus fail.

But, I don't really have a theory about what could be going on yet.

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

* Re: WARNING: CPU: 1 PID: 83 at arch/x86/kernel/cpu/sgx/main.c:446 ksgxd+0x1b7/0x1d0
  2022-08-23 16:32         ` Dave Hansen
@ 2022-08-23 22:33           ` Paul Menzel
  2022-08-24 18:39             ` Dave Hansen
  2022-08-25  5:27             ` Jarkko Sakkinen
  0 siblings, 2 replies; 17+ messages in thread
From: Paul Menzel @ 2022-08-23 22:33 UTC (permalink / raw)
  To: Dave Hansen, Jarkko Sakkinen, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, x86, Reinette Chatre
  Cc: linux-sgx, LKML

Dear Dave,


Thank you for your reply.

Am 23.08.22 um 18:32 schrieb Dave Hansen:
> On 8/23/22 06:48, Paul Menzel wrote:
>>>> I'm suspecting either a BIOS problem.  Reinette (cc'd) also thought this
>>>> might be a case of the SGX initialization getting a bit too far along
>>>> when it should have been disabled.
>>>>
>>>> We had some bugs where we didn't stop fast enough after spitting out the
>>>> "SGX Launch Control is locked..." errors.
>>
>> Let’s hope it’s something known to you.
> 
> Thanks for the extra debug info.  Unfortunately, nothing is really
> sticking out as an obvious problem.
> 
> The EREMOVE return codes would be interesting to know, as well as an
> idea what the physical addresses are that fail and the _counts_ of how
> many pages get sanitized versus fail.

Is there a knob to print out this information? Or way to get this 
information using ftrace? I’d like to avoid rebuilding the Linux kernel.

> But, I don't really have a theory about what could be going on yet.

Kind regards,

Paul

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

* Re: WARNING: CPU: 1 PID: 83 at arch/x86/kernel/cpu/sgx/main.c:446 ksgxd+0x1b7/0x1d0
  2022-08-23 22:33           ` Paul Menzel
@ 2022-08-24 18:39             ` Dave Hansen
  2022-08-25  5:27             ` Jarkko Sakkinen
  1 sibling, 0 replies; 17+ messages in thread
From: Dave Hansen @ 2022-08-24 18:39 UTC (permalink / raw)
  To: Paul Menzel, Jarkko Sakkinen, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, x86, Reinette Chatre
  Cc: linux-sgx, LKML

On 8/23/22 15:33, Paul Menzel wrote:
>> Thanks for the extra debug info.  Unfortunately, nothing is really
>> sticking out as an obvious problem.
>>
>> The EREMOVE return codes would be interesting to know, as well as an
>> idea what the physical addresses are that fail and the _counts_ of how
>> many pages get sanitized versus fail.
> 
> Is there a knob to print out this information? Or way to get this
> information using ftrace? I’d like to avoid rebuilding the Linux kernel.

You can probably do it with a kprobe and ftrace, but it's a little bit
of a pain since the ENCL* instructions are all inlined and don't get
wrapped in actual function calls.

I'd just rebuild the kernel if it were me.

Maybe we just just uninline all of the ENCL* instruction so that we
*can* more easily trace them.  It's not like they are performance sensitive.

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

* Re: WARNING: CPU: 1 PID: 83 at arch/x86/kernel/cpu/sgx/main.c:446 ksgxd+0x1b7/0x1d0
  2022-08-23 13:48       ` Paul Menzel
  2022-08-23 16:32         ` Dave Hansen
@ 2022-08-25  2:12         ` Haitao Huang
  2022-08-25  5:49           ` Jarkko Sakkinen
  2022-08-26  9:54           ` Paul Menzel
  1 sibling, 2 replies; 17+ messages in thread
From: Haitao Huang @ 2022-08-25  2:12 UTC (permalink / raw)
  To: Dave Hansen, Jarkko Sakkinen, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, x86, Reinette Chatre, Paul Menzel
  Cc: linux-sgx, LKML

Hi Paul

On Tue, 23 Aug 2022 08:48:52 -0500, Paul Menzel <pmenzel@molgen.mpg.de>  
wrote:

> Dear Dave,
>
>
> Am 20.08.22 um 08:13 schrieb Paul Menzel:
>
>> Am 19.08.22 um 20:28 schrieb Dave Hansen:
>>> On 8/19/22 09:02, Paul Menzel wrote:
>>>> On the Dell XPS 13 9370, Linux 5.18.16 prints the warning below:
>>>>
>>>> ```
>>>> [    0.000000] Linux version 5.18.0-4-amd64  
>>>> (debian-kernel@lists.debian.org) (gcc-11 (Debian 11.3.0-5) 11.3.0,  
>>>> GNU ld (GNU Binutils for Debian) 2.38.90.20220713) #1 SMP  
>>>> PREEMPT_DYNAMIC Debian 5.18.16-1 (2022-08-10)
>>>> [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.18.0-4-amd64  
>>>> root=UUID=56f398e0-1e25-4fda-aa9f-611dece4b333 ro quiet
>>>> […]
>>>> [    0.000000] DMI: Dell Inc. XPS 13 9370/0RMYH9, BIOS 1.21.0  
>>>> 07/06/2022
>>>> […]
>>>> [    0.235418] sgx: EPC section 0x40200000-0x45f7ffff
>>
>>> Would you be able to send the entire dmesg, along with:
>>  The log message are attached to the first message, where I missed to  
>> carbon-copy linux-sgx@ [1].
>>
>>>     cat /proc/iomem # (as root)
>>> and
>>>     cpuid -1 --raw
>>  I am going to provide that next week. (Side note, Intel might have  
>> some Dell XPS 9370 test machines in some QA lab.)
>
> Please find both outputs at the end of the file.
>

Could you also check output of "sudo rdmsr -x 0x3a"?
Also was CONFIG_X86_SGX_KVM set?

If CONFIG_X86_SGX_KVM is not set and bit 17 (SGX_LC) of the MSR 3A not set,
then I think following sequence during sgx_init is possible:

sgx_page_cache_init -> sgx_setup_epc_section
                        ->put all physical EPC pages in sgx_dirty_page_list.
Kick off ksgxd.
Later, sgx_drv_init returns none-zero due to this check:
     if (!cpu_feature_enabled(X86_FEATURE_SGX_LC))
         return -ENODEV;
sgx_vepc_init also returns none-zero if CONFIG_X86_SGX_KVM was not set.

And sgx_init will call kthread_stop(ksgxd_tsk):
     ret = sgx_drv_init();

     if (sgx_vepc_init() && ret)
         goto err_provision;
...
err_provision:
     misc_deregister(&sgx_dev_provision);

err_kthread:
     kthread_stop(ksgxd_tsk);


That triggers __sgx_sanitize_pages return early due to these lines:
     /* dirty_page_list is thread-local, no need for a lock: */
     while (!list_empty(dirty_page_list)) {
         if (kthread_should_stop())
             return;

And that would trigger (depends on timing?) the warning in ksgxd due to  
non-empty sgx_dirty_page_list
at that moment.

Thanks
Haitao

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

* Re: WARNING: CPU: 1 PID: 83 at arch/x86/kernel/cpu/sgx/main.c:446 ksgxd+0x1b7/0x1d0
  2022-08-19 18:28   ` Dave Hansen
  2022-08-20  6:13     ` Paul Menzel
@ 2022-08-25  4:57     ` Jarkko Sakkinen
  2022-08-25  5:25       ` Jarkko Sakkinen
  1 sibling, 1 reply; 17+ messages in thread
From: Jarkko Sakkinen @ 2022-08-25  4:57 UTC (permalink / raw)
  To: Dave Hansen
  Cc: Paul Menzel, Thomas Gleixner, Ingo Molnar, Borislav Petkov, x86,
	Chatre, Reinette, linux-sgx, LKML

On Fri, Aug 19, 2022 at 11:28:24AM -0700, Dave Hansen wrote:
> On 8/19/22 09:02, Paul Menzel wrote:
> > On the Dell XPS 13 9370, Linux 5.18.16 prints the warning below:
> > 
> > ```
> > [    0.000000] Linux version 5.18.0-4-amd64
> > (debian-kernel@lists.debian.org) (gcc-11 (Debian 11.3.0-5) 11.3.0, GNU
> > ld (GNU Binutils for Debian) 2.38.90.20220713) #1 SMP PREEMPT_DYNAMIC
> > Debian 5.18.16-1 (2022-08-10)
> > [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.18.0-4-amd64
> > root=UUID=56f398e0-1e25-4fda-aa9f-611dece4b333 ro quiet
> > […]
> > [    0.000000] DMI: Dell Inc. XPS 13 9370/0RMYH9, BIOS 1.21.0 07/06/2022
> > […]
> > [    0.235418] sgx: EPC section 0x40200000-0x45f7ffff
> 
> Hi Paul,
> 
> Would you be able to send the entire dmesg, along with:
> 
> 	cat /proc/iomem # (as root)
> and
> 	cpuid -1 --raw
> 
> I'm suspecting either a BIOS problem.  Reinette (cc'd) also thought this
> might be a case of the SGX initialization getting a bit too far along
> when it should have been disabled.
> 
> We had some bugs where we didn't stop fast enough after spitting out the
> "SGX Launch Control is locked..." errors.

For some reason the pages do not get properly sanitized:

	/* sanity check: */
	WARN_ON(!list_empty(&sgx_dirty_page_list));

EPC should be good, given that EREMOVE does not fail.
If SGX would be disabled, also EREMOVE should fail.

BR, Jarkko

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

* Re: WARNING: CPU: 1 PID: 83 at arch/x86/kernel/cpu/sgx/main.c:446 ksgxd+0x1b7/0x1d0
  2022-08-25  4:57     ` Jarkko Sakkinen
@ 2022-08-25  5:25       ` Jarkko Sakkinen
  2022-08-25  6:46         ` Paul Menzel
  0 siblings, 1 reply; 17+ messages in thread
From: Jarkko Sakkinen @ 2022-08-25  5:25 UTC (permalink / raw)
  To: Dave Hansen, Paul Menzel
  Cc: Thomas Gleixner, Ingo Molnar, Borislav Petkov, x86, Chatre,
	Reinette, linux-sgx, LKML

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

On Thu, Aug 25, 2022 at 07:57:30AM +0300, Jarkko Sakkinen wrote:
> On Fri, Aug 19, 2022 at 11:28:24AM -0700, Dave Hansen wrote:
> > On 8/19/22 09:02, Paul Menzel wrote:
> > > On the Dell XPS 13 9370, Linux 5.18.16 prints the warning below:
> > > 
> > > ```
> > > [    0.000000] Linux version 5.18.0-4-amd64
> > > (debian-kernel@lists.debian.org) (gcc-11 (Debian 11.3.0-5) 11.3.0, GNU
> > > ld (GNU Binutils for Debian) 2.38.90.20220713) #1 SMP PREEMPT_DYNAMIC
> > > Debian 5.18.16-1 (2022-08-10)
> > > [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.18.0-4-amd64
> > > root=UUID=56f398e0-1e25-4fda-aa9f-611dece4b333 ro quiet
> > > […]
> > > [    0.000000] DMI: Dell Inc. XPS 13 9370/0RMYH9, BIOS 1.21.0 07/06/2022
> > > […]
> > > [    0.235418] sgx: EPC section 0x40200000-0x45f7ffff
> > 
> > Hi Paul,
> > 
> > Would you be able to send the entire dmesg, along with:
> > 
> > 	cat /proc/iomem # (as root)
> > and
> > 	cpuid -1 --raw
> > 
> > I'm suspecting either a BIOS problem.  Reinette (cc'd) also thought this
> > might be a case of the SGX initialization getting a bit too far along
> > when it should have been disabled.
> > 
> > We had some bugs where we didn't stop fast enough after spitting out the
> > "SGX Launch Control is locked..." errors.
> 
> For some reason the pages do not get properly sanitized:
> 
> 	/* sanity check: */
> 	WARN_ON(!list_empty(&sgx_dirty_page_list));
> 
> EPC should be good, given that EREMOVE does not fail.
> If SGX would be disabled, also EREMOVE should fail.

Sorry forgot that in no circumstances we're printing the
error code inside __sgx_sanitize_pages(). I wrote a quick
patch to address this (attached) [*].

Paul,

Any chance to try the patch out? It's pretty hard to attach
e.g. kprobe to grab this info. Does it reproduce every single
time?

Alternatively: what kind of workload is triggering this?
I do own 2020 model XPS13, which might be able to
reproduce the same issue.

[*] Also: https://lore.kernel.org/linux-sgx/20220825051827.246698-1-jarkko@kernel.org/T/#u

BR, Jarkko

[-- Attachment #2: 0001-x86-sgx-Print-EREMOVE-return-value-in-__sgx_sanitize.patch --]
[-- Type: text/plain, Size: 2077 bytes --]

From ddccefc8e864bd9973a5445202922b59760d3460 Mon Sep 17 00:00:00 2001
From: Jarkko Sakkinen <jarkko@kernel.org>
Date: Thu, 25 Aug 2022 08:12:30 +0300
Subject: [PATCH] x86/sgx: Print EREMOVE return value in __sgx_sanitize_pages()

In the 2nd run of __sgx_sanitize_pages() print the error
message. All EREMOVE's should succeed. This will allow to
provide some additional clues, if not.

Cc: Paul Menzel <pmenzel@molgen.mpg.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
---
 arch/x86/kernel/cpu/sgx/main.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/arch/x86/kernel/cpu/sgx/main.c b/arch/x86/kernel/cpu/sgx/main.c
index 515e2a5f25bb..33354921c59f 100644
--- a/arch/x86/kernel/cpu/sgx/main.c
+++ b/arch/x86/kernel/cpu/sgx/main.c
@@ -50,7 +50,7 @@ static LIST_HEAD(sgx_dirty_page_list);
  * from the input list, and made available for the page allocator. SECS pages
  * prepending their children in the input list are left intact.
  */
-static void __sgx_sanitize_pages(struct list_head *dirty_page_list)
+static void __sgx_sanitize_pages(struct list_head *dirty_page_list, bool verbose)
 {
 	struct sgx_epc_page *page;
 	LIST_HEAD(dirty);
@@ -90,6 +90,9 @@ static void __sgx_sanitize_pages(struct list_head *dirty_page_list)
 			list_del(&page->list);
 			sgx_free_epc_page(page);
 		} else {
+			if (verbose)
+				pr_err_ratelimited(EREMOVE_ERROR_MESSAGE, ret, ret);
+
 			/* The page is not yet clean - move to the dirty list. */
 			list_move_tail(&page->list, &dirty);
 		}
@@ -394,8 +397,8 @@ static int ksgxd(void *p)
 	 * Sanitize pages in order to recover from kexec(). The 2nd pass is
 	 * required for SECS pages, whose child pages blocked EREMOVE.
 	 */
-	__sgx_sanitize_pages(&sgx_dirty_page_list);
-	__sgx_sanitize_pages(&sgx_dirty_page_list);
+	__sgx_sanitize_pages(&sgx_dirty_page_list, false);
+	__sgx_sanitize_pages(&sgx_dirty_page_list, true);
 
 	/* sanity check: */
 	WARN_ON(!list_empty(&sgx_dirty_page_list));
-- 
2.37.1


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

* Re: WARNING: CPU: 1 PID: 83 at arch/x86/kernel/cpu/sgx/main.c:446 ksgxd+0x1b7/0x1d0
  2022-08-23 22:33           ` Paul Menzel
  2022-08-24 18:39             ` Dave Hansen
@ 2022-08-25  5:27             ` Jarkko Sakkinen
  1 sibling, 0 replies; 17+ messages in thread
From: Jarkko Sakkinen @ 2022-08-25  5:27 UTC (permalink / raw)
  To: Paul Menzel
  Cc: Dave Hansen, Thomas Gleixner, Ingo Molnar, Borislav Petkov, x86,
	Reinette Chatre, linux-sgx, LKML

On Wed, Aug 24, 2022 at 12:33:07AM +0200, Paul Menzel wrote:
> Dear Dave,
> 
> 
> Thank you for your reply.
> 
> Am 23.08.22 um 18:32 schrieb Dave Hansen:
> > On 8/23/22 06:48, Paul Menzel wrote:
> > > > > I'm suspecting either a BIOS problem.  Reinette (cc'd) also thought this
> > > > > might be a case of the SGX initialization getting a bit too far along
> > > > > when it should have been disabled.
> > > > > 
> > > > > We had some bugs where we didn't stop fast enough after spitting out the
> > > > > "SGX Launch Control is locked..." errors.
> > > 
> > > Let’s hope it’s something known to you.
> > 
> > Thanks for the extra debug info.  Unfortunately, nothing is really
> > sticking out as an obvious problem.
> > 
> > The EREMOVE return codes would be interesting to know, as well as an
> > idea what the physical addresses are that fail and the _counts_ of how
> > many pages get sanitized versus fail.
> 
> Is there a knob to print out this information? Or way to get this
> information using ftrace? I’d like to avoid rebuilding the Linux kernel.

Since __sgx_sanitize_pages() is a local symbol, it's not possible
to attach kprobe into it, so we actually do require a code change
to see inside.

BR, Jarkko

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

* Re: WARNING: CPU: 1 PID: 83 at arch/x86/kernel/cpu/sgx/main.c:446 ksgxd+0x1b7/0x1d0
  2022-08-25  2:12         ` Haitao Huang
@ 2022-08-25  5:49           ` Jarkko Sakkinen
  2022-08-25  8:34             ` Jarkko Sakkinen
  2022-08-26  9:54           ` Paul Menzel
  1 sibling, 1 reply; 17+ messages in thread
From: Jarkko Sakkinen @ 2022-08-25  5:49 UTC (permalink / raw)
  To: Haitao Huang
  Cc: Dave Hansen, Thomas Gleixner, Ingo Molnar, Borislav Petkov, x86,
	Reinette Chatre, Paul Menzel, linux-sgx, LKML

On Wed, Aug 24, 2022 at 09:12:06PM -0500, Haitao Huang wrote:
> Hi Paul
> 
> On Tue, 23 Aug 2022 08:48:52 -0500, Paul Menzel <pmenzel@molgen.mpg.de>
> wrote:
> 
> > Dear Dave,
> > 
> > 
> > Am 20.08.22 um 08:13 schrieb Paul Menzel:
> > 
> > > Am 19.08.22 um 20:28 schrieb Dave Hansen:
> > > > On 8/19/22 09:02, Paul Menzel wrote:
> > > > > On the Dell XPS 13 9370, Linux 5.18.16 prints the warning below:
> > > > > 
> > > > > ```
> > > > > [    0.000000] Linux version 5.18.0-4-amd64
> > > > > (debian-kernel@lists.debian.org) (gcc-11 (Debian 11.3.0-5)
> > > > > 11.3.0, GNU ld (GNU Binutils for Debian) 2.38.90.20220713)
> > > > > #1 SMP PREEMPT_DYNAMIC Debian 5.18.16-1 (2022-08-10)
> > > > > [    0.000000] Command line:
> > > > > BOOT_IMAGE=/vmlinuz-5.18.0-4-amd64
> > > > > root=UUID=56f398e0-1e25-4fda-aa9f-611dece4b333 ro quiet
> > > > > […]
> > > > > [    0.000000] DMI: Dell Inc. XPS 13 9370/0RMYH9, BIOS
> > > > > 1.21.0 07/06/2022
> > > > > […]
> > > > > [    0.235418] sgx: EPC section 0x40200000-0x45f7ffff
> > > 
> > > > Would you be able to send the entire dmesg, along with:
> > >  The log message are attached to the first message, where I missed
> > > to carbon-copy linux-sgx@ [1].
> > > 
> > > >     cat /proc/iomem # (as root)
> > > > and
> > > >     cpuid -1 --raw
> > >  I am going to provide that next week. (Side note, Intel might have
> > > some Dell XPS 9370 test machines in some QA lab.)
> > 
> > Please find both outputs at the end of the file.
> > 
> 
> Could you also check output of "sudo rdmsr -x 0x3a"?
> Also was CONFIG_X86_SGX_KVM set?
> 
> If CONFIG_X86_SGX_KVM is not set and bit 17 (SGX_LC) of the MSR 3A not set,
> then I think following sequence during sgx_init is possible:
> 
> sgx_page_cache_init -> sgx_setup_epc_section
>                        ->put all physical EPC pages in sgx_dirty_page_list.
> Kick off ksgxd.
> Later, sgx_drv_init returns none-zero due to this check:
>     if (!cpu_feature_enabled(X86_FEATURE_SGX_LC))
>         return -ENODEV;
> sgx_vepc_init also returns none-zero if CONFIG_X86_SGX_KVM was not set.
> 
> And sgx_init will call kthread_stop(ksgxd_tsk):
>     ret = sgx_drv_init();
> 
>     if (sgx_vepc_init() && ret)
>         goto err_provision;
> ...
> err_provision:
>     misc_deregister(&sgx_dev_provision);
> 
> err_kthread:
>     kthread_stop(ksgxd_tsk);
> 
> 
> That triggers __sgx_sanitize_pages return early due to these lines:
>     /* dirty_page_list is thread-local, no need for a lock: */
>     while (!list_empty(dirty_page_list)) {
>         if (kthread_should_stop())
>             return;
> 
> And that would trigger (depends on timing?) the warning in ksgxd due to
> non-empty sgx_dirty_page_list
> at that moment.

You're correct, and it's not a bug but completely legit behaviour.

And given that non-empty dirty page list is legit behavior WARN_ON()
is not what should be used in here.

Fix coming in a bit.

BR, Jarkko

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

* Re: WARNING: CPU: 1 PID: 83 at arch/x86/kernel/cpu/sgx/main.c:446 ksgxd+0x1b7/0x1d0
  2022-08-25  5:25       ` Jarkko Sakkinen
@ 2022-08-25  6:46         ` Paul Menzel
  2022-08-25  8:39           ` Jarkko Sakkinen
  0 siblings, 1 reply; 17+ messages in thread
From: Paul Menzel @ 2022-08-25  6:46 UTC (permalink / raw)
  To: Jarkko Sakkinen, Dave Hansen
  Cc: Thomas Gleixner, Ingo Molnar, Borislav Petkov, x86, Chatre,
	Reinette, linux-sgx, LKML

Dear Jarkko,


Am 25.08.22 um 07:25 schrieb Jarkko Sakkinen:
> On Thu, Aug 25, 2022 at 07:57:30AM +0300, Jarkko Sakkinen wrote:
>> On Fri, Aug 19, 2022 at 11:28:24AM -0700, Dave Hansen wrote:
>>> On 8/19/22 09:02, Paul Menzel wrote:
>>>> On the Dell XPS 13 9370, Linux 5.18.16 prints the warning below:
>>>>
>>>> ```
>>>> [    0.000000] Linux version 5.18.0-4-amd64 (debian-kernel@lists.debian.org) (gcc-11 (Debian 11.3.0-5) 11.3.0, GNU ld (GNU Binutils for Debian) 2.38.90.20220713) #1 SMP PREEMPT_DYNAMIC Debian 5.18.16-1 (2022-08-10)
>>>> [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.18.0-4-amd64 root=UUID=56f398e0-1e25-4fda-aa9f-611dece4b333 ro quiet
>>>> […]
>>>> [    0.000000] DMI: Dell Inc. XPS 13 9370/0RMYH9, BIOS 1.21.0 07/06/2022
>>>> […]
>>>> [    0.235418] sgx: EPC section 0x40200000-0x45f7ffff

>>> Would you be able to send the entire dmesg, along with:
>>>
>>> 	cat /proc/iomem # (as root)
>>> and
>>> 	cpuid -1 --raw
>>>
>>> I'm suspecting either a BIOS problem.  Reinette (cc'd) also thought this
>>> might be a case of the SGX initialization getting a bit too far along
>>> when it should have been disabled.
>>>
>>> We had some bugs where we didn't stop fast enough after spitting out the
>>> "SGX Launch Control is locked..." errors.
>>
>> For some reason the pages do not get properly sanitized:
>>
>> 	/* sanity check: */
>> 	WARN_ON(!list_empty(&sgx_dirty_page_list));
>>
>> EPC should be good, given that EREMOVE does not fail.
>> If SGX would be disabled, also EREMOVE should fail.
> 
> Sorry forgot that in no circumstances we're printing the
> error code inside __sgx_sanitize_pages(). I wrote a quick
> patch to address this (attached) [*].
> 
> Paul,
> 
> Any chance to try the patch out?

Yes, I am going to try it in the next days.

> It's pretty hard to attach e.g. kprobe to grab this info. Does it
> reproduce every single time?
Yes, on each boot up.

> Alternatively: what kind of workload is triggering this?
> I do own 2020 model XPS13, which might be able to
> reproduce the same issue.

The Dell XPS 13 9370 is from 2018 (Intel i5-8350U), so no idea if it 
happens with later processors.


Kind regards,

Paul


> [*] Also: https://lore.kernel.org/linux-sgx/20220825051827.246698-1-jarkko@kernel.org/T/#u

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

* Re: WARNING: CPU: 1 PID: 83 at arch/x86/kernel/cpu/sgx/main.c:446 ksgxd+0x1b7/0x1d0
  2022-08-25  5:49           ` Jarkko Sakkinen
@ 2022-08-25  8:34             ` Jarkko Sakkinen
  0 siblings, 0 replies; 17+ messages in thread
From: Jarkko Sakkinen @ 2022-08-25  8:34 UTC (permalink / raw)
  To: Haitao Huang
  Cc: Dave Hansen, Thomas Gleixner, Ingo Molnar, Borislav Petkov, x86,
	Reinette Chatre, Paul Menzel, linux-sgx, LKML

On Thu, Aug 25, 2022 at 08:49:53AM +0300, Jarkko Sakkinen wrote:
> On Wed, Aug 24, 2022 at 09:12:06PM -0500, Haitao Huang wrote:
> > Hi Paul
> > 
> > On Tue, 23 Aug 2022 08:48:52 -0500, Paul Menzel <pmenzel@molgen.mpg.de>
> > wrote:
> > 
> > > Dear Dave,
> > > 
> > > 
> > > Am 20.08.22 um 08:13 schrieb Paul Menzel:
> > > 
> > > > Am 19.08.22 um 20:28 schrieb Dave Hansen:
> > > > > On 8/19/22 09:02, Paul Menzel wrote:
> > > > > > On the Dell XPS 13 9370, Linux 5.18.16 prints the warning below:
> > > > > > 
> > > > > > ```
> > > > > > [    0.000000] Linux version 5.18.0-4-amd64
> > > > > > (debian-kernel@lists.debian.org) (gcc-11 (Debian 11.3.0-5)
> > > > > > 11.3.0, GNU ld (GNU Binutils for Debian) 2.38.90.20220713)
> > > > > > #1 SMP PREEMPT_DYNAMIC Debian 5.18.16-1 (2022-08-10)
> > > > > > [    0.000000] Command line:
> > > > > > BOOT_IMAGE=/vmlinuz-5.18.0-4-amd64
> > > > > > root=UUID=56f398e0-1e25-4fda-aa9f-611dece4b333 ro quiet
> > > > > > […]
> > > > > > [    0.000000] DMI: Dell Inc. XPS 13 9370/0RMYH9, BIOS
> > > > > > 1.21.0 07/06/2022
> > > > > > […]
> > > > > > [    0.235418] sgx: EPC section 0x40200000-0x45f7ffff
> > > > 
> > > > > Would you be able to send the entire dmesg, along with:
> > > >  The log message are attached to the first message, where I missed
> > > > to carbon-copy linux-sgx@ [1].
> > > > 
> > > > >     cat /proc/iomem # (as root)
> > > > > and
> > > > >     cpuid -1 --raw
> > > >  I am going to provide that next week. (Side note, Intel might have
> > > > some Dell XPS 9370 test machines in some QA lab.)
> > > 
> > > Please find both outputs at the end of the file.
> > > 
> > 
> > Could you also check output of "sudo rdmsr -x 0x3a"?
> > Also was CONFIG_X86_SGX_KVM set?
> > 
> > If CONFIG_X86_SGX_KVM is not set and bit 17 (SGX_LC) of the MSR 3A not set,
> > then I think following sequence during sgx_init is possible:
> > 
> > sgx_page_cache_init -> sgx_setup_epc_section
> >                        ->put all physical EPC pages in sgx_dirty_page_list.
> > Kick off ksgxd.
> > Later, sgx_drv_init returns none-zero due to this check:
> >     if (!cpu_feature_enabled(X86_FEATURE_SGX_LC))
> >         return -ENODEV;
> > sgx_vepc_init also returns none-zero if CONFIG_X86_SGX_KVM was not set.
> > 
> > And sgx_init will call kthread_stop(ksgxd_tsk):
> >     ret = sgx_drv_init();
> > 
> >     if (sgx_vepc_init() && ret)
> >         goto err_provision;
> > ...
> > err_provision:
> >     misc_deregister(&sgx_dev_provision);
> > 
> > err_kthread:
> >     kthread_stop(ksgxd_tsk);
> > 
> > 
> > That triggers __sgx_sanitize_pages return early due to these lines:
> >     /* dirty_page_list is thread-local, no need for a lock: */
> >     while (!list_empty(dirty_page_list)) {
> >         if (kthread_should_stop())
> >             return;
> > 
> > And that would trigger (depends on timing?) the warning in ksgxd due to
> > non-empty sgx_dirty_page_list
> > at that moment.
> 
> You're correct, and it's not a bug but completely legit behaviour.
> 
> And given that non-empty dirty page list is legit behavior WARN_ON()
> is not what should be used in here.
> 
> Fix coming in a bit.

https://lore.kernel.org/linux-sgx/20220825080802.259528-1-jarkko@kernel.org/T/#u

BR, Jarkko

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

* Re: WARNING: CPU: 1 PID: 83 at arch/x86/kernel/cpu/sgx/main.c:446 ksgxd+0x1b7/0x1d0
  2022-08-25  6:46         ` Paul Menzel
@ 2022-08-25  8:39           ` Jarkko Sakkinen
  0 siblings, 0 replies; 17+ messages in thread
From: Jarkko Sakkinen @ 2022-08-25  8:39 UTC (permalink / raw)
  To: Paul Menzel
  Cc: Dave Hansen, Thomas Gleixner, Ingo Molnar, Borislav Petkov, x86,
	Chatre, Reinette, linux-sgx, LKML

On Thu, Aug 25, 2022 at 08:46:19AM +0200, Paul Menzel wrote:
> Dear Jarkko,
> 
> 
> Am 25.08.22 um 07:25 schrieb Jarkko Sakkinen:
> > On Thu, Aug 25, 2022 at 07:57:30AM +0300, Jarkko Sakkinen wrote:
> > > On Fri, Aug 19, 2022 at 11:28:24AM -0700, Dave Hansen wrote:
> > > > On 8/19/22 09:02, Paul Menzel wrote:
> > > > > On the Dell XPS 13 9370, Linux 5.18.16 prints the warning below:
> > > > > 
> > > > > ```
> > > > > [    0.000000] Linux version 5.18.0-4-amd64 (debian-kernel@lists.debian.org) (gcc-11 (Debian 11.3.0-5) 11.3.0, GNU ld (GNU Binutils for Debian) 2.38.90.20220713) #1 SMP PREEMPT_DYNAMIC Debian 5.18.16-1 (2022-08-10)
> > > > > [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.18.0-4-amd64 root=UUID=56f398e0-1e25-4fda-aa9f-611dece4b333 ro quiet
> > > > > […]
> > > > > [    0.000000] DMI: Dell Inc. XPS 13 9370/0RMYH9, BIOS 1.21.0 07/06/2022
> > > > > […]
> > > > > [    0.235418] sgx: EPC section 0x40200000-0x45f7ffff
> 
> > > > Would you be able to send the entire dmesg, along with:
> > > > 
> > > > 	cat /proc/iomem # (as root)
> > > > and
> > > > 	cpuid -1 --raw
> > > > 
> > > > I'm suspecting either a BIOS problem.  Reinette (cc'd) also thought this
> > > > might be a case of the SGX initialization getting a bit too far along
> > > > when it should have been disabled.
> > > > 
> > > > We had some bugs where we didn't stop fast enough after spitting out the
> > > > "SGX Launch Control is locked..." errors.
> > > 
> > > For some reason the pages do not get properly sanitized:
> > > 
> > > 	/* sanity check: */
> > > 	WARN_ON(!list_empty(&sgx_dirty_page_list));
> > > 
> > > EPC should be good, given that EREMOVE does not fail.
> > > If SGX would be disabled, also EREMOVE should fail.
> > 
> > Sorry forgot that in no circumstances we're printing the
> > error code inside __sgx_sanitize_pages(). I wrote a quick
> > patch to address this (attached) [*].
> > 
> > Paul,
> > 
> > Any chance to try the patch out?
> 
> Yes, I am going to try it in the next days.
> 
> > It's pretty hard to attach e.g. kprobe to grab this info. Does it
> > reproduce every single time?
> Yes, on each boot up.
> 
> > Alternatively: what kind of workload is triggering this?
> > I do own 2020 model XPS13, which might be able to
> > reproduce the same issue.
> 
> The Dell XPS 13 9370 is from 2018 (Intel i5-8350U), so no idea if it happens
> with later processors.

I think this should work out, and actually fix the issue:

https://lore.kernel.org/linux-sgx/20220825080802.259528-1-jarkko@kernel.org/T/#u

Just to add, perhaps for some future issue, I think my laptop and yours
are comparable because they have the SGX side pretty much the same. For
Icelake, things are not as comparable because it uses different type of
encryption engine in the hardware.

BR, Jarkko

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

* Re: WARNING: CPU: 1 PID: 83 at arch/x86/kernel/cpu/sgx/main.c:446 ksgxd+0x1b7/0x1d0
  2022-08-25  2:12         ` Haitao Huang
  2022-08-25  5:49           ` Jarkko Sakkinen
@ 2022-08-26  9:54           ` Paul Menzel
  1 sibling, 0 replies; 17+ messages in thread
From: Paul Menzel @ 2022-08-26  9:54 UTC (permalink / raw)
  To: Haitao Huang, Dave Hansen, Jarkko Sakkinen, Thomas Gleixner,
	Ingo Molnar, Borislav Petkov, x86, Reinette Chatre
  Cc: linux-sgx, LKML

Dear Haitao,


Thank you for your reply. Just for the record:

Am 25.08.22 um 04:12 schrieb Haitao Huang:

> On Tue, 23 Aug 2022 08:48:52 -0500, Paul Menzel wrote:

>> Am 20.08.22 um 08:13 schrieb Paul Menzel:
>>
>>> Am 19.08.22 um 20:28 schrieb Dave Hansen:
>>>> On 8/19/22 09:02, Paul Menzel wrote:
>>>>> On the Dell XPS 13 9370, Linux 5.18.16 prints the warning below:
>>>>>
>>>>> ```
>>>>> [    0.000000] Linux version 5.18.0-4-amd64 (debian-kernel@lists.debian.org) (gcc-11 (Debian 11.3.0-5) 11.3.0, GNU ld (GNU Binutils for Debian) 2.38.90.20220713) #1 SMP PREEMPT_DYNAMIC Debian 5.18.16-1 (2022-08-10)
>>>>> [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.18.0-4-amd64 root=UUID=56f398e0-1e25-4fda-aa9f-611dece4b333 ro quiet
>>>>> […]
>>>>> [    0.000000] DMI: Dell Inc. XPS 13 9370/0RMYH9, BIOS 1.21.0 07/06/2022
>>>>> […]
>>>>> [    0.235418] sgx: EPC section 0x40200000-0x45f7ffff
>>>
>>>> Would you be able to send the entire dmesg, along with:
>>>  The log message are attached to the first message, where I missed to 
>>> carbon-copy linux-sgx@ [1].
>>>
>>>>     cat /proc/iomem # (as root)
>>>> and
>>>>     cpuid -1 --raw
>>>  I am going to provide that next week. (Side note, Intel might have 
>>> some Dell XPS 9370 test machines in some QA lab.)
>>
>> Please find both outputs at the end of the file.
> 
> Could you also check output of "sudo rdmsr -x 0x3a"?

40005

> Also was CONFIG_X86_SGX_KVM set?

No, it’s not set in Debian’s Linux kernel configuration.

> If CONFIG_X86_SGX_KVM is not set and bit 17 (SGX_LC) of the MSR 3A not set,
> then I think following sequence during sgx_init is possible:

40005 = 0x09c45, so bit 17 (if starting from 0) is 0.

[…]


Kind regards,

Paul

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

end of thread, other threads:[~2022-08-26  9:54 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-19 13:19 WARNING: CPU: 1 PID: 83 at arch/x86/kernel/cpu/sgx/main.c:446 ksgxd+0x1b7/0x1d0 Paul Menzel
2022-08-19 16:02 ` Paul Menzel
2022-08-19 18:28   ` Dave Hansen
2022-08-20  6:13     ` Paul Menzel
2022-08-23 13:48       ` Paul Menzel
2022-08-23 16:32         ` Dave Hansen
2022-08-23 22:33           ` Paul Menzel
2022-08-24 18:39             ` Dave Hansen
2022-08-25  5:27             ` Jarkko Sakkinen
2022-08-25  2:12         ` Haitao Huang
2022-08-25  5:49           ` Jarkko Sakkinen
2022-08-25  8:34             ` Jarkko Sakkinen
2022-08-26  9:54           ` Paul Menzel
2022-08-25  4:57     ` Jarkko Sakkinen
2022-08-25  5:25       ` Jarkko Sakkinen
2022-08-25  6:46         ` Paul Menzel
2022-08-25  8:39           ` Jarkko Sakkinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).