linux-surface / surface-aggregator-module

Linux ACPI and Platform Drivers for Surface Devices using the Surface Aggregator Module over Surface Serial Hub (Surface Book 2, Surface Pro 2017, Surface Laptop, and Newer)
GNU General Public License v2.0
98 stars 11 forks source link

Events disabled after resume from hibernation #48

Closed raphtlw closed 4 years ago

raphtlw commented 4 years ago

After waking up from hibernate mode, the keyboard does not work and I cannot log back into the system.

Environment

`dmesg` output ``` [ 0.000000] microcode: microcode updated early to revision 0xd6, date = 2020-04-27 [ 0.000000] Linux version 5.8.1-arch1-3-surface (linux-surface@archlinux) (gcc (GCC) 10.1.0, GNU ld (GNU Binutils) 2.34.0) linux-surface/linux-surface#1 SMP PREEMPT Tue, 18 Aug 2020 04:24:22 +0000 [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux-surface root=UUID=36f84b4f-b2de-40e8-8bd7-4c7b9484c5d0 rw quiet resume=UUID=25eaab8e-6b26-4e45-8b29-a20df17ff842 udev.log_priority=3 [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] Hygon HygonGenuine [ 0.000000] Centaur CentaurHauls [ 0.000000] zhaoxin Shanghai [ 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] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable [ 0.000000] BIOS-e820: [mem 0x00000000000a0000-0x00000000000fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003fffffff] usable [ 0.000000] BIOS-e820: [mem 0x0000000040000000-0x00000000403fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000040400000-0x000000008aa0bfff] usable [ 0.000000] BIOS-e820: [mem 0x000000008aa0c000-0x000000008aa0cfff] ACPI NVS [ 0.000000] BIOS-e820: [mem 0x000000008aa0d000-0x000000008aa0dfff] reserved [ 0.000000] BIOS-e820: [mem 0x000000008aa0e000-0x000000008bdcdfff] usable [ 0.000000] BIOS-e820: [mem 0x000000008bdce000-0x000000008be40fff] type 20 [ 0.000000] BIOS-e820: [mem 0x000000008be41000-0x000000008be8afff] reserved [ 0.000000] BIOS-e820: [mem 0x000000008be8b000-0x000000008beb0fff] ACPI NVS [ 0.000000] BIOS-e820: [mem 0x000000008beb1000-0x000000008befefff] ACPI data [ 0.000000] BIOS-e820: [mem 0x000000008beff000-0x000000008befffff] usable [ 0.000000] BIOS-e820: [mem 0x000000008bf00000-0x000000008f7fffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000e0000000-0x00000000efffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fe010000-0x00000000fe010fff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000026f7fffff] usable [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] efi: EFI v2.70 by MSFT [ 0.000000] efi: TPMFinalLog=0x8bea7000 ACPI=0x8befe000 ACPI 2.0=0x8befe014 SMBIOS=0x8be4c000 SMBIOS 3.0=0x8be4a000 MEMATTR=0x88cee018 ESRT=0x88d07198 [ 0.000000] SMBIOS 3.2.0 present. [ 0.000000] DMI: Microsoft Corporation Surface Laptop 2/Surface Laptop 2, BIOS 138.3261.768 05.29.2020 [ 0.000000] tsc: Detected 1800.000 MHz processor [ 0.001115] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved [ 0.001118] e820: remove [mem 0x000a0000-0x000fffff] usable [ 0.001127] last_pfn = 0x26f800 max_arch_pfn = 0x400000000 [ 0.001132] MTRR default type: write-back [ 0.001134] MTRR fixed ranges enabled: [ 0.001136] 00000-9FFFF write-back [ 0.001137] A0000-BFFFF uncachable [ 0.001139] C0000-FFFFF write-protect [ 0.001140] MTRR variable ranges enabled: [ 0.001142] 0 base 00C0000000 mask 7FC0000000 uncachable [ 0.001144] 1 base 00A0000000 mask 7FE0000000 uncachable [ 0.001145] 2 base 0090000000 mask 7FF0000000 uncachable [ 0.001146] 3 base 008E000000 mask 7FFE000000 uncachable [ 0.001147] 4 base 008D000000 mask 7FFF000000 uncachable [ 0.001148] 5 disabled [ 0.001149] 6 disabled [ 0.001150] 7 disabled [ 0.001151] 8 disabled [ 0.001152] 9 disabled [ 0.001902] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT [ 0.002293] last_pfn = 0x8bf00 max_arch_pfn = 0x400000000 [ 0.022446] esrt: Reserving ESRT space from 0x0000000088d07198 to 0x0000000088d07298. [ 0.022456] e820: update [mem 0x88d07000-0x88d07fff] usable ==> reserved [ 0.022511] check: Scanning 1 areas for low memory corruption [ 0.022518] Using GB pages for direct mapping [ 0.023131] Secure boot could not be determined [ 0.023133] RAMDISK: [mem 0x3690b000-0x3747cfff] [ 0.023151] ACPI: Early table checksum verification disabled [ 0.023171] ACPI: RSDP 0x000000008BEFE014 000024 (v02 MSFT ) [ 0.023177] ACPI: XSDT 0x000000008BEFD0E8 0000B4 (v01 MSFT MSFT 00000000 MSFT 0000005F) [ 0.023185] ACPI: FACP 0x000000008BEE4000 00010C (v05 MSFT MSFT 00000000 MSFT 0000005F) [ 0.023193] ACPI: DSDT 0x000000008BEC8000 017E67 (v02 MSFT MSFT 00000000 INTL 20160422) [ 0.023198] ACPI: FACS 0x000000008BE90000 000040 [ 0.023202] ACPI: SSDT 0x000000008BEEC000 0101B2 (v02 MSFT DptfTabl 00001000 INTL 20160422) [ 0.023207] ACPI: MSDM 0x000000008BEEB000 000055 (v01 MSFT 00000001 MSFT 00000001) [ 0.023211] ACPI: SSDT 0x000000008BEEA000 000574 (v02 MSFT Tpm2Tabl 00001000 INTL 20160422) [ 0.023216] ACPI: TPM2 0x000000008BEE9000 000034 (v03 MSFT MSFT 00000002 MSFT 0000005F) [ 0.023220] ACPI: SSDT 0x000000008BEE5000 003151 (v02 SaSsdt SaSsdt 00003000 INTL 20160422) [ 0.023225] ACPI: HPET 0x000000008BEE3000 000038 (v01 MSFT MSFT 00000001 MSFT 0000005F) [ 0.023229] ACPI: APIC 0x000000008BEE2000 00012C (v03 MSFT MSFT 00000001 MSFT 0000005F) [ 0.023234] ACPI: MCFG 0x000000008BEE1000 00003C (v01 MSFT MSFT 00000001 MSFT 0000005F) [ 0.023238] ACPI: LPIT 0x000000008BEE0000 000094 (v01 MSFT MSFT 00000000 MSFT 0000005F) [ 0.023242] ACPI: SSDT 0x000000008BEC5000 00281D (v02 MSFT RTD3APNV 00001000 INTL 20160422) [ 0.023247] ACPI: SSDT 0x000000008BEC4000 0007C7 (v02 MSFT xh_la000 00000000 INTL 20160422) [ 0.023251] ACPI: SSDT 0x000000008BEC2000 0017AE (v02 CpuRef CpuSsdt 00003000 INTL 20160422) [ 0.023256] ACPI: DMAR 0x000000008BEC1000 000088 (v01 MSFT MSFT 00000001 INTL 00000001) [ 0.023260] ACPI: NHLT 0x000000008BEC0000 00002D (v00 MSFT MSFT 00000002 MSFT 0000005F) [ 0.023264] ACPI: BGRT 0x000000008BEBF000 000038 (v01 MSFT MSFT 00000002 MSFT 0000005F) [ 0.023269] ACPI: WSMT 0x000000008BEBE000 000028 (v01 MSFT MSFT 00000002 MSFT 0000005F) [ 0.023273] ACPI: FPDT 0x000000008BEBD000 000034 (v01 MSFT MSFT 00000002 MSFT 0000005F) [ 0.023286] ACPI: Local APIC address 0xfee00000 [ 0.023444] No NUMA configuration found [ 0.023445] Faking a node at [mem 0x0000000000000000-0x000000026f7fffff] [ 0.023450] NODE_DATA(0) allocated [mem 0x26f7fc000-0x26f7fffff] [ 0.023489] Zone ranges: [ 0.023490] DMA [mem 0x0000000000001000-0x0000000000ffffff] [ 0.023493] DMA32 [mem 0x0000000001000000-0x00000000ffffffff] [ 0.023494] Normal [mem 0x0000000100000000-0x000000026f7fffff] [ 0.023496] Device empty [ 0.023497] Movable zone start for each node [ 0.023498] Early memory node ranges [ 0.023499] node 0: [mem 0x0000000000001000-0x000000000009ffff] [ 0.023501] node 0: [mem 0x0000000000100000-0x000000003fffffff] [ 0.023502] node 0: [mem 0x0000000040400000-0x000000008aa0bfff] [ 0.023503] node 0: [mem 0x000000008aa0e000-0x000000008bdcdfff] [ 0.023504] node 0: [mem 0x000000008beff000-0x000000008befffff] [ 0.023505] node 0: [mem 0x0000000100000000-0x000000026f7fffff] [ 0.023786] Zeroed struct page in unavailable ranges: 20116 pages [ 0.023788] Initmem setup node 0 [mem 0x0000000000001000-0x000000026f7fffff] [ 0.023790] On node 0 totalpages: 2077036 [ 0.023792] DMA zone: 64 pages used for memmap [ 0.023793] DMA zone: 26 pages reserved [ 0.023794] DMA zone: 3999 pages, LIFO batch:0 [ 0.023830] DMA32 zone: 8872 pages used for memmap [ 0.023832] DMA32 zone: 567757 pages, LIFO batch:63 [ 0.029503] Normal zone: 23520 pages used for memmap [ 0.029504] Normal zone: 1505280 pages, LIFO batch:63 [ 0.044787] Reserving Intel graphics memory at [mem 0x8d800000-0x8f7fffff] [ 0.045554] ACPI: PM-Timer IO Port: 0x1808 [ 0.045557] ACPI: Local APIC address 0xfee00000 [ 0.045568] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1]) [ 0.045569] ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1]) [ 0.045570] ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1]) [ 0.045571] ACPI: LAPIC_NMI (acpi_id[0x04] high edge lint[0x1]) [ 0.045572] ACPI: LAPIC_NMI (acpi_id[0x05] high edge lint[0x1]) [ 0.045572] ACPI: LAPIC_NMI (acpi_id[0x06] high edge lint[0x1]) [ 0.045573] ACPI: LAPIC_NMI (acpi_id[0x07] high edge lint[0x1]) [ 0.045574] ACPI: LAPIC_NMI (acpi_id[0x08] high edge lint[0x1]) [ 0.045575] ACPI: LAPIC_NMI (acpi_id[0x09] high edge lint[0x1]) [ 0.045576] ACPI: LAPIC_NMI (acpi_id[0x0a] high edge lint[0x1]) [ 0.045577] ACPI: LAPIC_NMI (acpi_id[0x0b] high edge lint[0x1]) [ 0.045578] ACPI: LAPIC_NMI (acpi_id[0x0c] high edge lint[0x1]) [ 0.045579] ACPI: LAPIC_NMI (acpi_id[0x0d] high edge lint[0x1]) [ 0.045580] ACPI: LAPIC_NMI (acpi_id[0x0e] high edge lint[0x1]) [ 0.045580] ACPI: LAPIC_NMI (acpi_id[0x0f] high edge lint[0x1]) [ 0.045582] ACPI: LAPIC_NMI (acpi_id[0x10] high edge lint[0x1]) [ 0.045611] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-119 [ 0.045614] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.045616] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) [ 0.045618] ACPI: IRQ0 used by override. [ 0.045620] ACPI: IRQ9 used by override. [ 0.045623] Using ACPI (MADT) for SMP configuration information [ 0.045625] ACPI: HPET id: 0x8086a201 base: 0xfed00000 [ 0.045638] e820: update [mem 0x88c54000-0x88c79fff] usable ==> reserved [ 0.045650] TSC deadline timer available [ 0.045652] smpboot: Allowing 8 CPUs, 0 hotplug CPUs [ 0.045677] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.045680] PM: hibernation: Registered nosave memory: [mem 0x000a0000-0x000fffff] [ 0.045682] PM: hibernation: Registered nosave memory: [mem 0x40000000-0x403fffff] [ 0.045684] PM: hibernation: Registered nosave memory: [mem 0x88c54000-0x88c79fff] [ 0.045686] PM: hibernation: Registered nosave memory: [mem 0x88d07000-0x88d07fff] [ 0.045689] PM: hibernation: Registered nosave memory: [mem 0x8aa0c000-0x8aa0cfff] [ 0.045690] PM: hibernation: Registered nosave memory: [mem 0x8aa0d000-0x8aa0dfff] [ 0.045692] PM: hibernation: Registered nosave memory: [mem 0x8bdce000-0x8be40fff] [ 0.045693] PM: hibernation: Registered nosave memory: [mem 0x8be41000-0x8be8afff] [ 0.045694] PM: hibernation: Registered nosave memory: [mem 0x8be8b000-0x8beb0fff] [ 0.045695] PM: hibernation: Registered nosave memory: [mem 0x8beb1000-0x8befefff] [ 0.045697] PM: hibernation: Registered nosave memory: [mem 0x8bf00000-0x8f7fffff] [ 0.045698] PM: hibernation: Registered nosave memory: [mem 0x8f800000-0xdfffffff] [ 0.045699] PM: hibernation: Registered nosave memory: [mem 0xe0000000-0xefffffff] [ 0.045700] PM: hibernation: Registered nosave memory: [mem 0xf0000000-0xfe00ffff] [ 0.045701] PM: hibernation: Registered nosave memory: [mem 0xfe010000-0xfe010fff] [ 0.045702] PM: hibernation: Registered nosave memory: [mem 0xfe011000-0xffffffff] [ 0.045704] [mem 0x8f800000-0xdfffffff] available for PCI devices [ 0.045706] Booting paravirtualized kernel on bare hardware [ 0.045710] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370452778343963 ns [ 0.055052] setup_percpu: NR_CPUS:320 nr_cpumask_bits:320 nr_cpu_ids:8 nr_node_ids:1 [ 0.055349] percpu: Embedded 56 pages/cpu s192512 r8192 d28672 u262144 [ 0.055359] pcpu-alloc: s192512 r8192 d28672 u262144 alloc=1*2097152 [ 0.055360] pcpu-alloc: [0] 0 1 2 3 4 5 6 7 [ 0.055389] Built 1 zonelists, mobility grouping on. Total pages: 2044554 [ 0.055391] Policy zone: Normal [ 0.055392] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-surface root=UUID=36f84b4f-b2de-40e8-8bd7-4c7b9484c5d0 rw quiet resume=UUID=25eaab8e-6b26-4e45-8b29-a20df17ff842 udev.log_priority=3 [ 0.056245] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear) [ 0.056613] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 0.056737] mem auto-init: stack:byref_all, heap alloc:on, heap free:off [ 0.091699] Memory: 7990864K/8308144K available (14339K kernel code, 1479K rwdata, 4600K rodata, 1640K init, 3032K bss, 317280K reserved, 0K cma-reserved) [ 0.091710] random: get_random_u64 called from __kmem_cache_create+0x3e/0x600 with crng_init=0 [ 0.091952] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1 [ 0.091976] Kernel/User page tables isolation: enabled [ 0.092019] ftrace: allocating 40094 entries in 157 pages [ 0.115699] ftrace: allocated 157 pages with 5 groups [ 0.115868] rcu: Preemptible hierarchical RCU implementation. [ 0.115869] rcu: RCU dyntick-idle grace-period acceleration is enabled. [ 0.115870] rcu: RCU restricting CPUs from NR_CPUS=320 to nr_cpu_ids=8. [ 0.115871] rcu: RCU priority boosting: priority 1 delay 500 ms. [ 0.115873] Trampoline variant of Tasks RCU enabled. [ 0.115873] Rude variant of Tasks RCU enabled. [ 0.115874] rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies. [ 0.115876] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8 [ 0.120718] NR_IRQS: 20736, nr_irqs: 2048, preallocated irqs: 16 [ 0.121493] Console: colour dummy device 80x25 [ 0.121499] printk: console [tty0] enabled [ 0.121532] ACPI: Core revision 20200528 [ 0.122005] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635855245 ns [ 0.122096] APIC: Switch to symmetric I/O mode setup [ 0.122099] DMAR: Host address width 39 [ 0.122101] DMAR: DRHD base: 0x000000fed90000 flags: 0x0 [ 0.122112] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap 1c0000c40660462 ecap 19e2ff0505e [ 0.122113] DMAR: DRHD base: 0x000000fed91000 flags: 0x1 [ 0.122119] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 ecap f050da [ 0.122121] DMAR: RMRR base: 0x0000008d000000 end: 0x0000008f7fffff [ 0.122124] DMAR-IR: IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 1 [ 0.122125] DMAR-IR: HPET id 0 under DRHD base 0xfed91000 [ 0.122126] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping. [ 0.123823] DMAR-IR: Enabled IRQ remapping in x2apic mode [ 0.123825] x2apic enabled [ 0.123843] Switched APIC routing to cluster x2apic. [ 0.128024] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.142058] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x19f2297dd97, max_idle_ns: 440795236593 ns [ 0.142065] Calibrating delay loop (skipped), value calculated using timer frequency.. 3601.00 BogoMIPS (lpj=6000000) [ 0.142068] pid_max: default: 32768 minimum: 301 [ 0.147000] LSM: Security Framework initializing [ 0.147007] Yama: becoming mindful. [ 0.147055] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.147074] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.147563] mce: CPU0: Thermal monitoring enabled (TM1) [ 0.147602] process: using mwait in idle threads [ 0.147606] Last level iTLB entries: 4KB 64, 2MB 8, 4MB 8 [ 0.147608] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4 [ 0.147611] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization [ 0.147614] Spectre V2 : Mitigation: Full generic retpoline [ 0.147615] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch [ 0.147615] Spectre V2 : Enabling Restricted Speculation for firmware calls [ 0.147618] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier [ 0.147619] Spectre V2 : User space: Mitigation: STIBP via seccomp and prctl [ 0.147621] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp [ 0.147630] SRBDS: Mitigation: Microcode [ 0.147631] MDS: Mitigation: Clear CPU buffers [ 0.148083] Freeing SMP alternatives memory: 32K [ 0.149885] smpboot: CPU0: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (family: 0x6, model: 0x8e, stepping: 0xa) [ 0.150047] Performance Events: PEBS fmt3+, Skylake events, 32-deep LBR, full-width counters, Intel PMU driver. [ 0.150057] ... version: 4 [ 0.150058] ... bit width: 48 [ 0.150058] ... generic registers: 4 [ 0.150060] ... value mask: 0000ffffffffffff [ 0.150060] ... max period: 00007fffffffffff [ 0.150061] ... fixed-purpose events: 3 [ 0.150062] ... event mask: 000000070000000f [ 0.150130] rcu: Hierarchical SRCU implementation. [ 0.151583] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter. [ 0.151706] smp: Bringing up secondary CPUs ... [ 0.151874] x86: Booting SMP configuration: [ 0.151875] .... node #0, CPUs: linux-surface/linux-surface#1 linux-surface/linux-surface#2 linux-surface/linux-surface#3 linux-surface/linux-surface#4 [ 0.163138] 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.163138] linux-surface/linux-surface#5 linux-surface/linux-surface#6 linux-surface/linux-surface#7 [ 0.166309] smp: Brought up 1 node, 8 CPUs [ 0.166309] smpboot: Max logical packages: 1 [ 0.166309] smpboot: Total of 8 processors activated (28811.00 BogoMIPS) [ 0.169224] devtmpfs: initialized [ 0.169224] x86/mm: Memory block size: 128MB [ 0.169793] PM: Registering ACPI NVS region [mem 0x8aa0c000-0x8aa0cfff] (4096 bytes) [ 0.169793] PM: Registering ACPI NVS region [mem 0x8be8b000-0x8beb0fff] (155648 bytes) [ 0.169793] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns [ 0.169793] futex hash table entries: 2048 (order: 5, 131072 bytes, linear) [ 0.169793] pinctrl core: initialized pinctrl subsystem [ 0.169793] PM: RTC time: 07:24:21, date: 2020-08-20 [ 0.169793] thermal_sys: Registered thermal governor 'fair_share' [ 0.169793] thermal_sys: Registered thermal governor 'bang_bang' [ 0.169793] thermal_sys: Registered thermal governor 'step_wise' [ 0.169793] thermal_sys: Registered thermal governor 'user_space' [ 0.169793] thermal_sys: Registered thermal governor 'power_allocator' [ 0.169793] NET: Registered protocol family 16 [ 0.169793] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations [ 0.169793] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.169876] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.169886] audit: initializing netlink subsys (disabled) [ 0.169899] audit: type=2000 audit(1597908261.046:1): state=initialized audit_enabled=0 res=1 [ 0.169899] cpuidle: using governor ladder [ 0.169899] cpuidle: using governor menu [ 0.172115] ACPI: bus type PCI registered [ 0.172117] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 [ 0.172235] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000) [ 0.172253] PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in E820 [ 0.172271] PCI: Using configuration type 1 for base access [ 0.172743] ENERGY_PERF_BIAS: Set to 'normal', was 'performance' [ 0.174062] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.174062] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.175598] ACPI: Added _OSI(Module Device) [ 0.175599] ACPI: Added _OSI(Processor Device) [ 0.175600] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.175602] ACPI: Added _OSI(Processor Aggregator Device) [ 0.175603] ACPI: Added _OSI(Linux-Dell-Video) [ 0.175605] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio) [ 0.175606] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics) [ 0.243436] ACPI: 7 ACPI AML tables successfully acquired and loaded [ 0.249033] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored [ 0.256857] ACPI: Dynamic OEM Table Load: [ 0.256878] ACPI: SSDT 0xFFFF8FEEA5949000 00058B (v02 PmRef Cpu0Ist 00003000 INTL 20160422) [ 0.259878] ACPI: \_PR_.PR00: _OSC native thermal LVT Acked [ 0.261795] ACPI: Dynamic OEM Table Load: [ 0.261804] ACPI: SSDT 0xFFFF8FEEA5671C00 0003FF (v02 PmRef Cpu0Cst 00003001 INTL 20160422) [ 0.264700] ACPI: Dynamic OEM Table Load: [ 0.264707] ACPI: SSDT 0xFFFF8FEEA592AB40 0000BA (v02 PmRef Cpu0Hwp 00003000 INTL 20160422) [ 0.267448] ACPI: Dynamic OEM Table Load: [ 0.267457] ACPI: SSDT 0xFFFF8FEEA594A000 000628 (v02 PmRef HwpLvt 00003000 INTL 20160422) [ 0.270997] ACPI: Dynamic OEM Table Load: [ 0.271010] ACPI: SSDT 0xFFFF8FEEA5998000 000D14 (v02 PmRef ApIst 00003000 INTL 20160422) [ 0.275358] ACPI: Dynamic OEM Table Load: [ 0.275365] ACPI: SSDT 0xFFFF8FEEA5674800 000317 (v02 PmRef ApHwp 00003000 INTL 20160422) [ 0.278355] ACPI: Dynamic OEM Table Load: [ 0.278362] ACPI: SSDT 0xFFFF8FEEA5673400 00030A (v02 PmRef ApCst 00003000 INTL 20160422) [ 0.287212] ACPI: Interpreter enabled [ 0.287291] ACPI: (supports S0 S4 S5) [ 0.287293] ACPI: Using IOAPIC for interrupt routing [ 0.287359] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.288511] ACPI: Enabled 10 GPEs in block 00 to 7F [ 0.299488] ACPI: Power Resource [PX01] (on) [ 0.299636] ACPI: Power Resource [PX02] (on) [ 0.299771] ACPI: Power Resource [PX03] (on) [ 0.299908] ACPI: Power Resource [PX04] (on) [ 0.300042] ACPI: Power Resource [PX05] (on) [ 0.300182] ACPI: Power Resource [PX06] (on) [ 0.300316] ACPI: Power Resource [PX07] (on) [ 0.300447] ACPI: Power Resource [PX08] (on) [ 0.300578] ACPI: Power Resource [PX09] (on) [ 0.300711] ACPI: Power Resource [PX10] (on) [ 0.302765] ACPI: Power Resource [USBC] (on) [ 0.308238] ACPI: Power Resource [PXP] (off) [ 0.311124] ACPI: Power Resource [PXP] (off) [ 0.311574] ACPI: Power Resource [PRWF] (on) [ 0.330239] ACPI: Power Resource [CAMP] (on) [ 0.343786] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-fe]) [ 0.343796] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI EDR HPX-Type3] [ 0.348076] acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug SHPCHotplug PME AER PCIeCapability LTR DPC] [ 0.351786] PCI host bridge to bus 0000:00 [ 0.351790] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 0.351792] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 0.351794] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 0.351795] pci_bus 0000:00: root bus resource [mem 0x000c0000-0x000c3fff window] [ 0.351797] pci_bus 0000:00: root bus resource [mem 0x000c4000-0x000c7fff window] [ 0.351798] pci_bus 0000:00: root bus resource [mem 0x000c8000-0x000cbfff window] [ 0.351800] pci_bus 0000:00: root bus resource [mem 0x000cc000-0x000cffff window] [ 0.351801] pci_bus 0000:00: root bus resource [mem 0x000d0000-0x000d3fff window] [ 0.351803] pci_bus 0000:00: root bus resource [mem 0x000d4000-0x000d7fff window] [ 0.351805] pci_bus 0000:00: root bus resource [mem 0x000d8000-0x000dbfff window] [ 0.351806] pci_bus 0000:00: root bus resource [mem 0x000dc000-0x000dffff window] [ 0.351808] pci_bus 0000:00: root bus resource [mem 0x000e0000-0x000e3fff window] [ 0.351809] pci_bus 0000:00: root bus resource [mem 0x000e4000-0x000e7fff window] [ 0.351811] pci_bus 0000:00: root bus resource [mem 0x000e8000-0x000ebfff window] [ 0.351812] pci_bus 0000:00: root bus resource [mem 0x000ec000-0x000effff window] [ 0.351814] pci_bus 0000:00: root bus resource [mem 0x000f0000-0x000fffff window] [ 0.351815] pci_bus 0000:00: root bus resource [mem 0x8f800000-0xdfffffff window] [ 0.351817] pci_bus 0000:00: root bus resource [mem 0xfd000000-0xfe7fffff window] [ 0.351819] pci_bus 0000:00: root bus resource [bus 00-fe] [ 0.351835] pci 0000:00:00.0: [8086:5914] type 00 class 0x060000 [ 0.353318] pci 0000:00:02.0: [8086:5917] type 00 class 0x030000 [ 0.353338] pci 0000:00:02.0: reg 0x10: [mem 0xa0000000-0xa0ffffff 64bit] [ 0.353347] pci 0000:00:02.0: reg 0x18: [mem 0x90000000-0x9fffffff 64bit pref] [ 0.353354] pci 0000:00:02.0: reg 0x20: [io 0x3000-0x303f] [ 0.353381] pci 0000:00:02.0: BAR 2: assigned to efifb [ 0.354896] pci 0000:00:04.0: [8086:1903] type 00 class 0x118000 [ 0.354917] pci 0000:00:04.0: reg 0x10: [mem 0xa1730000-0xa1737fff 64bit] [ 0.356525] pci 0000:00:05.0: [8086:1919] type 00 class 0x048000 [ 0.356544] pci 0000:00:05.0: reg 0x10: [mem 0xa1000000-0xa13fffff 64bit] [ 0.358069] pci 0000:00:14.0: [8086:9d2f] type 00 class 0x0c0330 [ 0.358098] pci 0000:00:14.0: reg 0x10: [mem 0xa1700000-0xa170ffff 64bit] [ 0.358188] pci 0000:00:14.0: PME# supported from D3hot D3cold [ 0.359948] pci 0000:00:14.2: [8086:9d31] type 00 class 0x118000 [ 0.359978] pci 0000:00:14.2: reg 0x10: [mem 0xa1740000-0xa1740fff 64bit] [ 0.361524] pci 0000:00:14.3: [8086:9d32] type 00 class 0x048000 [ 0.361637] pci 0000:00:14.3: reg 0x10: [mem 0xa1710000-0xa171ffff 64bit] [ 0.363534] pci 0000:00:15.0: [8086:9d60] type 00 class 0x118000 [ 0.363800] pci 0000:00:15.0: reg 0x10: [mem 0xa1741000-0xa1741fff 64bit] [ 0.366290] pci 0000:00:15.1: [8086:9d61] type 00 class 0x118000 [ 0.366556] pci 0000:00:15.1: reg 0x10: [mem 0xa1742000-0xa1742fff 64bit] [ 0.369024] pci 0000:00:15.2: [8086:9d62] type 00 class 0x118000 [ 0.369290] pci 0000:00:15.2: reg 0x10: [mem 0xa1743000-0xa1743fff 64bit] [ 0.371749] pci 0000:00:15.3: [8086:9d63] type 00 class 0x118000 [ 0.372015] pci 0000:00:15.3: reg 0x10: [mem 0xa1744000-0xa1744fff 64bit] [ 0.374409] pci 0000:00:16.0: [8086:9d3a] type 00 class 0x078000 [ 0.374460] pci 0000:00:16.0: reg 0x10: [mem 0xa1745000-0xa1745fff 64bit] [ 0.374605] pci 0000:00:16.0: PME# supported from D3hot [ 0.376269] pci 0000:00:16.4: [8086:9d3e] type 00 class 0x078000 [ 0.376320] pci 0000:00:16.4: reg 0x10: [mem 0xa1746000-0xa1746fff 64bit] [ 0.376465] pci 0000:00:16.4: PME# supported from D3hot [ 0.377920] pci 0000:00:1c.0: [8086:9d16] type 01 class 0x060400 [ 0.378045] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold [ 0.379822] pci 0000:00:1d.0: [8086:9d18] type 01 class 0x060400 [ 0.379948] pci 0000:00:1d.0: PME# supported from D0 D3hot D3cold [ 0.381778] pci 0000:00:1e.0: [8086:9d27] type 00 class 0x118000 [ 0.382045] pci 0000:00:1e.0: reg 0x10: [mem 0xa1747000-0xa1747fff 64bit] [ 0.384447] pci 0000:00:1f.0: [8086:9d4e] type 00 class 0x060100 [ 0.386119] pci 0000:00:1f.2: [8086:9d21] type 00 class 0x058000 [ 0.386140] pci 0000:00:1f.2: reg 0x10: [mem 0xa173c000-0xa173ffff] [ 0.387727] pci 0000:00:1f.3: [8086:9d71] type 00 class 0x040380 [ 0.387762] pci 0000:00:1f.3: reg 0x10: [mem 0xa1738000-0xa173bfff 64bit] [ 0.387795] pci 0000:00:1f.3: reg 0x20: [mem 0xa1720000-0xa172ffff 64bit] [ 0.387865] pci 0000:00:1f.3: PME# supported from D3hot D3cold [ 0.389931] pci 0000:01:00.0: [1179:0113] type 00 class 0x010802 [ 0.389969] pci 0000:01:00.0: reg 0x10: [mem 0xa1600000-0xa1603fff 64bit] [ 0.390116] pci 0000:01:00.0: PME# supported from D0 D3hot [ 0.390295] pci 0000:00:1c.0: PCI bridge to [bus 01] [ 0.390301] pci 0000:00:1c.0: bridge window [mem 0xa1600000-0xa16fffff] [ 0.390467] pci 0000:02:00.0: [11ab:2b38] type 00 class 0x020000 [ 0.390515] pci 0000:02:00.0: reg 0x10: [mem 0xa1500000-0xa15fffff 64bit pref] [ 0.390535] pci 0000:02:00.0: reg 0x18: [mem 0xa1400000-0xa14fffff 64bit pref] [ 0.390687] pci 0000:02:00.0: supports D1 D2 [ 0.390688] pci 0000:02:00.0: PME# supported from D0 D1 D3hot D3cold [ 0.391018] pci 0000:00:1d.0: PCI bridge to [bus 02] [ 0.391028] pci 0000:00:1d.0: bridge window [mem 0xa1400000-0xa15fffff 64bit pref] [ 0.399054] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 10 *11 12 14 15) [ 0.399162] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 *10 11 12 14 15) [ 0.399266] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 10 *11 12 14 15) [ 0.399371] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 10 *11 12 14 15) [ 0.399475] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 10 *11 12 14 15) [ 0.399579] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 10 *11 12 14 15) [ 0.399685] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 10 *11 12 14 15) [ 0.399789] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 10 *11 12 14 15) [ 0.417147] iommu: Default domain type: Translated [ 0.417147] pci 0000:00:02.0: vgaarb: setting as boot VGA device [ 0.417147] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none [ 0.417147] pci 0000:00:02.0: vgaarb: bridge control possible [ 0.417147] vgaarb: loaded [ 0.417147] SCSI subsystem initialized [ 0.417151] libata version 3.00 loaded. [ 0.417151] ACPI: bus type USB registered [ 0.417151] usbcore: registered new interface driver usbfs [ 0.417151] usbcore: registered new interface driver hub [ 0.417151] usbcore: registered new device driver usb [ 0.417151] pps_core: LinuxPPS API ver. 1 registered [ 0.417151] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 0.417151] PTP clock support registered [ 0.417151] EDAC MC: Ver: 3.0.0 [ 0.417151] Registered efivars operations [ 0.417151] NetLabel: Initializing [ 0.417151] NetLabel: domain hash size = 128 [ 0.417151] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.417151] NetLabel: unlabeled traffic allowed by default [ 0.417151] PCI: Using ACPI for IRQ routing [ 0.444231] PCI: pci_cache_line_size set to 64 bytes [ 0.444610] e820: reserve RAM buffer [mem 0x88c54000-0x8bffffff] [ 0.444613] e820: reserve RAM buffer [mem 0x88d07000-0x8bffffff] [ 0.444615] e820: reserve RAM buffer [mem 0x8aa0c000-0x8bffffff] [ 0.444616] e820: reserve RAM buffer [mem 0x8bdce000-0x8bffffff] [ 0.444618] e820: reserve RAM buffer [mem 0x8bf00000-0x8bffffff] [ 0.444619] e820: reserve RAM buffer [mem 0x26f800000-0x26fffffff] [ 0.446143] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0, 0, 0, 0, 0 [ 0.446143] hpet0: 8 comparators, 64-bit 24.000000 MHz counter [ 0.448730] clocksource: Switched to clocksource tsc-early [ 0.467530] VFS: Disk quotas dquot_6.6.0 [ 0.467553] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.467664] pnp: PnP ACPI init [ 0.467856] system 00:00: [mem 0x40000000-0x403fffff] has been reserved [ 0.467863] system 00:00: Plug and Play ACPI device, IDs PNP0c02 (active) [ 0.468155] system 00:01: [mem 0xfd000000-0xfdabffff] has been reserved [ 0.468159] system 00:01: [mem 0xfdad0000-0xfdadffff] has been reserved [ 0.468161] system 00:01: [mem 0xfdb00000-0xfdffffff] has been reserved [ 0.468163] system 00:01: [mem 0xfe000000-0xfe01ffff] could not be reserved [ 0.468165] system 00:01: [mem 0xfe036000-0xfe03bfff] has been reserved [ 0.468167] system 00:01: [mem 0xfe03d000-0xfe3fffff] has been reserved [ 0.468169] system 00:01: [mem 0xfe410000-0xfe7fffff] has been reserved [ 0.468175] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active) [ 0.468745] system 00:02: [io 0x2000-0x20fe] has been reserved [ 0.468751] system 00:02: Plug and Play ACPI device, IDs PNP0c02 (active) [ 0.469006] system 00:03: [io 0x0680-0x069f] has been reserved [ 0.469008] system 00:03: [io 0xffff] has been reserved [ 0.469010] system 00:03: [io 0xffff] has been reserved [ 0.469012] system 00:03: [io 0xffff] has been reserved [ 0.469014] system 00:03: [io 0x1800-0x18fe] has been reserved [ 0.469016] system 00:03: [io 0x164e-0x164f] has been reserved [ 0.469021] system 00:03: Plug and Play ACPI device, IDs PNP0c02 (active) [ 0.469199] pnp 00:04: Plug and Play ACPI device, IDs PNP0b00 (active) [ 0.469271] system 00:05: [io 0x1854-0x1857] has been reserved [ 0.469276] system 00:05: Plug and Play ACPI device, IDs INT3f0d PNP0c02 (active) [ 0.471585] system 00:06: [mem 0xfe033000-0xfe033fff] has been reserved [ 0.471587] system 00:06: [mem 0xfe032008-0xfe032fff] has been reserved [ 0.471592] system 00:06: Plug and Play ACPI device, IDs PNP0c02 (active) [ 0.476031] system 00:07: [mem 0xfed10000-0xfed17fff] has been reserved [ 0.476034] system 00:07: [mem 0xfed18000-0xfed18fff] has been reserved [ 0.476036] system 00:07: [mem 0xfed19000-0xfed19fff] has been reserved [ 0.476039] system 00:07: [mem 0xe0000000-0xefffffff] has been reserved [ 0.476042] system 00:07: [mem 0xfed20000-0xfed3ffff] has been reserved [ 0.476045] system 00:07: [mem 0xfed90000-0xfed93fff] could not be reserved [ 0.476047] system 00:07: [mem 0xfed45000-0xfed8ffff] has been reserved [ 0.476049] system 00:07: [mem 0xff000000-0xffffffff] has been reserved [ 0.476051] system 00:07: [mem 0xfee00000-0xfeefffff] has been reserved [ 0.476053] system 00:07: [mem 0x8f800000-0x8f81ffff] has been reserved [ 0.476059] system 00:07: Plug and Play ACPI device, IDs PNP0c02 (active) [ 0.479359] pnp: PnP ACPI: found 8 devices [ 0.485837] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [ 0.485935] NET: Registered protocol family 2 [ 0.486145] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear) [ 0.486212] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.486422] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear) [ 0.486539] TCP: Hash tables configured (established 65536 bind 65536) [ 0.486670] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear) [ 0.486706] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear) [ 0.486833] NET: Registered protocol family 1 [ 0.486841] NET: Registered protocol family 44 [ 0.486857] pci 0000:00:1c.0: PCI bridge to [bus 01] [ 0.486864] pci 0000:00:1c.0: bridge window [mem 0xa1600000-0xa16fffff] [ 0.486872] pci 0000:00:1d.0: PCI bridge to [bus 02] [ 0.486880] pci 0000:00:1d.0: bridge window [mem 0xa1400000-0xa15fffff 64bit pref] [ 0.486887] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window] [ 0.486889] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window] [ 0.486891] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window] [ 0.486893] pci_bus 0000:00: resource 7 [mem 0x000c0000-0x000c3fff window] [ 0.486894] pci_bus 0000:00: resource 8 [mem 0x000c4000-0x000c7fff window] [ 0.486896] pci_bus 0000:00: resource 9 [mem 0x000c8000-0x000cbfff window] [ 0.486898] pci_bus 0000:00: resource 10 [mem 0x000cc000-0x000cffff window] [ 0.486900] pci_bus 0000:00: resource 11 [mem 0x000d0000-0x000d3fff window] [ 0.486901] pci_bus 0000:00: resource 12 [mem 0x000d4000-0x000d7fff window] [ 0.486903] pci_bus 0000:00: resource 13 [mem 0x000d8000-0x000dbfff window] [ 0.486904] pci_bus 0000:00: resource 14 [mem 0x000dc000-0x000dffff window] [ 0.486906] pci_bus 0000:00: resource 15 [mem 0x000e0000-0x000e3fff window] [ 0.486908] pci_bus 0000:00: resource 16 [mem 0x000e4000-0x000e7fff window] [ 0.486911] pci_bus 0000:00: resource 17 [mem 0x000e8000-0x000ebfff window] [ 0.486913] pci_bus 0000:00: resource 18 [mem 0x000ec000-0x000effff window] [ 0.486914] pci_bus 0000:00: resource 19 [mem 0x000f0000-0x000fffff window] [ 0.486916] pci_bus 0000:00: resource 20 [mem 0x8f800000-0xdfffffff window] [ 0.486918] pci_bus 0000:00: resource 21 [mem 0xfd000000-0xfe7fffff window] [ 0.486924] pci_bus 0000:01: resource 1 [mem 0xa1600000-0xa16fffff] [ 0.486926] pci_bus 0000:02: resource 2 [mem 0xa1400000-0xa15fffff 64bit pref] [ 0.487179] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff] [ 0.487822] PCI: CLS 0 bytes, default 64 [ 0.487879] Trying to unpack rootfs image as initramfs... [ 0.709488] Freeing initrd memory: 11720K [ 0.732135] PCI-DMA: Using software bounce buffering for IO (SWIOTLB) [ 0.732144] software IO TLB: mapped [mem 0x847b1000-0x887b1000] (64MB) [ 0.732436] check: Scanning for low memory corruption every 60 seconds [ 0.733008] Initialise system trusted keyrings [ 0.733038] Key type blacklist registered [ 0.733115] workingset: timestamp_bits=41 max_order=21 bucket_order=0 [ 0.734914] zbud: loaded [ 0.749974] Key type asymmetric registered [ 0.749976] Asymmetric key parser 'x509' registered [ 0.749989] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) [ 0.750052] io scheduler mq-deadline registered [ 0.750053] io scheduler kyber registered [ 0.750098] io scheduler bfq registered [ 0.750831] pcieport 0000:00:1c.0: PME: Signaling with IRQ 122 [ 0.751229] pcieport 0000:00:1d.0: PME: Signaling with IRQ 123 [ 0.751365] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 [ 0.751516] efifb: probing for efifb [ 0.751546] efifb: showing boot graphics [ 0.753355] efifb: framebuffer at 0x90000000, using 13312k, total 13312k [ 0.753356] efifb: mode is 2256x1504x32, linelength=9024, pages=1 [ 0.753357] efifb: scrolling: redraw [ 0.753359] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0 [ 0.753422] fbcon: Deferring console take-over [ 0.753424] fb0: EFI VGA frame buffer device [ 0.753435] intel_idle: MWAIT substates: 0x11142120 [ 0.753436] intel_idle: v0.5.1 model 0x8E [ 0.754137] intel_idle: Local APIC timer is reliable in all C-states [ 0.754296] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0 [ 0.754322] ACPI: Lid Switch [LID0] [ 0.758451] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.759797] AMD-Vi: AMD IOMMUv2 driver by Joerg Roedel [ 0.759798] AMD-Vi: AMD IOMMUv2 functionality not available on this system [ 0.761907] nvme nvme0: pci function 0000:01:00.0 [ 0.762202] usbcore: registered new interface driver usbserial_generic [ 0.762208] usbserial: USB Serial support registered for generic [ 0.762232] rtc_cmos 00:04: RTC can wake from S4 [ 0.762857] rtc_cmos 00:04: registered as rtc0 [ 0.763014] rtc_cmos 00:04: setting system clock to 2020-08-20T07:24:22 UTC (1597908262) [ 0.763037] rtc_cmos 00:04: alarms up to one month, y3k, 242 bytes nvram, hpet irqs [ 0.763137] intel_pstate: Intel P-state driver initializing [ 0.764704] intel_pstate: HWP enabled [ 0.764787] ledtrig-cpu: registered to indicate activity on CPUs [ 0.764892] intel_pmc_core INT33A1:00: initialized [ 0.764982] drop_monitor: Initializing network drop monitor service [ 0.765172] NET: Registered protocol family 10 [ 0.772840] Segment Routing with IPv6 [ 0.772843] RPL Segment Routing with IPv6 [ 0.772889] NET: Registered protocol family 17 [ 0.774299] nvme nvme0: allocated 38 MiB host memory buffer. [ 0.774931] microcode: sig=0x806ea, pf=0x80, revision=0xd6 [ 0.775111] microcode: Microcode Update Driver: v2.2. [ 0.775117] IPI shorthand broadcast: enabled [ 0.775128] sched_clock: Marking stable (774151977, 954822)->(782646569, -7539770) [ 0.775232] registered taskstats version 1 [ 0.775241] Loading compiled-in X.509 certificates [ 0.778923] Loaded X.509 cert 'Build time autogenerated kernel key: 412e349b4832abe825a9013a7e16e0a0109b844b' [ 0.779282] zswap: loaded using pool lz4/z3fold [ 0.779649] Key type ._fscrypt registered [ 0.779650] Key type .fscrypt registered [ 0.779651] Key type fscrypt-provisioning registered [ 0.780949] PM: Magic number: 0:630:420 [ 0.781157] RAS: Correctable Errors collector initialized. [ 0.825293] nvme nvme0: 8/0/0 default/read/poll queues [ 0.841531] nvme0n1: p1 p2 p3 [ 0.845078] Freeing unused decrypted memory: 2040K [ 0.845707] Freeing unused kernel image (initmem) memory: 1640K [ 0.855790] Write protecting the kernel read-only data: 22528k [ 0.857076] Freeing unused kernel image (text/rodata gap) memory: 2044K [ 0.857774] Freeing unused kernel image (rodata/data gap) memory: 1544K [ 0.932141] x86/mm: Checked W+X mappings: passed, no W+X pages found. [ 0.932143] x86/mm: Checking user space page tables [ 0.981284] x86/mm: Checked W+X mappings: passed, no W+X pages found. [ 0.981289] Run /init as init process [ 0.981290] with arguments: [ 0.981291] /init [ 0.981291] with environment: [ 0.981292] HOME=/ [ 0.981292] TERM=linux [ 0.981293] BOOT_IMAGE=/boot/vmlinuz-linux-surface [ 1.089462] xhci_hcd 0000:00:14.0: xHCI Host Controller [ 1.089475] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1 [ 1.090570] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0000000081109810 [ 1.090823] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported [ 1.091060] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.08 [ 1.091062] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.091063] usb usb1: Product: xHCI Host Controller [ 1.091065] usb usb1: Manufacturer: Linux 5.8.1-arch1-3-surface xhci-hcd [ 1.091066] usb usb1: SerialNumber: 0000:00:14.0 [ 1.091209] hub 1-0:1.0: USB hub found [ 1.091227] hub 1-0:1.0: 12 ports detected [ 1.093944] xhci_hcd 0000:00:14.0: xHCI Host Controller [ 1.093948] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2 [ 1.093960] xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed [ 1.094018] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.08 [ 1.094020] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.094023] usb usb2: Product: xHCI Host Controller [ 1.094025] usb usb2: Manufacturer: Linux 5.8.1-arch1-3-surface xhci-hcd [ 1.094026] usb usb2: SerialNumber: 0000:00:14.0 [ 1.094196] hub 2-0:1.0: USB hub found [ 1.094207] hub 2-0:1.0: 6 ports detected [ 1.114859] PM: Image not found (code -22) [ 1.165520] EXT4-fs (nvme0n1p2): mounted filesystem with ordered data mode. Opts: (null) [ 1.289207] random: fast init done [ 1.352412] systemd[1]: systemd 245.7-2-manjaro running in system mode. (+PAM +AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid) [ 1.369255] systemd[1]: Detected architecture x86-64. [ 1.401821] systemd[1]: Set hostname to . [ 1.574565] systemd[1]: Created slice system-getty.slice. [ 1.574876] systemd[1]: Created slice system-modprobe.slice. [ 1.575160] systemd[1]: Created slice system-systemd\x2dfsck.slice. [ 1.575481] systemd[1]: Created slice User and Session Slice. [ 1.575542] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ 1.575586] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 1.575759] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 1.575785] systemd[1]: Reached target Local Encrypted Volumes. [ 1.575797] systemd[1]: Reached target Login Prompts. [ 1.575816] systemd[1]: Reached target Paths. [ 1.575828] systemd[1]: Reached target Remote File Systems. [ 1.575839] systemd[1]: Reached target Slices. [ 1.575916] systemd[1]: Listening on Device-mapper event daemon FIFOs. [ 1.576012] systemd[1]: Listening on LVM2 metadata daemon socket. [ 1.576076] systemd[1]: Listening on LVM2 poll daemon socket. [ 1.577798] systemd[1]: Listening on Process Core Dump Socket. [ 1.577858] systemd[1]: Listening on initctl Compatibility Named Pipe. [ 1.577998] systemd[1]: Listening on Journal Audit Socket. [ 1.578086] systemd[1]: Listening on Journal Socket (/dev/log). [ 1.578178] systemd[1]: Listening on Journal Socket. [ 1.578265] systemd[1]: Listening on udev Control Socket. [ 1.578324] systemd[1]: Listening on udev Kernel Socket. [ 1.579228] systemd[1]: Mounting Huge Pages File System... [ 1.580189] systemd[1]: Mounting POSIX Message Queue File System... [ 1.581132] systemd[1]: Mounting Kernel Debug File System... [ 1.582113] systemd[1]: Mounting Kernel Trace File System... [ 1.583399] systemd[1]: Starting Create list of static device nodes for the current kernel... [ 1.584260] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling... [ 1.585026] systemd[1]: Starting Load Kernel Module drm... [ 1.586702] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped. [ 1.586732] systemd[1]: Condition check resulted in File System Check on Root Device being skipped. [ 1.588269] systemd[1]: Starting Journal Service... [ 1.590461] systemd[1]: Starting Load Kernel Modules... [ 1.591401] systemd[1]: Starting Remount Root and Kernel File Systems... [ 1.592311] systemd[1]: Starting udev Coldplug all Devices... [ 1.593650] systemd[1]: Mounted Huge Pages File System. [ 1.593778] systemd[1]: Mounted POSIX Message Queue File System. [ 1.593873] systemd[1]: Mounted Kernel Debug File System. [ 1.593975] systemd[1]: Mounted Kernel Trace File System. [ 1.594630] systemd[1]: Finished Create list of static device nodes for the current kernel. [ 1.597565] Linux agpgart interface v0.103 [ 1.601515] random: lvm: uninitialized urandom read (4 bytes read) [ 1.601531] EXT4-fs (nvme0n1p2): re-mounted. Opts: (null) [ 1.603396] systemd[1]: Finished Remount Root and Kernel File Systems. [ 1.603560] systemd[1]: Condition check resulted in First Boot Wizard being skipped. [ 1.604937] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped. [ 1.605869] systemd[1]: Starting Load/Save Random Seed... [ 1.605902] systemd[1]: Condition check resulted in Create System Users being skipped. [ 1.606948] systemd[1]: Starting Create Static Device Nodes in /dev... [ 1.607679] systemd[1]: Finished Load Kernel Modules. [ 1.608070] systemd[1]: Condition check resulted in FUSE Control File System being skipped. [ 1.608978] systemd[1]: Mounting Kernel Configuration File System... [ 1.610215] systemd[1]: Starting Apply Kernel Variables... [ 1.612276] systemd[1]: Mounted Kernel Configuration File System. [ 1.619303] systemd[1]: Finished Apply Kernel Variables. [ 1.628146] systemd[1]: Finished Create Static Device Nodes in /dev. [ 1.629374] systemd[1]: Starting udev Kernel Device Manager... [ 1.634682] systemd[1]: modprobe@drm.service: Succeeded. [ 1.635021] systemd[1]: Finished Load Kernel Module drm. [ 1.665106] systemd[1]: Finished udev Coldplug all Devices. [ 1.745418] tsc: Refined TSC clocksource calibration: 1800.010 MHz [ 1.745445] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x19f233062f3, max_idle_ns: 440795263401 ns [ 1.745478] clocksource: Switched to clocksource tsc [ 1.918777] systemd[1]: Started Journal Service. [ 1.918918] audit: type=1130 audit(1597908263.652:2): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-journald comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 1.926332] systemd-journald[232]: Received client request to flush runtime journal. [ 2.014018] audit: type=1130 audit(1597908263.745:3): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-journal-flush comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 2.034034] audit: type=1130 audit(1597908263.765:4): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-udevd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 2.035138] audit: type=1130 audit(1597908263.765:5): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lvm2-lvmetad comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 2.080112] ACPI: AC Adapter [ADP1] (off-line) [ 2.161781] hid: raw HID events driver (C) Jiri Kosina [ 2.178123] tpm_tis NTC0103:00: 2.0 TPM (device-id 0xFE, rev-id 4) [ 2.201569] random: mktemp: uninitialized urandom read (6 bytes read) [ 2.201581] random: mktemp: uninitialized urandom read (6 bytes read) [ 2.239955] mc: Linux media interface: v0.10 [ 2.243405] intel-lpss 0000:00:15.0: enabling device (0000 -> 0002) [ 2.243626] proc_thermal 0000:00:04.0: enabling device (0000 -> 0002) [ 2.243702] idma64 idma64.0: Found Intel integrated DMA 64-bit [ 2.247496] intel_rapl_common: Found RAPL domain package [ 2.247497] intel_rapl_common: Found RAPL domain dram [ 2.247770] proc_thermal 0000:00:04.0: Creating sysfs group for PROC_THERMAL_PCI [ 2.259188] i2c_hid i2c-MSHW0092:00: supply vdd not found, using dummy regulator [ 2.259205] i2c_hid i2c-MSHW0092:00: supply vddl not found, using dummy regulator [ 2.287531] intel-lpss 0000:00:15.1: enabling device (0000 -> 0002) [ 2.287804] idma64 idma64.1: Found Intel integrated DMA 64-bit [ 2.297331] intel-lpss 0000:00:15.2: enabling device (0000 -> 0002) [ 2.297682] idma64 idma64.2: Found Intel integrated DMA 64-bit [ 2.307252] intel-lpss 0000:00:15.3: enabling device (0000 -> 0002) [ 2.307472] idma64 idma64.3: Found Intel integrated DMA 64-bit [ 2.317687] intel-lpss 0000:00:1e.0: enabling device (0000 -> 0002) [ 2.317940] idma64 idma64.4: Found Intel integrated DMA 64-bit [ 2.355815] videodev: Linux video capture interface: v2.00 [ 2.368805] Adding 9227464k swap on /dev/nvme0n1p3. Priority:-2 extents:1 across:9227464k SSFS [ 2.369873] mei_me 0000:00:16.4: enabling device (0004 -> 0006) [ 2.369907] mei_me 0000:00:16.0: enabling device (0004 -> 0006) [ 2.373207] input: PC Speaker as /devices/platform/pcspkr/input/input1 [ 2.386789] audit: type=1130 audit(1597908264.119:6): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lvm2-monitor comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 2.411752] audit: type=1130 audit(1597908264.142:7): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-fsck@dev-disk-by\x2duuid-7C37\x2dD528 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 2.499031] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 2.499293] RAPL PMU: API unit is 2^-32 Joules, 5 fixed counters, 655360 ms ovfl timer [ 2.499295] RAPL PMU: hw unit of domain pp0-core 2^-14 Joules [ 2.499296] RAPL PMU: hw unit of domain package 2^-14 Joules [ 2.499297] RAPL PMU: hw unit of domain dram 2^-14 Joules [ 2.499298] RAPL PMU: hw unit of domain pp1-gpu 2^-14 Joules [ 2.499299] RAPL PMU: hw unit of domain psys 2^-14 Joules [ 2.499328] ipu3_imgu: module is from the staging directory, the quality is unknown, you have been warned. [ 2.504089] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 2.576837] ipu3-cio2 0000:00:14.3: enabling device (0000 -> 0002) [ 2.577065] ipu3-cio2 0000:00:14.3: device 0x9d32 (rev: 0x1) [ 2.580473] cryptd: max_cpu_qlen set to 1000 [ 2.581926] ipu3-imgu 0000:00:05.0: enabling device (0000 -> 0002) [ 2.582180] ipu3-imgu 0000:00:05.0: device 0x1919 (rev: 0x1) [ 2.582202] ipu3-imgu 0000:00:05.0: physical base address 0x00000000a1000000, 4194304 bytes [ 2.599348] AVX2 version of gcm_enc/dec engaged. [ 2.599350] AES CTR mode by8 optimization enabled [ 2.621217] audit: type=1130 audit(1597908264.352:8): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 2.635514] audit: type=1127 audit(1597908264.369:9): pid=365 uid=0 auid=4294967295 ses=4294967295 msg=' comm="systemd-update-utmp" exe="/usr/lib/systemd/systemd-update-utmp" hostname=? addr=? terminal=? res=success' [ 2.641811] audit: type=1130 audit(1597908264.372:10): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-update-utmp comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 2.672681] ipu3-imgu 0000:00:05.0: loaded firmware version irci_irci_ecr-master_20161208_0213_20170112_1500, 17 binaries, 1212984 bytes [ 2.696424] urandom_read: 2 callbacks suppressed [ 2.696425] random: mktemp: uninitialized urandom read (6 bytes read) [ 2.698155] random: tlp-readconfs: uninitialized urandom read (4 bytes read) [ 2.736461] mwifiex_pcie 0000:02:00.0: enabling device (0000 -> 0002) [ 2.736713] mwifiex_pcie: PCI memory map Virt0: 000000007144ae1c PCI memory map Virt2: 00000000e1ddbbef [ 2.748749] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380 [ 2.748767] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002) [ 2.749473] input: gpio-keys as /devices/platform/MSHW0040:00/gpio-keys.1.auto/input/input2 [ 2.757878] dw-apb-uart.4: ttyS0 at MMIO 0xa1747000 (irq = 20, base_baud = 1843200) is a 16550A [ 2.764900] intel_rapl_common: Found RAPL domain package [ 2.764903] intel_rapl_common: Found RAPL domain core [ 2.764904] intel_rapl_common: Found RAPL domain uncore [ 2.764906] intel_rapl_common: Found RAPL domain dram [ 2.764952] serial serial0: tty port ttyS0 registered [ 2.770319] surface_sam_ssh serial0-0: SAM controller version: 145.501.139 [ 2.780132] input: MSHW0092:00 045E:0933 Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-MSHW0092:00/0018:045E:0933.0001/input/input3 [ 2.780250] input: MSHW0092:00 045E:0933 Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-MSHW0092:00/0018:045E:0933.0001/input/input4 [ 2.780341] hid-generic 0018:045E:0933.0001: input,hidraw0: I2C HID v1.00 Mouse [MSHW0092:00 045E:0933] on i2c-MSHW0092:00 [ 2.800146] input: Microsoft Virtual HID Framework Device Keyboard as /devices/platform/MSHW0096:00/0006:045E:F001.0002/input/input6 [ 2.805945] input: Microsoft Virtual HID Framework Device Consumer Control as /devices/platform/MSHW0096:00/0006:045E:F001.0002/input/input7 [ 2.822598] ipts: unknown parameter 'singletouch' ignored [ 2.822656] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: Probing IPTS [ 2.822657] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: IPTS using DMA_BIT_MASK(64) [ 2.826638] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: Device 1B96:0979 found [ 2.829208] hid-generic 0006:045E:F001.0002: input,hidraw0: HID v0.00 Keyboard [Microsoft Virtual HID Framework Device] on [ 2.832932] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: IPTS enabled [ 2.837535] input: MSHW0092:00 045E:0933 Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-MSHW0092:00/0018:045E:0933.0001/input/input8 [ 2.837664] input: MSHW0092:00 045E:0933 Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-MSHW0092:00/0018:045E:0933.0001/input/input9 [ 2.837767] hid-multitouch 0018:045E:0933.0001: input,hidraw1: I2C HID v1.00 Mouse [MSHW0092:00 045E:0933] on i2c-MSHW0092:00 [ 3.181568] checking generic (90000000 d00000) vs hw (a0000000 1000000) [ 3.181571] checking generic (90000000 d00000) vs hw (90000000 10000000) [ 3.181573] fb0: switching to inteldrmfb from EFI VGA [ 3.182547] i915 0000:00:02.0: vgaarb: deactivate vga console [ 3.195990] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 3.199088] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem [ 3.202165] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4) [ 3.205033] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915]) [ 3.247710] i915 0000:00:02.0: [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS. [ 3.263912] random: crng init done [ 3.268419] mousedev: PS/2 mouse device common for all mice [ 3.281487] [drm] Initialized i915 1.6.0 20200515 for 0000:00:02.0 on minor 0 [ 3.288302] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no) [ 3.289086] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input11 [ 3.290080] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) [ 3.314480] fbcon: i915drmfb (fb0) is primary device [ 3.314483] fbcon: Deferring console take-over [ 3.314488] i915 0000:00:02.0: fb0: i915drmfb frame buffer device [ 3.319337] battery: ACPI: Battery Slot [BAT1] (battery present) [ 3.467028] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC298: line_outs=1 (0x1a/0x0/0x0/0x0/0x0) type:speaker [ 3.467032] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 3.467034] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0) [ 3.467035] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0 [ 3.467037] snd_hda_codec_realtek hdaudioC0D0: inputs: [ 3.467040] snd_hda_codec_realtek hdaudioC0D0: Mic=0x18 [ 3.467043] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12 [ 3.584202] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input12 [ 3.584414] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input13 [ 3.584629] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input14 [ 3.584862] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input15 [ 3.585074] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input16 [ 3.585358] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input17 [ 3.585814] input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input18 [ 3.607752] DPTF Platform Power INT3407:00: Unsupported event [0x82] [ 3.997814] mwifiex_pcie 0000:02:00.0: info: FW download over, size 723540 bytes [ 4.722089] usb 1-5: new high-speed USB device number 2 using xhci_hcd [ 4.863035] usb 1-5: New USB device found, idVendor=1286, idProduct=204c, bcdDevice=32.01 [ 4.863040] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 4.863044] usb 1-5: Product: Bluetooth and Wireless LAN Composite Device [ 4.863047] usb 1-5: Manufacturer: Marvell [ 4.863049] usb 1-5: SerialNumber: 0000000000000000 [ 4.955531] mwifiex_pcie 0000:02:00.0: WLAN FW is active [ 5.061081] mwifiex_pcie 0000:02:00.0: info: MWIFIEX VERSION: mwifiex 1.0 (15.68.19.p21) [ 5.061084] mwifiex_pcie 0000:02:00.0: driver_version = mwifiex 1.0 (15.68.19.p21) [ 5.064123] mwifiex_pcie 0000:02:00.0 wlp2s0: renamed from mlan0 [ 5.232182] kauditd_printk_skb: 16 callbacks suppressed [ 5.232185] audit: type=1130 audit(1597908266.965:27): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 5.301183] audit: type=1130 audit(1597908267.032:28): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 5.310803] mwifiex_pcie 0000:02:00.0: Request to enable ps_mode received but it's disallowed by module parameter. Rejecting the request. [ 5.315864] mwifiex_pcie 0000:02:00.0: Request to disable ps_mode received. Disabling it. [ 5.348902] audit: type=1130 audit(1597908267.082:29): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=wpa_supplicant comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 5.570903] Bluetooth: Core ver 2.22 [ 5.570931] NET: Registered protocol family 31 [ 5.570932] Bluetooth: HCI device and connection manager initialized [ 5.570937] Bluetooth: HCI socket layer initialized [ 5.570940] Bluetooth: L2CAP socket layer initialized [ 5.570943] Bluetooth: SCO socket layer initialized [ 5.590038] usbcore: registered new interface driver btusb [ 5.590206] Bluetooth: hci0: unexpected event for opcode 0x0000 [ 5.592612] Bluetooth: hci0: unexpected event for opcode 0x0000 [ 5.622658] audit: type=1130 audit(1597908267.355:30): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=bluetooth comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 5.633788] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 5.633790] Bluetooth: BNEP filters: protocol multicast [ 5.633794] Bluetooth: BNEP socket layer initialized [ 5.697578] audit: type=1130 audit(1597908267.429:31): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-logind comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 5.702485] audit: type=1130 audit(1597908267.435:32): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sddm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 5.781348] NET: Registered protocol family 38 [ 6.629006] audit: type=1100 audit(1597908268.362:33): pid=750 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success' [ 6.629100] audit: type=1101 audit(1597908268.362:34): pid=750 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success' [ 6.630689] audit: type=1103 audit(1597908268.362:35): pid=750 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success' [ 6.687883] audit: type=1130 audit(1597908268.419:36): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@968 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 8.048827] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 8.057363] Bridge firewalling registered [ 8.279380] Initializing XFRM netlink socket [ 8.629562] process 'docker/tmp/qemu-check266176065/check' started with executable stack [ 8.860566] mwifiex_pcie 0000:02:00.0: Request to enable ps_mode received but it's disallowed by module parameter. Rejecting the request. [ 10.608783] kauditd_printk_skb: 52 callbacks suppressed [ 10.608788] audit: type=1131 audit(1597908272.339:89): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 10.922053] audit: type=1100 audit(1597908272.652:90): pid=1149 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_tally2,pam_shells,pam_unix,pam_permit acct="raphael" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success' [ 10.925334] audit: type=1101 audit(1597908272.655:91): pid=1149 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_tally2,pam_access,pam_unix,pam_permit,pam_time acct="raphael" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success' [ 10.926946] audit: type=1103 audit(1597908272.659:92): pid=1149 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_tally2,pam_shells,pam_unix,pam_permit acct="raphael" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success' [ 10.927243] audit: type=1006 audit(1597908272.659:93): pid=1149 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=2 res=1 [ 10.978875] mwifiex_pcie 0000:02:00.0: Request to disable ps_mode received. Disabling it. [ 11.002825] audit: type=1130 audit(1597908272.735:94): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 11.016369] mwifiex_pcie 0000:02:00.0: Request to disable ps_mode received. Disabling it. [ 11.020358] audit: type=1101 audit(1597908272.752:95): pid=1151 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_tally2,pam_access,pam_unix,pam_permit,pam_time acct="raphael" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 11.020826] audit: type=1103 audit(1597908272.752:96): pid=1151 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=? acct="raphael" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' [ 11.020975] audit: type=1006 audit(1597908272.752:97): pid=1151 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=3 res=1 [ 11.024139] audit: type=1105 audit(1597908272.755:98): pid=1151 uid=0 auid=1000 ses=3 msg='op=PAM:session_open grantors=pam_loginuid,pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="raphael" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 13.732103] Bluetooth: RFCOMM TTY layer initialized [ 13.732111] Bluetooth: RFCOMM socket layer initialized [ 13.732119] Bluetooth: RFCOMM ver 1.11 [ 15.766087] mwifiex_pcie 0000:02:00.0: Request to disable ps_mode received. Disabling it. [ 17.569700] mwifiex_pcie 0000:02:00.0: info: trying to associate to 'flow_5G' bssid 04:d9:f5:a1:b8:0c [ 17.672887] mwifiex_pcie 0000:02:00.0: info: associated to bssid 04:d9:f5:a1:b8:0c successfully [ 18.636905] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready [ 19.011929] kauditd_printk_skb: 11 callbacks suppressed [ 19.011932] audit: type=1131 audit(1597908280.742:110): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 20.673372] audit: type=1130 audit(1597908282.405:111): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 21.181101] audit: type=1131 audit(1597908282.912:112): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@968 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 21.195974] audit: type=1131 audit(1597908282.929:113): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@968 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 22.681235] fuse: init (API version 7.31) [ 32.017077] audit: type=1131 audit(1597908293.749:114): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 35.674991] audit: type=1131 audit(1597908298.318:115): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 35.968907] audit: type=1334 audit(1597908298.615:116): prog-id=10 op=UNLOAD [ 35.968919] audit: type=1334 audit(1597908298.615:117): prog-id=9 op=UNLOAD ```
qzed commented 4 years ago

