Closed raphtlw closed 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?
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.
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.
Hmm I use hibernation but things seem to function fine on SL3. I'll double check later
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.
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
I think disabling all events before hibernation might also improve power consumption?
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.
@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).
HID devices should now also be properly suspended and resumed via the appropriate callbacks.
@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)
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.
A new kernel release containing the changes is currently building. Should be live later, I'll ping this issue once it is.
New releases will be live in a couple of minutes. Can you confirm that the issue has been fixed?
Seems to be working according to https://github.com/linux-surface/linux-surface/issues/268.
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