Was this dmesg log taken when resuming from hibernation? If not, can you get one that was? Also can you clone https://github.com/linux-surface/surface-aggregator-module and run sudo modprobe surface_sam_debugfs and

./scripts/ssam/evreg.py sam-enable 0x08 0x00 0x00

and check if that gets the keyboard working again?

qzed commented 4 years ago

Okay, I've set up hibernation for my SB2 and I've been able to reproduce this (with battery events though). Looks like the SAM events get disabled during hibernation entry but not enabled during resume. I'll try to figure out a bit more about this.

qzed commented 4 years ago

As far as I can tell, the controller (hardware) disables the events. Should be fairly straightforward to enable them again on resume, but I'll have to make a couple of changes for that.

archseer commented 4 years ago

Hmm I use hibernation but things seem to function fine on SL3. I'll double check later

qzed commented 4 years ago

I feel like the whole event stuff is sometimes a bit random. To me it kind of seems like some events (keyboard on SL3) might be default-enabled. We've had the wrong enable call for that for quite a long time (until I worked on the SB3 keyboard support), and I have never heard any of issues that the keyboard doesn't work due to the events being disabled. On the other hand, it could also be that the controller on the SL3 doesn't reset the event state after reboots (so if Windows enables the events once, they'll be enabled forever if we don't disable them, which could also explain this behavior).

Although this could also be a setup difference: AFAIK there's a loader kernel that loads the hibernated kernel state from disk. If the loader loads the SAM drivers, it's going to enable the events again before giving control over to the hibernated one. I'm not that familiar with how and what exactly the initial kernel loads, but I think it might be possible that if it loads stuff from initram and you have the SAM drivers in initram, that could also be what's happening.

My plan is to re-enable all events on hibernation exit, which should work regardless if events have already been enabled or not (if a specific event has already been enabled, the call to enable it again is just going to be ignored by the controller). Maybe also disable all events on hibernation entry for consistency.

archseer commented 4 years ago

Oh yeah I think initramfs explains it -- it initializes the driver at boot so I can enter the LUKS password before resume from hibernation kicks in

archseer commented 4 years ago

I think disabling all events before hibernation might also improve power consumption?

qzed commented 4 years ago

I think disabling all events before hibernation might also improve power consumption?

I doubt that. At least on my SB2, I can't really see a difference between S4 and S5. Not sure if S4 even works properly and it doesn't fall back to S5 automatically. And events should only be disabled in those states. S2idle kind of relies on the events being there for the wake-up stuff (if that were implemented).

Apart from that, I don't think the events have much influence on power consumption. I think putting the device in a lower-power mode is probably handled via the D0-exit notifications on the newer devices and the display-off notifications on the older ones.

I'm wondering right now how we have to deal with the HID devices, especially the touchpad on SB3/SL3. There seems to be a reset_resume function for HID drivers, which on the hid-multitouch driver calls mt_set_modes (AFAIK that should be the function sending the multitouch feature reports). Looking at the i2c-hid driver, we'll have to call that function (and the suspend function) ourselves.

An alternative to this would be to just remove the HID devices before hibernation and add them back after. But that would be a bit annoying because we'd have to remove them in the freeze phase before the PM image is generated, then add them back in the thaw phase for consistency and error handling, then remove them again when we actually enter hibernation, and, finally, add them again in restore/resume from hibernation.

qzed commented 4 years ago

@raphtlw Okay, events should now get re-enabled when resuming from hibernation. Can you test the module in the master branch? To do that, clone the repo, cd into the module/ directory, then run sudo make dkms-install, reboot and start testing. After you've done, you can uninstall the module again via sudo make dkms-uninstall (again running that from the module/ directory).

qzed commented 4 years ago

HID devices should now also be properly suspended and resumed via the appropriate callbacks.

raphtlw commented 4 years ago

@qzed unfortunately running sudo make dkms-install gives me an error.

Error! Bad return status for module build on kernel: 5.8.3-arch1-1-surface (x86_64)

logs

``` DKMS make.log for surface_sam-0.1 for kernel 5.8.3-arch1-1-surface (x86_64) Fri 28 Aug 2020 08:23:04 PM +08 make[1]: Entering directory '/var/lib/dkms/surface_sam/0.1/build' make -C /lib/modules/5.8.3-arch1-1-surface/build M=/var/lib/dkms/surface_sam/0.1/build/src __KERNEL_HAS_SSAM_MODALIAS_SUPPORT__=y modules make[2]: Entering directory '/usr/lib/modules/5.8.3-arch1-1-surface/build' CC [M] /var/lib/dkms/surface_sam/0.1/build/src/ssh_packet_layer.o CC [M] /var/lib/dkms/surface_sam/0.1/build/src/core.o CC [M] /var/lib/dkms/surface_sam/0.1/build/src/ssh_parser.o CC [M] /var/lib/dkms/surface_sam/0.1/build/src/ssh_request_layer.o CC [M] /var/lib/dkms/surface_sam/0.1/build/src/controller.o CC [M] /var/lib/dkms/surface_sam/0.1/build/src/bus.o cc1: error: incompatible gcc/plugin versions cc1: error: incompatible gcc/plugin versions cc1: error: incompatible gcc/plugin versions cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so cc1: error: incompatible gcc/plugin versions cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so cc1: error: incompatible gcc/plugin versions cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so make[3]: *** [scripts/Makefile.build:281: /var/lib/dkms/surface_sam/0.1/build/src/core.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [scripts/Makefile.build:281: /var/lib/dkms/surface_sam/0.1/build/src/ssh_packet_layer.o] Error 1 make[3]: *** [scripts/Makefile.build:281: /var/lib/dkms/surface_sam/0.1/build/src/ssh_request_layer.o] Error 1 make[3]: *** [scripts/Makefile.build:281: /var/lib/dkms/surface_sam/0.1/build/src/ssh_parser.o] Error 1 make[3]: *** [scripts/Makefile.build:281: /var/lib/dkms/surface_sam/0.1/build/src/controller.o] Error 1 cc1: error: incompatible gcc/plugin versions cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so make[3]: *** [scripts/Makefile.build:281: /var/lib/dkms/surface_sam/0.1/build/src/bus.o] Error 1 CC [M] /var/lib/dkms/surface_sam/0.1/build/src/clients/surface_sam_san.o CC [M] /var/lib/dkms/surface_sam/0.1/build/src/clients/surface_sam_dtx.o cc1: error: incompatible gcc/plugin versions cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so make[4]: *** [scripts/Makefile.build:281: /var/lib/dkms/surface_sam/0.1/build/src/clients/surface_sam_san.o] Error 1 make[4]: *** Waiting for unfinished jobs.... cc1: error: incompatible gcc/plugin versions cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so make[4]: *** [scripts/Makefile.build:281: /var/lib/dkms/surface_sam/0.1/build/src/clients/surface_sam_dtx.o] Error 1 CC [M] /var/lib/dkms/surface_sam/0.1/build/src/clients/surface_sam_hps.o CC [M] /var/lib/dkms/surface_sam/0.1/build/src/clients/surface_sam_vhf.o CC [M] /var/lib/dkms/surface_sam/0.1/build/src/clients/surface_sam_device_hub.o CC [M] /var/lib/dkms/surface_sam/0.1/build/src/clients/surface_sam_sid_perfmode.o CC [M] /var/lib/dkms/surface_sam/0.1/build/src/clients/surface_sam_sid_power.o CC [M] /var/lib/dkms/surface_sam/0.1/build/src/clients/surface_sam_sid_vhf.o cc1: error: incompatible gcc/plugin versions cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so make[4]: *** [scripts/Makefile.build:281: /var/lib/dkms/surface_sam/0.1/build/src/clients/surface_sam_hps.o] Error 1 cc1: error: incompatible gcc/plugin versions cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so cc1: error: incompatible gcc/plugin versions cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so make[4]: *** [scripts/Makefile.build:281: /var/lib/dkms/surface_sam/0.1/build/src/clients/surface_sam_device_hub.o] Error 1 make[4]: *** [scripts/Makefile.build:281: /var/lib/dkms/surface_sam/0.1/build/src/clients/surface_sam_vhf.o] Error 1 cc1: error: incompatible gcc/plugin versions cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so cc1: error: incompatible gcc/plugin versions cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so make[4]: *** [scripts/Makefile.build:281: /var/lib/dkms/surface_sam/0.1/build/src/clients/surface_sam_sid_power.o] Error 1 make[4]: *** [scripts/Makefile.build:281: /var/lib/dkms/surface_sam/0.1/build/src/clients/surface_sam_sid_perfmode.o] Error 1 cc1: error: incompatible gcc/plugin versions cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so make[4]: *** [scripts/Makefile.build:281: /var/lib/dkms/surface_sam/0.1/build/src/clients/surface_sam_sid_vhf.o] Error 1 make[3]: *** [scripts/Makefile.build:497: /var/lib/dkms/surface_sam/0.1/build/src/clients] Error 2 make[2]: *** [Makefile:1756: /var/lib/dkms/surface_sam/0.1/build/src] Error 2 make[2]: Leaving directory '/usr/lib/modules/5.8.3-arch1-1-surface/build' make[1]: *** [Makefile:31: all] Error 2 make[1]: Leaving directory '/var/lib/dkms/surface_sam/0.1/build' ```
qzed commented 4 years ago

Ah, looks like you're using a different GCC version than the one with which the kernel has been compiled (10.2.0). I believe you'll need to install that from the testing repositories on Manjaro.

qzed commented 4 years ago

A new kernel release containing the changes is currently building. Should be live later, I'll ping this issue once it is.

qzed commented 4 years ago

New releases will be live in a couple of minutes. Can you confirm that the issue has been fixed?

qzed commented 4 years ago

Seems to be working according to https://github.com/linux-surface/linux-surface/issues/268.