linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BUG: KASAN: use-after-free in xhci_trb_virt_to_dma.part.24+0x1c/0x80
@ 2018-07-20  9:44 Paul Menzel
  2018-07-20  9:54 ` Greg KH
  0 siblings, 1 reply; 24+ messages in thread
From: Paul Menzel @ 2018-07-20  9:44 UTC (permalink / raw)
  To: Mathias Nyman; +Cc: linux-usb, linux-kernel

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

Dear Linux folks,


Using Linux 4.18-rc5+ with kmemleak enabled on a MSI B350M MORTAR (MS-7A37)
with an AMD Ryzen 3 2200G, the memory leak below is suspected.

```
$ sudo less /sys/kernel/debug/kmemleak
unreferenced object 0xffff894f8874a2b8 (size 8):
  comm "systemd-udevd", pid 119, jiffies 4294893109 (age 908.348s)
  hex dump (first 8 bytes):
    34 01 05 00 00 00 00 00                          4.......
  backtrace:
    [<00000000308e4456>] xhci_init+0x81/0x170 [xhci_hcd]
    [<00000000269aa18f>] xhci_gen_setup+0x2cb/0x510 [xhci_hcd]
    [<000000007b70d85f>] xhci_pci_setup+0x4d/0x120 [xhci_pci]
    [<0000000059f49127>] usb_add_hcd+0x2b6/0x800 [usbcore]
    [<000000009a16d67c>] usb_hcd_pci_probe+0x1f3/0x460 [usbcore]
    [<0000000001295c2e>] xhci_pci_probe+0x27/0x1d7 [xhci_pci]
    [<00000000395bd8f9>] local_pci_probe+0x41/0x90
    [<00000000a344e362>] pci_device_probe+0x189/0x1a0
    [<00000000318999e5>] driver_probe_device+0x2b9/0x460
    [<00000000c29d8a55>] __driver_attach+0xdd/0x110
    [<00000000975b7f46>] bus_for_each_dev+0x76/0xc0
    [<000000006bc40955>] bus_add_driver+0x152/0x230
    [<00000000840ed63c>] driver_register+0x6b/0xb0
    [<00000000123908c4>] do_one_initcall+0x46/0x1c3
    [<00000000ce69c793>] do_init_module+0x5a/0x210
    [<0000000091d4aef2>] load_module+0x21c4/0x2410
[…]
```


Kind regards,

Paul



[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5174 bytes --]

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

* Re: BUG: KASAN: use-after-free in xhci_trb_virt_to_dma.part.24+0x1c/0x80
  2018-07-20  9:44 BUG: KASAN: use-after-free in xhci_trb_virt_to_dma.part.24+0x1c/0x80 Paul Menzel
@ 2018-07-20  9:54 ` Greg KH
  2018-07-23 11:23   ` Paul Menzel
  0 siblings, 1 reply; 24+ messages in thread
From: Greg KH @ 2018-07-20  9:54 UTC (permalink / raw)
  To: Paul Menzel; +Cc: Mathias Nyman, linux-usb, linux-kernel

On Fri, Jul 20, 2018 at 11:44:49AM +0200, Paul Menzel wrote:
> Dear Linux folks,
> 
> 
> Using Linux 4.18-rc5+ with kmemleak enabled on a MSI B350M MORTAR (MS-7A37)
> with an AMD Ryzen 3 2200G, the memory leak below is suspected.
> 
> ```
> $ sudo less /sys/kernel/debug/kmemleak
> unreferenced object 0xffff894f8874a2b8 (size 8):
>   comm "systemd-udevd", pid 119, jiffies 4294893109 (age 908.348s)
>   hex dump (first 8 bytes):
>     34 01 05 00 00 00 00 00                          4.......
>   backtrace:
>     [<00000000308e4456>] xhci_init+0x81/0x170 [xhci_hcd]
>     [<00000000269aa18f>] xhci_gen_setup+0x2cb/0x510 [xhci_hcd]
>     [<000000007b70d85f>] xhci_pci_setup+0x4d/0x120 [xhci_pci]
>     [<0000000059f49127>] usb_add_hcd+0x2b6/0x800 [usbcore]
>     [<000000009a16d67c>] usb_hcd_pci_probe+0x1f3/0x460 [usbcore]
>     [<0000000001295c2e>] xhci_pci_probe+0x27/0x1d7 [xhci_pci]
>     [<00000000395bd8f9>] local_pci_probe+0x41/0x90
>     [<00000000a344e362>] pci_device_probe+0x189/0x1a0
>     [<00000000318999e5>] driver_probe_device+0x2b9/0x460
>     [<00000000c29d8a55>] __driver_attach+0xdd/0x110
>     [<00000000975b7f46>] bus_for_each_dev+0x76/0xc0
>     [<000000006bc40955>] bus_add_driver+0x152/0x230
>     [<00000000840ed63c>] driver_register+0x6b/0xb0
>     [<00000000123908c4>] do_one_initcall+0x46/0x1c3
>     [<00000000ce69c793>] do_init_module+0x5a/0x210
>     [<0000000091d4aef2>] load_module+0x21c4/0x2410
> […]
> ```

That's really vague.  Any chance for a reproducer or some other types of
hints as to what you feel the problem is here?

thanks,

greg k-h

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

* Re: BUG: KASAN: use-after-free in xhci_trb_virt_to_dma.part.24+0x1c/0x80
  2018-07-20  9:54 ` Greg KH
@ 2018-07-23 11:23   ` Paul Menzel
  2020-01-02 14:10     ` Paul Menzel
  0 siblings, 1 reply; 24+ messages in thread
From: Paul Menzel @ 2018-07-23 11:23 UTC (permalink / raw)
  To: Greg KH; +Cc: Mathias Nyman, linux-usb, linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 3201 bytes --]

Dear Greg,


On 07/20/18 11:54, Greg KH wrote:
> On Fri, Jul 20, 2018 at 11:44:49AM +0200, Paul Menzel wrote:

>> Using Linux 4.18-rc5+ with kmemleak enabled on a MSI B350M MORTAR (MS-7A37)
>> with an AMD Ryzen 3 2200G, the memory leak below is suspected.
>>
>> ```
>> $ sudo less /sys/kernel/debug/kmemleak
>> unreferenced object 0xffff894f8874a2b8 (size 8):
>>   comm "systemd-udevd", pid 119, jiffies 4294893109 (age 908.348s)
>>   hex dump (first 8 bytes):
>>     34 01 05 00 00 00 00 00                          4.......
>>   backtrace:
>>     [<00000000308e4456>] xhci_init+0x81/0x170 [xhci_hcd]
>>     [<00000000269aa18f>] xhci_gen_setup+0x2cb/0x510 [xhci_hcd]
>>     [<000000007b70d85f>] xhci_pci_setup+0x4d/0x120 [xhci_pci]
>>     [<0000000059f49127>] usb_add_hcd+0x2b6/0x800 [usbcore]
>>     [<000000009a16d67c>] usb_hcd_pci_probe+0x1f3/0x460 [usbcore]
>>     [<0000000001295c2e>] xhci_pci_probe+0x27/0x1d7 [xhci_pci]
>>     [<00000000395bd8f9>] local_pci_probe+0x41/0x90
>>     [<00000000a344e362>] pci_device_probe+0x189/0x1a0
>>     [<00000000318999e5>] driver_probe_device+0x2b9/0x460
>>     [<00000000c29d8a55>] __driver_attach+0xdd/0x110
>>     [<00000000975b7f46>] bus_for_each_dev+0x76/0xc0
>>     [<000000006bc40955>] bus_add_driver+0x152/0x230
>>     [<00000000840ed63c>] driver_register+0x6b/0xb0
>>     [<00000000123908c4>] do_one_initcall+0x46/0x1c3
>>     [<00000000ce69c793>] do_init_module+0x5a/0x210
>>     [<0000000091d4aef2>] load_module+0x21c4/0x2410
>> […]
>> ```
> 
> That's really vague.  Any chance for a reproducer or some other types of
> hints as to what you feel the problem is here?

Unfortunately, not really. I have a SanDisk USB storage medium attached.

```
$ lsusb
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 002: ID 413c:3012 Dell Computer Corp. Optical Wheel Mouse
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 0781:558b SanDisk Corp. 
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 413c:2105 Dell Computer Corp. Model L100 Keyboard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
```

After ten or eleven minutes after boot, systemd-udevd gets triggered
and causes the kmemleak message.

```
[   82.196740] calling  fuse_init+0x0/0x1a6 [fuse] @ 4455
[   82.196741] fuse init (API version 7.27)
[   82.201779] initcall fuse_init+0x0/0x1a6 [fuse] returned 0 after 4925 usecs
[  677.532745] kmemleak: 3 new suspected memory leaks (see /sys/kernel/debug/kmemleak)
```

Please note, that there could be memory corruption issues [1] with AMD
Raven devices. But as I can reproduce the kmemleak messages, I thought
that this is unrelated and that you might have an idea.

Please tell me, if I can provide more information. Sorry for
forgetting to attach the Linux messages.


Kind regards,

Paul


[1]: https://bugs.freedesktop.org/show_bug.cgi?id=105684
     "Loading amdgpu hits general protection fault: 0000 [#1] SMP NOPTI"

[-- Attachment #1.2: 20180723–linux-messages.txt --]
[-- Type: text/plain, Size: 150055 bytes --]

[    0.000000] Linux version 4.18.0-rc5+ (paul@tokeiihto) (gcc version 8.1.0 (Debian 8.1.0-12)) #3 SMP Fri Jul 20 11:53:55 CEST 2018
[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-4.18.0-rc5+ root=UUID=313f78e2-468f-4660-b236-d1de214bf6b4 ro noisapnp cryptomgr.notests apparmor=0 log_buf_len=4M initcall_debug console=ttyS0,115200 console=tty0 systemd.unit=multi-user.target nomodeset
[    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: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 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-0x0000000003ffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000004000000-0x0000000004009fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000000400a000-0x0000000009d7ffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000009d80000-0x0000000009ffffff] reserved
[    0.000000] BIOS-e820: [mem 0x000000000a000000-0x000000000affffff] usable
[    0.000000] BIOS-e820: [mem 0x000000000b000000-0x000000000b01ffff] reserved
[    0.000000] BIOS-e820: [mem 0x000000000b020000-0x000000009d1e4fff] usable
[    0.000000] BIOS-e820: [mem 0x000000009d1e5000-0x000000009d2d4fff] reserved
[    0.000000] BIOS-e820: [mem 0x000000009d2d5000-0x000000009d3c7fff] usable
[    0.000000] BIOS-e820: [mem 0x000000009d3c8000-0x000000009d78ffff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000009d790000-0x000000009e5bffff] reserved
[    0.000000] BIOS-e820: [mem 0x000000009e5c0000-0x000000009e664fff] type 20
[    0.000000] BIOS-e820: [mem 0x000000009e665000-0x000000009effffff] usable
[    0.000000] BIOS-e820: [mem 0x000000009f000000-0x00000000dfffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fd800000-0x00000000fdffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fea00000-0x00000000fea0ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000feb80000-0x00000000fec01fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec10000-0x00000000fec10fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec30000-0x00000000fec30fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed00000-0x00000000fed00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed40000-0x00000000fed44fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed80000-0x00000000fed8ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fedc2000-0x00000000fedcffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fedd4000-0x00000000fedd5fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000feefffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000041f33ffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] efi: EFI v2.60 by American Megatrends
[    0.000000] efi:  ACPI 2.0=0x9d3c8000  ACPI=0x9d3c8000  SMBIOS=0x9e48d000  ESRT=0x99f56f98  MEMATTR=0x990a4698 
[    0.000000] SMBIOS 2.8 present.
[    0.000000] DMI: MSI MS-7A37/B350M MORTAR (MS-7A37), BIOS 1.G1 05/17/2018
[    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000000] last_pfn = 0x41f340 max_arch_pfn = 0x400000000
[    0.000000] MTRR default type: uncachable
[    0.000000] MTRR fixed ranges enabled:
[    0.000000]   00000-9FFFF write-back
[    0.000000]   A0000-BFFFF write-through
[    0.000000]   C0000-FFFFF write-protect
[    0.000000] MTRR variable ranges enabled:
[    0.000000]   0 base 000000000000 mask FFFF80000000 write-back
[    0.000000]   1 base 000080000000 mask FFFFC0000000 write-back
[    0.000000]   2 base 0000C0000000 mask FFFFE0000000 write-back
[    0.000000]   3 disabled
[    0.000000]   4 disabled
[    0.000000]   5 disabled
[    0.000000]   6 disabled
[    0.000000]   7 disabled
[    0.000000] TOM2: 0000000420000000 aka 16896M
[    0.000000] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
[    0.000000] e820: update [mem 0xe0000000-0xffffffff] usable ==> reserved
[    0.000000] last_pfn = 0x9f000 max_arch_pfn = 0x400000000
[    0.000000] esrt: Reserving ESRT space from 0x0000000099f56f98 to 0x0000000099f56fd0.
[    0.000000] Base memory trampoline at [(____ptrval____)] 96000 size 24576
[    0.000000] Using GB pages for direct mapping
[    0.000000] BRK [0x3bec7b000, 0x3bec7bfff] PGTABLE
[    0.000000] BRK [0x3bec7c000, 0x3bec7cfff] PGTABLE
[    0.000000] BRK [0x3bec7d000, 0x3bec7dfff] PGTABLE
[    0.000000] BRK [0x3bec7e000, 0x3bec7efff] PGTABLE
[    0.000000] BRK [0x3bec7f000, 0x3bec7ffff] PGTABLE
[    0.000000] BRK [0x3bec80000, 0x3bec80fff] PGTABLE
[    0.000000] BRK [0x3bec81000, 0x3bec81fff] PGTABLE
[    0.000000] BRK [0x3bec82000, 0x3bec82fff] PGTABLE
[    0.000000] BRK [0x3bec83000, 0x3bec83fff] PGTABLE
[    0.000000] BRK [0x3bec84000, 0x3bec84fff] PGTABLE
[    0.000000] BRK [0x3bec85000, 0x3bec85fff] PGTABLE
[    0.000000] BRK [0x3bec86000, 0x3bec86fff] PGTABLE
[    0.000000] log_buf_len: 4194304 bytes
[    0.000000] early log buf free: 125492(95%)
[    0.000000] Secure boot could not be determined
[    0.000000] RAMDISK: [mem 0x36c09000-0x375fbfff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x000000009D3C8000 000024 (v02 ALASKA)
[    0.000000] ACPI: XSDT 0x000000009D3C8098 0000B4 (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: FACP 0x000000009D3CF8B0 000114 (v06 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI BIOS Warning (bug): Optional FADT field Pm2ControlBlock has valid Length but zero Address: 0x0000000000000000/0x1 (20180531/tbfadt-624)
[    0.000000] ACPI: DSDT 0x000000009D3C81E8 0076C7 (v02 ALASKA A M I    01072009 INTL 20120913)
[    0.000000] ACPI: FACS 0x000000009D779E00 000040
[    0.000000] ACPI: APIC 0x000000009D3CF9C8 0000DE (v03 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: FPDT 0x000000009D3CFAA8 000044 (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: FIDT 0x000000009D3CFAF0 00009C (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: SSDT 0x000000009D3CFB90 005367 (v02 AMD    AmdTable 00000002 MSFT 02000002)
[    0.000000] ACPI: CRAT 0x000000009D3D4EF8 000810 (v01 AMD    AMD CRAT 00000001 AMD  00000001)
[    0.000000] ACPI: CDIT 0x000000009D3D5708 000029 (v01 AMD    AMD CDIT 00000001 AMD  00000001)
[    0.000000] ACPI: SSDT 0x000000009D3D5738 002D89 (v01 AMD    AMD AOD  00000001 INTL 20120913)
[    0.000000] ACPI: MCFG 0x000000009D3D84C8 00003C (v01 ALASKA A M I    01072009 MSFT 00010013)
[    0.000000] ACPI: HPET 0x000000009D3D8508 000038 (v01 ALASKA A M I    01072009 AMI  00000005)
[    0.000000] ACPI: UEFI 0x000000009D3D8540 000042 (v01                 00000000      00000000)
[    0.000000] ACPI: IVRS 0x000000009D3D8588 0000D0 (v02 AMD    AMD IVRS 00000001 AMD  00000000)
[    0.000000] ACPI: BGRT 0x000000009D3D8658 000038 (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: SSDT 0x000000009D3D8690 000E96 (v01 AMD    AmdTable 00000001 INTL 20120913)
[    0.000000] ACPI: SSDT 0x000000009D3D9528 000850 (v01 AMD    AmdTable 00000001 INTL 20120913)
[    0.000000] ACPI: SSDT 0x000000009D3D9D78 001A41 (v01 AMD    AmdTable 00000001 INTL 20120913)
[    0.000000] ACPI: SSDT 0x000000009D3DB7C0 0000F8 (v01 AMD    AMD PT   00001000 INTL 20120913)
[    0.000000] ACPI: WSMT 0x000000009D3DB8B8 000028 (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000041f33ffff]
[    0.000000] NODE_DATA(0) allocated [mem 0x41f33b000-0x41f33ffff]
[    0.000000] tsc: Fast TSC calibration failed
[    0.000000] tsc: Using PIT calibration value
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000041f33ffff]
[    0.000000]   Device   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009ffff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x0000000003ffffff]
[    0.000000]   node   0: [mem 0x000000000400a000-0x0000000009d7ffff]
[    0.000000]   node   0: [mem 0x000000000a000000-0x000000000affffff]
[    0.000000]   node   0: [mem 0x000000000b020000-0x000000009d1e4fff]
[    0.000000]   node   0: [mem 0x000000009d2d5000-0x000000009d3c7fff]
[    0.000000]   node   0: [mem 0x000000009e665000-0x000000009effffff]
[    0.000000]   node   0: [mem 0x0000000100000000-0x000000041f33ffff]
[    0.000000] Reserved but unavailable: 9880 pages
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000041f33ffff]
[    0.000000] On node 0 totalpages: 3919016
[    0.000000]   DMA zone: 64 pages used for memmap
[    0.000000]   DMA zone: 28 pages reserved
[    0.000000]   DMA zone: 3999 pages, LIFO batch:0
[    0.000000]   DMA32 zone: 10024 pages used for memmap
[    0.000000]   DMA32 zone: 641481 pages, LIFO batch:31
[    0.000000]   Normal zone: 51149 pages used for memmap
[    0.000000]   Normal zone: 3273536 pages, LIFO batch:31
[    0.000000] ACPI: PM-Timer IO Port: 0x808
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1])
[    0.000000] IOAPIC[0]: apic_id 5, version 33, address 0xfec00000, GSI 0-23
[    0.000000] IOAPIC[1]: apic_id 6, version 33, address 0xfec01000, GSI 24-55
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x10228201 base: 0xfed00000
[    0.000000] smpboot: Allowing 16 CPUs, 12 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000fffff]
[    0.000000] PM: Registered nosave memory: [mem 0x04000000-0x04009fff]
[    0.000000] PM: Registered nosave memory: [mem 0x09d80000-0x09ffffff]
[    0.000000] PM: Registered nosave memory: [mem 0x0b000000-0x0b01ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x9d1e5000-0x9d2d4fff]
[    0.000000] PM: Registered nosave memory: [mem 0x9d3c8000-0x9d78ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x9d790000-0x9e5bffff]
[    0.000000] PM: Registered nosave memory: [mem 0x9e5c0000-0x9e664fff]
[    0.000000] PM: Registered nosave memory: [mem 0x9f000000-0xdfffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xe0000000-0xf7ffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xf8000000-0xfbffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfc000000-0xfd7fffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfd800000-0xfdffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfe000000-0xfe9fffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfea00000-0xfea0ffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfea10000-0xfeb7ffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfeb80000-0xfec01fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfec02000-0xfec0ffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfec10000-0xfec10fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfec11000-0xfec2ffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfec30000-0xfec30fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfec31000-0xfecfffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed00000-0xfed00fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed01000-0xfed3ffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed40000-0xfed44fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed45000-0xfed7ffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed80000-0xfed8ffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed90000-0xfedc1fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfedc2000-0xfedcffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfedd0000-0xfedd3fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfedd4000-0xfedd5fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfedd6000-0xfedfffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfee00000-0xfeefffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfef00000-0xfeffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xff000000-0xffffffff]
[    0.000000] [mem 0xe0000000-0xf7ffffff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on bare hardware
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[    0.000000] random: get_random_bytes called from start_kernel+0x93/0x52c with crng_init=0
[    0.000000] setup_percpu: NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:16 nr_node_ids:1
[    0.000000] percpu: Embedded 44 pages/cpu @(____ptrval____) s142744 r8192 d29288 u262144
[    0.000000] pcpu-alloc: s142744 r8192 d29288 u262144 alloc=1*2097152
[    0.000000] pcpu-alloc: [0] 00 01 02 03 04 05 06 07 [0] 08 09 10 11 12 13 14 15 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 3857751
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-4.18.0-rc5+ root=UUID=313f78e2-468f-4660-b236-d1de214bf6b4 ro noisapnp cryptomgr.notests apparmor=0 log_buf_len=4M initcall_debug console=ttyS0,115200 console=tty0 systemd.unit=multi-user.target nomodeset
[    0.000000] Memory: 15262320K/15676064K available (10252K kernel code, 1201K rwdata, 3244K rodata, 1840K init, 616K bss, 413744K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=16, Nodes=1
[    0.000000] ftrace: allocating 30468 entries in 120 pages
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=16.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=16
[    0.000000] NR_IRQS: 33024, nr_irqs: 1096, preallocated irqs: 16
[    0.000000] calling  con_init+0x0/0x21c @ 0
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled
[    0.000000] initcall con_init+0x0/0x21c returned 0 after 0 usecs
[    0.000000] calling  hvc_console_init+0x0/0x14 @ 0
[    0.000000] initcall hvc_console_init+0x0/0x14 returned 0 after 0 usecs
[    0.000000] calling  xen_cons_init+0x0/0x50 @ 0
[    0.000000] initcall xen_cons_init+0x0/0x50 returned 0 after 0 usecs
[    0.000000] calling  univ8250_console_init+0x0/0x27 @ 0
[    0.000000] console [ttyS0] enabled
[    0.000000] initcall univ8250_console_init+0x0/0x27 returned 0 after 0 usecs
[    0.000000] ACPI: Core revision 20180531
[    0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 133484873504 ns
[    0.000000] hpet clockevent registered
[    0.000000] APIC: Switch to symmetric I/O mode setup
[    0.004000] Switched APIC routing to physical flat.
[    0.008000] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.028000] tsc: Fast TSC calibration failed
[    0.036000] tsc: PIT calibration matches HPET. 1 loops
[    0.040000] tsc: Detected 3499.973 MHz processor
[    0.044000] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x327337fff97, max_idle_ns: 440795382706 ns
[    0.048002] Calibrating delay loop (skipped), value calculated using timer frequency.. 6999.94 BogoMIPS (lpj=13999892)
[    0.052000] pid_max: default: 32768 minimum: 301
[    0.060503] Security Framework initialized
[    0.064002] Yama: becoming mindful.
[    0.068010] calling  selinux_init+0x0/0x1c7 @ 0
[    0.068011] initcall selinux_init+0x0/0x1c7 returned 0 after 0 usecs
[    0.068012] calling  tomoyo_init+0x0/0x5b @ 0
[    0.068014] initcall tomoyo_init+0x0/0x5b returned 0 after 0 usecs
[    0.068014] calling  apparmor_init+0x0/0x2d5 @ 0
[    0.068015] AppArmor: AppArmor disabled by boot time parameter
[    0.072002] initcall apparmor_init+0x0/0x2d5 returned 0 after 3906 usecs
[    0.072003] calling  integrity_iintcache_init+0x0/0x2e @ 0
[    0.072055] initcall integrity_iintcache_init+0x0/0x2e returned 0 after 0 usecs
[    0.077273] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes)
[    0.081318] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[    0.084203] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.088041] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.097143] CPU: Physical Processor ID: 0
[    0.100002] CPU: Processor Core ID: 0
[    0.104106] mce: CPU supports 23 MCE banks
[    0.108020] LVT offset 1 assigned for vector 0xf9
[    0.112047] LVT offset 2 assigned for vector 0xf4
[    0.116009] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 512
[    0.120001] Last level dTLB entries: 4KB 1536, 2MB 1536, 4MB 768, 1GB 0
[    0.124001] Spectre V2 : Mitigation: Full AMD retpoline
[    0.128000] Spectre V2 : Spectre v2 mitigation: Enabling Indirect Branch Prediction Barrier
[    0.132001] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[    0.142474] Freeing SMP alternatives memory: 24K
[    0.160000] smpboot: CPU0: AMD Ryzen 3 2200G with Radeon Vega Graphics (family: 0x17, model: 0x11, stepping: 0x0)
[    0.160271] calling  trace_init_flags_sys_exit+0x0/0xf @ 1
[    0.160273] initcall trace_init_flags_sys_exit+0x0/0xf returned 0 after 0 usecs
[    0.160274] calling  trace_init_flags_sys_enter+0x0/0xf @ 1
[    0.160275] initcall trace_init_flags_sys_enter+0x0/0xf returned 0 after 0 usecs
[    0.160276] calling  init_hw_perf_events+0x0/0x5d2 @ 1
[    0.160276] Performance Events: Fam17h core perfctr, AMD PMU driver.
[    0.164002] ... version:                0
[    0.168000] ... bit width:              48
[    0.172000] ... generic registers:      6
[    0.176000] ... value mask:             0000ffffffffffff
[    0.180000] ... max period:             00007fffffffffff
[    0.184000] ... fixed-purpose events:   0
[    0.188000] ... event mask:             000000000000003f
[    0.192042] initcall init_hw_perf_events+0x0/0x5d2 returned 0 after 31250 usecs
[    0.192043] calling  init_real_mode+0x0/0x1b3 @ 1
[    0.192052] initcall init_real_mode+0x0/0x1b3 returned 0 after 0 usecs
[    0.192054] calling  trace_init_perf_perm_irq_work_exit+0x0/0x13 @ 1
[    0.192055] initcall trace_init_perf_perm_irq_work_exit+0x0/0x13 returned 0 after 0 usecs
[    0.192057] calling  register_nmi_cpu_backtrace_handler+0x0/0x16 @ 1
[    0.192058] initcall register_nmi_cpu_backtrace_handler+0x0/0x16 returned 0 after 0 usecs
[    0.192059] calling  early_efi_map_fb+0x0/0x34 @ 1
[    0.192061] initcall early_efi_map_fb+0x0/0x34 returned 0 after 0 usecs
[    0.192062] calling  spawn_ksoftirqd+0x0/0x40 @ 1
[    0.192116] initcall spawn_ksoftirqd+0x0/0x40 returned 0 after 0 usecs
[    0.192117] calling  migration_init+0x0/0x34 @ 1
[    0.192119] initcall migration_init+0x0/0x34 returned 0 after 0 usecs
[    0.192120] calling  check_cpu_stall_init+0x0/0x1b @ 1
[    0.192121] initcall check_cpu_stall_init+0x0/0x1b returned 0 after 0 usecs
[    0.192122] calling  srcu_bootup_announce+0x0/0x30 @ 1
[    0.192122] Hierarchical SRCU implementation.
[    0.196001] initcall srcu_bootup_announce+0x0/0x30 returned 0 after 3906 usecs
[    0.196002] calling  rcu_spawn_gp_kthread+0x0/0x136 @ 1
[    0.196085] initcall rcu_spawn_gp_kthread+0x0/0x136 returned 0 after 0 usecs
[    0.196086] calling  cpu_stop_init+0x0/0x8d @ 1
[    0.196124] initcall cpu_stop_init+0x0/0x8d returned 0 after 0 usecs
[    0.196125] calling  init_events+0x0/0x40 @ 1
[    0.196134] initcall init_events+0x0/0x40 returned 0 after 0 usecs
[    0.196135] calling  init_trace_printk+0x0/0xc @ 1
[    0.196136] initcall init_trace_printk+0x0/0xc returned 0 after 0 usecs
[    0.196138] calling  event_trace_enable_again+0x0/0x21 @ 1
[    0.196139] initcall event_trace_enable_again+0x0/0x21 returned 0 after 0 usecs
[    0.196141] calling  jump_label_init_module+0x0/0x11 @ 1
[    0.196142] initcall jump_label_init_module+0x0/0x11 returned 0 after 0 usecs
[    0.196144] calling  dynamic_debug_init+0x0/0x23a @ 1
[    0.196562] initcall dynamic_debug_init+0x0/0x23a returned 0 after 0 usecs
[    0.196564] calling  rand_initialize+0x0/0x60 @ 1
[    0.198543] initcall rand_initialize+0x0/0x60 returned 0 after 0 usecs
[    0.198545] calling  initialize_ptr_random+0x0/0x35 @ 1
[    0.198547] initcall initialize_ptr_random+0x0/0x35 returned 0 after 0 usecs
[    0.200057] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[    0.204016] smp: Bringing up secondary CPUs ...
[    0.208305] x86: Booting SMP configuration:
[    0.212002] .... node  #0, CPUs:        #1  #2  #3
[    0.222533] smp: Brought up 1 node, 4 CPUs
[    0.228001] smpboot: Max logical packages: 4
[    0.232001] smpboot: Total of 4 processors activated (27999.78 BogoMIPS)
[    0.240790] devtmpfs: initialized
[    0.244204] x86/mm: Memory block size: 128MB
[    0.255312] calling  ipc_ns_init+0x0/0x57 @ 1
[    0.255325] initcall ipc_ns_init+0x0/0x57 returned 0 after 0 usecs
[    0.255326] calling  init_mmap_min_addr+0x0/0x27 @ 1
[    0.255328] initcall init_mmap_min_addr+0x0/0x27 returned 0 after 0 usecs
[    0.255329] calling  net_ns_init+0x0/0x106 @ 1
[    0.255402] initcall net_ns_init+0x0/0x106 returned 0 after 0 usecs
[    0.255402] calling  xen_pvh_gnttab_setup+0x0/0x34 @ 1
[    0.255402] initcall xen_pvh_gnttab_setup+0x0/0x34 returned -19 after 0 usecs
[    0.255402] calling  e820__register_nvs_regions+0x0/0x38 @ 1
[    0.255402] PM: Registering ACPI NVS region [mem 0x04000000-0x04009fff] (40960 bytes)
[    0.256027] PM: Registering ACPI NVS region [mem 0x9d3c8000-0x9d78ffff] (3964928 bytes)
[    0.264525] initcall e820__register_nvs_regions+0x0/0x38 returned 0 after 11718 usecs
[    0.264526] calling  cpufreq_register_tsc_scaling+0x0/0x2a @ 1
[    0.264527] initcall cpufreq_register_tsc_scaling+0x0/0x2a returned 0 after 0 usecs
[    0.264528] calling  init_cpu_syscore+0x0/0xf @ 1
[    0.264529] initcall init_cpu_syscore+0x0/0xf returned 0 after 0 usecs
[    0.264531] calling  reboot_init+0x0/0x3d @ 1
[    0.264534] initcall reboot_init+0x0/0x3d returned 0 after 0 usecs
[    0.264535] calling  init_lapic_sysfs+0x0/0x21 @ 1
[    0.264536] initcall init_lapic_sysfs+0x0/0x21 returned 0 after 0 usecs
[    0.264537] calling  cpu_hotplug_pm_sync_init+0x0/0x14 @ 1
[    0.264539] initcall cpu_hotplug_pm_sync_init+0x0/0x14 returned 0 after 0 usecs
[    0.264540] calling  alloc_frozen_cpus+0x0/0x8 @ 1
[    0.264541] initcall alloc_frozen_cpus+0x0/0x8 returned 0 after 0 usecs
[    0.264543] calling  wq_sysfs_init+0x0/0x2b @ 1
[    0.264599] initcall wq_sysfs_init+0x0/0x2b returned 0 after 0 usecs
[    0.264600] calling  ksysfs_init+0x0/0x93 @ 1
[    0.264624] initcall ksysfs_init+0x0/0x93 returned 0 after 0 usecs
[    0.264625] calling  pm_init+0x0/0x78 @ 1
[    0.264674] initcall pm_init+0x0/0x78 returned 0 after 0 usecs
[    0.264675] calling  pm_disk_init+0x0/0x18 @ 1
[    0.264690] initcall pm_disk_init+0x0/0x18 returned 0 after 0 usecs
[    0.264692] calling  swsusp_header_init+0x0/0x30 @ 1
[    0.264694] initcall swsusp_header_init+0x0/0x30 returned 0 after 0 usecs
[    0.264694] calling  rcu_set_runtime_mode+0x0/0x12 @ 1
[    0.264696] initcall rcu_set_runtime_mode+0x0/0x12 returned 0 after 0 usecs
[    0.264697] calling  init_jiffies_clocksource+0x0/0x18 @ 1
[    0.264698] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.268003] initcall init_jiffies_clocksource+0x0/0x18 returned 0 after 3906 usecs
[    0.268004] calling  futex_init+0x0/0xf9 @ 1
[    0.268020] futex hash table entries: 4096 (order: 6, 262144 bytes)
[    0.272029] initcall futex_init+0x0/0xf9 returned 0 after 3906 usecs
[    0.272030] calling  cgroup_wq_init+0x0/0x2e @ 1
[    0.272087] initcall cgroup_wq_init+0x0/0x2e returned 0 after 0 usecs
[    0.272088] calling  cgroup1_wq_init+0x0/0x2e @ 1
[    0.272110] initcall cgroup1_wq_init+0x0/0x2e returned 0 after 0 usecs
[    0.272111] calling  ftrace_mod_cmd_init+0x0/0xc @ 1
[    0.272113] initcall ftrace_mod_cmd_init+0x0/0xc returned 0 after 0 usecs
[    0.272114] calling  init_graph_trace+0x0/0x5d @ 1
[    0.272119] initcall init_graph_trace+0x0/0x5d returned 0 after 0 usecs
[    0.272122] calling  init_per_zone_wmark_min+0x0/0x70 @ 1
[    0.272125] initcall init_per_zone_wmark_min+0x0/0x70 returned 0 after 0 usecs
[    0.272126] calling  init_zero_pfn+0x0/0x38 @ 1
[    0.272128] initcall init_zero_pfn+0x0/0x38 returned 0 after 0 usecs
[    0.272128] calling  memory_failure_init+0x0/0x9f @ 1
[    0.272130] initcall memory_failure_init+0x0/0x9f returned 0 after 0 usecs
[    0.272131] calling  fsnotify_init+0x0/0x49 @ 1
[    0.272148] initcall fsnotify_init+0x0/0x49 returned 0 after 0 usecs
[    0.272149] calling  filelock_init+0x0/0x8c @ 1
[    0.272200] initcall filelock_init+0x0/0x8c returned 0 after 0 usecs
[    0.272201] calling  init_script_binfmt+0x0/0x16 @ 1
[    0.272202] initcall init_script_binfmt+0x0/0x16 returned 0 after 0 usecs
[    0.272203] calling  init_elf_binfmt+0x0/0x16 @ 1
[    0.272204] initcall init_elf_binfmt+0x0/0x16 returned 0 after 0 usecs
[    0.272205] calling  init_compat_elf_binfmt+0x0/0x16 @ 1
[    0.272206] initcall init_compat_elf_binfmt+0x0/0x16 returned 0 after 0 usecs
[    0.272207] calling  debugfs_init+0x0/0x51 @ 1
[    0.272211] initcall debugfs_init+0x0/0x51 returned 0 after 0 usecs
[    0.272211] calling  tracefs_init+0x0/0x3b @ 1
[    0.272214] initcall tracefs_init+0x0/0x3b returned 0 after 0 usecs
[    0.272215] calling  securityfs_init+0x0/0x69 @ 1
[    0.272306] initcall securityfs_init+0x0/0x69 returned 0 after 0 usecs
[    0.272307] calling  prandom_init+0x0/0xb8 @ 1
[    0.272889] initcall prandom_init+0x0/0xb8 returned 0 after 0 usecs
[    0.272889] calling  pinctrl_init+0x0/0xae @ 1
[    0.272890] pinctrl core: initialized pinctrl subsystem
[    0.276098] initcall pinctrl_init+0x0/0xae returned 0 after 3906 usecs
[    0.276099] calling  gpiolib_dev_init+0x0/0xcb @ 1
[    0.276117] initcall gpiolib_dev_init+0x0/0xcb returned 0 after 0 usecs
[    0.276118] calling  regulator_init+0x0/0x8c @ 1
[    0.276293] initcall regulator_init+0x0/0x8c returned 0 after 0 usecs
[    0.276294] calling  iommu_init+0x0/0x2b @ 1
[    0.276297] initcall iommu_init+0x0/0x2b returned 0 after 0 usecs
[    0.276298] calling  component_debug_init+0x0/0x1d @ 1
[    0.276302] initcall component_debug_init+0x0/0x1d returned 0 after 0 usecs
[    0.276303] calling  opp_debug_init+0x0/0x3c @ 1
[    0.276308] initcall opp_debug_init+0x0/0x3c returned 0 after 0 usecs
[    0.276309] calling  cpufreq_core_init+0x0/0x4c @ 1
[    0.276313] initcall cpufreq_core_init+0x0/0x4c returned 0 after 0 usecs
[    0.276314] calling  cpuidle_init+0x0/0x3b @ 1
[    0.276328] initcall cpuidle_init+0x0/0x3b returned 0 after 0 usecs
[    0.276329] calling  capsule_reboot_register+0x0/0x11 @ 1
[    0.276330] initcall capsule_reboot_register+0x0/0x11 returned 0 after 0 usecs
[    0.276331] calling  bsp_pm_check_init+0x0/0x14 @ 1
[    0.276332] initcall bsp_pm_check_init+0x0/0x14 returned 0 after 0 usecs
[    0.276333] calling  sock_init+0x0/0x9a @ 1
[    0.276904] initcall sock_init+0x0/0x9a returned 0 after 0 usecs
[    0.276905] calling  net_inuse_init+0x0/0x24 @ 1
[    0.276949] initcall net_inuse_init+0x0/0x24 returned 0 after 0 usecs
[    0.276950] calling  net_defaults_init+0x0/0x24 @ 1
[    0.276951] initcall net_defaults_init+0x0/0x24 returned 0 after 0 usecs
[    0.276952] calling  init_default_flow_dissectors+0x0/0x50 @ 1
[    0.276953] initcall init_default_flow_dissectors+0x0/0x50 returned 0 after 0 usecs
[    0.276954] calling  netpoll_init+0x0/0x28 @ 1
[    0.276955] initcall netpoll_init+0x0/0x28 returned 0 after 0 usecs
[    0.276956] calling  netlink_proto_init+0x0/0x160 @ 1
[    0.277264] NET: Registered protocol family 16
[    0.280038] initcall netlink_proto_init+0x0/0x160 returned 0 after 3906 usecs
[    0.280041] calling  __gnttab_init+0x0/0x30 @ 1
[    0.280042] initcall __gnttab_init+0x0/0x30 returned -19 after 0 usecs
[    0.280060] calling  irq_sysfs_init+0x0/0x94 @ 1
[    0.280349] initcall irq_sysfs_init+0x0/0x94 returned 0 after 0 usecs
[    0.280350] calling  audit_init+0x0/0x17a @ 1
[    0.280352] audit: initializing netlink subsys (disabled)
[    0.284066] initcall audit_init+0x0/0x17a returned 0 after 3906 usecs
[    0.284066] calling  bdi_class_init+0x0/0x49 @ 1
[    0.284066] audit: type=2000 audit(1532339430.284:1): state=initialized audit_enabled=0 res=1
[    0.284066] initcall bdi_class_init+0x0/0x49 returned 0 after 0 usecs
[    0.288002] calling  mm_sysfs_init+0x0/0x29 @ 1
[    0.288006] initcall mm_sysfs_init+0x0/0x29 returned 0 after 0 usecs
[    0.288007] calling  gpiolib_sysfs_init+0x0/0xa0 @ 1
[    0.288017] initcall gpiolib_sysfs_init+0x0/0xa0 returned 0 after 0 usecs
[    0.288017] calling  pcibus_class_init+0x0/0x18 @ 1
[    0.288031] initcall pcibus_class_init+0x0/0x18 returned 0 after 0 usecs
[    0.288032] calling  pci_driver_init+0x0/0x22 @ 1
[    0.288070] initcall pci_driver_init+0x0/0x22 returned 0 after 0 usecs
[    0.288071] calling  backlight_class_init+0x0/0xa6 @ 1
[    0.288087] initcall backlight_class_init+0x0/0xa6 returned 0 after 0 usecs
[    0.288088] calling  xenbus_init+0x0/0x291 @ 1
[    0.288089] initcall xenbus_init+0x0/0x291 returned -19 after 0 usecs
[    0.288090] calling  tty_class_init+0x0/0x34 @ 1
[    0.288098] initcall tty_class_init+0x0/0x34 returned 0 after 0 usecs
[    0.288099] calling  vtconsole_class_init+0x0/0xd8 @ 1
[    0.288150] initcall vtconsole_class_init+0x0/0xd8 returned 0 after 0 usecs
[    0.288151] calling  iommu_dev_init+0x0/0x18 @ 1
[    0.288156] initcall iommu_dev_init+0x0/0x18 returned 0 after 0 usecs
[    0.288157] calling  wakeup_sources_debugfs_init+0x0/0x24 @ 1
[    0.288162] initcall wakeup_sources_debugfs_init+0x0/0x24 returned 0 after 0 usecs
[    0.288162] calling  register_node_type+0x0/0x2f @ 1
[    0.288219] initcall register_node_type+0x0/0x2f returned 0 after 0 usecs
[    0.288220] calling  regmap_initcall+0x0/0xd @ 1
[    0.288233] initcall regmap_initcall+0x0/0xd returned 0 after 0 usecs
[    0.288234] calling  spi_init+0x0/0x99 @ 1
[    0.288255] initcall spi_init+0x0/0x99 returned 0 after 0 usecs
[    0.288256] calling  i2c_init+0x0/0xb4 @ 1
[    0.288301] initcall i2c_init+0x0/0xb4 returned 0 after 0 usecs
[    0.288302] calling  init_ladder+0x0/0x24 @ 1
[    0.288311] cpuidle: using governor ladder
[    0.292005] initcall init_ladder+0x0/0x24 returned 0 after 3906 usecs
[    0.292007] calling  init_menu+0x0/0x11 @ 1
[    0.292062] cpuidle: using governor menu
[    0.296002] initcall init_menu+0x0/0x11 returned 0 after 3906 usecs
[    0.296004] calling  pcc_init+0x0/0x93 @ 1
[    0.296006] initcall pcc_init+0x0/0x93 returned -19 after 0 usecs
[    0.296007] calling  amd_postcore_init+0x0/0x115 @ 1
[    0.296031] initcall amd_postcore_init+0x0/0x115 returned 0 after 0 usecs
[    0.296031] calling  kobject_uevent_init+0x0/0xc @ 1
[    0.296031] initcall kobject_uevent_init+0x0/0xc returned 0 after 0 usecs
[    0.296031] calling  bts_init+0x0/0xbb @ 1
[    0.296031] initcall bts_init+0x0/0xbb returned -19 after 0 usecs
[    0.296032] calling  pt_init+0x0/0x352 @ 1
[    0.296033] initcall pt_init+0x0/0x352 returned -19 after 0 usecs
[    0.296034] calling  boot_params_ksysfs_init+0x0/0x271 @ 1
[    0.296052] initcall boot_params_ksysfs_init+0x0/0x271 returned 0 after 0 usecs
[    0.296053] calling  sbf_init+0x0/0xcb @ 1
[    0.296054] initcall sbf_init+0x0/0xcb returned 0 after 0 usecs
[    0.296054] calling  arch_kdebugfs_init+0x0/0x24 @ 1
[    0.296059] initcall arch_kdebugfs_init+0x0/0x24 returned 0 after 0 usecs
[    0.296060] calling  intel_pconfig_init+0x0/0xe9 @ 1
[    0.296062] initcall intel_pconfig_init+0x0/0xe9 returned 0 after 0 usecs
[    0.296062] calling  mtrr_if_init+0x0/0x5e @ 1
[    0.296066] initcall mtrr_if_init+0x0/0x5e returned 0 after 0 usecs
[    0.296067] calling  ffh_cstate_init+0x0/0x2a @ 1
[    0.296084] initcall ffh_cstate_init+0x0/0x2a returned 0 after 0 usecs
[    0.296085] calling  kvm_setup_pv_tlb_flush+0x0/0x76 @ 1
[    0.296086] initcall kvm_setup_pv_tlb_flush+0x0/0x76 returned 0 after 0 usecs
[    0.296087] calling  activate_jump_labels+0x0/0x32 @ 1
[    0.296088] initcall activate_jump_labels+0x0/0x32 returned 0 after 0 usecs
[    0.296089] calling  gigantic_pages_init+0x0/0x2f @ 1
[    0.296091] initcall gigantic_pages_init+0x0/0x2f returned 0 after 0 usecs
[    0.296092] calling  kcmp_cookies_init+0x0/0x38 @ 1
[    0.296134] initcall kcmp_cookies_init+0x0/0x38 returned 0 after 0 usecs
[    0.296135] calling  acpi_pci_init+0x0/0x5d @ 1
[    0.296136] ACPI: bus type PCI registered
[    0.300004] initcall acpi_pci_init+0x0/0x5d returned 0 after 3906 usecs
[    0.300005] calling  dma_bus_init+0x0/0xd5 @ 1
[    0.300278] initcall dma_bus_init+0x0/0xd5 returned 0 after 0 usecs
[    0.300279] calling  dma_channel_table_init+0x0/0xd7 @ 1
[    0.300445] initcall dma_channel_table_init+0x0/0xd7 returned 0 after 0 usecs
[    0.300446] calling  setup_vcpu_hotplug_event+0x0/0x2b @ 1
[    0.300447] initcall setup_vcpu_hotplug_event+0x0/0x2b returned -19 after 0 usecs
[    0.300448] calling  register_xen_pci_notifier+0x0/0x2d @ 1
[    0.300449] initcall register_xen_pci_notifier+0x0/0x2d returned 0 after 0 usecs
[    0.300450] calling  xen_pcpu_init+0x0/0xae @ 1
[    0.300451] initcall xen_pcpu_init+0x0/0xae returned -19 after 0 usecs
[    0.300452] calling  dmi_id_init+0x0/0x33d @ 1
[    0.300552] initcall dmi_id_init+0x0/0x33d returned 0 after 0 usecs
[    0.300553] calling  pci_arch_init+0x0/0x66 @ 1
[    0.300575] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf8000000-0xfbffffff] (base 0xf8000000)
[    0.304003] PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in E820
[    0.308011] PCI: Using configuration type 1 for base access
[    0.312002] initcall pci_arch_init+0x0/0x66 returned 0 after 11718 usecs
[    0.312020] calling  init_vdso+0x0/0x40 @ 1
[    0.312025] initcall init_vdso+0x0/0x40 returned 0 after 0 usecs
[    0.312025] calling  sysenter_setup+0x0/0x14 @ 1
[    0.312025] initcall sysenter_setup+0x0/0x14 returned 0 after 0 usecs
[    0.312025] calling  fixup_ht_bug+0x0/0xa2 @ 1
[    0.312025] initcall fixup_ht_bug+0x0/0xa2 returned 0 after 0 usecs
[    0.312025] calling  topology_init+0x0/0xba @ 1
[    0.313186] initcall topology_init+0x0/0xba returned 0 after 0 usecs
[    0.313187] calling  mtrr_init_finialize+0x0/0x3f @ 1
[    0.313188] initcall mtrr_init_finialize+0x0/0x3f returned 0 after 0 usecs
[    0.313189] calling  uid_cache_init+0x0/0x9a @ 1
[    0.313193] initcall uid_cache_init+0x0/0x9a returned 0 after 0 usecs
[    0.313194] calling  param_sysfs_init+0x0/0x1ef @ 1
[    0.316871] initcall param_sysfs_init+0x0/0x1ef returned 0 after 3906 usecs
[    0.316872] calling  user_namespace_sysctl_init+0x0/0x48 @ 1
[    0.316900] initcall user_namespace_sysctl_init+0x0/0x48 returned 0 after 0 usecs
[    0.316900] calling  proc_schedstat_init+0x0/0x25 @ 1
[    0.316904] initcall proc_schedstat_init+0x0/0x25 returned 0 after 0 usecs
[    0.316905] calling  pm_sysrq_init+0x0/0x19 @ 1
[    0.316912] initcall pm_sysrq_init+0x0/0x19 returned 0 after 0 usecs
[    0.316913] calling  create_proc_profile+0x0/0xd0 @ 1
[    0.316914] initcall create_proc_profile+0x0/0xd0 returned 0 after 0 usecs
[    0.316915] calling  crash_save_vmcoreinfo_init+0x0/0x5db @ 1
[    0.316938] initcall crash_save_vmcoreinfo_init+0x0/0x5db returned 0 after 0 usecs
[    0.316939] calling  crash_notes_memory_init+0x0/0x36 @ 1
[    0.316957] initcall crash_notes_memory_init+0x0/0x36 returned 0 after 0 usecs
[    0.316958] calling  cgroup_sysfs_init+0x0/0x18 @ 1
[    0.316963] initcall cgroup_sysfs_init+0x0/0x18 returned 0 after 0 usecs
[    0.316964] calling  cgroup_namespaces_init+0x0/0x8 @ 1
[    0.316966] initcall cgroup_namespaces_init+0x0/0x8 returned 0 after 0 usecs
[    0.316967] calling  user_namespaces_init+0x0/0x2d @ 1
[    0.317025] initcall user_namespaces_init+0x0/0x2d returned 0 after 0 usecs
[    0.317026] calling  hung_task_init+0x0/0x5d @ 1
[    0.317029] initcall hung_task_init+0x0/0x5d returned 0 after 0 usecs
[    0.317029] calling  dev_map_init+0x0/0x14 @ 1
[    0.317029] initcall dev_map_init+0x0/0x14 returned 0 after 0 usecs
[    0.317029] calling  bpf_offload_init+0x0/0x14 @ 1
[    0.317029] initcall bpf_offload_init+0x0/0x14 returned 0 after 0 usecs
[    0.317029] calling  stack_map_init+0x0/0x4e @ 1
[    0.317029] initcall stack_map_init+0x0/0x4e returned 0 after 0 usecs
[    0.317029] calling  oom_init+0x0/0x3e @ 1
[    0.317029] initcall oom_init+0x0/0x3e returned 0 after 0 usecs
[    0.317029] calling  cgwb_init+0x0/0x2e @ 1
[    0.317029] initcall cgwb_init+0x0/0x2e returned 0 after 0 usecs
[    0.317029] calling  default_bdi_init+0x0/0xad @ 1
[    0.317029] initcall default_bdi_init+0x0/0xad returned 0 after 0 usecs
[    0.317029] calling  percpu_enable_async+0x0/0xf @ 1
[    0.317029] initcall percpu_enable_async+0x0/0xf returned 0 after 0 usecs
[    0.317029] calling  kcompactd_init+0x0/0x90 @ 1
[    0.317029] initcall kcompactd_init+0x0/0x90 returned 0 after 0 usecs
[    0.317029] calling  init_reserve_notifier+0x0/0x1f @ 1
[    0.317029] initcall init_reserve_notifier+0x0/0x1f returned 0 after 0 usecs
[    0.317029] calling  init_admin_reserve+0x0/0x40 @ 1
[    0.317029] initcall init_admin_reserve+0x0/0x40 returned 0 after 0 usecs
[    0.317029] calling  init_user_reserve+0x0/0x40 @ 1
[    0.317029] initcall init_user_reserve+0x0/0x40 returned 0 after 0 usecs
[    0.317029] calling  swap_init_sysfs+0x0/0x63 @ 1
[    0.317029] initcall swap_init_sysfs+0x0/0x63 returned 0 after 0 usecs
[    0.317029] calling  swapfile_init+0x0/0xad @ 1
[    0.317029] initcall swapfile_init+0x0/0xad returned 0 after 0 usecs
[    0.317029] calling  hugetlb_init+0x0/0x4fa @ 1
[    0.317029] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.320002] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.324073] initcall hugetlb_init+0x0/0x4fa returned 0 after 7812 usecs
[    0.324074] calling  ksm_init+0x0/0x1a5 @ 1
[    0.324092] initcall ksm_init+0x0/0x1a5 returned 0 after 0 usecs
[    0.324092] calling  hugepage_init+0x0/0x155 @ 1
[    0.324092] initcall hugepage_init+0x0/0x155 returned 0 after 0 usecs
[    0.324092] calling  mem_cgroup_swap_init+0x0/0x52 @ 1
[    0.324092] initcall mem_cgroup_swap_init+0x0/0x52 returned 0 after 0 usecs
[    0.324092] calling  mem_cgroup_init+0x0/0x14b @ 1
[    0.324092] initcall mem_cgroup_init+0x0/0x14b returned 0 after 0 usecs
[    0.324092] calling  sel_ib_pkey_init+0x0/0x36 @ 1
[    0.324092] initcall sel_ib_pkey_init+0x0/0x36 returned 0 after 0 usecs
[    0.324092] calling  crypto_wq_init+0x0/0x31 @ 1
[    0.324092] initcall crypto_wq_init+0x0/0x31 returned 0 after 0 usecs
[    0.324092] calling  cryptomgr_init+0x0/0x11 @ 1
[    0.324092] initcall cryptomgr_init+0x0/0x11 returned 0 after 0 usecs
[    0.324092] calling  init_bio+0x0/0xd2 @ 1
[    0.328065] initcall init_bio+0x0/0xd2 returned 0 after 3906 usecs
[    0.328066] calling  blk_settings_init+0x0/0x2a @ 1
[    0.328067] initcall blk_settings_init+0x0/0x2a returned 0 after 0 usecs
[    0.328068] calling  blk_ioc_init+0x0/0x2a @ 1
[    0.328071] initcall blk_ioc_init+0x0/0x2a returned 0 after 0 usecs
[    0.328072] calling  blk_softirq_init+0x0/0x71 @ 1
[    0.328074] initcall blk_softirq_init+0x0/0x71 returned 0 after 0 usecs
[    0.328075] calling  blk_mq_init+0x0/0x2a @ 1
[    0.328076] initcall blk_mq_init+0x0/0x2a returned 0 after 0 usecs
[    0.328077] calling  genhd_device_init+0x0/0x76 @ 1
[    0.328155] initcall genhd_device_init+0x0/0x76 returned 0 after 0 usecs
[    0.328155] calling  irq_poll_setup+0x0/0x6c @ 1
[    0.328155] initcall irq_poll_setup+0x0/0x6c returned 0 after 0 usecs
[    0.328155] calling  byt_gpio_init+0x0/0x13 @ 1
[    0.328155] initcall byt_gpio_init+0x0/0x13 returned 0 after 0 usecs
[    0.328155] calling  chv_pinctrl_init+0x0/0x13 @ 1
[    0.328155] initcall chv_pinctrl_init+0x0/0x13 returned 0 after 0 usecs
[    0.328155] calling  bxt_pinctrl_init+0x0/0x13 @ 1
[    0.328169] initcall bxt_pinctrl_init+0x0/0x13 returned 0 after 0 usecs
[    0.328170] calling  spt_pinctrl_init+0x0/0x13 @ 1
[    0.328187] initcall spt_pinctrl_init+0x0/0x13 returned 0 after 0 usecs
[    0.328188] calling  gpiolib_debugfs_init+0x0/0x24 @ 1
[    0.328192] initcall gpiolib_debugfs_init+0x0/0x24 returned 0 after 0 usecs
[    0.328193] calling  pwm_debugfs_init+0x0/0x24 @ 1
[    0.328197] initcall pwm_debugfs_init+0x0/0x24 returned 0 after 0 usecs
[    0.328197] calling  pwm_sysfs_init+0x0/0x18 @ 1
[    0.328204] initcall pwm_sysfs_init+0x0/0x18 returned 0 after 0 usecs
[    0.328206] calling  pci_slot_init+0x0/0x40 @ 1
[    0.328210] initcall pci_slot_init+0x0/0x40 returned 0 after 0 usecs
[    0.328210] calling  fbmem_init+0x0/0xdb @ 1
[    0.328273] initcall fbmem_init+0x0/0xdb returned 0 after 0 usecs
[    0.328274] calling  scan_for_dmi_ipmi+0x0/0xf4 @ 1
[    0.328275] initcall scan_for_dmi_ipmi+0x0/0xf4 returned 0 after 0 usecs
[    0.328276] calling  acpi_init+0x0/0x33d @ 1
[    0.328340] ACPI: Added _OSI(Module Device)
[    0.332009] ACPI: Added _OSI(Processor Device)
[    0.336001] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.340000] ACPI: Added _OSI(Processor Aggregator Device)
[    0.344017] ACPI: Added _OSI(Linux-Dell-Video)
[    0.418191] ACPI BIOS Error (bug): Failure creating [\_SB.SMIC], AE_ALREADY_EXISTS (20180531/dswload2-316)
[    0.428004] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20180531/psobject-221)
[    0.436001] ACPI Error: Ignore error and continue table load (20180531/psobject-604)
[    0.444011] ACPI BIOS Error (bug): Failure creating [\_SB.SMIB], AE_ALREADY_EXISTS (20180531/dsfield-594)
[    0.452219] ACPI: 7 ACPI AML tables successfully acquired and loaded
[    0.465990] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.482406] ACPI: Interpreter enabled
[    0.488027] ACPI: (supports S0 S3 S4 S5)
[    0.492001] ACPI: Using IOAPIC for interrupt routing
[    0.496732] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.505589] ACPI: Enabled 2 GPEs in block 00 to 1F
[    0.526184] ACPI: Power Resource [P0ST] (on)
[    0.532158] ACPI: Power Resource [P3ST] (on)
[    0.569083] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.572009] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[    0.580353] acpi PNP0A08:00: _OSC: platform does not support [LTR]
[    0.585017] acpi PNP0A08:00: _OSC: OS now controls [PME AER PCIeCapability]
[    0.588031] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[    0.593437] PCI host bridge to bus 0000:00
[    0.596004] pci_bus 0000:00: root bus resource [io  0x0000-0x03af window]
[    0.600003] pci_bus 0000:00: root bus resource [io  0x03e0-0x0cf7 window]
[    0.604010] pci_bus 0000:00: root bus resource [io  0x03b0-0x03df window]
[    0.608003] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.612003] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.616003] pci_bus 0000:00: root bus resource [mem 0x000c0000-0x000dffff window]
[    0.620002] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xfec2ffff window]
[    0.624003] pci_bus 0000:00: root bus resource [mem 0xfee00000-0xffffffff window]
[    0.628003] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.632013] pci 0000:00:00.0: [1022:15d0] type 00 class 0x060000
[    0.632023] pci 0000:00:00.0: calling  quirk_mmio_always_on+0x0/0x10 @ 1
[    0.636002] pci 0000:00:00.0: quirk_mmio_always_on+0x0/0x10 took 0 usecs
[    0.640320] pci 0000:00:00.2: [1022:15d1] type 00 class 0x080600
[    0.640683] pci 0000:00:01.0: [1022:1452] type 00 class 0x060000
[    0.640689] pci 0000:00:01.0: calling  quirk_mmio_always_on+0x0/0x10 @ 1
[    0.644002] pci 0000:00:01.0: quirk_mmio_always_on+0x0/0x10 took 0 usecs
[    0.648288] pci 0000:00:01.2: [1022:15d3] type 01 class 0x060400
[    0.648398] pci 0000:00:01.2: PME# supported from D0 D3hot D3cold
[    0.652245] pci 0000:00:08.0: [1022:1452] type 00 class 0x060000
[    0.652252] pci 0000:00:08.0: calling  quirk_mmio_always_on+0x0/0x10 @ 1
[    0.656002] pci 0000:00:08.0: quirk_mmio_always_on+0x0/0x10 took 0 usecs
[    0.660278] pci 0000:00:08.1: [1022:15db] type 01 class 0x060400
[    0.660331] pci 0000:00:08.1: enabling Extended Tags
[    0.664074] pci 0000:00:08.1: PME# supported from D0 D3hot D3cold
[    0.664388] pci 0000:00:08.2: [1022:15dc] type 01 class 0x060400
[    0.664439] pci 0000:00:08.2: enabling Extended Tags
[    0.668062] pci 0000:00:08.2: PME# supported from D0 D3hot D3cold
[    0.668404] pci 0000:00:14.0: [1022:790b] type 00 class 0x0c0500
[    0.668772] pci 0000:00:14.3: [1022:790e] type 00 class 0x060100
[    0.669169] pci 0000:00:18.0: [1022:15e8] type 00 class 0x060000
[    0.669172] pci 0000:00:18.0: calling  quirk_mmio_always_on+0x0/0x10 @ 1
[    0.672003] pci 0000:00:18.0: quirk_mmio_always_on+0x0/0x10 took 0 usecs
[    0.676199] pci 0000:00:18.1: [1022:15e9] type 00 class 0x060000
[    0.676202] pci 0000:00:18.1: calling  quirk_mmio_always_on+0x0/0x10 @ 1
[    0.680001] pci 0000:00:18.1: quirk_mmio_always_on+0x0/0x10 took 0 usecs
[    0.684192] pci 0000:00:18.2: [1022:15ea] type 00 class 0x060000
[    0.684194] pci 0000:00:18.2: calling  quirk_mmio_always_on+0x0/0x10 @ 1
[    0.688002] pci 0000:00:18.2: quirk_mmio_always_on+0x0/0x10 took 0 usecs
[    0.692199] pci 0000:00:18.3: [1022:15eb] type 00 class 0x060000
[    0.692201] pci 0000:00:18.3: calling  quirk_mmio_always_on+0x0/0x10 @ 1
[    0.696002] pci 0000:00:18.3: quirk_mmio_always_on+0x0/0x10 took 0 usecs
[    0.700192] pci 0000:00:18.4: [1022:15ec] type 00 class 0x060000
[    0.700195] pci 0000:00:18.4: calling  quirk_mmio_always_on+0x0/0x10 @ 1
[    0.704002] pci 0000:00:18.4: quirk_mmio_always_on+0x0/0x10 took 0 usecs
[    0.708200] pci 0000:00:18.5: [1022:15ed] type 00 class 0x060000
[    0.708202] pci 0000:00:18.5: calling  quirk_mmio_always_on+0x0/0x10 @ 1
[    0.712002] pci 0000:00:18.5: quirk_mmio_always_on+0x0/0x10 took 0 usecs
[    0.716193] pci 0000:00:18.6: [1022:15ee] type 00 class 0x060000
[    0.716195] pci 0000:00:18.6: calling  quirk_mmio_always_on+0x0/0x10 @ 1
[    0.720002] pci 0000:00:18.6: quirk_mmio_always_on+0x0/0x10 took 0 usecs
[    0.724193] pci 0000:00:18.7: [1022:15ef] type 00 class 0x060000
[    0.724196] pci 0000:00:18.7: calling  quirk_mmio_always_on+0x0/0x10 @ 1
[    0.728002] pci 0000:00:18.7: quirk_mmio_always_on+0x0/0x10 took 0 usecs
[    0.732353] pci 0000:15:00.0: [1022:43bb] type 00 class 0x0c0330
[    0.732384] pci 0000:15:00.0: reg 0x10: [mem 0xfe8a0000-0xfe8a7fff 64bit]
[    0.732502] pci 0000:15:00.0: PME# supported from D3hot D3cold
[    0.732715] pci 0000:15:00.1: [1022:43b7] type 00 class 0x010601
[    0.732778] pci 0000:15:00.1: reg 0x24: [mem 0xfe880000-0xfe89ffff]
[    0.732788] pci 0000:15:00.1: reg 0x30: [mem 0xfe800000-0xfe87ffff pref]
[    0.732854] pci 0000:15:00.1: PME# supported from D3hot D3cold
[    0.733051] pci 0000:15:00.2: [1022:43b2] type 01 class 0x060400
[    0.733165] pci 0000:15:00.2: PME# supported from D3hot D3cold
[    0.733428] pci 0000:00:01.2: PCI bridge to [bus 15-1b]
[    0.736006] pci 0000:00:01.2:   bridge window [io  0xf000-0xffff]
[    0.736009] pci 0000:00:01.2:   bridge window [mem 0xfe700000-0xfe8fffff]
[    0.736198] pci 0000:16:00.0: [1022:43b4] type 01 class 0x060400
[    0.736331] pci 0000:16:00.0: PME# supported from D3hot D3cold
[    0.736564] pci 0000:16:01.0: [1022:43b4] type 01 class 0x060400
[    0.740118] pci 0000:16:01.0: PME# supported from D3hot D3cold
[    0.740359] pci 0000:16:04.0: [1022:43b4] type 01 class 0x060400
[    0.740492] pci 0000:16:04.0: PME# supported from D3hot D3cold
[    0.740747] pci 0000:15:00.2: PCI bridge to [bus 16-1b]
[    0.744006] pci 0000:15:00.2:   bridge window [io  0xf000-0xffff]
[    0.744010] pci 0000:15:00.2:   bridge window [mem 0xfe700000-0xfe7fffff]
[    0.744107] pci 0000:16:00.0: PCI bridge to [bus 17]
[    0.748114] pci 0000:18:00.0: [10ec:8168] type 00 class 0x020000
[    0.748163] pci 0000:18:00.0: reg 0x10: [io  0xf000-0xf0ff]
[    0.748204] pci 0000:18:00.0: reg 0x18: [mem 0xfe704000-0xfe704fff 64bit]
[    0.748230] pci 0000:18:00.0: reg 0x20: [mem 0xfe700000-0xfe703fff 64bit]
[    0.748405] pci 0000:18:00.0: supports D1 D2
[    0.748406] pci 0000:18:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.748681] pci 0000:16:01.0: PCI bridge to [bus 18]
[    0.752006] pci 0000:16:01.0:   bridge window [io  0xf000-0xffff]
[    0.752010] pci 0000:16:01.0:   bridge window [mem 0xfe700000-0xfe7fffff]
[    0.752106] pci 0000:16:04.0: PCI bridge to [bus 1b]
[    0.756240] pci 0000:38:00.0: [1002:15dd] type 00 class 0x030000
[    0.756287] pci 0000:38:00.0: reg 0x10: [mem 0xe0000000-0xefffffff 64bit pref]
[    0.756305] pci 0000:38:00.0: reg 0x18: [mem 0xf0000000-0xf01fffff 64bit pref]
[    0.756317] pci 0000:38:00.0: reg 0x20: [io  0xe000-0xe0ff]
[    0.756329] pci 0000:38:00.0: reg 0x24: [mem 0xfe600000-0xfe67ffff]
[    0.756350] pci 0000:38:00.0: enabling Extended Tags
[    0.760026] pci 0000:38:00.0: calling  quirk_no_pm_reset+0x0/0x20 @ 1
[    0.764002] pci 0000:38:00.0: quirk_no_pm_reset+0x0/0x20 took 0 usecs
[    0.768002] pci 0000:38:00.0: calling  efifb_fixup_resources+0x0/0x130 @ 1
[    0.772007] pci 0000:38:00.0: BAR 0: assigned to efifb
[    0.776001] pci 0000:38:00.0: efifb_fixup_resources+0x0/0x130 took 3906 usecs
[    0.780101] pci 0000:38:00.0: PME# supported from D1 D2 D3hot D3cold
[    0.780375] pci 0000:38:00.1: [1002:15de] type 00 class 0x040300
[    0.780405] pci 0000:38:00.1: reg 0x10: [mem 0xfe688000-0xfe68bfff]
[    0.780477] pci 0000:38:00.1: enabling Extended Tags
[    0.788206] pci 0000:38:00.1: PME# supported from D1 D2 D3hot D3cold
[    0.788435] pci 0000:38:00.2: [1022:15df] type 00 class 0x108000
[    0.788486] pci 0000:38:00.2: reg 0x18: [mem 0xfe500000-0xfe5fffff]
[    0.788518] pci 0000:38:00.2: reg 0x24: [mem 0xfe68c000-0xfe68dfff]
[    0.788538] pci 0000:38:00.2: enabling Extended Tags
[    0.793071] pci 0000:38:00.3: [1022:15e0] type 00 class 0x0c0330
[    0.793106] pci 0000:38:00.3: reg 0x10: [mem 0xfe400000-0xfe4fffff 64bit]
[    0.793168] pci 0000:38:00.3: enabling Extended Tags
[    0.796210] pci 0000:38:00.3: PME# supported from D0 D3hot D3cold
[    0.796458] pci 0000:38:00.4: [1022:15e1] type 00 class 0x0c0330
[    0.800022] pci 0000:38:00.4: reg 0x10: [mem 0xfe300000-0xfe3fffff 64bit]
[    0.800083] pci 0000:38:00.4: enabling Extended Tags
[    0.804097] pci 0000:38:00.4: PME# supported from D0 D3hot D3cold
[    0.804327] pci 0000:38:00.6: [1022:15e3] type 00 class 0x040300
[    0.804357] pci 0000:38:00.6: reg 0x10: [mem 0xfe680000-0xfe687fff]
[    0.804429] pci 0000:38:00.6: enabling Extended Tags
[    0.808085] pci 0000:38:00.6: PME# supported from D0 D3hot D3cold
[    0.808377] pci 0000:00:08.1: PCI bridge to [bus 38]
[    0.812011] pci 0000:00:08.1:   bridge window [io  0xe000-0xefff]
[    0.812014] pci 0000:00:08.1:   bridge window [mem 0xfe300000-0xfe6fffff]
[    0.812020] pci 0000:00:08.1:   bridge window [mem 0xe0000000-0xf01fffff 64bit pref]
[    0.812186] pci 0000:39:00.0: [1022:7901] type 00 class 0x010601
[    0.812269] pci 0000:39:00.0: reg 0x24: [mem 0xfe900000-0xfe9007ff]
[    0.812289] pci 0000:39:00.0: enabling Extended Tags
[    0.816094] pci 0000:39:00.0: PME# supported from D3hot D3cold
[    0.816328] pci 0000:00:08.2: PCI bridge to [bus 39]
[    0.820013] pci 0000:00:08.2:   bridge window [mem 0xfe900000-0xfe9fffff]
[    0.824509] ACPI: PCI Interrupt Link [LNKA] (IRQs 4 5 7 10 11 14 15) *0
[    0.828258] ACPI: PCI Interrupt Link [LNKB] (IRQs 4 5 7 10 11 14 15) *0
[    0.832240] ACPI: PCI Interrupt Link [LNKC] (IRQs 4 5 7 10 11 14 15) *0
[    0.836271] ACPI: PCI Interrupt Link [LNKD] (IRQs 4 5 7 10 11 14 15) *0
[    0.840258] ACPI: PCI Interrupt Link [LNKE] (IRQs 4 5 7 10 11 14 15) *0
[    0.844221] ACPI: PCI Interrupt Link [LNKF] (IRQs 4 5 7 10 11 14 15) *0
[    0.848222] ACPI: PCI Interrupt Link [LNKG] (IRQs 4 5 7 10 11 14 15) *0
[    0.856066] ACPI: PCI Interrupt Link [LNKH] (IRQs 4 5 7 10 11 14 15) *0
[    0.864955] initcall acpi_init+0x0/0x33d returned 0 after 523437 usecs
[    0.864957] calling  pnp_init+0x0/0x11 @ 1
[    0.864974] initcall pnp_init+0x0/0x11 returned 0 after 0 usecs
[    0.864975] calling  balloon_init+0x0/0x175 @ 1
[    0.864977] initcall balloon_init+0x0/0x175 returned -19 after 0 usecs
[    0.864979] calling  xen_setup_shutdown_event+0x0/0x30 @ 1
[    0.864981] initcall xen_setup_shutdown_event+0x0/0x30 returned -19 after 0 usecs
[    0.864982] calling  xenbus_probe_frontend_init+0x0/0x4e @ 1
[    0.864998] initcall xenbus_probe_frontend_init+0x0/0x4e returned 0 after 0 usecs
[    0.864999] calling  xen_acpi_pad_init+0x0/0x3c @ 1
[    0.865001] initcall xen_acpi_pad_init+0x0/0x3c returned -19 after 0 usecs
[    0.865001] calling  misc_init+0x0/0xbf @ 1
[    0.865026] initcall misc_init+0x0/0xbf returned 0 after 0 usecs
[    0.865027] calling  vga_arb_device_init+0x0/0x248 @ 1
[    0.865061] pci 0000:38:00.0: vgaarb: setting as boot VGA device
[    0.868000] pci 0000:38:00.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.868003] pci 0000:38:00.0: vgaarb: bridge control possible
[    0.872006] vgaarb: loaded
[    0.874695] initcall vga_arb_device_init+0x0/0x248 returned 0 after 7812 usecs
[    0.874697] calling  cn_init+0x0/0xf0 @ 1
[    0.874712] initcall cn_init+0x0/0xf0 returned 0 after 0 usecs
[    0.874713] calling  dax_fs_init+0x0/0xbf @ 1
[    0.876138] initcall dax_fs_init+0x0/0xbf returned 0 after 3906 usecs
[    0.876139] calling  dma_buf_init+0x0/0xaa @ 1
[    0.876159] initcall dma_buf_init+0x0/0xaa returned 0 after 0 usecs
[    0.876160] calling  serio_init+0x0/0x2a @ 1
[    0.876180] initcall serio_init+0x0/0x2a returned 0 after 0 usecs
[    0.876181] calling  input_init+0x0/0xfd @ 1
[    0.876203] initcall input_init+0x0/0xfd returned 0 after 0 usecs
[    0.876205] calling  rtc_init+0x0/0x4c @ 1
[    0.876214] initcall rtc_init+0x0/0x4c returned 0 after 0 usecs
[    0.876216] calling  dw_i2c_init_driver+0x0/0x13 @ 1
[    0.876229] initcall dw_i2c_init_driver+0x0/0x13 returned 0 after 0 usecs
[    0.876230] calling  pps_init+0x0/0xaa @ 1
[    0.876248] pps_core: LinuxPPS API ver. 1 registered
[    0.880001] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.884001] initcall pps_init+0x0/0xaa returned 0 after 7812 usecs
[    0.884002] calling  ptp_init+0x0/0x99 @ 1
[    0.884011] PTP clock support registered
[    0.888001] initcall ptp_init+0x0/0x99 returned 0 after 3906 usecs
[    0.888002] calling  power_supply_class_init+0x0/0x40 @ 1
[    0.888012] initcall power_supply_class_init+0x0/0x40 returned 0 after 0 usecs
[    0.888013] calling  hwmon_init+0x0/0xf9 @ 1
[    0.888021] initcall hwmon_init+0x0/0xf9 returned 0 after 0 usecs
[    0.888022] calling  edac_init+0x0/0x70 @ 1
[    0.888023] EDAC MC: Ver: 3.0.0
[    0.892180] initcall edac_init+0x0/0x70 returned 0 after 3906 usecs
[    0.892180] calling  leds_init+0x0/0x3c @ 1
[    0.892180] initcall leds_init+0x0/0x3c returned 0 after 0 usecs
[    0.892180] calling  dmi_init+0x0/0x114 @ 1
[    0.892180] initcall dmi_init+0x0/0x114 returned 0 after 0 usecs
[    0.892180] calling  efisubsys_init+0x0/0x2cf @ 1
[    0.892180] Registered efivars operations
[    0.949089] initcall efisubsys_init+0x0/0x2cf returned 0 after 54687 usecs
[    0.949090] calling  devfreq_init+0x0/0xa1 @ 1
[    0.949110] initcall devfreq_init+0x0/0xa1 returned 0 after 0 usecs
[    0.949110] calling  ras_init+0x0/0xf @ 1
[    0.949110] initcall ras_init+0x0/0xf returned 0 after 0 usecs
[    0.949110] calling  nvmem_init+0x0/0x11 @ 1
[    0.949110] initcall nvmem_init+0x0/0x11 returned 0 after 0 usecs
[    0.949110] calling  pci_subsys_init+0x0/0x67 @ 1
[    0.949110] PCI: Using ACPI for IRQ routing
[    0.956482] PCI: pci_cache_line_size set to 64 bytes
[    0.956564] e820: reserve RAM buffer [mem 0x09d80000-0x0bffffff]
[    0.956569] e820: reserve RAM buffer [mem 0x0b000000-0x0bffffff]
[    0.956570] e820: reserve RAM buffer [mem 0x9d1e5000-0x9fffffff]
[    0.956572] e820: reserve RAM buffer [mem 0x9d3c8000-0x9fffffff]
[    0.956574] e820: reserve RAM buffer [mem 0x9f000000-0x9fffffff]
[    0.956576] e820: reserve RAM buffer [mem 0x41f340000-0x41fffffff]
[    0.956578] initcall pci_subsys_init+0x0/0x67 returned 0 after 7812 usecs
[    0.956579] calling  proto_init+0x0/0x11 @ 1
[    0.956583] initcall proto_init+0x0/0x11 returned 0 after 0 usecs
[    0.956584] calling  net_dev_init+0x0/0x1ff @ 1
[    0.956858] initcall net_dev_init+0x0/0x1ff returned 0 after 0 usecs
[    0.956858] calling  neigh_init+0x0/0x80 @ 1
[    0.956865] initcall neigh_init+0x0/0x80 returned 0 after 0 usecs
[    0.956866] calling  fib_notifier_init+0x0/0x11 @ 1
[    0.956867] initcall fib_notifier_init+0x0/0x11 returned 0 after 0 usecs
[    0.956867] calling  fib_rules_init+0x0/0xac @ 1
[    0.956871] initcall fib_rules_init+0x0/0xac returned 0 after 0 usecs
[    0.956872] calling  init_cgroup_netprio+0x0/0x14 @ 1
[    0.956873] initcall init_cgroup_netprio+0x0/0x14 returned 0 after 0 usecs
[    0.956874] calling  bpf_lwt_init+0x0/0x16 @ 1
[    0.956875] initcall bpf_lwt_init+0x0/0x16 returned 0 after 0 usecs
[    0.956876] calling  pktsched_init+0x0/0x10f @ 1
[    0.956885] initcall pktsched_init+0x0/0x10f returned 0 after 0 usecs
[    0.956886] calling  tc_filter_init+0x0/0xa3 @ 1
[    0.956900] initcall tc_filter_init+0x0/0xa3 returned 0 after 0 usecs
[    0.956900] calling  tc_action_init+0x0/0x69 @ 1
[    0.956915] initcall tc_action_init+0x0/0x69 returned 0 after 0 usecs
[    0.956916] calling  genl_init+0x0/0x36 @ 1
[    0.956929] initcall genl_init+0x0/0x36 returned 0 after 0 usecs
[    0.956930] calling  wireless_nlevent_init+0x0/0x3a @ 1
[    0.956932] initcall wireless_nlevent_init+0x0/0x3a returned 0 after 0 usecs
[    0.956933] calling  xen_mcfg_late+0x0/0xcd @ 1
[    0.956934] initcall xen_mcfg_late+0x0/0xcd returned 0 after 0 usecs
[    0.956935] calling  watchdog_init+0x0/0x91 @ 1
[    0.956939] initcall watchdog_init+0x0/0x91 returned 0 after 0 usecs
[    0.956939] calling  nmi_warning_debugfs+0x0/0x27 @ 1
[    0.956939] initcall nmi_warning_debugfs+0x0/0x27 returned 0 after 0 usecs
[    0.956939] calling  save_microcode_in_initrd+0x0/0x81 @ 1
[    0.956939] initcall save_microcode_in_initrd+0x0/0x81 returned -22 after 0 usecs
[    0.956939] calling  hpet_late_init+0x0/0x104 @ 1
[    0.956939] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[    0.960003] hpet0: 3 comparators, 32-bit 14.318180 MHz counter
[    0.969011] initcall hpet_late_init+0x0/0x104 returned 0 after 11718 usecs
[    0.969012] calling  init_amd_nbs+0x0/0x115 @ 1
[    0.969021] initcall init_amd_nbs+0x0/0x115 returned 0 after 0 usecs
[    0.969022] calling  sugov_register+0x0/0x11 @ 1
[    0.969024] initcall sugov_register+0x0/0x11 returned 0 after 0 usecs
[    0.969025] calling  clocksource_done_booting+0x0/0x42 @ 1
[    0.969035] clocksource: Switched to clocksource tsc-early
[    0.973430] initcall clocksource_done_booting+0x0/0x42 returned 0 after 5302 usecs
[    0.973432] calling  tracer_init_tracefs+0x0/0x1c6 @ 1
[    1.002093] initcall tracer_init_tracefs+0x0/0x1c6 returned 0 after 27984 usecs
[    1.002096] calling  init_trace_printk_function_export+0x0/0x2d @ 1
[    1.002101] initcall init_trace_printk_function_export+0x0/0x2d returned 0 after 3 usecs
[    1.002102] calling  init_graph_tracefs+0x0/0x2d @ 1
[    1.002106] initcall init_graph_tracefs+0x0/0x2d returned 0 after 2 usecs
[    1.002107] calling  init_kprobe_trace+0x0/0x8a @ 1
[    1.002113] initcall init_kprobe_trace+0x0/0x8a returned 0 after 5 usecs
[    1.002114] calling  init_uprobe_trace+0x0/0x4f @ 1
[    1.002120] initcall init_uprobe_trace+0x0/0x4f returned 0 after 5 usecs
[    1.002121] calling  bpf_init+0x0/0x48 @ 1
[    1.002128] initcall bpf_init+0x0/0x48 returned 0 after 6 usecs
[    1.002130] calling  init_pipe_fs+0x0/0x47 @ 1
[    1.002244] initcall init_pipe_fs+0x0/0x47 returned 0 after 111 usecs
[    1.002245] calling  cgroup_writeback_init+0x0/0x2b @ 1
[    1.002279] initcall cgroup_writeback_init+0x0/0x2b returned 0 after 31 usecs
[    1.002280] calling  inotify_user_setup+0x0/0x48 @ 1
[    1.002285] initcall inotify_user_setup+0x0/0x48 returned 0 after 3 usecs
[    1.002285] calling  eventpoll_init+0x0/0xc9 @ 1
[    1.002349] initcall eventpoll_init+0x0/0xc9 returned 0 after 61 usecs
[    1.002350] calling  anon_inode_init+0x0/0x5b @ 1
[    1.002427] initcall anon_inode_init+0x0/0x5b returned 0 after 73 usecs
[    1.002428] calling  init_dax_wait_table+0x0/0x40 @ 1
[    1.002439] initcall init_dax_wait_table+0x0/0x40 returned 0 after 10 usecs
[    1.002440] calling  proc_locks_init+0x0/0x28 @ 1
[    1.002446] initcall proc_locks_init+0x0/0x28 returned 0 after 5 usecs
[    1.002447] calling  dquot_init+0x0/0x11d @ 1
[    1.002448] VFS: Disk quotas dquot_6.6.0
[    1.006508] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.013318] initcall dquot_init+0x0/0x11d returned 0 after 10614 usecs
[    1.013319] calling  quota_init+0x0/0x24 @ 1
[    1.013338] initcall quota_init+0x0/0x24 returned 0 after 17 usecs
[    1.013339] calling  proc_cmdline_init+0x0/0x22 @ 1
[    1.013342] initcall proc_cmdline_init+0x0/0x22 returned 0 after 2 usecs
[    1.013343] calling  proc_consoles_init+0x0/0x25 @ 1
[    1.013345] initcall proc_consoles_init+0x0/0x25 returned 0 after 1 usecs
[    1.013346] calling  proc_cpuinfo_init+0x0/0x1f @ 1
[    1.013349] initcall proc_cpuinfo_init+0x0/0x1f returned 0 after 1 usecs
[    1.013349] calling  proc_devices_init+0x0/0x25 @ 1
[    1.013352] initcall proc_devices_init+0x0/0x25 returned 0 after 1 usecs
[    1.013353] calling  proc_interrupts_init+0x0/0x25 @ 1
[    1.013355] initcall proc_interrupts_init+0x0/0x25 returned 0 after 1 usecs
[    1.013356] calling  proc_loadavg_init+0x0/0x22 @ 1
[    1.013358] initcall proc_loadavg_init+0x0/0x22 returned 0 after 1 usecs
[    1.013359] calling  proc_meminfo_init+0x0/0x22 @ 1
[    1.013361] initcall proc_meminfo_init+0x0/0x22 returned 0 after 1 usecs
[    1.013362] calling  proc_stat_init+0x0/0x1f @ 1
[    1.013364] initcall proc_stat_init+0x0/0x1f returned 0 after 1 usecs
[    1.013364] calling  proc_uptime_init+0x0/0x22 @ 1
[    1.013367] initcall proc_uptime_init+0x0/0x22 returned 0 after 1 usecs
[    1.013367] calling  proc_version_init+0x0/0x22 @ 1
[    1.013369] initcall proc_version_init+0x0/0x22 returned 0 after 1 usecs
[    1.013370] calling  proc_softirqs_init+0x0/0x22 @ 1
[    1.013372] initcall proc_softirqs_init+0x0/0x22 returned 0 after 1 usecs
[    1.013373] calling  proc_kcore_init+0x0/0xd0 @ 1
[    1.013392] initcall proc_kcore_init+0x0/0xd0 returned 0 after 17 usecs
[    1.013393] calling  vmcore_init+0x0/0x5d8 @ 1
[    1.013395] initcall vmcore_init+0x0/0x5d8 returned 0 after 0 usecs
[    1.013395] calling  proc_kmsg_init+0x0/0x22 @ 1
[    1.013398] initcall proc_kmsg_init+0x0/0x22 returned 0 after 1 usecs
[    1.013399] calling  proc_page_init+0x0/0x56 @ 1
[    1.013403] initcall proc_page_init+0x0/0x56 returned 0 after 3 usecs
[    1.013404] calling  init_ramfs_fs+0x0/0x20 @ 1
[    1.013405] initcall init_ramfs_fs+0x0/0x20 returned 0 after 0 usecs
[    1.013406] calling  init_hugetlbfs_fs+0x0/0x17e @ 1
[    1.013618] initcall init_hugetlbfs_fs+0x0/0x17e returned 0 after 205 usecs
[    1.013619] calling  tomoyo_initerface_init+0x0/0x178 @ 1
[    1.013620] initcall tomoyo_initerface_init+0x0/0x178 returned 0 after 0 usecs
[    1.013621] calling  aa_create_aafs+0x0/0x3ad @ 1
[    1.013623] initcall aa_create_aafs+0x0/0x3ad returned 0 after 0 usecs
[    1.013624] calling  blk_scsi_ioctl_init+0x0/0x399 @ 1
[    1.013625] initcall blk_scsi_ioctl_init+0x0/0x399 returned 0 after 0 usecs
[    1.013627] calling  dynamic_debug_init_debugfs+0x0/0x62 @ 1
[    1.013636] initcall dynamic_debug_init_debugfs+0x0/0x62 returned 0 after 7 usecs
[    1.013637] calling  acpi_event_init+0x0/0x2d @ 1
[    1.013649] initcall acpi_event_init+0x0/0x2d returned 0 after 9 usecs
[    1.013650] calling  pnp_system_init+0x0/0x11 @ 1
[    1.013669] initcall pnp_system_init+0x0/0x11 returned 0 after 17 usecs
[    1.013670] calling  pnpacpi_init+0x0/0x6a @ 1
[    1.013671] pnp: PnP ACPI init
[    1.017054] system 00:00: [mem 0xf8000000-0xfbffffff] has been reserved
[    1.023608] system 00:00: Plug and Play ACPI device, IDs PNP0c01 (active)
[    1.023877] system 00:01: [mem 0xfeb80000-0xfebfffff] has been reserved
[    1.030435] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
[    1.030828] pnp 00:02: Plug and Play ACPI device, IDs PNP0b00 (active)
[    1.031667] system 00:03: [io  0x0a00-0x0a0f] has been reserved
[    1.037542] system 00:03: [io  0x0a10-0x0a1f] has been reserved
[    1.043414] system 00:03: [io  0x0a20-0x0a2f] has been reserved
[    1.049276] system 00:03: [io  0x0a40-0x0a4f] has been reserved
[    1.055145] system 00:03: Plug and Play ACPI device, IDs PNP0c02 (active)
[    1.056584] pnp 00:04: [dma 0 disabled]
[    1.057039] pnp 00:04: Plug and Play ACPI device, IDs PNP0400 (active)
[    1.058232] pnp 00:05: [dma 0 disabled]
[    1.058350] pnp 00:05: Plug and Play ACPI device, IDs PNP0501 (active)
[    1.059394] system 00:06: [io  0x04d0-0x04d1] has been reserved
[    1.065271] system 00:06: [io  0x040b] has been reserved
[    1.070531] system 00:06: [io  0x04d6] has been reserved
[    1.075796] system 00:06: [io  0x0c00-0x0c01] has been reserved
[    1.081671] system 00:06: [io  0x0c14] has been reserved
[    1.086938] system 00:06: [io  0x0c50-0x0c51] has been reserved
[    1.092804] system 00:06: [io  0x0c52] has been reserved
[    1.098067] system 00:06: [io  0x0c6c] has been reserved
[    1.103331] system 00:06: [io  0x0c6f] has been reserved
[    1.108594] system 00:06: [io  0x0cd0-0x0cd1] has been reserved
[    1.114463] system 00:06: [io  0x0cd2-0x0cd3] has been reserved
[    1.120324] system 00:06: [io  0x0cd4-0x0cd5] has been reserved
[    1.126190] system 00:06: [io  0x0cd6-0x0cd7] has been reserved
[    1.132061] system 00:06: [io  0x0cd8-0x0cdf] has been reserved
[    1.137924] system 00:06: [io  0x0800-0x089f] has been reserved
[    1.143795] system 00:06: [io  0x0b00-0x0b0f] has been reserved
[    1.149653] system 00:06: [io  0x0b20-0x0b3f] has been reserved
[    1.155523] system 00:06: [io  0x0900-0x090f] has been reserved
[    1.161385] system 00:06: [io  0x0910-0x091f] has been reserved
[    1.167250] system 00:06: [mem 0xfec00000-0xfec00fff] could not be reserved
[    1.174143] system 00:06: [mem 0xfec01000-0xfec01fff] could not be reserved
[    1.181037] system 00:06: [mem 0xfedc0000-0xfedc0fff] has been reserved
[    1.187585] system 00:06: [mem 0xfee00000-0xfee00fff] has been reserved
[    1.194139] system 00:06: [mem 0xfed80000-0xfed8ffff] could not be reserved
[    1.201033] system 00:06: [mem 0xfec10000-0xfec10fff] has been reserved
[    1.207581] system 00:06: [mem 0xff000000-0xffffffff] has been reserved
[    1.214133] system 00:06: Plug and Play ACPI device, IDs PNP0c02 (active)
[    1.216424] pnp: PnP ACPI: found 7 devices
[    1.220489] initcall pnpacpi_init+0x0/0x6a returned 0 after 201969 usecs
[    1.220491] calling  chr_dev_init+0x0/0xa7 @ 1
[    1.227177] initcall chr_dev_init+0x0/0xa7 returned 0 after 6527 usecs
[    1.227179] calling  firmware_class_init+0x0/0xeb @ 1
[    1.227197] initcall firmware_class_init+0x0/0xeb returned 0 after 16 usecs
[    1.227198] calling  thermal_init+0x0/0xe1 @ 1
[    1.227222] initcall thermal_init+0x0/0xe1 returned 0 after 22 usecs
[    1.227223] calling  cpufreq_gov_performance_init+0x0/0x11 @ 1
[    1.227225] initcall cpufreq_gov_performance_init+0x0/0x11 returned 0 after 0 usecs
[    1.227226] calling  cpufreq_gov_dbs_init+0x0/0x11 @ 1
[    1.227227] initcall cpufreq_gov_dbs_init+0x0/0x11 returned 0 after 0 usecs
[    1.227228] calling  map_properties+0x0/0x52b @ 1
[    1.227230] initcall map_properties+0x0/0x52b returned 0 after 0 usecs
[    1.227231] calling  init_acpi_pm_clocksource+0x0/0xdb @ 1
[    1.231790] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    1.240574] initcall init_acpi_pm_clocksource+0x0/0xdb returned 0 after 13029 usecs
[    1.240575] calling  pcibios_assign_resources+0x0/0xca @ 1
[    1.240642] pci 0000:16:00.0: PCI bridge to [bus 17]
[    1.245572] pci 0000:16:01.0: PCI bridge to [bus 18]
[    1.250507] pci 0000:16:01.0:   bridge window [io  0xf000-0xffff]
[    1.256540] pci 0000:16:01.0:   bridge window [mem 0xfe700000-0xfe7fffff]
[    1.263265] pci 0000:16:04.0: PCI bridge to [bus 1b]
[    1.268192] pci 0000:15:00.2: PCI bridge to [bus 16-1b]
[    1.273368] pci 0000:15:00.2:   bridge window [io  0xf000-0xffff]
[    1.279407] pci 0000:15:00.2:   bridge window [mem 0xfe700000-0xfe7fffff]
[    1.286128] pci 0000:00:01.2: PCI bridge to [bus 15-1b]
[    1.291304] pci 0000:00:01.2:   bridge window [io  0xf000-0xffff]
[    1.297346] pci 0000:00:01.2:   bridge window [mem 0xfe700000-0xfe8fffff]
[    1.304066] pci 0000:00:08.1: PCI bridge to [bus 38]
[    1.308987] pci 0000:00:08.1:   bridge window [io  0xe000-0xefff]
[    1.315023] pci 0000:00:08.1:   bridge window [mem 0xfe300000-0xfe6fffff]
[    1.321746] pci 0000:00:08.1:   bridge window [mem 0xe0000000-0xf01fffff 64bit pref]
[    1.329413] pci 0000:00:08.2: PCI bridge to [bus 39]
[    1.334331] pci 0000:00:08.2:   bridge window [mem 0xfe900000-0xfe9fffff]
[    1.341062] pci_bus 0000:00: resource 4 [io  0x0000-0x03af window]
[    1.341063] pci_bus 0000:00: resource 5 [io  0x03e0-0x0cf7 window]
[    1.341064] pci_bus 0000:00: resource 6 [io  0x03b0-0x03df window]
[    1.341065] pci_bus 0000:00: resource 7 [io  0x0d00-0xffff window]
[    1.341066] pci_bus 0000:00: resource 8 [mem 0x000a0000-0x000bffff window]
[    1.341067] pci_bus 0000:00: resource 9 [mem 0x000c0000-0x000dffff window]
[    1.341068] pci_bus 0000:00: resource 10 [mem 0xe0000000-0xfec2ffff window]
[    1.341069] pci_bus 0000:00: resource 11 [mem 0xfee00000-0xffffffff window]
[    1.341070] pci_bus 0000:15: resource 0 [io  0xf000-0xffff]
[    1.341071] pci_bus 0000:15: resource 1 [mem 0xfe700000-0xfe8fffff]
[    1.341072] pci_bus 0000:16: resource 0 [io  0xf000-0xffff]
[    1.341073] pci_bus 0000:16: resource 1 [mem 0xfe700000-0xfe7fffff]
[    1.341074] pci_bus 0000:18: resource 0 [io  0xf000-0xffff]
[    1.341074] pci_bus 0000:18: resource 1 [mem 0xfe700000-0xfe7fffff]
[    1.341075] pci_bus 0000:38: resource 0 [io  0xe000-0xefff]
[    1.341076] pci_bus 0000:38: resource 1 [mem 0xfe300000-0xfe6fffff]
[    1.341077] pci_bus 0000:38: resource 2 [mem 0xe0000000-0xf01fffff 64bit pref]
[    1.341078] pci_bus 0000:39: resource 1 [mem 0xfe900000-0xfe9fffff]
[    1.341574] initcall pcibios_assign_resources+0x0/0xca returned 0 after 98625 usecs
[    1.341578] calling  sysctl_core_init+0x0/0x2b @ 1
[    1.341628] initcall sysctl_core_init+0x0/0x2b returned 0 after 46 usecs
[    1.341630] calling  eth_offload_init+0x0/0x14 @ 1
[    1.341633] initcall eth_offload_init+0x0/0x14 returned 0 after 0 usecs
[    1.341636] calling  inet_init+0x0/0x272 @ 1
[    1.342117] NET: Registered protocol family 2
[    1.347205] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes)
[    1.355083] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    1.362546] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    1.369290] TCP: Hash tables configured (established 131072 bind 65536)
[    1.375980] UDP hash table entries: 8192 (order: 6, 262144 bytes)
[    1.382050] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes)
[    1.388778] initcall inet_init+0x0/0x272 returned 0 after 46034 usecs
[    1.388780] calling  ipv4_offload_init+0x0/0x74 @ 1
[    1.388781] initcall ipv4_offload_init+0x0/0x74 returned 0 after 0 usecs
[    1.388782] calling  af_unix_init+0x0/0x4e @ 1
[    1.388785] NET: Registered protocol family 1
[    1.393115] initcall af_unix_init+0x0/0x4e returned 0 after 4230 usecs
[    1.393116] calling  ipv6_offload_init+0x0/0x7f @ 1
[    1.393118] initcall ipv6_offload_init+0x0/0x7f returned 0 after 0 usecs
[    1.393119] calling  pci_apply_final_quirks+0x0/0x125 @ 1
[    1.393161] pci 0000:15:00.0: calling  quirk_usb_early_handoff+0x0/0x6c3 @ 1
[    1.400490] pci 0000:15:00.0: quirk_usb_early_handoff+0x0/0x6c3 took 343 usecs
[    1.407660] pci 0000:38:00.0: calling  pci_fixup_video+0x0/0x110 @ 1
[    1.413962] pci 0000:38:00.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    1.422222] pci 0000:38:00.0: pci_fixup_video+0x0/0x110 took 8076 usecs
[    1.428770] pci 0000:38:00.1: calling  quirk_gpu_hda+0x0/0xa0 @ 1
[    1.434803] pci 0000:38:00.1: Linked as a consumer to 0000:38:00.0
[    1.440927] pci 0000:38:00.1: quirk_gpu_hda+0x0/0xa0 took 5984 usecs
[    1.447231] pci 0000:38:00.3: calling  quirk_usb_early_handoff+0x0/0x6c3 @ 1
[    1.454737] pci 0000:38:00.3: quirk_usb_early_handoff+0x0/0x6c3 took 517 usecs
[    1.461898] pci 0000:38:00.4: calling  quirk_usb_early_handoff+0x0/0x6c3 @ 1
[    1.469131] pci 0000:38:00.4: quirk_usb_early_handoff+0x0/0x6c3 took 239 usecs
[    1.476298] pci 0000:38:00.6: calling  quirk_gpu_hda+0x0/0xa0 @ 1
[    1.482336] pci 0000:38:00.6: quirk_gpu_hda+0x0/0xa0 took 0 usecs
[    1.488381] PCI: CLS 64 bytes, default 64
[    1.488382] initcall pci_apply_final_quirks+0x0/0x125 returned 0 after 93029 usecs
[    1.488383] calling  acpi_reserve_resources+0x0/0xeb @ 1
[    1.488644] initcall acpi_reserve_resources+0x0/0xeb returned 0 after 248 usecs
[    1.488648] calling  populate_rootfs+0x0/0x10a @ 1
[    1.488816] Unpacking initramfs...
[    1.519653] Freeing initrd memory: 10188K
[    1.524029] initcall populate_rootfs+0x0/0x10a returned 0 after 34547 usecs
[    1.524031] calling  pci_iommu_init+0x0/0x3f @ 1
[    1.841852] AMD-Vi: Unable to write to IOMMU perf counter.
[    1.847610] pci 0000:00:00.2: can't derive routing for PCI INT A
[    1.853565] pci 0000:00:00.2: PCI INT A: not connected
[    1.859802] iommu: Adding device 0000:00:01.0 to group 0
[    1.865666] iommu: Adding device 0000:00:01.2 to group 1
[    1.871522] iommu: Adding device 0000:00:08.0 to group 2
[    1.877368] iommu: Adding device 0000:00:08.1 to group 3
[    1.882684] iommu: Adding device 0000:00:08.2 to group 2
[    1.888523] iommu: Adding device 0000:00:14.0 to group 4
[    1.893836] iommu: Adding device 0000:00:14.3 to group 4
[    1.899693] iommu: Adding device 0000:00:18.0 to group 5
[    1.904996] iommu: Adding device 0000:00:18.1 to group 5
[    1.910303] iommu: Adding device 0000:00:18.2 to group 5
[    1.915610] iommu: Adding device 0000:00:18.3 to group 5
[    1.920922] iommu: Adding device 0000:00:18.4 to group 5
[    1.926226] iommu: Adding device 0000:00:18.5 to group 5
[    1.931533] iommu: Adding device 0000:00:18.6 to group 5
[    1.936841] iommu: Adding device 0000:00:18.7 to group 5
[    1.942702] iommu: Adding device 0000:15:00.0 to group 6
[    1.948013] iommu: Adding device 0000:15:00.1 to group 6
[    1.953325] iommu: Adding device 0000:15:00.2 to group 6
[    1.958617] iommu: Adding device 0000:16:00.0 to group 6
[    1.963919] iommu: Adding device 0000:16:01.0 to group 6
[    1.969216] iommu: Adding device 0000:16:04.0 to group 6
[    1.974528] iommu: Adding device 0000:18:00.0 to group 6
[    1.980475] iommu: Adding device 0000:38:00.0 to group 7
[    1.985852] iommu: Using direct mapping for device 0000:38:00.0
[    1.992212] iommu: Adding device 0000:38:00.1 to group 8
[    1.997536] iommu: Adding device 0000:38:00.2 to group 8
[    2.002858] iommu: Adding device 0000:38:00.3 to group 8
[    2.008189] iommu: Adding device 0000:38:00.4 to group 8
[    2.013506] iommu: Adding device 0000:38:00.6 to group 8
[    2.018818] iommu: Adding device 0000:39:00.0 to group 2
[    2.024328] AMD-Vi: Found IOMMU at 0000:00:00.2 cap 0x40
[    2.029590] AMD-Vi: Extended features (0x4f77ef22294ada):
[    2.034941]  PPR NX GT IA GA PC GA_vAPIC
[    2.039356] AMD-Vi: Lazy IO/TLB flushing enabled
[    2.044779] initcall pci_iommu_init+0x0/0x3f returned 0 after 508537 usecs
[    2.044804] calling  ia32_binfmt_init+0x0/0x14 @ 1
[    2.044814] initcall ia32_binfmt_init+0x0/0x14 returned 0 after 8 usecs
[    2.044815] calling  amd_uncore_init+0x0/0x275 @ 1
[    2.044869] amd_uncore: AMD NB counters detected
[    2.049489] amd_uncore: AMD LLC counters detected
[    2.054743] initcall amd_uncore_init+0x0/0x275 returned 0 after 9694 usecs
[    2.054744] calling  amd_ibs_init+0x0/0x18d @ 1
[    2.054745] initcall amd_ibs_init+0x0/0x18d returned -19 after 0 usecs
[    2.054746] calling  amd_iommu_pc_init+0x0/0x270 @ 1
[    2.054747] initcall amd_iommu_pc_init+0x0/0x270 returned -19 after 0 usecs
[    2.054748] calling  msr_init+0x0/0xf1 @ 1
[    2.054766] initcall msr_init+0x0/0xf1 returned 0 after 15 usecs
[    2.054766] calling  register_kernel_offset_dumper+0x0/0x1b @ 1
[    2.054768] initcall register_kernel_offset_dumper+0x0/0x1b returned 0 after 0 usecs
[    2.054769] calling  i8259A_init_ops+0x0/0x21 @ 1
[    2.054770] initcall i8259A_init_ops+0x0/0x21 returned 0 after 0 usecs
[    2.054771] calling  init_tsc_clocksource+0x0/0xbe @ 1
[    2.054773] initcall init_tsc_clocksource+0x0/0xbe returned 0 after 1 usecs
[    2.054774] calling  add_rtc_cmos+0x0/0xcd @ 1
[    2.054776] initcall add_rtc_cmos+0x0/0xcd returned 0 after 1 usecs
[    2.054777] calling  thermal_throttle_init_device+0x0/0x42 @ 1
[    2.054779] initcall thermal_throttle_init_device+0x0/0x42 returned 0 after 0 usecs
[    2.054780] calling  ioapic_init_ops+0x0/0x14 @ 1
[    2.054790] initcall ioapic_init_ops+0x0/0x14 returned 0 after 8 usecs
[    2.054791] calling  register_e820_pmem+0x0/0x42 @ 1
[    2.054797] initcall register_e820_pmem+0x0/0x42 returned 0 after 5 usecs
[    2.054798] calling  add_pcspkr+0x0/0x6f @ 1
[    2.054860] initcall add_pcspkr+0x0/0x6f returned 0 after 59 usecs
[    2.054861] calling  sysfb_init+0x0/0x9f @ 1
[    2.054910] initcall sysfb_init+0x0/0x9f returned 0 after 46 usecs
[    2.054911] calling  audit_classes_init+0x0/0xaf @ 1
[    2.054924] initcall audit_classes_init+0x0/0xaf returned 0 after 11 usecs
[    2.054925] calling  pt_dump_init+0x0/0x42 @ 1
[    2.054926] initcall pt_dump_init+0x0/0x42 returned 0 after 0 usecs
[    2.054927] calling  init_aout_binfmt+0x0/0x16 @ 1
[    2.054929] initcall init_aout_binfmt+0x0/0x16 returned 0 after 0 usecs
[    2.054930] calling  iosf_mbi_init+0x0/0x1a @ 1
[    2.054957] initcall iosf_mbi_init+0x0/0x1a returned 0 after 25 usecs
[    2.054958] calling  proc_execdomains_init+0x0/0x22 @ 1
[    2.054963] initcall proc_execdomains_init+0x0/0x22 returned 0 after 3 usecs
[    2.054964] calling  register_warn_debugfs+0x0/0x24 @ 1
[    2.054997] initcall register_warn_debugfs+0x0/0x24 returned 0 after 30 usecs
[    2.054998] calling  cpuhp_sysfs_init+0x0/0x6d @ 1
[    2.055030] initcall cpuhp_sysfs_init+0x0/0x6d returned 0 after 30 usecs
[    2.055031] calling  ioresources_init+0x0/0x4a @ 1
[    2.055036] initcall ioresources_init+0x0/0x4a returned 0 after 3 usecs
[    2.055037] calling  init_sched_debug_procfs+0x0/0x2f @ 1
[    2.055040] initcall init_sched_debug_procfs+0x0/0x2f returned 0 after 1 usecs
[    2.055041] calling  snapshot_device_init+0x0/0x11 @ 1
[    2.055100] initcall snapshot_device_init+0x0/0x11 returned 0 after 57 usecs
[    2.055101] calling  irq_gc_init_ops+0x0/0x14 @ 1
[    2.055102] initcall irq_gc_init_ops+0x0/0x14 returned 0 after 0 usecs
[    2.055103] calling  irq_pm_init_ops+0x0/0x14 @ 1
[    2.055104] initcall irq_pm_init_ops+0x0/0x14 returned 0 after 0 usecs
[    2.055105] calling  irq_debugfs_init+0x0/0x7b @ 1
[    2.055203] initcall irq_debugfs_init+0x0/0x7b returned 0 after 94 usecs
[    2.055204] calling  timekeeping_init_ops+0x0/0x14 @ 1
[    2.055205] initcall timekeeping_init_ops+0x0/0x14 returned 0 after 0 usecs
[    2.055206] calling  init_clocksource_sysfs+0x0/0x24 @ 1
[    2.055295] initcall init_clocksource_sysfs+0x0/0x24 returned 0 after 85 usecs
[    2.055296] calling  init_timer_list_procfs+0x0/0x32 @ 1
[    2.055306] initcall init_timer_list_procfs+0x0/0x32 returned 0 after 9 usecs
[    2.055307] calling  alarmtimer_init+0x0/0x134 @ 1
[    2.055381] initcall alarmtimer_init+0x0/0x134 returned 0 after 70 usecs
[    2.055382] calling  init_posix_timers+0x0/0x2a @ 1
[    2.055467] initcall init_posix_timers+0x0/0x2a returned 0 after 82 usecs
[    2.055468] calling  clockevents_init_sysfs+0x0/0xc9 @ 1
[    2.056143] initcall clockevents_init_sysfs+0x0/0xc9 returned 0 after 657 usecs
[    2.056144] calling  proc_modules_init+0x0/0x1f @ 1
[    2.056147] initcall proc_modules_init+0x0/0x1f returned 0 after 1 usecs
[    2.056148] calling  kallsyms_init+0x0/0x22 @ 1
[    2.056151] initcall kallsyms_init+0x0/0x22 returned 0 after 1 usecs
[    2.056152] calling  pid_namespaces_init+0x0/0x40 @ 1
[    2.056214] initcall pid_namespaces_init+0x0/0x40 returned 0 after 59 usecs
[    2.056215] calling  audit_watch_init+0x0/0x3c @ 1
[    2.056217] initcall audit_watch_init+0x0/0x3c returned 0 after 1 usecs
[    2.056218] calling  audit_fsnotify_init+0x0/0x3c @ 1
[    2.056220] initcall audit_fsnotify_init+0x0/0x3c returned 0 after 0 usecs
[    2.056221] calling  audit_tree_init+0x0/0x4d @ 1
[    2.056224] initcall audit_tree_init+0x0/0x4d returned 0 after 1 usecs
[    2.056225] calling  init_kprobes+0x0/0x1f9 @ 1
[    2.056496] initcall init_kprobes+0x0/0x1f9 returned 0 after 264 usecs
[    2.056497] calling  seccomp_sysctl_init+0x0/0x36 @ 1
[    2.056513] initcall seccomp_sysctl_init+0x0/0x36 returned 0 after 13 usecs
[    2.056514] calling  utsname_sysctl_init+0x0/0x14 @ 1
[    2.056521] initcall utsname_sysctl_init+0x0/0x14 returned 0 after 6 usecs
[    2.056522] calling  init_tracepoints+0x0/0x28 @ 1
[    2.056524] initcall init_tracepoints+0x0/0x28 returned 0 after 0 usecs
[    2.056525] calling  stack_trace_init+0x0/0xb0 @ 1
[    2.056538] initcall stack_trace_init+0x0/0xb0 returned 0 after 11 usecs
[    2.056539] calling  init_mmio_trace+0x0/0xc @ 1
[    2.056543] initcall init_mmio_trace+0x0/0xc returned 0 after 2 usecs
[    2.056545] calling  init_blk_tracer+0x0/0x50 @ 1
[    2.056567] initcall init_blk_tracer+0x0/0x50 returned 0 after 21 usecs
[    2.056569] calling  perf_event_sysfs_init+0x0/0x84 @ 1
[    2.056969] initcall perf_event_sysfs_init+0x0/0x84 returned 0 after 389 usecs
[    2.056970] calling  init_uprobes+0x0/0x71 @ 1
[    2.056986] initcall init_uprobes+0x0/0x71 returned 0 after 14 usecs
[    2.056987] calling  padata_driver_init+0x0/0x39 @ 1
[    2.056988] initcall padata_driver_init+0x0/0x39 returned 0 after 0 usecs
[    2.056989] calling  system_trusted_keyring_init+0x0/0x61 @ 1
[    2.056990] Initialise system trusted keyrings
[    2.061469] initcall system_trusted_keyring_init+0x0/0x61 returned 0 after 4373 usecs
[    2.061470] calling  kswapd_init+0x0/0x85 @ 1
[    2.061804] initcall kswapd_init+0x0/0x85 returned 0 after 325 usecs
[    2.061805] calling  extfrag_debug_init+0x0/0x78 @ 1
[    2.061815] initcall extfrag_debug_init+0x0/0x78 returned 0 after 8 usecs
[    2.061816] calling  mm_compute_batch_init+0x0/0x19 @ 1
[    2.061818] initcall mm_compute_batch_init+0x0/0x19 returned 0 after 0 usecs
[    2.061819] calling  slab_proc_init+0x0/0x22 @ 1
[    2.061823] initcall slab_proc_init+0x0/0x22 returned 0 after 2 usecs
[    2.061823] calling  workingset_init+0x0/0x80 @ 1
[    2.061825] workingset: timestamp_bits=40 max_order=22 bucket_order=0
[    2.068214] initcall workingset_init+0x0/0x80 returned 0 after 6239 usecs
[    2.068215] calling  proc_vmalloc_init+0x0/0x30 @ 1
[    2.068218] initcall proc_vmalloc_init+0x0/0x30 returned 0 after 1 usecs
[    2.068219] calling  procswaps_init+0x0/0x1f @ 1
[    2.068222] initcall procswaps_init+0x0/0x1f returned 0 after 1 usecs
[    2.068223] calling  init_frontswap+0x0/0x91 @ 1
[    2.068238] initcall init_frontswap+0x0/0x91 returned 0 after 13 usecs
[    2.068239] calling  slab_sysfs_init+0x0/0xfa @ 1
[    2.074080] initcall slab_sysfs_init+0x0/0xfa returned 0 after 5702 usecs
[    2.074081] calling  init_zbud+0x0/0x20 @ 1
[    2.074081] zbud: loaded
[    2.076603] initcall init_zbud+0x0/0x20 returned 0 after 2462 usecs
[    2.076604] calling  fcntl_init+0x0/0x2a @ 1
[    2.076608] initcall fcntl_init+0x0/0x2a returned 0 after 2 usecs
[    2.076609] calling  proc_filesystems_init+0x0/0x22 @ 1
[    2.076611] initcall proc_filesystems_init+0x0/0x22 returned 0 after 1 usecs
[    2.076612] calling  start_dirtytime_writeback+0x0/0x2a @ 1
[    2.076614] initcall start_dirtytime_writeback+0x0/0x2a returned 0 after 0 usecs
[    2.076614] calling  blkdev_init+0x0/0x20 @ 1
[    2.076644] initcall blkdev_init+0x0/0x20 returned 0 after 27 usecs
[    2.076644] calling  dio_init+0x0/0x2d @ 1
[    2.076647] initcall dio_init+0x0/0x2d returned 0 after 2 usecs
[    2.076648] calling  dnotify_init+0x0/0x79 @ 1
[    2.076791] initcall dnotify_init+0x0/0x79 returned 0 after 137 usecs
[    2.076791] calling  fanotify_user_setup+0x0/0x77 @ 1
[    2.076799] initcall fanotify_user_setup+0x0/0x77 returned 0 after 5 usecs
[    2.076799] calling  userfaultfd_init+0x0/0x2e @ 1
[    2.076916] initcall userfaultfd_init+0x0/0x2e returned 0 after 112 usecs
[    2.076917] calling  aio_setup+0x0/0x7b @ 1
[    2.077035] initcall aio_setup+0x0/0x7b returned 0 after 114 usecs
[    2.077036] calling  init_sys32_ioctl+0x0/0x28 @ 1
[    2.077134] initcall init_sys32_ioctl+0x0/0x28 returned 0 after 94 usecs
[    2.077135] calling  init_devpts_fs+0x0/0x28 @ 1
[    2.077144] initcall init_devpts_fs+0x0/0x28 returned 0 after 8 usecs
[    2.077145] calling  init_pstore_fs+0x0/0x4d @ 1
[    2.077148] initcall init_pstore_fs+0x0/0x4d returned 0 after 1 usecs
[    2.077149] calling  ipc_init+0x0/0x5a @ 1
[    2.077188] initcall ipc_init+0x0/0x5a returned 0 after 36 usecs
[    2.077189] calling  ipc_sysctl_init+0x0/0x14 @ 1
[    2.077197] initcall ipc_sysctl_init+0x0/0x14 returned 0 after 7 usecs
[    2.077198] calling  init_mqueue_fs+0x0/0xf1 @ 1
[    2.077440] initcall init_mqueue_fs+0x0/0xf1 returned 0 after 234 usecs
[    2.077441] calling  key_proc_init+0x0/0x64 @ 1
[    2.077445] initcall key_proc_init+0x0/0x64 returned 0 after 2 usecs
[    2.077445] calling  selinux_nf_ip_init+0x0/0x3b @ 1
[    2.077447] initcall selinux_nf_ip_init+0x0/0x3b returned 0 after 0 usecs
[    2.077448] calling  init_sel_fs+0x0/0x120 @ 1
[    2.077449] initcall init_sel_fs+0x0/0x120 returned 0 after 0 usecs
[    2.077450] calling  selnl_init+0x0/0x7d @ 1
[    2.077474] initcall selnl_init+0x0/0x7d returned 0 after 22 usecs
[    2.077475] calling  sel_netif_init+0x0/0x3b @ 1
[    2.077476] initcall sel_netif_init+0x0/0x3b returned 0 after 0 usecs
[    2.077477] calling  sel_netnode_init+0x0/0x36 @ 1
[    2.077478] initcall sel_netnode_init+0x0/0x36 returned 0 after 0 usecs
[    2.077479] calling  sel_netport_init+0x0/0x36 @ 1
[    2.077480] initcall sel_netport_init+0x0/0x36 returned 0 after 0 usecs
[    2.077481] calling  aurule_init+0x0/0x2b @ 1
[    2.077483] initcall aurule_init+0x0/0x2b returned 0 after 1 usecs
[    2.077484] calling  crypto_algapi_init+0x0/0xd @ 1
[    2.077487] initcall crypto_algapi_init+0x0/0xd returned 0 after 1 usecs
[    2.077488] calling  rsa_init+0x0/0x50 @ 1
[    2.077807] alg: self-tests disabled
[    2.081365] initcall rsa_init+0x0/0x50 returned 0 after 3784 usecs
[    2.081366] calling  hmac_module_init+0x0/0x11 @ 1
[    2.081367] initcall hmac_module_init+0x0/0x11 returned 0 after 0 usecs
[    2.081369] calling  crypto_null_mod_init+0x0/0x48 @ 1
[    2.082014] initcall crypto_null_mod_init+0x0/0x48 returned 0 after 629 usecs
[    2.082015] calling  md5_mod_init+0x0/0x11 @ 1
[    2.082055] initcall md5_mod_init+0x0/0x11 returned 0 after 37 usecs
[    2.082056] calling  sha1_generic_mod_init+0x0/0x11 @ 1
[    2.082102] initcall sha1_generic_mod_init+0x0/0x11 returned 0 after 44 usecs
[    2.082103] calling  sha256_generic_mod_init+0x0/0x16 @ 1
[    2.082185] initcall sha256_generic_mod_init+0x0/0x16 returned 0 after 78 usecs
[    2.082186] calling  aes_init+0x0/0x11 @ 1
[    2.082227] initcall aes_init+0x0/0x11 returned 0 after 38 usecs
[    2.082228] calling  deflate_mod_init+0x0/0x3f @ 1
[    2.082371] initcall deflate_mod_init+0x0/0x3f returned 0 after 138 usecs
[    2.082372] calling  crct10dif_mod_init+0x0/0x11 @ 1
[    2.082412] initcall crct10dif_mod_init+0x0/0x11 returned 0 after 38 usecs
[    2.082413] calling  lzo_mod_init+0x0/0x3a @ 1
[    2.082508] initcall lzo_mod_init+0x0/0x3a returned 0 after 92 usecs
[    2.082510] calling  asymmetric_key_init+0x0/0x11 @ 1
[    2.082510] Key type asymmetric registered
[    2.086579] initcall asymmetric_key_init+0x0/0x11 returned 0 after 3972 usecs
[    2.086580] calling  x509_key_init+0x0/0x11 @ 1
[    2.086581] Asymmetric key parser 'x509' registered
[    2.091410] initcall x509_key_init+0x0/0x11 returned 0 after 4715 usecs
[    2.091411] calling  proc_genhd_init+0x0/0x42 @ 1
[    2.091416] initcall proc_genhd_init+0x0/0x42 returned 0 after 3 usecs
[    2.091417] calling  bsg_init+0x0/0x196 @ 1
[    2.091546] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    2.098866] initcall bsg_init+0x0/0x196 returned 0 after 7272 usecs
[    2.098867] calling  throtl_init+0x0/0x41 @ 1
[    2.098962] initcall throtl_init+0x0/0x41 returned 0 after 90 usecs
[    2.098963] calling  noop_init+0x0/0x11 @ 1
[    2.098964] io scheduler noop registered
[    2.102863] initcall noop_init+0x0/0x11 returned 0 after 3807 usecs
[    2.102864] calling  deadline_init+0x0/0x11 @ 1
[    2.102865] io scheduler deadline registered
[    2.107097] initcall deadline_init+0x0/0x11 returned 0 after 4132 usecs
[    2.107098] calling  cfq_init+0x0/0x74 @ 1
[    2.107345] io scheduler cfq registered (default)
[    2.112013] initcall cfq_init+0x0/0x74 returned 0 after 4797 usecs
[    2.112014] calling  deadline_init+0x0/0x11 @ 1
[    2.112014] io scheduler mq-deadline registered
[    2.116505] initcall deadline_init+0x0/0x11 returned 0 after 4385 usecs
[    2.116506] calling  btree_module_init+0x0/0x25 @ 1
[    2.116511] initcall btree_module_init+0x0/0x25 returned 0 after 3 usecs
[    2.116512] calling  crc_t10dif_mod_init+0x0/0x39 @ 1
[    2.116516] initcall crc_t10dif_mod_init+0x0/0x39 returned 0 after 2 usecs
[    2.116517] calling  percpu_counter_startup+0x0/0x51 @ 1
[    2.116574] initcall percpu_counter_startup+0x0/0x51 returned 0 after 54 usecs
[    2.116575] calling  digsig_init+0x0/0x36 @ 1
[    2.116578] initcall digsig_init+0x0/0x36 returned 0 after 1 usecs
[    2.116579] calling  sg_pool_init+0x0/0xc6 @ 1
[    2.116757] initcall sg_pool_init+0x0/0xc6 returned 0 after 172 usecs
[    2.116758] calling  phy_core_init+0x0/0x4a @ 1
[    2.116766] initcall phy_core_init+0x0/0x4a returned 0 after 6 usecs
[    2.116767] calling  pci_proc_init+0x0/0x6c @ 1
[    2.116838] initcall pci_proc_init+0x0/0x6c returned 0 after 69 usecs
[    2.116839] calling  pcie_portdrv_init+0x0/0x35 @ 1
[    2.119187] initcall pcie_portdrv_init+0x0/0x35 returned 0 after 2290 usecs
[    2.119188] calling  aer_service_init+0x0/0x32 @ 1
[    2.119250] pcieport 0000:00:01.2: AER enabled with IRQ 26
[    2.124707] initcall aer_service_init+0x0/0x32 returned 0 after 5388 usecs
[    2.124708] calling  pcie_pme_service_init+0x0/0x11 @ 1
[    2.124729] pcieport 0000:00:01.2: Signaling PME with IRQ 26
[    2.130395] pcieport 0000:00:08.1: Signaling PME with IRQ 27
[    2.136079] pcieport 0000:00:08.2: Signaling PME with IRQ 28
[    2.141704] initcall pcie_pme_service_init+0x0/0x11 returned 0 after 16596 usecs
[    2.141705] calling  dpc_service_init+0x0/0x11 @ 1
[    2.141714] initcall dpc_service_init+0x0/0x11 returned 0 after 8 usecs
[    2.141715] calling  efifb_driver_init+0x0/0x13 @ 1
[    2.141733] efifb: probing for efifb
[    2.145305] efifb: framebuffer at 0xe0000000, using 3072k, total 3072k
[    2.151768] efifb: mode is 1024x768x32, linelength=4096, pages=1
[    2.157708] efifb: scrolling: redraw
[    2.161255] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    2.168378] Console: switching to colour frame buffer device 128x48
[    2.175811] fb0: EFI VGA frame buffer device
[    2.180070] initcall efifb_driver_init+0x0/0x13 returned 0 after 37454 usecs
[    2.180072] calling  acpi_processor_driver_init+0x0/0x91 @ 1
[    2.180702] initcall acpi_processor_driver_init+0x0/0x91 returned 0 after 614 usecs
[    2.180704] calling  acpi_hed_driver_init+0x0/0x11 @ 1
[    2.180749] initcall acpi_hed_driver_init+0x0/0x11 returned 0 after 42 usecs
[    2.180750] calling  bgrt_init+0x0/0xb5 @ 1
[    2.180762] initcall bgrt_init+0x0/0xb5 returned 0 after 11 usecs
[    2.180763] calling  erst_init+0x0/0x2f9 @ 1
[    2.180765] initcall erst_init+0x0/0x2f9 returned 0 after 0 usecs
[    2.180766] calling  ghes_init+0x0/0x137 @ 1
[    2.180767] initcall ghes_init+0x0/0x137 returned -19 after 0 usecs
[    2.180768] calling  extlog_init+0x0/0x36a @ 1
[    2.180770] initcall extlog_init+0x0/0x36a returned -19 after 0 usecs
[    2.180771] calling  gpio_clk_driver_init+0x0/0x13 @ 1
[    2.180789] initcall gpio_clk_driver_init+0x0/0x13 returned 0 after 16 usecs
[    2.180790] calling  plt_clk_driver_init+0x0/0x13 @ 1
[    2.180800] initcall plt_clk_driver_init+0x0/0x13 returned 0 after 8 usecs
[    2.180801] calling  st_clk_driver_init+0x0/0x13 @ 1
[    2.180808] initcall st_clk_driver_init+0x0/0x13 returned 0 after 5 usecs
[    2.180809] calling  xenbus_probe_initcall+0x0/0x42 @ 1
[    2.180810] initcall xenbus_probe_initcall+0x0/0x42 returned -19 after 0 usecs
[    2.180811] calling  xenbus_init+0x0/0x36 @ 1
[    2.180813] initcall xenbus_init+0x0/0x36 returned -19 after 0 usecs
[    2.180814] calling  platform_driver_init+0x0/0x1a @ 1
[    2.180830] initcall platform_driver_init+0x0/0x1a returned 0 after 14 usecs
[    2.180831] calling  n_null_init+0x0/0x1f @ 1
[    2.180832] initcall n_null_init+0x0/0x1f returned 0 after 0 usecs
[    2.180833] calling  pty_init+0x0/0x1eb @ 1
[    2.180929] initcall pty_init+0x0/0x1eb returned 0 after 92 usecs
[    2.180930] calling  sysrq_init+0x0/0x6c @ 1
[    2.180934] initcall sysrq_init+0x0/0x6c returned 0 after 2 usecs
[    2.180935] calling  xen_hvc_init+0x0/0x258 @ 1
[    2.180937] initcall xen_hvc_init+0x0/0x258 returned -19 after 0 usecs
[    2.180938] calling  serial8250_init+0x0/0x15b @ 1
[    2.180939] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    2.208109] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    2.216083] initcall serial8250_init+0x0/0x15b returned 0 after 34319 usecs
[    2.216084] calling  serial_pci_driver_init+0x0/0x1a @ 1
[    2.216111] initcall serial_pci_driver_init+0x0/0x1a returned 0 after 24 usecs
[    2.216112] calling  exar_pci_driver_init+0x0/0x1a @ 1
[    2.216134] initcall exar_pci_driver_init+0x0/0x1a returned 0 after 19 usecs
[    2.216135] calling  dw8250_platform_driver_init+0x0/0x13 @ 1
[    2.216148] initcall dw8250_platform_driver_init+0x0/0x13 returned 0 after 11 usecs
[    2.216149] calling  mid8250_pci_driver_init+0x0/0x1a @ 1
[    2.216169] initcall mid8250_pci_driver_init+0x0/0x1a returned 0 after 18 usecs
[    2.216170] calling  hpet_init+0x0/0x65 @ 1
[    2.216404] initcall hpet_init+0x0/0x65 returned 0 after 226 usecs
[    2.216404] calling  agp_init+0x0/0x24 @ 1
[    2.216405] Linux agpgart interface v0.103
[    2.220486] initcall agp_init+0x0/0x24 returned 0 after 3985 usecs
[    2.220487] calling  agp_amd64_mod_init+0x0/0x20 @ 1
[    2.221085] initcall agp_amd64_mod_init+0x0/0x20 returned -19 after 582 usecs
[    2.221085] calling  agp_intel_init+0x0/0x29 @ 1
[    2.221102] initcall agp_intel_init+0x0/0x29 returned 0 after 15 usecs
[    2.221103] calling  agp_sis_init+0x0/0x29 @ 1
[    2.221117] initcall agp_sis_init+0x0/0x29 returned 0 after 12 usecs
[    2.221117] calling  agp_via_init+0x0/0x29 @ 1
[    2.221148] initcall agp_via_init+0x0/0x29 returned 0 after 28 usecs
[    2.221149] calling  amd_iommu_v2_init+0x0/0x6e @ 1
[    2.221149] AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>
[    2.227475] initcall amd_iommu_v2_init+0x0/0x6e returned 0 after 6177 usecs
[    2.227476] calling  cn_proc_init+0x0/0x36 @ 1
[    2.227478] initcall cn_proc_init+0x0/0x36 returned 0 after 1 usecs
[    2.227481] calling  topology_sysfs_init+0x0/0x30 @ 1
[    2.227527] initcall topology_sysfs_init+0x0/0x30 returned 0 after 43 usecs
[    2.227528] calling  cacheinfo_sysfs_init+0x0/0x2c @ 1
[    2.228931] initcall cacheinfo_sysfs_init+0x0/0x2c returned 168 after 1368 usecs
[    2.228932] calling  devcoredump_init+0x0/0x18 @ 1
[    2.228942] initcall devcoredump_init+0x0/0x18 returned 0 after 8 usecs
[    2.228943] calling  cht_wc_driver_init+0x0/0x13 @ 1
[    2.228965] initcall cht_wc_driver_init+0x0/0x13 returned 0 after 20 usecs
[    2.228966] calling  net_olddevs_init+0x0/0x5d @ 1
[    2.228969] initcall net_olddevs_init+0x0/0x5d returned 0 after 2 usecs
[    2.228970] calling  cavium_ptp_driver_init+0x0/0x1a @ 1
[    2.228984] initcall cavium_ptp_driver_init+0x0/0x1a returned 0 after 13 usecs
[    2.228985] calling  ledtrig_usb_init+0x0/0x2e @ 1
[    2.228990] initcall ledtrig_usb_init+0x0/0x2e returned 0 after 3 usecs
[    2.228991] calling  i8042_init+0x0/0x46b @ 1
[    2.229022] i8042: PNP: No PS/2 controller found.
[    2.233708] initcall i8042_init+0x0/0x46b returned -19 after 4605 usecs
[    2.233709] calling  input_leds_init+0x0/0x11 @ 1
[    2.233711] initcall input_leds_init+0x0/0x11 returned 0 after 0 usecs
[    2.233712] calling  mousedev_init+0x0/0x81 @ 1
[    2.233878] mousedev: PS/2 mouse device common for all mice
[    2.239418] initcall mousedev_init+0x0/0x81 returned 0 after 5571 usecs
[    2.239419] calling  atkbd_init+0x0/0x26 @ 1
[    2.239444] initcall atkbd_init+0x0/0x26 returned 0 after 23 usecs
[    2.239445] calling  xenkbd_init+0x0/0x3b @ 1
[    2.239446] initcall xenkbd_init+0x0/0x3b returned -19 after 0 usecs
[    2.239447] calling  cmos_init+0x0/0x6a @ 1
[    2.239489] rtc_cmos 00:02: RTC can wake from S4
[    2.244412] rtc_cmos 00:02: registered as rtc0
[    2.248893] rtc_cmos 00:02: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
[    2.256516] initcall cmos_init+0x0/0x6a returned 0 after 16667 usecs
[    2.256517] calling  ptp_kvm_init+0x0/0xf1 @ 1
[    2.256519] initcall ptp_kvm_init+0x0/0xf1 returned -19 after 0 usecs
[    2.256519] calling  intel_pstate_init+0x0/0x351 @ 1
[    2.256521] initcall intel_pstate_init+0x0/0x351 returned -19 after 0 usecs
[    2.256522] calling  ledtrig_disk_init+0x0/0x54 @ 1
[    2.256527] initcall ledtrig_disk_init+0x0/0x54 returned 0 after 3 usecs
[    2.256528] calling  ledtrig_mtd_init+0x0/0x2e @ 1
[    2.256531] initcall ledtrig_mtd_init+0x0/0x2e returned 0 after 1 usecs
[    2.256532] calling  ledtrig_cpu_init+0x0/0xd3 @ 1
[    2.256657] ledtrig-cpu: registered to indicate activity on CPUs
[    2.262623] initcall ledtrig_cpu_init+0x0/0xd3 returned 0 after 5947 usecs
[    2.262624] calling  ledtrig_panic_init+0x0/0x39 @ 1
[    2.262627] initcall ledtrig_panic_init+0x0/0x39 returned 0 after 1 usecs
[    2.262628] calling  dmi_sysfs_init+0x0/0xdc @ 1
[    2.263714] initcall dmi_sysfs_init+0x0/0xdc returned 0 after 1059 usecs
[    2.263715] calling  efi_load_efivars+0x0/0x71 @ 1
[    2.263762] initcall efi_load_efivars+0x0/0x71 returned 0 after 44 usecs
[    2.263763] calling  esrt_sysfs_init+0x0/0x2fa @ 1
[    2.263803] initcall esrt_sysfs_init+0x0/0x2fa returned 0 after 37 usecs
[    2.263804] calling  pmc_atom_init+0x0/0x283 @ 1
[    2.263809] initcall pmc_atom_init+0x0/0x283 returned -19 after 3 usecs
[    2.263810] calling  powercap_init+0x0/0x2a1 @ 1
[    2.263912] initcall powercap_init+0x0/0x2a1 returned 0 after 98 usecs
[    2.263915] calling  pm_check_save_msr+0x0/0x20 @ 1
[    2.263916] initcall pm_check_save_msr+0x0/0x20 returned 0 after 0 usecs
[    2.263917] calling  sock_diag_init+0x0/0x34 @ 1
[    2.263964] initcall sock_diag_init+0x0/0x34 returned 0 after 44 usecs
[    2.263965] calling  blackhole_init+0x0/0x11 @ 1
[    2.263967] initcall blackhole_init+0x0/0x11 returned 0 after 0 usecs
[    2.263968] calling  gre_offload_init+0x0/0x49 @ 1
[    2.263969] initcall gre_offload_init+0x0/0x49 returned 0 after 0 usecs
[    2.263970] calling  sysctl_ipv4_init+0x0/0x4c @ 1
[    2.264017] initcall sysctl_ipv4_init+0x0/0x4c returned 0 after 44 usecs
[    2.264018] calling  cubictcp_register+0x0/0x58 @ 1
[    2.264019] initcall cubictcp_register+0x0/0x58 returned 0 after 0 usecs
[    2.264020] calling  inet6_init+0x0/0x34b @ 1
[    2.264823] NET: Registered protocol family 10
[    2.275464] Segment Routing with IPv6
[    2.279162] initcall inet6_init+0x0/0x34b returned 0 after 14782 usecs
[    2.279165] calling  mip6_init+0x0/0xb9 @ 1
[    2.279165] mip6: Mobile IPv6
[    2.282130] initcall mip6_init+0x0/0xb9 returned 0 after 2894 usecs
[    2.282131] calling  packet_init+0x0/0x42 @ 1
[    2.282132] NET: Registered protocol family 17
[    2.286559] initcall packet_init+0x0/0x42 returned 0 after 4323 usecs
[    2.286560] calling  dcbnl_init+0x0/0x4d @ 1
[    2.286565] initcall dcbnl_init+0x0/0x4d returned 0 after 3 usecs
[    2.286566] calling  mpls_gso_init+0x0/0x2c @ 1
[    2.286566] mpls_gso: MPLS GSO support
[    2.290302] initcall mpls_gso_init+0x0/0x2c returned 0 after 3647 usecs
[    2.290304] calling  mcheck_init_device+0x0/0x12f @ 1
[    2.291154] initcall mcheck_init_device+0x0/0x12f returned 0 after 828 usecs
[    2.291175] calling  mcheck_late_init+0x0/0x70 @ 1
[    2.291204] initcall mcheck_late_init+0x0/0x70 returned 0 after 27 usecs
[    2.291205] calling  severities_debugfs_init+0x0/0x3b @ 1
[    2.291210] initcall severities_debugfs_init+0x0/0x3b returned 0 after 2 usecs
[    2.291211] calling  threshold_init_device+0x0/0x4b @ 1
[    2.292557] initcall threshold_init_device+0x0/0x4b returned 0 after 1312 usecs
[    2.292558] calling  microcode_init+0x0/0x200 @ 1
[    2.292629] microcode: CPU0: patch_level=0x0810100b
[    2.297491] microcode: CPU1: patch_level=0x0810100b
[    2.303184] microcode: CPU2: patch_level=0x0810100b
[    2.308770] microcode: CPU3: patch_level=0x0810100b
[    2.314347] microcode: Microcode Update Driver: v2.2.
[    2.314350] initcall microcode_init+0x0/0x200 returned 0 after 21278 usecs
[    2.319779] calling  hpet_insert_resource+0x0/0x23 @ 1
[    2.319781] initcall hpet_insert_resource+0x0/0x23 returned 0 after 0 usecs
[    2.319782] calling  update_mp_table+0x0/0x507 @ 1
[    2.319784] initcall update_mp_table+0x0/0x507 returned 0 after 0 usecs
[    2.319784] calling  lapic_insert_resource+0x0/0x3f @ 1
[    2.319786] initcall lapic_insert_resource+0x0/0x3f returned 0 after 0 usecs
[    2.319787] calling  print_ICs+0x0/0x18b @ 1
[    2.319788] initcall print_ICs+0x0/0x18b returned 0 after 0 usecs
[    2.319789] calling  pat_memtype_list_init+0x0/0x32 @ 1
[    2.319795] initcall pat_memtype_list_init+0x0/0x32 returned 0 after 5 usecs
[    2.319797] calling  create_tlb_single_page_flush_ceiling+0x0/0x29 @ 1
[    2.319801] initcall create_tlb_single_page_flush_ceiling+0x0/0x29 returned 0 after 3 usecs
[    2.319803] calling  init_oops_id+0x0/0x40 @ 1
[    2.319818] initcall init_oops_id+0x0/0x40 returned 0 after 13 usecs
[    2.319819] calling  sched_clock_init_late+0x0/0x7b @ 1
[    2.319820] sched_clock: Marking stable (2319776793, 0)->(2647862757, -328085964)
[    2.328007] initcall sched_clock_init_late+0x0/0x7b returned 0 after 7995 usecs
[    2.328008] calling  sched_init_debug+0x0/0x3e @ 1
[    2.328015] initcall sched_init_debug+0x0/0x3e returned 0 after 6 usecs
[    2.328016] calling  pm_qos_power_init+0x0/0xaf @ 1
[    2.328332] initcall pm_qos_power_init+0x0/0xaf returned 0 after 306 usecs
[    2.328333] calling  pm_debugfs_init+0x0/0x24 @ 1
[    2.328336] initcall pm_debugfs_init+0x0/0x24 returned 0 after 2 usecs
[    2.328337] calling  printk_late_init+0x0/0x122 @ 1
[    2.328339] initcall printk_late_init+0x0/0x122 returned 0 after 0 usecs
[    2.328340] calling  tk_debug_sleep_time_init+0x0/0x3c @ 1
[    2.328344] initcall tk_debug_sleep_time_init+0x0/0x3c returned 0 after 3 usecs
[    2.328345] calling  debugfs_kprobe_init+0x0/0xd2 @ 1
[    2.328357] initcall debugfs_kprobe_init+0x0/0xd2 returned 0 after 10 usecs
[    2.328358] calling  taskstats_init+0x0/0x37 @ 1
[    2.328372] registered taskstats version 1
[    2.332851] initcall taskstats_init+0x0/0x37 returned 0 after 4387 usecs
[    2.332853] calling  load_system_certificate_list+0x0/0xea @ 1
[    2.332853] Loading compiled-in X.509 certificates
[    2.338011] initcall load_system_certificate_list+0x0/0xea returned 0 after 5036 usecs
[    2.338012] calling  fault_around_debugfs+0x0/0x35 @ 1
[    2.338017] initcall fault_around_debugfs+0x0/0x35 returned 0 after 3 usecs
[    2.338019] calling  max_swapfiles_check+0x0/0x8 @ 1
[    2.338020] initcall max_swapfiles_check+0x0/0x8 returned 0 after 0 usecs
[    2.338021] calling  init_zswap+0x0/0x43a @ 1
[    2.338079] zswap: loaded using pool lzo/zbud
[    2.343175] initcall init_zswap+0x0/0x43a returned 0 after 5031 usecs
[    2.343176] calling  split_huge_pages_debugfs+0x0/0x35 @ 1
[    2.343180] initcall split_huge_pages_debugfs+0x0/0x35 returned 0 after 2 usecs
[    2.343181] calling  kmemleak_late_init+0x0/0x93 @ 1
[    2.343269] kmemleak: Kernel memory leak detector initialized
[    2.343270] kmemleak: Automatic memory scanning thread started
[    2.349390] initcall kmemleak_late_init+0x0/0x93 returned 0 after 6062 usecs
[    2.349392] calling  check_early_ioremap_leak+0x0/0x39 @ 1
[    2.355780] initcall check_early_ioremap_leak+0x0/0x39 returned 0 after 0 usecs
[    2.355781] calling  init_root_keyring+0x0/0xa @ 1
[    2.355894] initcall init_root_keyring+0x0/0xa returned 0 after 109 usecs
[    2.355895] calling  init_profile_hash+0x0/0x7f @ 1
[    2.355896] initcall init_profile_hash+0x0/0x7f returned 0 after 0 usecs
[    2.355897] calling  integrity_fs_init+0x0/0x3f @ 1
[    2.355903] initcall integrity_fs_init+0x0/0x3f returned 0 after 4 usecs
[    2.355904] calling  prandom_reseed+0x0/0x2a @ 1
[    2.356124] initcall prandom_reseed+0x0/0x2a returned 0 after 212 usecs
[    2.356125] calling  init_error_injection+0x0/0x6a @ 1
[    2.357249] initcall init_error_injection+0x0/0x6a returned 0 after 1096 usecs
[    2.357250] calling  pci_resource_alignment_sysfs_init+0x0/0x21 @ 1
[    2.357254] initcall pci_resource_alignment_sysfs_init+0x0/0x21 returned 0 after 2 usecs
[    2.357255] calling  pci_sysfs_init+0x0/0x50 @ 1
[    2.357763] initcall pci_sysfs_init+0x0/0x50 returned 0 after 495 usecs
[    2.357764] calling  bert_init+0x0/0x22b @ 1
[    2.357766] initcall bert_init+0x0/0x22b returned 0 after 0 usecs
[    2.357767] calling  clk_debug_init+0x0/0x116 @ 1
[    2.357790] initcall clk_debug_init+0x0/0x116 returned 0 after 20 usecs
[    2.357791] calling  boot_wait_for_devices+0x0/0x29 @ 1
[    2.357793] initcall boot_wait_for_devices+0x0/0x29 returned -19 after 0 usecs
[    2.357795] calling  deferred_probe_initcall+0x0/0x30 @ 1
[    2.357801] initcall deferred_probe_initcall+0x0/0x30 returned 0 after 4 usecs
[    2.357802] calling  genpd_debug_init+0x0/0x184 @ 1
[    2.357809] initcall genpd_debug_init+0x0/0x184 returned 0 after 6 usecs
[    2.357810] calling  genpd_power_off_unused+0x0/0x7e @ 1
[    2.357811] initcall genpd_power_off_unused+0x0/0x7e returned 0 after 0 usecs
[    2.357812] calling  rtc_hctosys+0x0/0x102 @ 1
[    2.358094] rtc_cmos 00:02: setting system clock to 2018-07-23 09:50:34 UTC (1532339434)
[    2.366524] initcall rtc_hctosys+0x0/0x102 returned 0 after 8506 usecs
[    2.366525] calling  centrino_init+0x0/0x28 @ 1
[    2.366526] initcall centrino_init+0x0/0x28 returned -19 after 0 usecs
[    2.366527] calling  cpufreq_p4_init+0x0/0x4b @ 1
[    2.366528] initcall cpufreq_p4_init+0x0/0x4b returned -19 after 0 usecs
[    2.366529] calling  firmware_memmap_init+0x0/0x33 @ 1
[    2.366823] initcall firmware_memmap_init+0x0/0x33 returned 0 after 285 usecs
[    2.366825] calling  register_update_efi_random_seed+0x0/0x20 @ 1
[    2.366826] initcall register_update_efi_random_seed+0x0/0x20 returned 0 after 0 usecs
[    2.366827] calling  efi_shutdown_init+0x0/0x3c @ 1
[    2.366828] initcall efi_shutdown_init+0x0/0x3c returned 0 after 0 usecs
[    2.366830] calling  pci_mmcfg_late_insert_resources+0x0/0x51 @ 1
[    2.366831] initcall pci_mmcfg_late_insert_resources+0x0/0x51 returned 0 after 0 usecs
[    2.366833] calling  tcp_congestion_default+0x0/0x18 @ 1
[    2.366834] initcall tcp_congestion_default+0x0/0x18 returned 0 after 0 usecs
[    2.366836] calling  software_resume+0x0/0x210 @ 1
[    2.366837] initcall software_resume+0x0/0x210 returned -2 after 0 usecs
[    2.366838] calling  tracing_set_default_clock+0x0/0x35 @ 1
[    2.366840] initcall tracing_set_default_clock+0x0/0x35 returned 0 after 0 usecs
[    2.366841] calling  clear_boot_tracer+0x0/0x26 @ 1
[    2.366842] initcall clear_boot_tracer+0x0/0x26 returned 0 after 0 usecs
[    2.366843] calling  fb_logo_late_init+0x0/0xf @ 1
[    2.366844] initcall fb_logo_late_init+0x0/0xf returned 0 after 0 usecs
[    2.366846] calling  clk_disable_unused+0x0/0x160 @ 1
[    2.366848] initcall clk_disable_unused+0x0/0x160 returned 0 after 0 usecs
[    2.366849] calling  regulator_init_complete+0x0/0x4d @ 1
[    2.366851] initcall regulator_init_complete+0x0/0x4d returned 0 after 1 usecs
[    2.631320] Freeing unused kernel memory: 1840K
[    2.652154] Write protecting the kernel read-only data: 16384k
[    2.659867] Freeing unused kernel memory: 2028K
[    2.666765] Freeing unused kernel memory: 852K
[    2.677489] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[    2.774909] calling  pt_gpio_driver_init+0x0/0x1000 [gpio_amdpt] @ 118
[    2.775309] initcall pt_gpio_driver_init+0x0/0x1000 [gpio_amdpt] returned 0 after 386 usecs
[    2.784415] calling  init_scsi+0x0/0x7a [scsi_mod] @ 122
[    2.784719] SCSI subsystem initialized
[    2.788936] initcall init_scsi+0x0/0x7a [scsi_mod] returned 0 after 4405 usecs
[    2.790254] calling  usb_init+0x0/0x141 [usbcore] @ 125
[    2.790272] ACPI: bus type USB registered
[    2.794900] calling  cryptd_init+0x0/0x1000 [cryptd] @ 126
[    2.794940] cryptd: max_cpu_qlen set to 1000
[    2.795387] usbcore: registered new interface driver usbfs
[    2.805508] initcall cryptd_init+0x0/0x1000 [cryptd] returned 0 after 10355 usecs
[    2.805643] usbcore: registered new interface driver hub
[    2.811784] usbcore: registered new device driver usb
[    2.817256] initcall usb_init+0x0/0x141 [usbcore] returned 0 after 21820 usecs
[    2.817561] calling  aes_init+0x0/0x1000 [aes_x86_64] @ 119
[    2.817891] calling  ata_init+0x0/0x316 [libata] @ 123
[    2.817989] initcall aes_init+0x0/0x1000 [aes_x86_64] returned 0 after 93 usecs
[    2.818074] libata version 3.00 loaded.
[    2.818081] initcall ata_init+0x0/0x316 [libata] returned 0 after 178 usecs
[    2.818592] calling  aesni_init+0x0/0x1e7 [aesni_intel] @ 126
[    2.818593] AVX2 version of gcm_enc/dec engaged.
[    2.823617] AES CTR mode by8 optimization enabled
[    2.830383] calling  xhci_hcd_init+0x0/0x1f [xhci_hcd] @ 125
[    2.830396] initcall xhci_hcd_init+0x0/0x1f [xhci_hcd] returned 0 after 7 usecs
[    2.830803] calling  xhci_pci_init+0x0/0x1000 [xhci_pci] @ 125
[    2.830929] calling  ahci_pci_driver_init+0x0/0x1000 [ahci] @ 122
[    2.830961] ahci 0000:15:00.1: version 3.0
[    2.831055] xhci_hcd 0000:15:00.0: xHCI Host Controller
[    2.831353] ahci 0000:15:00.1: SSS flag set, parallel bus scan disabled
[    2.836814] xhci_hcd 0000:15:00.0: new USB bus registered, assigned bus number 1
[    2.843745] ahci 0000:15:00.1: AHCI 0001.0301 32 slots 8 ports 6 Gbps 0x33 impl SATA mode
[    2.859923] ahci 0000:15:00.1: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part sxs deso sadm sds apst 
[    2.874648] scsi host0: ahci
[    2.879031] scsi host1: ahci
[    2.880871] initcall aesni_init+0x0/0x1e7 [aesni_intel] returned 0 after 48764 usecs
[    2.882784] calling  crc32c_intel_mod_init+0x0/0x1000 [crc32c_intel] @ 119
[    2.882976] scsi host2: ahci
[    2.886830] scsi host3: ahci
[    2.890634] initcall crc32c_intel_mod_init+0x0/0x1000 [crc32c_intel] returned 0 after 7663 usecs
[    2.890799] scsi host4: ahci
[    2.894683] scsi host5: ahci
[    2.898564] scsi host6: ahci
[    2.902383] scsi host7: ahci
[    2.906121] ata1: SATA max UDMA/133 abar m131072@0xfe880000 port 0xfe880100 irq 36
[    2.906984] xhci_hcd 0000:15:00.0: hcc params 0x0200ef81 hci version 0x110 quirks 0x0000000048000410
[    2.914083] ata2: SATA max UDMA/133 abar m131072@0xfe880000 port 0xfe880180 irq 36
[    2.914083] ata3: DUMMY
[    2.914084] ata4: DUMMY
[    2.914086] ata5: SATA max UDMA/133 abar m131072@0xfe880000 port 0xfe880300 irq 36
[    2.914088] ata6: SATA max UDMA/133 abar m131072@0xfe880000 port 0xfe880380 irq 36
[    2.924223] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.18
[    2.931435] ata7: DUMMY
[    2.931436] ata8: DUMMY
[    2.934280] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.937852] ahci 0000:39:00.0: AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl SATA mode
[    2.945067] usb usb1: Product: xHCI Host Controller
[    2.945068] usb usb1: Manufacturer: Linux 4.18.0-rc5+ xhci-hcd
[    2.945069] usb usb1: SerialNumber: 0000:15:00.0
[    2.953026] ahci 0000:39:00.0: flags: 64bit ncq sntf ilck led clo only pmp fbs pio 
[    2.962151] hub 1-0:1.0: USB hub found
[    2.965300] scsi host8: ahci
[    2.967351] hub 1-0:1.0: 10 ports detected
[    2.975510] ata9: SATA max UDMA/133 abar m2048@0xfe900000 port 0xfe900100 irq 39
[    2.986152] xhci_hcd 0000:15:00.0: xHCI Host Controller
[    2.988938] initcall ahci_pci_driver_init+0x0/0x1000 [ahci] returned 0 after 103659 usecs
[    2.995074] xhci_hcd 0000:15:00.0: new USB bus registered, assigned bus number 2
[    3.041134] xhci_hcd 0000:15:00.0: Host supports USB 3.10 Enhanced SuperSpeed
[    3.048920] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.057482] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.18
[    3.066130] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.068022] tsc: Refined TSC clocksource calibration: 3500.015 MHz
[    3.073743] usb usb2: Product: xHCI Host Controller
[    3.073745] usb usb2: Manufacturer: Linux 4.18.0-rc5+ xhci-hcd
[    3.080552] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x32735f25db7, max_idle_ns: 440795332443 ns
[    3.085865] usb usb2: SerialNumber: 0000:15:00.0
[    3.107600] clocksource: Switched to clocksource tsc
[    3.108105] hub 2-0:1.0: USB hub found
[    3.117237] hub 2-0:1.0: 4 ports detected
[    3.122536] xhci_hcd 0000:38:00.3: xHCI Host Controller
[    3.128197] xhci_hcd 0000:38:00.3: new USB bus registered, assigned bus number 3
[    3.136271] xhci_hcd 0000:38:00.3: hcc params 0x0270ffe5 hci version 0x110 quirks 0x0000000040000410
[    3.146664] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.18
[    3.155343] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.163009] usb usb3: Product: xHCI Host Controller
[    3.168356] usb usb3: Manufacturer: Linux 4.18.0-rc5+ xhci-hcd
[    3.174656] usb usb3: SerialNumber: 0000:38:00.3
[    3.180109] hub 3-0:1.0: USB hub found
[    3.184386] hub 3-0:1.0: 4 ports detected
[    3.189624] xhci_hcd 0000:38:00.3: xHCI Host Controller
[    3.195310] xhci_hcd 0000:38:00.3: new USB bus registered, assigned bus number 4
[    3.203135] xhci_hcd 0000:38:00.3: Host supports USB 3.10 Enhanced SuperSpeed
[    3.210760] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.219356] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.18
[    3.228070] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.235731] usb usb4: Product: xHCI Host Controller
[    3.241081] usb usb4: Manufacturer: Linux 4.18.0-rc5+ xhci-hcd
[    3.247383] usb usb4: SerialNumber: 0000:38:00.3
[    3.250195] ata1: SATA link down (SStatus 0 SControl 300)
[    3.253049] hub 4-0:1.0: USB hub found
[    3.263050] hub 4-0:1.0: 4 ports detected
[    3.268456] xhci_hcd 0000:38:00.4: xHCI Host Controller
[    3.274154] xhci_hcd 0000:38:00.4: new USB bus registered, assigned bus number 5
[    3.282200] xhci_hcd 0000:38:00.4: hcc params 0x0260ffe5 hci version 0x110 quirks 0x0000000040000410
[    3.292699] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.18
[    3.301405] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.309071] usb usb5: Product: xHCI Host Controller
[    3.314413] usb usb5: Manufacturer: Linux 4.18.0-rc5+ xhci-hcd
[    3.320730] usb usb5: SerialNumber: 0000:38:00.4
[    3.325830] usb 1-10: new low-speed USB device number 2 using xhci_hcd
[    3.332866] hub 5-0:1.0: USB hub found
[    3.337356] hub 5-0:1.0: 1 port detected
[    3.342309] xhci_hcd 0000:38:00.4: xHCI Host Controller
[    3.347999] xhci_hcd 0000:38:00.4: new USB bus registered, assigned bus number 6
[    3.355811] xhci_hcd 0000:38:00.4: Host supports USB 3.10 Enhanced SuperSpeed
[    3.363436] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.372013] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.18
[    3.380709] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.388347] usb usb6: Product: xHCI Host Controller
[    3.393672] usb usb6: Manufacturer: Linux 4.18.0-rc5+ xhci-hcd
[    3.399931] usb usb6: SerialNumber: 0000:38:00.4
[    3.405366] hub 6-0:1.0: USB hub found
[    3.409592] hub 6-0:1.0: 1 port detected
[    3.414306] initcall xhci_pci_init+0x0/0x1000 [xhci_pci] returned 0 after 519061 usecs
[    3.468039] ata9: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    3.475655] ata9.00: supports DRM functions and may not be fully accessible
[    3.483104] ata9.00: ATA-10: CT1000MX500SSD4, M3CR020, max UDMA/133
[    3.489804] ata9.00: 1953525168 sectors, multi 1: LBA48 NCQ (depth 32), AA
[    3.497783] ata9.00: supports DRM functions and may not be fully accessible
[    3.505725] ata9.00: configured for UDMA/133
[    3.570456] ata2: SATA link down (SStatus 0 SControl 300)
[    3.612142] usb 4-2: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[    3.628644] usb 1-10: New USB device found, idVendor=413c, idProduct=2105, bcdDevice= 3.52
[    3.637413] usb 1-10: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.645071] usb 1-10: Product: Dell USB Keyboard
[    3.650145] usb 1-10: Manufacturer: Dell
[    3.655217] usb 4-2: New USB device found, idVendor=0781, idProduct=558b, bcdDevice= 1.00
[    3.663803] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.671372] usb 4-2: Product: Extreme
[    3.675503] usb 4-2: Manufacturer: SanDisk
[    3.676452] usb 5-1: new low-speed USB device number 2 using xhci_hcd
[    3.680043] usb 4-2: SerialNumber: 4C530001051117121354
[    3.715439] calling  hid_init+0x0/0x5d [hid] @ 126
[    3.715504] hidraw: raw HID events driver (C) Jiri Kosina
[    3.721498] initcall hid_init+0x0/0x5d [hid] returned 0 after 5913 usecs
[    3.722248] calling  hid_init+0x0/0x1000 [usbhid] @ 126
[    3.751827] usbcore: registered new interface driver usbhid
[    3.758370] usbhid: USB HID core driver
[    3.762724] initcall hid_init+0x0/0x1000 [usbhid] returned 0 after 39523 usecs
[    3.764109] calling  hid_generic_init+0x0/0x1000 [hid_generic] @ 126
[    3.764383] input: Dell Dell USB Keyboard as /devices/pci0000:00/0000:00:01.2/0000:15:00.0/usb1/1-10/1-10:1.0/0003:413C:2105.0001/input/input0
[    3.836422] hid-generic 0003:413C:2105.0001: input,hidraw0: USB HID v1.10 Keyboard [Dell Dell USB Keyboard] on usb-0000:15:00.0-10/input0
[    3.850680] initcall hid_generic_init+0x0/0x1000 [hid_generic] returned 0 after 84539 usecs
[    3.852107] calling  evdev_init+0x0/0x1000 [evdev] @ 126
[    3.852207] initcall evdev_init+0x0/0x1000 [evdev] returned 0 after 94 usecs
[    3.860564] usb 5-1: New USB device found, idVendor=413c, idProduct=3012, bcdDevice=43.01
[    3.870047] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.877676] usb 5-1: Product: Dell USB Optical Mouse
[    3.883148] usb 5-1: Manufacturer: Dell
[    3.888313] ata5: SATA link down (SStatus 0 SControl 300)
[    3.905953] input: Dell Dell USB Optical Mouse as /devices/pci0000:00/0000:00:08.1/0000:38:00.4/usb5/5-1/5-1:1.0/0003:413C:3012.0002/input/input1
[    3.920640] hid-generic 0003:413C:3012.0002: input,hidraw1: USB HID v1.11 Mouse [Dell Dell USB Optical Mouse] on usb-0000:38:00.4-1/input0
[    4.207811] ata6: SATA link down (SStatus 0 SControl 300)
[    4.216382] scsi 8:0:0:0: Direct-Access     ATA      CT1000MX500SSD4  020  PQ: 0 ANSI: 5
[    4.228672] calling  init_sd+0x0/0x1000 [sd_mod] @ 119
[    4.229137] sd 8:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[    4.229172] initcall init_sd+0x0/0x1000 [sd_mod] returned 0 after 484 usecs
[    4.237360] sd 8:0:0:0: [sda] 4096-byte physical blocks
[    4.243149] sd 8:0:0:0: [sda] Write Protect is off
[    4.248509] sd 8:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    4.248516] sd 8:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.259482]  sda: sda1 sda2 sda3
[    4.264783] sd 8:0:0:0: [sda] supports TCG Opal
[    4.269897] sd 8:0:0:0: [sda] Attached SCSI disk
[    4.325282] calling  dm_init+0x0/0x4d [dm_mod] @ 212
[    4.325518] device-mapper: uevent: version 1.0.3
[    4.331202] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: dm-devel@redhat.com
[    4.340192] initcall dm_init+0x0/0x4d [dm_mod] returned 0 after 14551 usecs
[    4.340872] calling  dm_crypt_init+0x0/0x1000 [dm_crypt] @ 212
[    4.340874] initcall dm_crypt_init+0x0/0x1000 [dm_crypt] returned 0 after 0 usecs
[   18.026651] random: crng init done
[   23.772506] calling  fscrypt_init+0x0/0x1000 [fscrypto] @ 284
[   23.772881] initcall fscrypt_init+0x0/0x1000 [fscrypto] returned 0 after 362 usecs
[   23.775207] calling  journal_init+0x0/0x556 [jbd2] @ 284
[   23.775557] initcall journal_init+0x0/0x556 [jbd2] returned 0 after 335 usecs
[   23.775950] calling  mbcache_init+0x0/0x1000 [mbcache] @ 284
[   23.776130] initcall mbcache_init+0x0/0x1000 [mbcache] returned 0 after 173 usecs
[   23.776600] calling  crc32c_mod_init+0x0/0x1000 [crc32c_generic] @ 284
[   23.776769] initcall crc32c_mod_init+0x0/0x1000 [crc32c_generic] returned 0 after 162 usecs
[   23.786046] calling  ext4_init_fs+0x0/0x190 [ext4] @ 284
[   23.786693] initcall ext4_init_fs+0x0/0x190 [ext4] returned 0 after 619 usecs
[   25.021439] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null)
[   25.152998] calling  init_autofs_fs+0x0/0x26 [autofs4] @ 1
[   25.153084] initcall init_autofs_fs+0x0/0x26 [autofs4] returned 0 after 80 usecs
[   25.157584] calling  xt_init+0x0/0x1000 [x_tables] @ 1
[   25.157590] initcall xt_init+0x0/0x1000 [x_tables] returned 0 after 2 usecs
[   25.159307] calling  ip_tables_init+0x0/0x1000 [ip_tables] @ 1
[   25.159320] initcall ip_tables_init+0x0/0x1000 [ip_tables] returned 0 after 10 usecs
[   25.174175] calling  efivarfs_init+0x0/0x1000 [efivarfs] @ 320
[   25.174180] initcall efivarfs_init+0x0/0x1000 [efivarfs] returned 0 after 1 usecs
[   25.278552] systemd[1]: systemd 239 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)
[   25.320132] systemd[1]: Detected architecture x86-64.
[   25.333082] systemd[1]: Set hostname to <tokeiihto>.
[   25.437632] systemd[1]: Listening on udev Control Socket.
[   25.444512] systemd[1]: Listening on LVM2 poll daemon socket.
[   25.451549] systemd[1]: Reached target Remote File Systems.
[   25.458489] systemd[1]: Listening on Syslog Socket.
[   25.466429] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[   25.474053] systemd[1]: Listening on Journal Audit Socket.
[   25.480829] systemd[1]: Listening on fsck to fsckd communication Socket.
[   25.532865] EXT4-fs (dm-0): re-mounted. Opts: errors=remount-ro
[   25.672981] systemd-journald[333]: Received request to flush runtime journal from PID 1
[   25.682159] calling  acpi_cpufreq_init+0x0/0x1000 [acpi_cpufreq] @ 356
[   25.682389] initcall acpi_cpufreq_init+0x0/0x1000 [acpi_cpufreq] returned -19 after 221 usecs
[   25.685799] calling  pcc_cpufreq_init+0x0/0xe89 [pcc_cpufreq] @ 353
[   25.685824] initcall pcc_cpufreq_init+0x0/0xe89 [pcc_cpufreq] returned -19 after 21 usecs
[   25.687862] calling  acpi_button_driver_init+0x0/0x1000 [button] @ 368
[   25.688311] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2
[   25.697982] ACPI: Power Button [PWRB]
[   25.702614] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
[   25.711084] ACPI: Power Button [PWRF]
[   25.715541] initcall acpi_button_driver_init+0x0/0x1000 [button] returned 0 after 27025 usecs
[   25.740511] calling  acpi_cpufreq_init+0x0/0x1000 [acpi_cpufreq] @ 364
[   25.740523] calling  pcc_cpufreq_init+0x0/0xe89 [pcc_cpufreq] @ 362
[   25.740555] initcall pcc_cpufreq_init+0x0/0xe89 [pcc_cpufreq] returned -19 after 28 usecs
[   25.740745] initcall acpi_cpufreq_init+0x0/0x1000 [acpi_cpufreq] returned -19 after 214 usecs
[   25.755506] calling  acpi_video_init+0x0/0x1000 [video] @ 368
[   25.755642] initcall acpi_video_init+0x0/0x1000 [video] returned 0 after 129 usecs
[   25.794404] calling  fjes_init_module+0x0/0xd1 [fjes] @ 359
[   25.794566] initcall fjes_init_module+0x0/0xd1 [fjes] returned -19 after 153 usecs
[   25.804590] calling  k10temp_driver_init+0x0/0x1000 [k10temp] @ 366
[   25.804786] initcall k10temp_driver_init+0x0/0x1000 [k10temp] returned 0 after 188 usecs
[   25.829250] calling  init_soundcore+0x0/0x1000 [soundcore] @ 353
[   25.829274] initcall init_soundcore+0x0/0x1000 [soundcore] returned 0 after 21 usecs
[   25.829436] calling  piix4_driver_init+0x0/0x1000 [i2c_piix4] @ 368
[   25.829515] piix4_smbus 0000:00:14.0: SMBus Host Controller at 0xb00, revision 0
[   25.837691] piix4_smbus 0000:00:14.0: Using register 0x02 for SMBus port selection
[   25.848650] initcall piix4_driver_init+0x0/0x1000 [i2c_piix4] returned 0 after 18759 usecs
[   25.852655] calling  init_module+0x0/0x2f [efivars] @ 363
[   25.852657] EFI Variables Facility v0.08 2004-May-17
[   25.864932] calling  alsa_sound_init+0x0/0x82 [snd] @ 357
[   25.865164] initcall alsa_sound_init+0x0/0x82 [snd] returned 0 after 221 usecs
[   25.876875] calling  init_sg+0x0/0x1000 [sg] @ 365
[   25.877265] calling  alsa_timer_init+0x0/0x1000 [snd_timer] @ 353
[   25.877374] calling  pcspkr_platform_driver_init+0x0/0x1000 [pcspkr] @ 364
[   25.877434] initcall alsa_timer_init+0x0/0x1000 [snd_timer] returned 0 after 55 usecs
[   25.877664] input: PC Speaker as /devices/platform/pcspkr/input/input4
[   25.877985] sd 8:0:0:0: Attached scsi generic sg0 type 0
[   25.878443] calling  drm_core_init+0x0/0xcd [drm] @ 354
[   25.878491] initcall drm_core_init+0x0/0xcd [drm] returned 0 after 36 usecs
[   25.890144] initcall pcspkr_platform_driver_init+0x0/0x1000 [pcspkr] returned 0 after 11423 usecs
[   25.890974] initcall init_sg+0x0/0x1000 [sg] returned 0 after 12232 usecs
[   25.893998] calling  ghash_pclmulqdqni_mod_init+0x0/0x1000 [ghash_clmulni_intel] @ 359
[   25.897689] initcall ghash_pclmulqdqni_mod_init+0x0/0x1000 [ghash_clmulni_intel] returned 0 after 3600 usecs
[   25.898015] calling  sp5100_tco_init+0x0/0x1000 [sp5100_tco] @ 368
[   25.898020] sp5100_tco: SP5100/SB800 TCO WatchDog Timer Driver
[   25.904926] sp5100-tco sp5100-tco: Using 0xfed80b00 for watchdog MMIO address
[   25.913056] sp5100-tco sp5100-tco: Watchdog hardware is disabled
[   25.923731] calling  ttm_init+0x0/0x1000 [ttm] @ 354
[   25.923739] calling  alsa_pcm_init+0x0/0x1000 [snd_pcm] @ 357
[   25.923911] initcall alsa_pcm_init+0x0/0x1000 [snd_pcm] returned 0 after 15 usecs
[   25.925411] calling  usb_storage_driver_init+0x0/0x1000 [usb_storage] @ 358
[   25.925621] usb-storage 4-2:1.0: USB Mass Storage device detected
[   25.936025] initcall sp5100_tco_init+0x0/0x1000 [sp5100_tco] returned 0 after 10362 usecs
[   25.936537] initcall ttm_init+0x0/0x1000 [ttm] returned 0 after 10858 usecs
[   25.940347] calling  crc32_pclmul_mod_init+0x0/0x1000 [crc32_pclmul] @ 359
[   25.941057] scsi host9: usb-storage 4-2:1.0
[   25.941449] calling  rtl8169_pci_driver_init+0x0/0x1000 [r8169] @ 360
[   25.941453] calling  alsa_hwdep_init+0x0/0x1000 [snd_hwdep] @ 353
[   25.941469] initcall alsa_hwdep_init+0x0/0x1000 [snd_hwdep] returned 0 after 13 usecs
[   25.950186] initcall crc32_pclmul_mod_init+0x0/0x1000 [crc32_pclmul] returned 0 after 636 usecs
[   25.954619] calling  pcsp_init+0x0/0x1000 [snd_pcsp] @ 364
[   25.954623] Error: Driver 'pcspkr' is already registered, aborting...
[   25.955376] calling  crct10dif_intel_mod_init+0x0/0x1000 [crct10dif_pclmul] @ 366
[   25.960176] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[   25.961619] initcall init_module+0x0/0x2f [efivars] returned 0 after 6832 usecs
[   25.963644] initcall pcsp_init+0x0/0x1000 [snd_pcsp] returned -16 after 8810 usecs
[   25.971055] calling  hda_bus_init+0x0/0x11 [snd_hda_core] @ 357
[   25.971073] calling  efivars_pstore_init+0x0/0x1000 [efi_pstore] @ 363
[   25.971089] initcall hda_bus_init+0x0/0x11 [snd_hda_core] returned 0 after 11 usecs
[   25.971328] pstore: no decompression buffer allocated
[   25.971951] usbcore: registered new interface driver usb-storage
[   25.973689] r8169 0000:18:00.0 eth0: RTL8168h/8111h, 30:9c:23:04:d6:98, XID 54100800, IRQ 52
[   25.973691] r8169 0000:18:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[   25.973752] initcall rtl8169_pci_driver_init+0x0/0x1000 [r8169] returned 0 after 2612 usecs
[   25.977435] pstore: no decompression buffer allocated
[   25.984277] initcall usb_storage_driver_init+0x0/0x1000 [usb_storage] returned 0 after 12887 usecs
[   25.984296] initcall crct10dif_intel_mod_init+0x0/0x1000 [crct10dif_pclmul] returned 0 after 12910 usecs
[   25.993916] pstore: no decompression buffer allocated
[   26.015592] pstore: no decompression buffer allocated
[   26.021776] pstore: no decompression buffer allocated
[   26.027800] pstore: no decompression buffer allocated
[   26.033945] pstore: no decompression buffer allocated
[   26.040069] pstore: no decompression buffer allocated
[   26.046206] pstore: no decompression buffer allocated
[   26.052266] pstore: no decompression buffer allocated
[   26.052510] pstore: no decompression buffer allocated
[   26.064487] pstore: no decompression buffer allocated
[   26.064730] pstore: no decompression buffer allocated
[   26.064978] pstore: no decompression buffer allocated
[   26.065231] pstore: no decompression buffer allocated
[   26.065478] pstore: no decompression buffer allocated
[   26.065725] pstore: no decompression buffer allocated
[   26.065968] pstore: no decompression buffer allocated
[   26.066212] pstore: no decompression buffer allocated
[   26.112278] pstore: no decompression buffer allocated
[   26.118262] pstore: no decompression buffer allocated
[   26.124436] pstore: no decompression buffer allocated
[   26.130495] pstore: no decompression buffer allocated
[   26.136494] pstore: no decompression buffer allocated
[   26.136712] pstore: no decompression buffer allocated
[   26.136932] pstore: no decompression buffer allocated
[   26.137158] pstore: no decompression buffer allocated
[   26.137371] pstore: no decompression buffer allocated
[   26.137604] pstore: no decompression buffer allocated
[   26.137827] pstore: no decompression buffer allocated
[   26.138048] pstore: no decompression buffer allocated
[   26.138269] pstore: no decompression buffer allocated
[   26.138513] pstore: no decompression buffer allocated
[   26.138728] pstore: no decompression buffer allocated
[   26.138966] pstore: no decompression buffer allocated
[   26.206716] pstore: no decompression buffer allocated
[   26.212721] pstore: no decompression buffer allocated
[   26.218524] pstore: no decompression buffer allocated
[   26.224543] pstore: no decompression buffer allocated
[   26.229206] r8169 0000:18:00.0 enp24s0: renamed from eth0
[   26.231153] pstore: no decompression buffer allocated
[   26.241988] pstore: no decompression buffer allocated
[   26.242240] pstore: no decompression buffer allocated
[   26.253892] calling  uas_driver_init+0x0/0x1000 [uas] @ 358
[   26.253945] usbcore: registered new interface driver uas
[   26.254322] pstore: no decompression buffer allocated
[   26.260154] initcall uas_driver_init+0x0/0x1000 [uas] returned 0 after 6107 usecs
[   26.266657] pstore: no decompression buffer allocated
[   26.274685] pstore: no decompression buffer allocated
[   26.280906] pstore: no decompression buffer allocated
[   26.281269] pstore: no decompression buffer allocated
[   26.281489] pstore: no decompression buffer allocated
[   26.293826] calling  drm_kms_helper_init+0x0/0x14 [drm_kms_helper] @ 354
[   26.293921] EXT4-fs (sda2): recovery complete
[   26.295352] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[   26.298452] pstore: no decompression buffer allocated
[   26.303988] initcall drm_kms_helper_init+0x0/0x14 [drm_kms_helper] returned 0 after 737 usecs
[   26.311773] pstore: no decompression buffer allocated
[   26.323113] pstore: no decompression buffer allocated
[   26.323320] pstore: no decompression buffer allocated
[   26.323430] calling  hwrng_modinit+0x0/0x1000 [rng_core] @ 369
[   26.323588] initcall hwrng_modinit+0x0/0x1000 [rng_core] returned 0 after 150 usecs
[   26.323750] calling  azx_driver_init+0x0/0xfd8 [snd_hda_intel] @ 353
[   26.324103] snd_hda_intel 0000:38:00.1: Handle vga_switcheroo audio client
[   26.324668] initcall azx_driver_init+0x0/0xfd8 [snd_hda_intel] returned 0 after 892 usecs
[   26.341991] pstore: no decompression buffer allocated
[   26.342238] pstore: no decompression buffer allocated
[   26.342504] pstore: no decompression buffer allocated
[   26.342740] pstore: no decompression buffer allocated
[   26.342998] pstore: no decompression buffer allocated
[   26.343244] pstore: no decompression buffer allocated
[   26.343508] pstore: no decompression buffer allocated
[   26.382388] calling  hdmi_driver_init+0x0/0x1000 [snd_hda_codec_hdmi] @ 402
[   26.382870] calling  drm_sched_fence_slab_init+0x0/0xec9 [gpu_sched] @ 354
[   26.382884] initcall drm_sched_fence_slab_init+0x0/0xec9 [gpu_sched] returned 0 after 10 usecs
[   26.387374] initcall hdmi_driver_init+0x0/0x1000 [snd_hda_codec_hdmi] returned 0 after 4393 usecs
[   26.388608] calling  sp_mod_init+0x0/0x1000 [ccp] @ 369
[   26.389169] initcall sp_mod_init+0x0/0x1000 [ccp] returned 0 after 542 usecs
[   26.389714] pstore: no decompression buffer allocated
[   26.390795] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:38:00.1/sound/card0/input5
[   26.396020] pstore: no decompression buffer allocated
[   26.409391] input: HD-Audio Generic HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:08.1/0000:38:00.1/sound/card0/input6
[   26.412868] pstore: no decompression buffer allocated
[   26.424546] input: HD-Audio Generic HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:08.1/0000:38:00.1/sound/card0/input7
[   26.430553] pstore: no decompression buffer allocated
[   26.442076] input: HD-Audio Generic HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:08.1/0000:38:00.1/sound/card0/input8
[   26.447793] pstore: no decompression buffer allocated
[   26.448397] calling  generic_driver_init+0x0/0x1000 [snd_hda_codec_generic] @ 358
[   26.448438] initcall generic_driver_init+0x0/0x1000 [snd_hda_codec_generic] returned 0 after 36 usecs
[   26.459461] input: HD-Audio Generic HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:08.1/0000:38:00.1/sound/card0/input9
[   26.465156] pstore: no decompression buffer allocated
[   26.476864] input: HD-Audio Generic HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:08.1/0000:38:00.1/sound/card0/input10
[   26.482747] pstore: no decompression buffer allocated
[   26.500483] pstore: no decompression buffer allocated
[   26.500698] pstore: no decompression buffer allocated
[   26.512385] pstore: no decompression buffer allocated
[   26.512600] pstore: no decompression buffer allocated
[   26.524328] pstore: no decompression buffer allocated
[   26.524562] pstore: no decompression buffer allocated
[   26.524872] calling  realtek_driver_init+0x0/0x1000 [snd_hda_codec_realtek] @ 358
[   26.525214] calling  svm_init+0x0/0xb9a [kvm_amd] @ 362
[   26.526023] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC892: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
[   26.526025] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   26.526027] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[   26.526028] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[   26.526029] snd_hda_codec_realtek hdaudioC1D0:    dig-out=0x1e/0x0
[   26.526030] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[   26.526032] snd_hda_codec_realtek hdaudioC1D0:      Front Mic=0x19
[   26.526033] snd_hda_codec_realtek hdaudioC1D0:      Rear Mic=0x18
[   26.526035] snd_hda_codec_realtek hdaudioC1D0:      Line=0x1a
[   26.545033] initcall realtek_driver_init+0x0/0x1000 [snd_hda_codec_realtek] returned 0 after 19346 usecs
[   26.547789] pstore: no decompression buffer allocated
[   26.547996] kvm: Nested Virtualization enabled
[   26.548043] kvm: Nested Paging enabled
[   26.548044] SVM: Virtual VMLOAD VMSAVE supported
[   26.548044] SVM: Virtual GIF supported
[   26.565402] initcall svm_init+0x0/0xb9a [kvm_amd] returned 0 after 39240 usecs
[   26.566100] input: HD-Audio Generic Front Mic as /devices/pci0000:00/0000:00:08.1/0000:38:00.6/sound/card1/input11
[   26.566284] input: HD-Audio Generic Rear Mic as /devices/pci0000:00/0000:00:08.1/0000:38:00.6/sound/card1/input12
[   26.566453] input: HD-Audio Generic Line as /devices/pci0000:00/0000:00:08.1/0000:38:00.6/sound/card1/input13
[   26.566625] input: HD-Audio Generic Line Out Front as /devices/pci0000:00/0000:00:08.1/0000:38:00.6/sound/card1/input14
[   26.566796] input: HD-Audio Generic Line Out Surround as /devices/pci0000:00/0000:00:08.1/0000:38:00.6/sound/card1/input15
[   26.566975] input: HD-Audio Generic Line Out CLFE as /devices/pci0000:00/0000:00:08.1/0000:38:00.6/sound/card1/input16
[   26.567146] input: HD-Audio Generic Front Headphone as /devices/pci0000:00/0000:00:08.1/0000:38:00.6/sound/card1/input17
[   26.572423] pstore: no decompression buffer allocated
[   26.675915] calling  mce_amd_init+0x0/0x1000 [edac_mce_amd] @ 359
[   26.689135] pstore: no decompression buffer allocated
[   26.700557] MCE: In-kernel MCE decoding enabled.
[   26.712441] pstore: no decompression buffer allocated
[   26.719813] initcall mce_amd_init+0x0/0x1000 [edac_mce_amd] returned 0 after 19266 usecs
[   26.724733] pstore: no decompression buffer allocated
[   26.742556] pstore: no decompression buffer allocated
[   26.742808] pstore: no decompression buffer allocated
[   26.743032] pstore: no decompression buffer allocated
[   26.743271] pstore: no decompression buffer allocated
[   26.743506] pstore: no decompression buffer allocated
[   26.743741] pstore: no decompression buffer allocated
[   26.743972] pstore: no decompression buffer allocated
[   26.744213] pstore: no decompression buffer allocated
[   26.744443] pstore: no decompression buffer allocated
[   26.744677] pstore: no decompression buffer allocated
[   26.744924] pstore: no decompression buffer allocated
[   26.786854] calling  amd64_edac_init+0x0/0x2000 [amd64_edac_mod] @ 369
[   26.787060] calling  amdgpu_init+0x0/0x86 [amdgpu] @ 354
[   26.787100] [drm:amdgpu_init [amdgpu]] *ERROR* VGACON disables amdgpu kernel modesetting.
[   26.787138] initcall amdgpu_init+0x0/0x86 [amdgpu] returned -22 after 38 usecs
[   26.793617] pstore: no decompression buffer allocated
[   26.798385] EDAC amd64: Node 0: DRAM ECC disabled.
[   26.804351] pstore: no decompression buffer allocated
[   26.810124] EDAC amd64: ECC disabled in the BIOS or no ECC capability, module will not load.
                Either enable ECC checking or force module loading by setting 'ecc_enable_override'.
                (Note that use of the override may cause unknown side effects.)
[   26.810268] initcall amd64_edac_init+0x0/0x2000 [amd64_edac_mod] returned -19 after 11675 usecs
[   26.820280] pstore: no decompression buffer allocated
[   26.870971] pstore: no decompression buffer allocated
[   26.877114] pstore: no decompression buffer allocated
[   26.883190] pstore: no decompression buffer allocated
[   26.883432] pstore: no decompression buffer allocated
[   26.895422] pstore: no decompression buffer allocated
[   26.895678] pstore: no decompression buffer allocated
[   26.895928] pstore: no decompression buffer allocated
[   26.896186] pstore: no decompression buffer allocated
[   26.896445] pstore: no decompression buffer allocated
[   26.896661] pstore: no decompression buffer allocated
[   26.896904] pstore: no decompression buffer allocated
[   26.897150] pstore: no decompression buffer allocated
[   26.897400] pstore: no decompression buffer allocated
[   26.897638] pstore: no decompression buffer allocated
[   26.897906] pstore: no decompression buffer allocated
[   26.961713] pstore: no decompression buffer allocated
[   26.967781] pstore: no decompression buffer allocated
[   26.968013] pstore: no decompression buffer allocated
[   26.975173] scsi 9:0:0:0: Direct-Access     SanDisk  Extreme          1.00 PQ: 0 ANSI: 6
[   26.980019] pstore: no decompression buffer allocated
[   26.994570] pstore: no decompression buffer allocated
[   26.994778] pstore: no decompression buffer allocated
[   26.994979] pstore: no decompression buffer allocated
[   26.995190] pstore: no decompression buffer allocated
[   26.995393] pstore: no decompression buffer allocated
[   26.995592] pstore: no decompression buffer allocated
[   26.995598] calling  amd64_edac_init+0x0/0x2000 [amd64_edac_mod] @ 362
[   26.995794] pstore: no decompression buffer allocated
[   26.995807] EDAC amd64: Node 0: DRAM ECC disabled.
[   26.995810] EDAC amd64: ECC disabled in the BIOS or no ECC capability, module will not load.
                Either enable ECC checking or force module loading by setting 'ecc_enable_override'.
                (Note that use of the override may cause unknown side effects.)
[   26.995824] initcall amd64_edac_init+0x0/0x2000 [amd64_edac_mod] returned -19 after 217 usecs
[   26.996020] pstore: no decompression buffer allocated
[   26.996257] pstore: no decompression buffer allocated
[   26.996494] pstore: no decompression buffer allocated
[   26.996718] pstore: no decompression buffer allocated
[   26.996942] pstore: no decompression buffer allocated
[   26.997172] pstore: no decompression buffer allocated
[   26.997408] pstore: no decompression buffer allocated
[   26.997641] pstore: no decompression buffer allocated
[   26.997875] pstore: no decompression buffer allocated
[   26.998087] pstore: no decompression buffer allocated
[   26.998323] pstore: no decompression buffer allocated
[   26.998559] pstore: no decompression buffer allocated
[   26.998793] pstore: no decompression buffer allocated
[   26.999029] pstore: no decompression buffer allocated
[   26.999231] pstore: no decompression buffer allocated
[   26.999513] pstore: no decompression buffer allocated
[   26.999748] pstore: no decompression buffer allocated
[   26.999978] pstore: no decompression buffer allocated
[   27.000212] pstore: no decompression buffer allocated
[   27.000454] pstore: no decompression buffer allocated
[   27.000686] pstore: no decompression buffer allocated
[   27.000920] pstore: no decompression buffer allocated
[   27.001122] pstore: no decompression buffer allocated
[   27.001403] pstore: no decompression buffer allocated
[   27.001635] pstore: no decompression buffer allocated
[   27.001862] pstore: no decompression buffer allocated
[   27.002097] pstore: no decompression buffer allocated
[   27.002328] pstore: no decompression buffer allocated
[   27.002539] pstore: no decompression buffer allocated
[   27.002815] pstore: no decompression buffer allocated
[   27.003046] pstore: no decompression buffer allocated
[   27.003285] pstore: no decompression buffer allocated
[   27.003515] pstore: no decompression buffer allocated
[   27.003715] pstore: no decompression buffer allocated
[   27.003992] pstore: no decompression buffer allocated
[   27.004226] pstore: no decompression buffer allocated
[   27.004459] pstore: no decompression buffer allocated
[   27.004473] pstore: Registered efi as persistent store backend
[   27.004477] initcall efivars_pstore_init+0x0/0x1000 [efi_pstore] returned 0 after 8666 usecs
[   27.074407] calling  acpi_cpufreq_init+0x0/0x1000 [acpi_cpufreq] @ 369
[   27.290398] initcall acpi_cpufreq_init+0x0/0x1000 [acpi_cpufreq] returned -19 after 216 usecs
[   27.313279] sd 9:0:0:0: [sdb] 122552320 512-byte logical blocks: (62.7 GB/58.4 GiB)
[   27.313483] sd 9:0:0:0: Attached scsi generic sg1 type 0
[   27.324647] sd 9:0:0:0: [sdb] Write Protect is off
[   27.332950] sd 9:0:0:0: [sdb] Mode Sense: 43 00 00 00
[   27.333734] sd 9:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   27.346925]  sdb: sdb1 sdb2 sdb3
[   27.352377] calling  init_fat_fs+0x0/0xfcb [fat] @ 420
[   27.352497] calling  amd64_edac_init+0x0/0x2000 [amd64_edac_mod] @ 359
[   27.352546] EDAC amd64: Node 0: DRAM ECC disabled.
[   27.352853] initcall init_fat_fs+0x0/0xfcb [fat] returned 0 after 342 usecs
[   27.357870] EDAC amd64: ECC disabled in the BIOS or no ECC capability, module will not load.
                Either enable ECC checking or force module loading by setting 'ecc_enable_override'.
                (Note that use of the override may cause unknown side effects.)
[   27.358423] initcall amd64_edac_init+0x0/0x2000 [amd64_edac_mod] returned -19 after 5784 usecs
[   27.385368] calling  acpi_cpufreq_init+0x0/0x1000 [acpi_cpufreq] @ 362
[   27.385602] initcall acpi_cpufreq_init+0x0/0x1000 [acpi_cpufreq] returned -19 after 225 usecs
[   27.386094] calling  init_vfat_fs+0x0/0x1000 [vfat] @ 420
[   27.386098] initcall init_vfat_fs+0x0/0x1000 [vfat] returned 0 after 2 usecs
[   27.389183] sd 9:0:0:0: [sdb] Attached SCSI removable disk
[   27.389250] calling  init_nls_cp437+0x0/0x1000 [nls_cp437] @ 421
[   27.395398] initcall init_nls_cp437+0x0/0x1000 [nls_cp437] returned 0 after 0 usecs
[   27.396867] calling  init_nls_ascii+0x0/0x1000 [nls_ascii] @ 422
[   27.396869] initcall init_nls_ascii+0x0/0x1000 [nls_ascii] returned 0 after 0 usecs
[   27.456665] calling  acpi_cpufreq_init+0x0/0x1000 [acpi_cpufreq] @ 359
[   27.456991] initcall acpi_cpufreq_init+0x0/0x1000 [acpi_cpufreq] returned -19 after 314 usecs
[   27.947413] IPv6: ADDRCONF(NETDEV_UP): enp24s0: link is not ready
[   27.955503] r8169 0000:18:00.0: Direct firmware load for rtl_nic/rtl8168h-2.fw failed with error -2
[   27.965672] r8169 0000:18:00.0 enp24s0: unable to load firmware patch rtl_nic/rtl8168h-2.fw (-2)
[   28.006746] r8169 0000:18:00.0 enp24s0: link down
[   28.006749] r8169 0000:18:00.0 enp24s0: link down
[   28.011964] IPv6: ADDRCONF(NETDEV_UP): enp24s0: link is not ready
[   31.782174] r8169 0000:18:00.0 enp24s0: link up
[   31.787062] IPv6: ADDRCONF(NETDEV_CHANGE): enp24s0: link becomes ready
[   82.124841] calling  libcrc32c_mod_init+0x0/0x1000 [libcrc32c] @ 4420
[   82.124852] initcall libcrc32c_mod_init+0x0/0x1000 [libcrc32c] returned 0 after 8 usecs
[   82.158246] calling  init_xfs_fs+0x0/0x1ab [xfs] @ 4420
[   82.158248] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[   82.168143] initcall init_xfs_fs+0x0/0x1ab [xfs] returned 0 after 9643 usecs
[   82.173272] calling  init_msdos_fs+0x0/0x1000 [msdos] @ 4433
[   82.173278] initcall init_msdos_fs+0x0/0x1000 [msdos] returned 0 after 3 usecs
[   82.178218] calling  init_ntfs_fs+0x0/0x1000 [ntfs] @ 4438
[   82.178219] ntfs: driver 2.1.32 [Flags: R/O MODULE].
[   82.183930] initcall init_ntfs_fs+0x0/0x1000 [ntfs] returned 0 after 5585 usecs
[   82.196740] calling  fuse_init+0x0/0x1a6 [fuse] @ 4455
[   82.196741] fuse init (API version 7.27)
[   82.201779] initcall fuse_init+0x0/0x1a6 [fuse] returned 0 after 4925 usecs
[  677.532745] kmemleak: 3 new suspected memory leaks (see /sys/kernel/debug/kmemleak)

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5174 bytes --]

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

* Re: BUG: KASAN: use-after-free in xhci_trb_virt_to_dma.part.24+0x1c/0x80
  2018-07-23 11:23   ` Paul Menzel
@ 2020-01-02 14:10     ` Paul Menzel
  2020-01-03 11:04       ` Mika Westerberg
  0 siblings, 1 reply; 24+ messages in thread
From: Paul Menzel @ 2020-01-02 14:10 UTC (permalink / raw)
  To: Greg KH, Mika Westerberg; +Cc: Mathias Nyman, linux-usb, LKML


[-- Attachment #1.1: Type: text/plain, Size: 7168 bytes --]

Dear Linux folks,


On 2018-07-23 13:23, Paul Menzel wrote:

> On 07/20/18 11:54, Greg KH wrote:
>> On Fri, Jul 20, 2018 at 11:44:49AM +0200, Paul Menzel wrote:
> 
>>> Using Linux 4.18-rc5+ with kmemleak enabled on a MSI B350M MORTAR (MS-7A37)
>>> with an AMD Ryzen 3 2200G, the memory leak below is suspected.
>>>
>>> ```
>>> $ sudo less /sys/kernel/debug/kmemleak
>>> unreferenced object 0xffff894f8874a2b8 (size 8):
>>>   comm "systemd-udevd", pid 119, jiffies 4294893109 (age 908.348s)
>>>   hex dump (first 8 bytes):
>>>     34 01 05 00 00 00 00 00                          4.......
>>>   backtrace:
>>>     [<00000000308e4456>] xhci_init+0x81/0x170 [xhci_hcd]
>>>     [<00000000269aa18f>] xhci_gen_setup+0x2cb/0x510 [xhci_hcd]
>>>     [<000000007b70d85f>] xhci_pci_setup+0x4d/0x120 [xhci_pci]
>>>     [<0000000059f49127>] usb_add_hcd+0x2b6/0x800 [usbcore]
>>>     [<000000009a16d67c>] usb_hcd_pci_probe+0x1f3/0x460 [usbcore]
>>>     [<0000000001295c2e>] xhci_pci_probe+0x27/0x1d7 [xhci_pci]
>>>     [<00000000395bd8f9>] local_pci_probe+0x41/0x90
>>>     [<00000000a344e362>] pci_device_probe+0x189/0x1a0
>>>     [<00000000318999e5>] driver_probe_device+0x2b9/0x460
>>>     [<00000000c29d8a55>] __driver_attach+0xdd/0x110
>>>     [<00000000975b7f46>] bus_for_each_dev+0x76/0xc0
>>>     [<000000006bc40955>] bus_add_driver+0x152/0x230
>>>     [<00000000840ed63c>] driver_register+0x6b/0xb0
>>>     [<00000000123908c4>] do_one_initcall+0x46/0x1c3
>>>     [<00000000ce69c793>] do_init_module+0x5a/0x210
>>>     [<0000000091d4aef2>] load_module+0x21c4/0x2410
>>> […]
>>> ```
>>
>> That's really vague.  Any chance for a reproducer or some other types of
>> hints as to what you feel the problem is here?

I guess you just have to run your system also with kmemleak, and you will
be notified about similar leaks.

> Unfortunately, not really. I have a SanDisk USB storage medium attached.

On the system there is now an external DVD drive connected over USB Type-C.

> ```
> $ lsusb
> Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 005 Device 002: ID 413c:3012 Dell Computer Corp. Optical Wheel Mouse
> Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 004 Device 002: ID 0781:558b SanDisk Corp. 
> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 001 Device 002: ID 413c:2105 Dell Computer Corp. Model L100 Keyboard
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> ```
> 
> After ten or eleven minutes after boot, systemd-udevd gets triggered
> and causes the kmemleak message.
> 
> ```
> [   82.196740] calling  fuse_init+0x0/0x1a6 [fuse] @ 4455
> [   82.196741] fuse init (API version 7.27)
> [   82.201779] initcall fuse_init+0x0/0x1a6 [fuse] returned 0 after 4925 usecs
> [  677.532745] kmemleak: 3 new suspected memory leaks (see /sys/kernel/debug/kmemleak)
> ```

[…]

> Please tell me, if I can provide more information. Sorry for forgetting
> to attach the Linux messages.

I am still getting this with Linux 5.5-rc4, and the commit below
included.

> commit ce91f1a43b37463f517155bdfbd525eb43adbd1a
> Author: Mika Westerberg <mika.westerberg@linux.intel.com>
> Date:   Wed Dec 11 16:20:02 2019 +0200
> 
>     xhci: Fix memory leak in xhci_add_in_port()

Mika, as you fixed the other leak, any idea, how to continue from the
kmemleak log below?

```
unreferenced object 0xffff8c207a1e1408 (size 8):
  comm "systemd-udevd", pid 183, jiffies 4294667978 (age 752.292s)
  hex dump (first 8 bytes):
    34 01 05 00 00 00 00 00                          4.......
  backtrace:
    [<00000000aea7b46d>] xhci_mem_init+0xcfa/0xec0 [xhci_hcd]
    [<00000000417c4e3f>] xhci_init+0x81/0x170 [xhci_hcd]
    [<00000000dcdd3292>] xhci_gen_setup+0x26a/0x340 [xhci_hcd]
    [<0000000079014433>] xhci_pci_setup+0x4d/0x120 [xhci_pci]
    [<000000008f4fc4d1>] usb_add_hcd.cold+0x266/0x74b
    [<0000000023fadb59>] usb_hcd_pci_probe+0x216/0x3b1
    [<0000000006043143>] xhci_pci_probe+0x29/0x1bc [xhci_pci]
    [<000000006e8744e3>] local_pci_probe+0x42/0x80
    [<00000000120e570a>] pci_device_probe+0x107/0x1a0
    [<0000000074c180e1>] really_probe+0x147/0x3c0
    [<000000002d64c344>] driver_probe_device+0xb6/0x100
    [<00000000e695e4ae>] device_driver_attach+0x53/0x60
    [<00000000b7832c47>] __driver_attach+0x8a/0x150
    [<0000000069df77eb>] bus_for_each_dev+0x78/0xc0
    [<00000000aa6d98a4>] bus_add_driver+0x14d/0x1f0
    [<0000000002c7d24b>] driver_register+0x6c/0xc0
unreferenced object 0xffff8c207a1e1718 (size 8):
  comm "systemd-udevd", pid 183, jiffies 4294667978 (age 752.292s)
  hex dump (first 8 bytes):
    34 01 05 00 00 00 00 00                          4.......
  backtrace:
    [<00000000aea7b46d>] xhci_mem_init+0xcfa/0xec0 [xhci_hcd]
    [<00000000417c4e3f>] xhci_init+0x81/0x170 [xhci_hcd]
    [<00000000dcdd3292>] xhci_gen_setup+0x26a/0x340 [xhci_hcd]
    [<0000000079014433>] xhci_pci_setup+0x4d/0x120 [xhci_pci]
    [<000000008f4fc4d1>] usb_add_hcd.cold+0x266/0x74b
    [<0000000023fadb59>] usb_hcd_pci_probe+0x216/0x3b1
    [<0000000006043143>] xhci_pci_probe+0x29/0x1bc [xhci_pci]
    [<000000006e8744e3>] local_pci_probe+0x42/0x80
    [<00000000120e570a>] pci_device_probe+0x107/0x1a0
    [<0000000074c180e1>] really_probe+0x147/0x3c0
    [<000000002d64c344>] driver_probe_device+0xb6/0x100
    [<00000000e695e4ae>] device_driver_attach+0x53/0x60
    [<00000000b7832c47>] __driver_attach+0x8a/0x150
    [<0000000069df77eb>] bus_for_each_dev+0x78/0xc0
    [<00000000aa6d98a4>] bus_add_driver+0x14d/0x1f0
    [<0000000002c7d24b>] driver_register+0x6c/0xc0
unreferenced object 0xffff8c207a1e1338 (size 8):
  comm "systemd-udevd", pid 183, jiffies 4294667978 (age 752.292s)
  hex dump (first 8 bytes):
    34 01 05 00 00 00 00 00                          4.......
  backtrace:
    [<00000000aea7b46d>] xhci_mem_init+0xcfa/0xec0 [xhci_hcd]
    [<00000000417c4e3f>] xhci_init+0x81/0x170 [xhci_hcd]
    [<00000000dcdd3292>] xhci_gen_setup+0x26a/0x340 [xhci_hcd]
    [<0000000079014433>] xhci_pci_setup+0x4d/0x120 [xhci_pci]
    [<000000008f4fc4d1>] usb_add_hcd.cold+0x266/0x74b
    [<0000000023fadb59>] usb_hcd_pci_probe+0x216/0x3b1
    [<0000000006043143>] xhci_pci_probe+0x29/0x1bc [xhci_pci]
    [<000000006e8744e3>] local_pci_probe+0x42/0x80
    [<00000000120e570a>] pci_device_probe+0x107/0x1a0
    [<0000000074c180e1>] really_probe+0x147/0x3c0
    [<000000002d64c344>] driver_probe_device+0xb6/0x100
    [<00000000e695e4ae>] device_driver_attach+0x53/0x60
    [<00000000b7832c47>] __driver_attach+0x8a/0x150
    [<0000000069df77eb>] bus_for_each_dev+0x78/0xc0
    [<00000000aa6d98a4>] bus_add_driver+0x14d/0x1f0
    [<0000000002c7d24b>] driver_register+0x6c/0xc0
```


Kind regards,

Paul


> [1]: https://bugs.freedesktop.org/show_bug.cgi?id=105684
>      "Loading amdgpu hits general protection fault: 0000 [#1] SMP NOPTI"[2]: https://patchwork.kernel.org/patch/11242383/

[-- Attachment #1.2: 20200101–msi-MS-7A37–linux-5.5.0-rc4-drm-tip-messages-kmemleak.txt --]
[-- Type: text/plain, Size: 71512 bytes --]

[    0.000000] Linux version 5.5.0-rc4-01573-g8c7c363976f2 (root@f685f6da8dd4) (gcc version 9.2.1 20191130 (Debian 9.2.1-21)) #28 SMP Wed Jan 1 12:32:56 UTC 2020
[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.5.0-rc4-01573-g8c7c363976f2 root=UUID=8883f733-2248-47e0-90b9-ee5384f18d62 ro quiet noisapnp cryptomgr.notests random.trust_cpu=on selinux=0 apparmor=0
[    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: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 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-0x0000000009d7ffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000009d80000-0x0000000009ffffff] reserved
[    0.000000] BIOS-e820: [mem 0x000000000a000000-0x000000000a1fffff] usable
[    0.000000] BIOS-e820: [mem 0x000000000a200000-0x000000000a20afff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000000a20b000-0x000000000affffff] usable
[    0.000000] BIOS-e820: [mem 0x000000000b000000-0x000000000b01ffff] reserved
[    0.000000] BIOS-e820: [mem 0x000000000b020000-0x00000000eba9efff] usable
[    0.000000] BIOS-e820: [mem 0x00000000eba9f000-0x00000000ebb94fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ebb95000-0x00000000ec013fff] usable
[    0.000000] BIOS-e820: [mem 0x00000000ec014000-0x00000000ec11efff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000ec11f000-0x00000000ecf38fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ecf39000-0x00000000ecfd9fff] type 20
[    0.000000] BIOS-e820: [mem 0x00000000ecfda000-0x00000000eeffffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000ef000000-0x00000000efffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fd000000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000038effffff] usable
[    0.000000] BIOS-e820: [mem 0x000000038f000000-0x000000040effffff] reserved
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] efi: EFI v2.70 by American Megatrends
[    0.000000] efi:  ACPI 2.0=0xec09b000  ACPI=0xec09b000  SMBIOS=0xece25000  MEMATTR=0xe8c5a698  ESRT=0xe8c67f98 
[    0.000000] SMBIOS 2.8 present.
[    0.000000] DMI: Micro-Star International Co., Ltd. MS-7A37/B350M MORTAR (MS-7A37), BIOS 1.MR 12/02/2019
[    0.000000] tsc: Fast TSC calibration failed
[    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000000] last_pfn = 0x38f000 max_arch_pfn = 0x400000000
[    0.000000] MTRR default type: uncachable
[    0.000000] MTRR fixed ranges enabled:
[    0.000000]   00000-9FFFF write-back
[    0.000000]   A0000-BFFFF write-through
[    0.000000]   C0000-DFFFF uncachable
[    0.000000]   E0000-FFFFF write-protect
[    0.000000] MTRR variable ranges enabled:
[    0.000000]   0 base 000000000000 mask FFFF80000000 write-back
[    0.000000]   1 base 000080000000 mask FFFFC0000000 write-back
[    0.000000]   2 base 0000C0000000 mask FFFFE0000000 write-back
[    0.000000]   3 base 0000E0000000 mask FFFFF0000000 write-back
[    0.000000]   4 disabled
[    0.000000]   5 disabled
[    0.000000]   6 disabled
[    0.000000]   7 disabled
[    0.000000] TOM2: 0000000410000000 aka 16640M
[    0.000000] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
[    0.000000] e820: update [mem 0xf0000000-0xffffffff] usable ==> reserved
[    0.000000] last_pfn = 0xef000 max_arch_pfn = 0x400000000
[    0.000000] esrt: Reserving ESRT space from 0x00000000e8c67f98 to 0x00000000e8c67fd0.
[    0.000000] e820: update [mem 0xe8c67000-0xe8c67fff] usable ==> reserved
[    0.000000] Using GB pages for direct mapping
[    0.000000] BRK [0x8f201000, 0x8f201fff] PGTABLE
[    0.000000] BRK [0x8f202000, 0x8f202fff] PGTABLE
[    0.000000] BRK [0x8f203000, 0x8f203fff] PGTABLE
[    0.000000] BRK [0x8f204000, 0x8f204fff] PGTABLE
[    0.000000] BRK [0x8f205000, 0x8f205fff] PGTABLE
[    0.000000] BRK [0x8f206000, 0x8f206fff] PGTABLE
[    0.000000] BRK [0x8f207000, 0x8f207fff] PGTABLE
[    0.000000] BRK [0x8f208000, 0x8f208fff] PGTABLE
[    0.000000] BRK [0x8f209000, 0x8f209fff] PGTABLE
[    0.000000] Secure boot could not be determined
[    0.000000] RAMDISK: [mem 0x37119000-0x37883fff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000EC09B000 000024 (v02 ALASKA)
[    0.000000] ACPI: XSDT 0x00000000EC09B0A0 0000C4 (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: FACP 0x00000000EC0A2BA8 000114 (v06 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: DSDT 0x00000000EC09B200 0079A7 (v02 ALASKA A M I    01072009 INTL 20120913)
[    0.000000] ACPI: FACS 0x00000000EC107E00 000040
[    0.000000] ACPI: APIC 0x00000000EC0A2CC0 00015E (v03 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: FPDT 0x00000000EC0A2E20 000044 (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: FIDT 0x00000000EC0A2E68 00009C (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: SSDT 0x00000000EC0A2F08 000060 (v02 ALASKA CPUSSDT  01072009 AMI  01072009)
[    0.000000] ACPI: SSDT 0x00000000EC0A2F68 005419 (v02 AMD    AmdTable 00000002 MSFT 04000000)
[    0.000000] ACPI: SSDT 0x00000000EC0A8388 00366B (v01 AMD    AMD AOD  00000001 INTL 20120913)
[    0.000000] ACPI: MCFG 0x00000000EC0AB9F8 00003C (v01 ALASKA A M I    01072009 MSFT 00010013)
[    0.000000] ACPI: HPET 0x00000000EC0ABA38 000038 (v01 ALASKA A M I    01072009 AMI  00000005)
[    0.000000] ACPI: UEFI 0x00000000EC0ABA70 000042 (v01 ALASKA A M I    00000002      01000013)
[    0.000000] ACPI: VFCT 0x00000000EC0ABAB8 00D484 (v01 ALASKA A M I    00000001 AMD  31504F47)
[    0.000000] ACPI: IVRS 0x00000000EC0B8F40 0000D0 (v02 AMD    AMD IVRS 00000001 AMD  00000000)
[    0.000000] ACPI: SSDT 0x00000000EC0B9010 000854 (v01 AMD    AMD CPU  00000001 AMD  00000001)
[    0.000000] ACPI: CRAT 0x00000000EC0B9868 000810 (v01 AMD    AMD CRAT 00000001 AMD  00000001)
[    0.000000] ACPI: CDIT 0x00000000EC0BA078 000029 (v01 AMD    AMD CDIT 00000001 AMD  00000001)
[    0.000000] ACPI: SSDT 0x00000000EC0BA0A8 000C34 (v01 AMD    AmdTable 00000001 INTL 20120913)
[    0.000000] ACPI: SSDT 0x00000000EC0BACE0 0010AC (v01 AMD    AmdTable 00000001 INTL 20120913)
[    0.000000] ACPI: SSDT 0x00000000EC0BBD90 001D4A (v01 AMD    AmdTable 00000001 INTL 20120913)
[    0.000000] ACPI: SSDT 0x00000000EC0BDAE0 0000BF (v01 AMD    AMD PT   00001000 INTL 20120913)
[    0.000000] ACPI: WSMT 0x00000000EC0BDBA0 000028 (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000038effffff]
[    0.000000] NODE_DATA(0) allocated [mem 0x38efe6000-0x38effcfff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000038effffff]
[    0.000000]   Device   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009ffff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x0000000009d7ffff]
[    0.000000]   node   0: [mem 0x000000000a000000-0x000000000a1fffff]
[    0.000000]   node   0: [mem 0x000000000a20b000-0x000000000affffff]
[    0.000000]   node   0: [mem 0x000000000b020000-0x00000000eba9efff]
[    0.000000]   node   0: [mem 0x00000000ebb95000-0x00000000ec013fff]
[    0.000000]   node   0: [mem 0x00000000ecfda000-0x00000000eeffffff]
[    0.000000]   node   0: [mem 0x0000000100000000-0x000000038effffff]
[    0.000000] Zeroed struct page in unavailable ranges: 9160 pages
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000038effffff]
[    0.000000] On node 0 totalpages: 3656760
[    0.000000]   DMA zone: 64 pages used for memmap
[    0.000000]   DMA zone: 30 pages reserved
[    0.000000]   DMA zone: 3999 pages, LIFO batch:0
[    0.000000]   DMA32 zone: 15155 pages used for memmap
[    0.000000]   DMA32 zone: 969881 pages, LIFO batch:63
[    0.000000]   Normal zone: 41920 pages used for memmap
[    0.000000]   Normal zone: 2682880 pages, LIFO batch:63
[    0.000000] ACPI: PM-Timer IO Port: 0x808
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1])
[    0.000000] IOAPIC[0]: apic_id 5, version 33, address 0xfec00000, GSI 0-23
[    0.000000] IOAPIC[1]: apic_id 6, version 33, address 0xfec01000, GSI 24-55
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x10228201 base: 0xfed00000
[    0.000000] smpboot: Allowing 32 CPUs, 28 hotplug CPUs
[    0.000000] [mem 0xf0000000-0xf7ffffff] available for PCI devices
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[    0.000000] After setup_arch
[    0.000000] After setup_command_line
[    0.000000] After setup_nr_cpu_ids
[    0.000000] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:32 nr_node_ids:1
[    0.000000] percpu: Embedded 54 pages/cpu s182552 r8192 d30440 u262144
[    0.000000] pcpu-alloc: s182552 r8192 d30440 u262144 alloc=1*2097152
[    0.000000] pcpu-alloc: [0] 00 01 02 03 04 05 06 07 [0] 08 09 10 11 12 13 14 15 
[    0.000000] pcpu-alloc: [0] 16 17 18 19 20 21 22 23 [0] 24 25 26 27 28 29 30 31 
[    0.000000] After setup_per_cpu_areas
[    0.000000] After smp_perpare_boot_cpu
[    0.000000] After boot_cpu_hotplug_init
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 3599591
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-5.5.0-rc4-01573-g8c7c363976f2 root=UUID=8883f733-2248-47e0-90b9-ee5384f18d62 ro quiet noisapnp cryptomgr.notests random.trust_cpu=on selinux=0 apparmor=0
[    0.000000] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
[    0.000000] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 14175472K/14627040K available (12292K kernel code, 1323K rwdata, 4416K rodata, 1708K init, 7404K bss, 451568K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=32, Nodes=1
[    0.000000] After mm_init
[    0.000000] ftrace: allocating 39090 entries in 153 pages
[    0.000000] ftrace: allocated 153 pages with 4 groups
[    0.000000] After sched_init
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=32.
[    0.000000] 	Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=32
[    0.000000] After rcu_init
[    0.000000] NR_IRQS: 4352, nr_irqs: 1224, preallocated irqs: 16
[    0.000000] rcu: 	Offload RCU callbacks from CPUs: (none).
[    0.000000] random: crng done (trusting CPU's manufacturer)
[    0.000000] After add_latent_entropy
[    0.000000] After add_device_randomness
[    0.000000] After boot_init_stack_canary
[    0.000000] Console: colour dummy device 80x25
[    0.000000] printk: console [tty0] enabled
[    0.000000] ACPI: Core revision 20191018
[    0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 133484873504 ns
[    0.000000] APIC: Switch to symmetric I/O mode setup
[    0.002000] Switched APIC routing to physical flat.
[    0.003000] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.011000] tsc: Unable to calibrate against PIT
[    0.011000] tsc: using HPET reference calibration
[    0.011000] tsc: Detected 3500.142 MHz processor
[    0.000003] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x3273d7154ad, max_idle_ns: 440795306383 ns
[    0.000006] Calibrating delay loop (skipped), value calculated using timer frequency.. 7000.28 BogoMIPS (lpj=3500142)
[    0.000007] pid_max: default: 32768 minimum: 301
[    0.003678] LSM: Security Framework initializing
[    0.004221] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.004254] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.004437] *** VALIDATE tmpfs ***
[    0.005447] *** VALIDATE proc ***
[    0.005954] *** VALIDATE cgroup1 ***
[    0.005956] *** VALIDATE cgroup2 ***
[    0.006372] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 512
[    0.006372] Last level dTLB entries: 4KB 1536, 2MB 1536, 4MB 768, 1GB 0
[    0.006375] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.006376] Spectre V2 : Mitigation: Full AMD retpoline
[    0.006377] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.006378] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[    0.006379] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[    0.006552] Freeing SMP alternatives memory: 32K
[    0.006553] After check_bugs
[    0.007008] After acpi_subsystem_init
[    0.007009] After arch_post_acpi_subsys_init
[    0.007009] After sfi_init_late
[    0.007011] After rcu_scheduler_starting
[    0.007317] After find_task_by_pid_ns
[    0.007319] After numa_default_policy
[    0.007360] After rcu_read_lock
[    0.007360] After rcu_read_unlock
[    0.007361] After kthreadd_done
[    0.109782] smpboot: CPU0: AMD Ryzen 3 2200G with Radeon Vega Graphics (family: 0x17, model: 0x11, stepping: 0x0)
[    0.110004] Performance Events: Fam17h core perfctr, AMD PMU driver.
[    0.110004] ... version:                0
[    0.110004] ... bit width:              48
[    0.110004] ... generic registers:      6
[    0.110004] ... value mask:             0000ffffffffffff
[    0.110004] ... max period:             00007fffffffffff
[    0.110004] ... fixed-purpose events:   0
[    0.110004] ... event mask:             000000000000003f
[    0.110004] rcu: Hierarchical SRCU implementation.
[    0.110412] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[    0.111575] smp: Bringing up secondary CPUs ...
[    0.111842] x86: Booting SMP configuration:
[    0.111843] .... node  #0, CPUs:        #1
[    0.113012] After schedule_preempt_disabled
[    0.113283]   #2  #3
[    0.116079] smp: Brought up 1 node, 4 CPUs
[    0.116079] smpboot: Max logical packages: 8
[    0.116079] smpboot: Total of 4 processors activated (28001.13 BogoMIPS)
[    0.118468] devtmpfs: initialized
[    0.119027] x86/mm: Memory block size: 128MB
[    0.124160] PM: Registering ACPI NVS region [mem 0x0a200000-0x0a20afff] (45056 bytes)
[    0.124160] PM: Registering ACPI NVS region [mem 0xec014000-0xec11efff] (1093632 bytes)
[    0.124465] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.124465] futex hash table entries: 8192 (order: 7, 524288 bytes, linear)
[    0.126642] pinctrl core: initialized pinctrl subsystem
[    0.126907] PM: RTC time: 12:41:20, date: 2020-01-01
[    0.126908] thermal_sys: Registered thermal governor 'fair_share'
[    0.126909] thermal_sys: Registered thermal governor 'bang_bang'
[    0.126909] thermal_sys: Registered thermal governor 'step_wise'
[    0.126909] thermal_sys: Registered thermal governor 'user_space'
[    0.127798] NET: Registered protocol family 16
[    0.128178] audit: initializing netlink subsys (disabled)
[    0.128187] audit: type=2000 audit(1577882479.139:1): state=initialized audit_enabled=0 res=1
[    0.128273] cpuidle: using governor menu
[    0.128273] ACPI: bus type PCI registered
[    0.129327] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf8000000-0xfbffffff] (base 0xf8000000)
[    0.129330] PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in E820
[    0.129342] PCI: Using configuration type 1 for base access
[    0.135240] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.135240] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.136129] alg: self-tests disabled
[    0.138270] cryptd: max_cpu_qlen set to 1000
[    0.140220] ACPI: Added _OSI(Module Device)
[    0.140220] ACPI: Added _OSI(Processor Device)
[    0.140221] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.140221] ACPI: Added _OSI(Processor Aggregator Device)
[    0.140224] ACPI: Added _OSI(Linux-Dell-Video)
[    0.140226] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.140228] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    0.167216] ACPI: DSDT successfully acquired and loaded (tables_loaded = 1)
[    0.202101] ACPI: 9 ACPI AML tables successfully acquired and loaded
[    0.206932] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.216306] ACPI: Interpreter enabled
[    0.216330] ACPI: (supports S0 S3 S5)
[    0.216331] ACPI: Using IOAPIC for interrupt routing
[    0.217183] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.218694] ACPI: Enabled 2 GPEs in block 00 to 1F
[    0.257890] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.257898] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]
[    0.258807] acpi PNP0A08:00: _OSC: platform does not support [PME LTR]
[    0.259683] acpi PNP0A08:00: _OSC: OS now controls [AER PCIeCapability]
[    0.259710] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[    0.260853] PCI host bridge to bus 0000:00
[    0.260856] pci_bus 0000:00: root bus resource [io  0x0000-0x03af window]
[    0.260858] pci_bus 0000:00: root bus resource [io  0x03e0-0x0cf7 window]
[    0.260860] pci_bus 0000:00: root bus resource [io  0x03b0-0x03df window]
[    0.260862] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.260864] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.260866] pci_bus 0000:00: root bus resource [mem 0x000c0000-0x000dffff window]
[    0.260868] pci_bus 0000:00: root bus resource [mem 0xf0000000-0xfcffffff window]
[    0.260869] pci_bus 0000:00: root bus resource [mem 0x40f000000-0x7fffffffff window]
[    0.260871] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.260896] pci 0000:00:00.0: [1022:15d0] type 00 class 0x060000
[    0.261249] pci 0000:00:00.2: [1022:15d1] type 00 class 0x080600
[    0.261608] pci 0000:00:01.0: [1022:1452] type 00 class 0x060000
[    0.261866] pci 0000:00:01.2: [1022:15d3] type 01 class 0x060400
[    0.261923] pci 0000:00:01.2: enabling Extended Tags
[    0.261995] pci 0000:00:01.2: PME# supported from D0 D3hot D3cold
[    0.261996] pci 0000:00:01.2: pme_poll = true
[    0.261996] pci 0000:00:01.2: after device_set_wakeup_capable()
[    0.261999] pci 0000:00:01.2: after pci_pme_active()
[    0.262582] pci 0000:00:08.0: [1022:1452] type 00 class 0x060000
[    0.262834] pci 0000:00:08.1: [1022:15db] type 01 class 0x060400
[    0.262893] pci 0000:00:08.1: enabling Extended Tags
[    0.262971] pci 0000:00:08.1: PME# supported from D0 D3hot D3cold
[    0.262972] pci 0000:00:08.1: pme_poll = true
[    0.262972] pci 0000:00:08.1: after device_set_wakeup_capable()
[    0.262975] pci 0000:00:08.1: after pci_pme_active()
[    0.263503] pci 0000:00:08.2: [1022:15dc] type 01 class 0x060400
[    0.263564] pci 0000:00:08.2: enabling Extended Tags
[    0.263637] pci 0000:00:08.2: PME# supported from D0 D3hot D3cold
[    0.263638] pci 0000:00:08.2: pme_poll = true
[    0.263638] pci 0000:00:08.2: after device_set_wakeup_capable()
[    0.263641] pci 0000:00:08.2: after pci_pme_active()
[    0.264251] pci 0000:00:14.0: [1022:790b] type 00 class 0x0c0500
[    0.264641] pci 0000:00:14.3: [1022:790e] type 00 class 0x060100
[    0.265065] pci 0000:00:18.0: [1022:15e8] type 00 class 0x060000
[    0.265252] pci 0000:00:18.1: [1022:15e9] type 00 class 0x060000
[    0.265438] pci 0000:00:18.2: [1022:15ea] type 00 class 0x060000
[    0.265622] pci 0000:00:18.3: [1022:15eb] type 00 class 0x060000
[    0.265806] pci 0000:00:18.4: [1022:15ec] type 00 class 0x060000
[    0.265993] pci 0000:00:18.5: [1022:15ed] type 00 class 0x060000
[    0.266192] pci 0000:00:18.6: [1022:15ee] type 00 class 0x060000
[    0.266376] pci 0000:00:18.7: [1022:15ef] type 00 class 0x060000
[    0.266696] pci 0000:12:00.0: [1022:43bb] type 00 class 0x0c0330
[    0.266726] pci 0000:12:00.0: reg 0x10: [mem 0xfcea0000-0xfcea7fff 64bit]
[    0.266776] pci 0000:12:00.0: enabling Extended Tags
[    0.266860] pci 0000:12:00.0: PME# supported from D3hot D3cold
[    0.266861] pci 0000:12:00.0: pme_poll = true
[    0.266861] pci 0000:12:00.0: after device_set_wakeup_capable()
[    0.266864] pci 0000:12:00.0: after pci_pme_active()
[    0.267147] pci 0000:12:00.1: [1022:43b7] type 00 class 0x010601
[    0.267211] pci 0000:12:00.1: reg 0x24: [mem 0xfce80000-0xfce9ffff]
[    0.267221] pci 0000:12:00.1: reg 0x30: [mem 0xfce00000-0xfce7ffff pref]
[    0.267228] pci 0000:12:00.1: enabling Extended Tags
[    0.267290] pci 0000:12:00.1: PME# supported from D3hot D3cold
[    0.267290] pci 0000:12:00.1: pme_poll = true
[    0.267291] pci 0000:12:00.1: after device_set_wakeup_capable()
[    0.267294] pci 0000:12:00.1: after pci_pme_active()
[    0.267526] pci 0000:12:00.2: [1022:43b2] type 01 class 0x060400
[    0.267586] pci 0000:12:00.2: enabling Extended Tags
[    0.267653] pci 0000:12:00.2: PME# supported from D3hot D3cold
[    0.267654] pci 0000:12:00.2: pme_poll = true
[    0.267654] pci 0000:12:00.2: after device_set_wakeup_capable()
[    0.267657] pci 0000:12:00.2: after pci_pme_active()
[    0.267972] pci 0000:00:01.2: PCI bridge to [bus 12-25]
[    0.267977] pci 0000:00:01.2:   bridge window [io  0xf000-0xffff]
[    0.267979] pci 0000:00:01.2:   bridge window [mem 0xfcd00000-0xfcefffff]
[    0.268160] pci 0000:20:00.0: [1022:43b4] type 01 class 0x060400
[    0.268226] pci 0000:20:00.0: enabling Extended Tags
[    0.268310] pci 0000:20:00.0: PME# supported from D3hot D3cold
[    0.268311] pci 0000:20:00.0: pme_poll = true
[    0.268311] pci 0000:20:00.0: after device_set_wakeup_capable()
[    0.268314] pci 0000:20:00.0: after pci_pme_active()
[    0.268598] pci 0000:20:01.0: [1022:43b4] type 01 class 0x060400
[    0.268664] pci 0000:20:01.0: enabling Extended Tags
[    0.268749] pci 0000:20:01.0: PME# supported from D3hot D3cold
[    0.268750] pci 0000:20:01.0: pme_poll = true
[    0.268750] pci 0000:20:01.0: after device_set_wakeup_capable()
[    0.268753] pci 0000:20:01.0: after pci_pme_active()
[    0.269081] pci 0000:20:04.0: [1022:43b4] type 01 class 0x060400
[    0.269147] pci 0000:20:04.0: enabling Extended Tags
[    0.269232] pci 0000:20:04.0: PME# supported from D3hot D3cold
[    0.269233] pci 0000:20:04.0: pme_poll = true
[    0.269233] pci 0000:20:04.0: after device_set_wakeup_capable()
[    0.269236] pci 0000:20:04.0: after pci_pme_active()
[    0.269537] pci 0000:12:00.2: PCI bridge to [bus 20-25]
[    0.269543] pci 0000:12:00.2:   bridge window [io  0xf000-0xffff]
[    0.269546] pci 0000:12:00.2:   bridge window [mem 0xfcd00000-0xfcdfffff]
[    0.269629] pci 0000:20:00.0: PCI bridge to [bus 21]
[    0.269752] pci 0000:22:00.0: [10ec:8168] type 00 class 0x020000
[    0.269796] pci 0000:22:00.0: reg 0x10: [io  0xf000-0xf0ff]
[    0.269828] pci 0000:22:00.0: reg 0x18: [mem 0xfcd04000-0xfcd04fff 64bit]
[    0.269849] pci 0000:22:00.0: reg 0x20: [mem 0xfcd00000-0xfcd03fff 64bit]
[    0.270032] pci 0000:22:00.0: supports D1 D2
[    0.270033] pci 0000:22:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.270034] pci 0000:22:00.0: pme_poll = true
[    0.270034] pci 0000:22:00.0: after device_set_wakeup_capable()
[    0.270039] pci 0000:22:00.0: after pci_pme_active()
[    0.270344] pci 0000:20:01.0: PCI bridge to [bus 22]
[    0.270350] pci 0000:20:01.0:   bridge window [io  0xf000-0xffff]
[    0.270353] pci 0000:20:01.0:   bridge window [mem 0xfcd00000-0xfcdfffff]
[    0.270464] pci 0000:20:04.0: PCI bridge to [bus 25]
[    0.270685] pci 0000:26:00.0: [1002:15dd] type 00 class 0x030000
[    0.270731] pci 0000:26:00.0: reg 0x10: [mem 0x7fe0000000-0x7fefffffff 64bit pref]
[    0.270749] pci 0000:26:00.0: reg 0x18: [mem 0x7ff0000000-0x7ff01fffff 64bit pref]
[    0.270760] pci 0000:26:00.0: reg 0x20: [io  0xe000-0xe0ff]
[    0.270772] pci 0000:26:00.0: reg 0x24: [mem 0xfcc00000-0xfcc7ffff]
[    0.270792] pci 0000:26:00.0: enabling Extended Tags
[    0.270824] pci 0000:26:00.0: BAR 0: assigned to efifb
[    0.270933] pci 0000:26:00.0: PME# supported from D1 D2 D3hot D3cold
[    0.270933] pci 0000:26:00.0: pme_poll = true
[    0.270934] pci 0000:26:00.0: after device_set_wakeup_capable()
[    0.270937] pci 0000:26:00.0: after pci_pme_active()
[    0.271258] pci 0000:26:00.1: [1002:15de] type 00 class 0x040300
[    0.271284] pci 0000:26:00.1: reg 0x10: [mem 0xfcc88000-0xfcc8bfff]
[    0.271338] pci 0000:26:00.1: enabling Extended Tags
[    0.271420] pci 0000:26:00.1: PME# supported from D1 D2 D3hot D3cold
[    0.271421] pci 0000:26:00.1: pme_poll = true
[    0.271421] pci 0000:26:00.1: after device_set_wakeup_capable()
[    0.271425] pci 0000:26:00.1: after pci_pme_active()
[    0.271678] pci 0000:26:00.2: [1022:15df] type 00 class 0x108000
[    0.271719] pci 0000:26:00.2: reg 0x18: [mem 0xfcb00000-0xfcbfffff]
[    0.271742] pci 0000:26:00.2: reg 0x24: [mem 0xfcc8c000-0xfcc8dfff]
[    0.271759] pci 0000:26:00.2: enabling Extended Tags
[    0.272102] pci 0000:26:00.3: [1022:15e0] type 00 class 0x0c0330
[    0.272137] pci 0000:26:00.3: reg 0x10: [mem 0xfca00000-0xfcafffff 64bit]
[    0.272198] pci 0000:26:00.3: enabling Extended Tags
[    0.272287] pci 0000:26:00.3: PME# supported from D0 D3hot D3cold
[    0.272288] pci 0000:26:00.3: pme_poll = true
[    0.272288] pci 0000:26:00.3: after device_set_wakeup_capable()
[    0.272292] pci 0000:26:00.3: after pci_pme_active()
[    0.272550] pci 0000:26:00.4: [1022:15e1] type 00 class 0x0c0330
[    0.272585] pci 0000:26:00.4: reg 0x10: [mem 0xfc900000-0xfc9fffff 64bit]
[    0.272646] pci 0000:26:00.4: enabling Extended Tags
[    0.272734] pci 0000:26:00.4: PME# supported from D0 D3hot D3cold
[    0.272735] pci 0000:26:00.4: pme_poll = true
[    0.272736] pci 0000:26:00.4: after device_set_wakeup_capable()
[    0.272739] pci 0000:26:00.4: after pci_pme_active()
[    0.273014] pci 0000:26:00.6: [1022:15e3] type 00 class 0x040300
[    0.273040] pci 0000:26:00.6: reg 0x10: [mem 0xfcc80000-0xfcc87fff]
[    0.273094] pci 0000:26:00.6: enabling Extended Tags
[    0.273177] pci 0000:26:00.6: PME# supported from D0 D3hot D3cold
[    0.273177] pci 0000:26:00.6: pme_poll = true
[    0.273178] pci 0000:26:00.6: after device_set_wakeup_capable()
[    0.273182] pci 0000:26:00.6: after pci_pme_active()
[    0.273513] pci 0000:00:08.1: PCI bridge to [bus 26]
[    0.273519] pci 0000:00:08.1:   bridge window [io  0xe000-0xefff]
[    0.273522] pci 0000:00:08.1:   bridge window [mem 0xfc900000-0xfccfffff]
[    0.273527] pci 0000:00:08.1:   bridge window [mem 0x7fe0000000-0x7ff01fffff 64bit pref]
[    0.273672] pci 0000:27:00.0: [1022:7901] type 00 class 0x010601
[    0.273757] pci 0000:27:00.0: reg 0x24: [mem 0xfcf00000-0xfcf007ff]
[    0.273777] pci 0000:27:00.0: enabling Extended Tags
[    0.273886] pci 0000:27:00.0: PME# supported from D3hot D3cold
[    0.273887] pci 0000:27:00.0: pme_poll = true
[    0.273887] pci 0000:27:00.0: after device_set_wakeup_capable()
[    0.273891] pci 0000:27:00.0: after pci_pme_active()
[    0.274226] pci 0000:00:08.2: PCI bridge to [bus 27]
[    0.274233] pci 0000:00:08.2:   bridge window [mem 0xfcf00000-0xfcffffff]
[    0.276744] ACPI: PCI Interrupt Link [LNKA] (IRQs 4 5 7 10 11 14 15) *0
[    0.276996] ACPI: PCI Interrupt Link [LNKB] (IRQs 4 5 7 10 11 14 15) *0
[    0.277223] ACPI: PCI Interrupt Link [LNKC] (IRQs 4 5 7 10 11 14 15) *0
[    0.277476] ACPI: PCI Interrupt Link [LNKD] (IRQs 4 5 7 10 11 14 15) *0
[    0.277722] ACPI: PCI Interrupt Link [LNKE] (IRQs 4 5 7 10 11 14 15) *0
[    0.277930] ACPI: PCI Interrupt Link [LNKF] (IRQs 4 5 7 10 11 14 15) *0
[    0.278131] ACPI: PCI Interrupt Link [LNKG] (IRQs 4 5 7 10 11 14 15) *0
[    0.278339] ACPI: PCI Interrupt Link [LNKH] (IRQs 4 5 7 10 11 14 15) *0
[    0.280565] iommu: Default domain type: Translated 
[    0.280609] pci 0000:26:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
[    0.280609] pci 0000:26:00.0: vgaarb: bridge control possible
[    0.280609] pci 0000:26:00.0: vgaarb: setting as boot device
[    0.280609] vgaarb: loaded
[    0.281638] SCSI subsystem initialized
[    0.281693] libata version 3.00 loaded.
[    0.281693] ACPI: bus type USB registered
[    0.281693] usbcore: registered new interface driver usbfs
[    0.281693] usbcore: registered new interface driver hub
[    0.281693] usbcore: registered new device driver usb
[    0.289766] Registered efivars operations
[    0.290051] PCI: Using ACPI for IRQ routing
[    0.292863] PCI: pci_cache_line_size set to 64 bytes
[    0.292948] e820: reserve RAM buffer [mem 0x09d80000-0x0bffffff]
[    0.292952] e820: reserve RAM buffer [mem 0x0a200000-0x0bffffff]
[    0.292954] e820: reserve RAM buffer [mem 0x0b000000-0x0bffffff]
[    0.292956] e820: reserve RAM buffer [mem 0xe8c67000-0xebffffff]
[    0.292957] e820: reserve RAM buffer [mem 0xeba9f000-0xebffffff]
[    0.292959] e820: reserve RAM buffer [mem 0xec014000-0xefffffff]
[    0.292960] e820: reserve RAM buffer [mem 0xef000000-0xefffffff]
[    0.292962] e820: reserve RAM buffer [mem 0x38f000000-0x38fffffff]
[    0.293451] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[    0.293453] hpet0: 3 comparators, 32-bit 14.318180 MHz counter
[    0.295266] clocksource: Switched to clocksource tsc-early
[    0.329077] *** VALIDATE bpf ***
[    0.329693] VFS: Disk quotas dquot_6.6.0
[    0.329941] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.330007] *** VALIDATE ramfs ***
[    0.330068] *** VALIDATE hugetlbfs ***
[    0.330415] pnp: PnP ACPI init
[    0.330761] system 00:00: [mem 0xf8000000-0xfbffffff] has been reserved
[    0.330769] system 00:00: Plug and Play ACPI device, IDs PNP0c01 (active)
[    0.331002] system 00:01: [mem 0x38f000000-0x40effffff window] has been reserved
[    0.331007] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.331561] pnp 00:02: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.332259] system 00:03: [io  0x0a00-0x0a0f] has been reserved
[    0.332263] system 00:03: [io  0x0a10-0x0a1f] has been reserved
[    0.332266] system 00:03: [io  0x0a20-0x0a2f] has been reserved
[    0.332270] system 00:03: [io  0x0a40-0x0a4f] has been reserved
[    0.332275] system 00:03: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.333620] pnp 00:04: [dma 0 disabled]
[    0.333708] pnp 00:04: Plug and Play ACPI device, IDs PNP0501 (active)
[    0.334501] system 00:05: [io  0x04d0-0x04d1] has been reserved
[    0.334505] system 00:05: [io  0x040b] has been reserved
[    0.334508] system 00:05: [io  0x04d6] has been reserved
[    0.334512] system 00:05: [io  0x0c00-0x0c01] has been reserved
[    0.334515] system 00:05: [io  0x0c14] has been reserved
[    0.334518] system 00:05: [io  0x0c50-0x0c51] has been reserved
[    0.334521] system 00:05: [io  0x0c52] has been reserved
[    0.334525] system 00:05: [io  0x0c6c] has been reserved
[    0.334528] system 00:05: [io  0x0c6f] has been reserved
[    0.334531] system 00:05: [io  0x0cd0-0x0cd1] has been reserved
[    0.334534] system 00:05: [io  0x0cd2-0x0cd3] has been reserved
[    0.334538] system 00:05: [io  0x0cd4-0x0cd5] has been reserved
[    0.334541] system 00:05: [io  0x0cd6-0x0cd7] has been reserved
[    0.334544] system 00:05: [io  0x0cd8-0x0cdf] has been reserved
[    0.334547] system 00:05: [io  0x0800-0x089f] has been reserved
[    0.334551] system 00:05: [io  0x0b00-0x0b0f] has been reserved
[    0.334554] system 00:05: [io  0x0b20-0x0b3f] has been reserved
[    0.334567] system 00:05: [io  0x0900-0x090f] has been reserved
[    0.334570] system 00:05: [io  0x0910-0x091f] has been reserved
[    0.334574] system 00:05: [mem 0xfec00000-0xfec00fff] could not be reserved
[    0.334577] system 00:05: [mem 0xfec01000-0xfec01fff] could not be reserved
[    0.334581] system 00:05: [mem 0xfedc0000-0xfedc0fff] has been reserved
[    0.334584] system 00:05: [mem 0xfee00000-0xfee00fff] has been reserved
[    0.334587] system 00:05: [mem 0xfed80000-0xfed8ffff] could not be reserved
[    0.334590] system 00:05: [mem 0xfec10000-0xfec10fff] has been reserved
[    0.334593] system 00:05: [mem 0xff000000-0xffffffff] has been reserved
[    0.334599] system 00:05: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.336529] pnp: PnP ACPI: found 6 devices
[    0.347218] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.347303] pci 0000:20:00.0: PCI bridge to [bus 21]
[    0.347317] pci 0000:20:01.0: PCI bridge to [bus 22]
[    0.347319] pci 0000:20:01.0:   bridge window [io  0xf000-0xffff]
[    0.347324] pci 0000:20:01.0:   bridge window [mem 0xfcd00000-0xfcdfffff]
[    0.347333] pci 0000:20:04.0: PCI bridge to [bus 25]
[    0.347345] pci 0000:12:00.2: PCI bridge to [bus 20-25]
[    0.347347] pci 0000:12:00.2:   bridge window [io  0xf000-0xffff]
[    0.347351] pci 0000:12:00.2:   bridge window [mem 0xfcd00000-0xfcdfffff]
[    0.347359] pci 0000:00:01.2: PCI bridge to [bus 12-25]
[    0.347360] pci 0000:00:01.2:   bridge window [io  0xf000-0xffff]
[    0.347365] pci 0000:00:01.2:   bridge window [mem 0xfcd00000-0xfcefffff]
[    0.347374] pci 0000:00:08.1: PCI bridge to [bus 26]
[    0.347381] pci 0000:00:08.1:   bridge window [io  0xe000-0xefff]
[    0.347385] pci 0000:00:08.1:   bridge window [mem 0xfc900000-0xfccfffff]
[    0.347388] pci 0000:00:08.1:   bridge window [mem 0x7fe0000000-0x7ff01fffff 64bit pref]
[    0.347394] pci 0000:00:08.2: PCI bridge to [bus 27]
[    0.347398] pci 0000:00:08.2:   bridge window [mem 0xfcf00000-0xfcffffff]
[    0.347408] pci_bus 0000:00: resource 4 [io  0x0000-0x03af window]
[    0.347409] pci_bus 0000:00: resource 5 [io  0x03e0-0x0cf7 window]
[    0.347410] pci_bus 0000:00: resource 6 [io  0x03b0-0x03df window]
[    0.347411] pci_bus 0000:00: resource 7 [io  0x0d00-0xffff window]
[    0.347412] pci_bus 0000:00: resource 8 [mem 0x000a0000-0x000bffff window]
[    0.347412] pci_bus 0000:00: resource 9 [mem 0x000c0000-0x000dffff window]
[    0.347413] pci_bus 0000:00: resource 10 [mem 0xf0000000-0xfcffffff window]
[    0.347414] pci_bus 0000:00: resource 11 [mem 0x40f000000-0x7fffffffff window]
[    0.347415] pci_bus 0000:12: resource 0 [io  0xf000-0xffff]
[    0.347415] pci_bus 0000:12: resource 1 [mem 0xfcd00000-0xfcefffff]
[    0.347416] pci_bus 0000:20: resource 0 [io  0xf000-0xffff]
[    0.347417] pci_bus 0000:20: resource 1 [mem 0xfcd00000-0xfcdfffff]
[    0.347417] pci_bus 0000:22: resource 0 [io  0xf000-0xffff]
[    0.347418] pci_bus 0000:22: resource 1 [mem 0xfcd00000-0xfcdfffff]
[    0.347419] pci_bus 0000:26: resource 0 [io  0xe000-0xefff]
[    0.347420] pci_bus 0000:26: resource 1 [mem 0xfc900000-0xfccfffff]
[    0.347420] pci_bus 0000:26: resource 2 [mem 0x7fe0000000-0x7ff01fffff 64bit pref]
[    0.347421] pci_bus 0000:27: resource 1 [mem 0xfcf00000-0xfcffffff]
[    0.347993] NET: Registered protocol family 2
[    0.348665] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    0.348683] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.348810] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[    0.348923] TCP: Hash tables configured (established 131072 bind 65536)
[    0.349101] UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.349134] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.349753] NET: Registered protocol family 1
[    0.350192] pci 0000:26:00.1: D0 power state depends on 0000:26:00.0
[    0.351012] PCI: CLS 64 bytes, default 64
[    0.351108] Trying to unpack rootfs image as initramfs...
[    0.371599] Freeing initrd memory: 7596K
[    0.371672] pci 0000:00:00.2: AMD-Vi: Unable to write to IOMMU perf counter.
[    0.371985] pci 0000:00:00.2: can't derive routing for PCI INT A
[    0.371986] pci 0000:00:00.2: PCI INT A: not connected
[    0.372094] pci 0000:00:01.0: Adding to iommu group 0
[    0.373546] pci 0000:00:01.2: Adding to iommu group 1
[    0.374636] pci 0000:00:08.0: Adding to iommu group 2
[    0.375945] pci 0000:00:08.1: Adding to iommu group 3
[    0.377070] pci 0000:00:08.2: Adding to iommu group 4
[    0.378282] pci 0000:00:14.0: Adding to iommu group 5
[    0.379444] pci 0000:00:14.3: Adding to iommu group 5
[    0.379523] pci 0000:00:18.0: Adding to iommu group 6
[    0.380694] pci 0000:00:18.1: Adding to iommu group 6
[    0.380741] pci 0000:00:18.2: Adding to iommu group 6
[    0.380787] pci 0000:00:18.3: Adding to iommu group 6
[    0.380834] pci 0000:00:18.4: Adding to iommu group 6
[    0.380885] pci 0000:00:18.5: Adding to iommu group 6
[    0.380937] pci 0000:00:18.6: Adding to iommu group 6
[    0.380983] pci 0000:00:18.7: Adding to iommu group 6
[    0.381061] pci 0000:12:00.0: Adding to iommu group 7
[    0.382230] pci 0000:12:00.1: Adding to iommu group 7
[    0.382283] pci 0000:12:00.2: Adding to iommu group 7
[    0.382328] pci 0000:20:00.0: Adding to iommu group 7
[    0.382383] pci 0000:20:01.0: Adding to iommu group 7
[    0.382427] pci 0000:20:04.0: Adding to iommu group 7
[    0.382477] pci 0000:22:00.0: Adding to iommu group 7
[    0.382616] pci 0000:26:00.0: Adding to iommu group 8
[    0.382710] pci 0000:26:00.0: Using iommu direct mapping
[    0.382800] pci 0000:26:00.1: Adding to iommu group 9
[    0.384001] pci 0000:26:00.2: Adding to iommu group 9
[    0.384064] pci 0000:26:00.3: Adding to iommu group 9
[    0.384122] pci 0000:26:00.4: Adding to iommu group 9
[    0.384177] pci 0000:26:00.6: Adding to iommu group 9
[    0.384251] pci 0000:27:00.0: Adding to iommu group 10
[    0.385623] pci 0000:00:00.2: AMD-Vi: Found IOMMU cap 0x40
[    0.385624] pci 0000:00:00.2: AMD-Vi: Extended features (0x4f77ef22294ada):
[    0.385624]  PPR NX GT IA GA PC GA_vAPIC
[    0.385626] AMD-Vi: Interrupt remapping enabled
[    0.385626] AMD-Vi: Virtual APIC enabled
[    0.385967] AMD-Vi: Lazy IO/TLB flushing enabled
[    0.387294] amd_uncore: AMD NB counters detected
[    0.387388] amd_uncore: AMD LLC counters detected
[    0.391281] Initialise system trusted keyrings
[    0.391479] workingset: timestamp_bits=37 max_order=22 bucket_order=0
[    0.398184] zbud: loaded
[    0.401103] NET: Registered protocol family 38
[    0.401108] Key type asymmetric registered
[    0.401109] Asymmetric key parser 'x509' registered
[    0.401123] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.401282] io scheduler mq-deadline registered
[    0.401283] io scheduler kyber registered
[    0.401817] pcieport 0000:00:01.2: AER: enabled with IRQ 26
[    0.402689] pcieport 0000:00:08.2: AER: enabled with IRQ 28
[    0.404700] efifb: probing for efifb
[    0.404736] efifb: framebuffer at 0x7fe0000000, using 3072k, total 3072k
[    0.404736] efifb: mode is 1024x768x32, linelength=4096, pages=1
[    0.404737] efifb: scrolling: redraw
[    0.404737] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    0.404999] Console: switching to colour frame buffer device 128x48
[    0.406272] fb0: EFI VGA frame buffer device
[    0.406500] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
[    0.406569] ACPI: Power Button [PWRB]
[    0.406667] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
[    0.406734] ACPI: Power Button [PWRF]
[    0.406818] Monitor-Mwait will be used to enter C-1 state
[    0.408118] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    0.429085] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    0.432951] Non-volatile memory driver v1.3
[    0.433036] Linux agpgart interface v0.103
[    0.433646] AMD-Vi: AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>
[    0.433880] [drm] radeon kernel modesetting enabled.
[    0.434901] ahci 0000:12:00.1: version 3.0
[    0.435247] ahci 0000:12:00.1: SSS flag set, parallel bus scan disabled
[    0.435305] ahci 0000:12:00.1: AHCI 0001.0301 32 slots 8 ports 6 Gbps 0x33 impl SATA mode
[    0.435307] ahci 0000:12:00.1: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part sxs deso sadm sds apst 
[    0.437658] scsi host0: ahci
[    0.438308] scsi host1: ahci
[    0.438791] scsi host2: ahci
[    0.439229] scsi host3: ahci
[    0.439757] scsi host4: ahci
[    0.440246] scsi host5: ahci
[    0.440754] scsi host6: ahci
[    0.441255] scsi host7: ahci
[    0.441551] ata1: SATA max UDMA/133 abar m131072@0xfce80000 port 0xfce80100 irq 36
[    0.441553] ata2: SATA max UDMA/133 abar m131072@0xfce80000 port 0xfce80180 irq 36
[    0.441554] ata3: DUMMY
[    0.441554] ata4: DUMMY
[    0.441556] ata5: SATA max UDMA/133 abar m131072@0xfce80000 port 0xfce80300 irq 36
[    0.441557] ata6: SATA max UDMA/133 abar m131072@0xfce80000 port 0xfce80380 irq 36
[    0.441558] ata7: DUMMY
[    0.441558] ata8: DUMMY
[    0.441616] ata1: SATA link down (SStatus 0 SControl 0)
[    0.441690] ata2: SATA link down (SStatus 0 SControl 0)
[    0.441786] ata5: SATA link down (SStatus 0 SControl 0)
[    0.441859] ata6: SATA link down (SStatus 0 SControl 0)
[    0.452321] ahci 0000:27:00.0: AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl SATA mode
[    0.452323] ahci 0000:27:00.0: flags: 64bit ncq sntf ilck pm led clo only pmp fbs pio slum part 
[    0.452880] scsi host8: ahci
[    0.453234] ata9: SATA max UDMA/133 abar m2048@0xfcf00000 port 0xfcf00100 irq 38
[    0.453437] libphy: Fixed MDIO Bus: probed
[    0.453611] i8042: PNP: No PS/2 controller found.
[    0.453696] mousedev: PS/2 mouse device common for all mice
[    0.453936] rtc_cmos 00:02: RTC can wake from S4
[    0.454401] rtc_cmos 00:02: registered as rtc0
[    0.454468] rtc_cmos 00:02: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
[    0.454661] device-mapper: uevent: version 1.0.3
[    0.454936] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com
[    0.456189] hid: raw HID events driver (C) Jiri Kosina
[    0.456268] usbcore: registered new interface driver usbhid
[    0.456268] usbhid: USB HID core driver
[    0.456668] Initializing XFRM netlink socket
[    0.457572] NET: Registered protocol family 10
[    0.458603] Segment Routing with IPv6
[    0.458623] mip6: Mobile IPv6
[    0.458624] NET: Registered protocol family 17
[    0.459148] ata9: SATA link up 6.0 Gbps (SStatus 133 SControl 0)
[    0.459268] ata9.00: supports DRM functions and may not be fully accessible
[    0.459302] ata9.00: ATA-10: CT1000MX500SSD4, M3CR020, max UDMA/133
[    0.459303] ata9.00: 1953525168 sectors, multi 1: LBA48 NCQ (depth 32), AA
[    0.459507] microcode: CPU0: patch_level=0x08101016
[    0.459529] microcode: CPU1: patch_level=0x08101016
[    0.459539] microcode: CPU2: patch_level=0x08101016
[    0.459561] microcode: CPU3: patch_level=0x08101016
[    0.459629] microcode: Microcode Update Driver: v2.2.
[    0.459631] IPI shorthand broadcast: enabled
[    0.459650] AVX2 version of gcm_enc/dec engaged.
[    0.459650] AES CTR mode by8 optimization enabled
[    0.460063] ata9.00: supports DRM functions and may not be fully accessible
[    0.460676] ata9.00: configured for UDMA/133
[    0.461815] scsi 8:0:0:0: Direct-Access     ATA      CT1000MX500SSD4  020  PQ: 0 ANSI: 5
[    0.462271] sd 8:0:0:0: Attached scsi generic sg0 type 0
[    0.462415] sd 8:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[    0.462418] sd 8:0:0:0: [sda] 4096-byte physical blocks
[    0.462429] sd 8:0:0:0: [sda] Write Protect is off
[    0.462431] sd 8:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    0.462447] sd 8:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    0.463283]  sda: sda1 sda2 sda3
[    0.465312] sd 8:0:0:0: [sda] Attached SCSI disk
[    0.476536] sched_clock: Marking stable (487511802, -10995110)->(480927678, -4410986)
[    0.476784] registered taskstats version 1
[    0.476787] Loading compiled-in X.509 certificates
[    0.481274] Loaded X.509 cert 'Build time autogenerated kernel key: 91b5e042fe2c53b9e28e9b8228b2a1504b5ab494'
[    0.481401] zswap: loaded using pool lzo/zbud
[    0.481570] kmemleak: Kernel memory leak detector initialized (mem pool available: 14473)
[    0.481575] kmemleak: Automatic memory scanning thread started
[    0.485544] Key type encrypted registered
[    0.488777] PM:   Magic number: 4:447:682
[    0.488939] rtc_cmos 00:02: setting system clock to 2020-01-01T12:41:20 UTC (1577882480)
[    0.489343] After kernel_init_freeable
[    0.492322] Freeing unused kernel image (initmem) memory: 1708K
[    0.495527] Write protecting the kernel read-only data: 20480k
[    0.495945] Freeing unused kernel image (text/rodata gap) memory: 2040K
[    0.496246] Freeing unused kernel image (rodata/data gap) memory: 1728K
[    0.502440] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[    0.502445] rodata_test: all tests were successful
[    0.502445] After mark_readonly
[    0.502445] After pti_finalize
[    0.502453] rcu_end_inkernel_boot
[    0.502453] Run /init as init process
[    0.627192] xhci_hcd 0000:12:00.0: xHCI Host Controller
[    0.627326] xhci_hcd 0000:12:00.0: new USB bus registered, assigned bus number 1
[    0.683146] xhci_hcd 0000:12:00.0: hcc params 0x0200ef81 hci version 0x110 quirks 0x0000000048000410
[    0.684227] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.05
[    0.684228] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.684229] usb usb1: Product: xHCI Host Controller
[    0.684230] usb usb1: Manufacturer: Linux 5.5.0-rc4-01573-g8c7c363976f2 xhci-hcd
[    0.684231] usb usb1: SerialNumber: 0000:12:00.0
[    0.684563] hub 1-0:1.0: USB hub found
[    0.684704] hub 1-0:1.0: 10 ports detected
[    0.687623] xhci_hcd 0000:12:00.0: xHCI Host Controller
[    0.687746] xhci_hcd 0000:12:00.0: new USB bus registered, assigned bus number 2
[    0.687752] xhci_hcd 0000:12:00.0: Host supports USB 3.1 Enhanced SuperSpeed
[    0.687870] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.687941] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.05
[    0.687942] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.687943] usb usb2: Product: xHCI Host Controller
[    0.687943] usb usb2: Manufacturer: Linux 5.5.0-rc4-01573-g8c7c363976f2 xhci-hcd
[    0.687944] usb usb2: SerialNumber: 0000:12:00.0
[    0.688979] hub 2-0:1.0: USB hub found
[    0.689015] hub 2-0:1.0: 4 ports detected
[    0.690004] xhci_hcd 0000:26:00.3: xHCI Host Controller
[    0.690119] xhci_hcd 0000:26:00.3: new USB bus registered, assigned bus number 3
[    0.691093] xhci_hcd 0000:26:00.3: hcc params 0x0270ffe5 hci version 0x110 quirks 0x0000000840000410
[    0.693082] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.05
[    0.693083] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.693084] usb usb3: Product: xHCI Host Controller
[    0.693084] usb usb3: Manufacturer: Linux 5.5.0-rc4-01573-g8c7c363976f2 xhci-hcd
[    0.693085] usb usb3: SerialNumber: 0000:26:00.3
[    0.693381] hub 3-0:1.0: USB hub found
[    0.693404] hub 3-0:1.0: 4 ports detected
[    0.694590] xhci_hcd 0000:26:00.3: xHCI Host Controller
[    0.694690] xhci_hcd 0000:26:00.3: new USB bus registered, assigned bus number 4
[    0.694695] xhci_hcd 0000:26:00.3: Host supports USB 3.1 Enhanced SuperSpeed
[    0.694763] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.694828] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.05
[    0.694828] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.694829] usb usb4: Product: xHCI Host Controller
[    0.694830] usb usb4: Manufacturer: Linux 5.5.0-rc4-01573-g8c7c363976f2 xhci-hcd
[    0.694830] usb usb4: SerialNumber: 0000:26:00.3
[    0.695093] hub 4-0:1.0: USB hub found
[    0.695130] hub 4-0:1.0: 4 ports detected
[    0.696425] xhci_hcd 0000:26:00.4: xHCI Host Controller
[    0.696518] xhci_hcd 0000:26:00.4: new USB bus registered, assigned bus number 5
[    0.696815] xhci_hcd 0000:26:00.4: hcc params 0x0260ffe5 hci version 0x110 quirks 0x0000000840000410
[    0.697781] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.05
[    0.697782] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.697783] usb usb5: Product: xHCI Host Controller
[    0.697783] usb usb5: Manufacturer: Linux 5.5.0-rc4-01573-g8c7c363976f2 xhci-hcd
[    0.697784] usb usb5: SerialNumber: 0000:26:00.4
[    0.698037] hub 5-0:1.0: USB hub found
[    0.698071] hub 5-0:1.0: 1 port detected
[    0.698472] xhci_hcd 0000:26:00.4: xHCI Host Controller
[    0.698546] xhci_hcd 0000:26:00.4: new USB bus registered, assigned bus number 6
[    0.698551] xhci_hcd 0000:26:00.4: Host supports USB 3.1 Enhanced SuperSpeed
[    0.698620] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.698674] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.05
[    0.698675] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.698676] usb usb6: Product: xHCI Host Controller
[    0.698676] usb usb6: Manufacturer: Linux 5.5.0-rc4-01573-g8c7c363976f2 xhci-hcd
[    0.698677] usb usb6: SerialNumber: 0000:26:00.4
[    0.698927] hub 6-0:1.0: USB hub found
[    0.698950] hub 6-0:1.0: 1 port detected
[    1.010360] usb 1-7: new low-speed USB device number 2 using xhci_hcd
[    1.018340] usb 5-1: new high-speed USB device number 2 using xhci_hcd
[    1.202394] usb 5-1: New USB device found, idVendor=1c6b, idProduct=a223, bcdDevice= 0.00
[    1.202395] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.202397] usb 5-1: Product: Mass Storage Device
[    1.202398] usb 5-1: Manufacturer: USB2.0 External
[    1.202398] usb 5-1: SerialNumber: 86 406817504398
[    1.244868] usb 1-7: New USB device found, idVendor=093a, idProduct=2521, bcdDevice= 1.00
[    1.244870] usb 1-7: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[    1.244871] usb 1-7: Product: USB OPTICAL MOUSE
[    1.271986] input: USB OPTICAL MOUSE as /devices/pci0000:00/0000:00:01.2/0000:12:00.0/usb1/1-7/1-7:1.0/0003:093A:2521.0001/input/input2
[    1.272257] hid-generic 0003:093A:2521.0001: input,hidraw0: USB HID v1.11 Mouse [USB OPTICAL MOUSE] on usb-0000:12:00.0-7/input0
[    1.386353] usb 1-10: new low-speed USB device number 3 using xhci_hcd
[    1.428047] tsc: Refined TSC clocksource calibration: 3502.961 MHz
[    1.428059] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x327e3e45559, max_idle_ns: 440795235664 ns
[    1.428334] clocksource: Switched to clocksource tsc
[    1.628733] usb 1-10: New USB device found, idVendor=045e, idProduct=07b9, bcdDevice= 1.14
[    1.628735] usb 1-10: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.628737] usb 1-10: Product: USB Keyboard
[    1.628738] usb 1-10: Manufacturer: LITEON Technology
[    1.658912] input: LITEON Technology USB Keyboard as /devices/pci0000:00/0000:00:01.2/0000:12:00.0/usb1/1-10/1-10:1.0/0003:045E:07B9.0002/input/input3
[    1.711182] hid-generic 0003:045E:07B9.0002: input,hidraw1: USB HID v1.10 Keyboard [LITEON Technology USB Keyboard] on usb-0000:12:00.0-10/input0
[   12.967707] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null)
[   13.141514] systemd[1]: systemd 244-3 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)
[   13.153054] systemd[1]: Detected architecture x86-64.
[   13.166516] systemd[1]: Set hostname to <tokeiihto>.
[   13.169673] systemd[1]: Couldn't move remaining userspace processes, ignoring: Input/output error
[   13.262250] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
[   13.299326] systemd[1]: Created slice system-systemd\x2dcryptsetup.slice.
[   13.300519] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[   13.301551] systemd[1]: Created slice User and Session Slice.
[   13.301651] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[   13.301723] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   13.302263] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   13.302354] systemd[1]: Reached target Remote File Systems.
[   13.302385] systemd[1]: Reached target Slices.
[   13.302419] systemd[1]: Reached target Swap.
[   13.304090] systemd[1]: Listening on Process Core Dump Socket.
[   13.304228] systemd[1]: Listening on fsck to fsckd communication Socket.
[   13.304307] systemd[1]: Listening on initctl Compatibility Named Pipe.
[   13.304486] systemd[1]: Listening on Journal Audit Socket.
[   13.304603] systemd[1]: Listening on Journal Socket (/dev/log).
[   13.304734] systemd[1]: Listening on Journal Socket.
[   13.304855] systemd[1]: Listening on udev Control Socket.
[   13.304971] systemd[1]: Listening on udev Kernel Socket.
[   13.307690] systemd[1]: Mounting Huge Pages File System...
[   13.309903] systemd[1]: Mounting POSIX Message Queue File System...
[   13.310025] systemd[1]: Condition check resulted in FUSE Control File System being skipped.
[   13.312622] systemd[1]: Mounting Kernel Configuration File System...
[   13.315715] systemd[1]: Mounting Kernel Debug File System...
[   13.322505] systemd[1]: Starting Create list of static device nodes for the current kernel...
[   13.322975] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[   13.323014] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[   13.325955] systemd[1]: Starting Journal Service...
[   13.329805] systemd[1]: Starting Remount Root and Kernel File Systems...
[   13.332304] systemd[1]: Starting Apply Kernel Variables...
[   13.334937] systemd[1]: Starting udev Coldplug all Devices...
[   13.336597] systemd[1]: Mounted Huge Pages File System.
[   13.336736] systemd[1]: Mounted POSIX Message Queue File System.
[   13.336839] systemd[1]: Mounted Kernel Configuration File System.
[   13.336945] systemd[1]: Mounted Kernel Debug File System.
[   13.337651] systemd[1]: Started Create list of static device nodes for the current kernel.
[   13.343771] EXT4-fs (dm-0): re-mounted. Opts: errors=remount-ro
[   13.345709] systemd[1]: Started Remount Root and Kernel File Systems.
[   13.347386] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[   13.350816] systemd[1]: Starting Load/Save Random Seed...
[   13.353195] systemd[1]: Starting Create System Users...
[   13.353979] systemd[1]: Started Apply Kernel Variables.
[   13.366928] systemd[1]: Started Create System Users.
[   13.369294] systemd[1]: Starting Create Static Device Nodes in /dev...
[   13.378544] systemd[1]: Started Load/Save Random Seed.
[   13.384921] systemd[1]: Started Create Static Device Nodes in /dev.
[   13.385155] systemd[1]: Reached target Local File Systems (Pre).
[   13.388372] systemd[1]: Starting udev Kernel Device Manager...
[   13.453302] systemd[1]: Started udev Coldplug all Devices.
[   13.468413] systemd[1]: Started udev Kernel Device Manager.
[   13.512293] acpi_cpufreq: overriding BIOS provided _PSD data
[   13.535817] ACPI: Video Device [VGA1] (multi-head: yes  rom: no  post: no)
[   13.536486] acpi device:10: registered as cooling_device4
[   13.536619] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0f/LNXVIDEO:01/input/input4
[   13.590290] acpi PNP0C14:02: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:01)
[   13.638720] r8169 0000:22:00.0: enabling device (0000 -> 0003)
[   13.646184] libphy: r8169: probed
[   13.646666] r8169 0000:22:00.0 eth0: RTL8168h/8111h, 30:9c:23:04:d6:98, XID 541, IRQ 52
[   13.646668] r8169 0000:22:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[   13.696188] systemd[1]: Started Journal Service.
[   13.705555] piix4_smbus 0000:00:14.0: SMBus Host Controller at 0xb00, revision 0
[   13.705556] piix4_smbus 0000:00:14.0: Using register 0x02 for SMBus port selection
[   13.714240] systemd-journald[295]: Received client request to flush runtime journal.
[   13.731627] usb-storage 5-1:1.0: USB Mass Storage device detected
[   13.735404] [drm] amdgpu kernel modesetting enabled.
[   13.735457] checking generic (7fe0000000 300000) vs hw (7fe0000000 10000000)
[   13.735458] fb0: switching to amdgpudrmfb from EFI VGA
[   13.735567] Console: switching to colour dummy device 80x25
[   13.735615] amdgpu 0000:26:00.0: vgaarb: deactivate vga console
[   13.736090] amdgpu 0000:26:00.0: enabling device (0006 -> 0007)
[   13.736533] [drm] initializing kernel modesetting (RAVEN 0x1002:0x15DD 0x1002:0x15DD 0xC8).
[   13.736554] [drm] register mmio base: 0xFCC00000
[   13.736555] [drm] register mmio size: 524288
[   13.736573] [drm] add ip block number 0 <soc15_common>
[   13.736574] [drm] add ip block number 1 <gmc_v9_0>
[   13.736574] [drm] add ip block number 2 <vega10_ih>
[   13.736575] [drm] add ip block number 3 <psp>
[   13.736575] [drm] add ip block number 4 <gfx_v9_0>
[   13.736576] [drm] add ip block number 5 <sdma_v4_0>
[   13.736577] [drm] add ip block number 6 <powerplay>
[   13.736577] [drm] add ip block number 7 <dm>
[   13.736578] [drm] add ip block number 8 <vcn_v1_0>
[   13.737726] ATOM BIOS: 113-RAVEN-114
[   13.738233] scsi host9: usb-storage 5-1:1.0
[   13.738414] [drm] VCN decode is enabled in VM mode
[   13.738414] [drm] VCN encode is enabled in VM mode
[   13.738415] [drm] JPEG decode is enabled in VM mode
[   13.738590] [drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit
[   13.738597] usbcore: registered new interface driver usb-storage
[   13.738616] amdgpu 0000:26:00.0: VRAM: 2048M 0x000000F400000000 - 0x000000F47FFFFFFF (2048M used)
[   13.738618] amdgpu 0000:26:00.0: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
[   13.738619] amdgpu 0000:26:00.0: AGP: 267419648M 0x000000F800000000 - 0x0000FFFFFFFFFFFF
[   13.738625] [drm] Detected VRAM RAM=2048M, BAR=2048M
[   13.738626] [drm] RAM width 128bits DDR4
[   13.738733] [TTM] Zone  kernel: Available graphics memory: 7168258 KiB
[   13.738734] [TTM] Zone   dma32: Available graphics memory: 2097152 KiB
[   13.738734] [TTM] Initializing pool allocator
[   13.738747] [TTM] Initializing DMA pool allocator
[   13.738883] [drm] amdgpu: 2048M of VRAM memory ready
[   13.738895] [drm] amdgpu: 3072M of GTT memory ready.
[   13.738947] [drm] GART: num cpu pages 262144, num gpu pages 262144
[   13.739593] [drm] PCIE GART of 1024M enabled (table at 0x000000F400900000).
[   13.743307] amdgpu 0000:26:00.0: Direct firmware load for amdgpu/raven_ta.bin failed with error -2
[   13.743310] amdgpu 0000:26:00.0: psp v10.0: Failed to load firmware "amdgpu/raven_ta.bin"
[   13.748435] 1
[   13.748465] 2
[   13.748467] 1
[   13.748471] snd_hda_intel 0000:26:00.6: enabling device (0000 -> 0002)
[   13.748547] 2
[   13.748550] snd_hda_intel 0000:26:00.1: enabling device (0000 -> 0002)
[   13.749797] 3
[   13.749798] 4
[   13.749798] 5
[   13.749798] 6
[   13.749798] 7
[   13.749799] 8
[   13.749799] 9
[   13.749853] 3
[   13.749853] 4
[   13.749853] 5
[   13.749854] 6
[   13.749854] 7
[   13.749854] 8
[   13.749854] 9
[   13.758191] [drm] Warning: check cp_fw_version and update it to realize 			      GRBM requires 1-cycle delay in cp firmware
[   13.775376] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:26:00.1/sound/card1/input5
[   13.775620] input: HD-Audio Generic HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:08.1/0000:26:00.1/sound/card1/input6
[   13.775891] input: HD-Audio Generic HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:08.1/0000:26:00.1/sound/card1/input7
[   13.777801] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC892: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
[   13.777802] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   13.777803] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[   13.777804] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[   13.777805] snd_hda_codec_realtek hdaudioC0D0:    dig-out=0x1e/0x0
[   13.777805] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[   13.777806] snd_hda_codec_realtek hdaudioC0D0:      Front Mic=0x19
[   13.777807] snd_hda_codec_realtek hdaudioC0D0:      Rear Mic=0x18
[   13.777808] snd_hda_codec_realtek hdaudioC0D0:      Line=0x1a
[   13.784481] [drm] use_doorbell being set to: [true]
[   13.784807] amdgpu: [powerplay] hwmgr_sw_init smu backed is smu10_smu
[   13.788174] [drm] Found VCN firmware Version ENC: 1.9 DEC: 1 VEP: 0 Revision: 28
[   13.788193] [drm] PSP loading VCN firmware
[   13.815266] [drm] reserve 0x400000 from 0xf47f800000 for PSP TMR
[   13.835215] input: HD-Audio Generic Front Mic as /devices/pci0000:00/0000:00:08.1/0000:26:00.6/sound/card0/input8
[   13.835372] input: HD-Audio Generic Rear Mic as /devices/pci0000:00/0000:00:08.1/0000:26:00.6/sound/card0/input9
[   13.835507] input: HD-Audio Generic Line as /devices/pci0000:00/0000:00:08.1/0000:26:00.6/sound/card0/input10
[   13.835823] input: HD-Audio Generic Line Out Front as /devices/pci0000:00/0000:00:08.1/0000:26:00.6/sound/card0/input11
[   13.835971] input: HD-Audio Generic Line Out Surround as /devices/pci0000:00/0000:00:08.1/0000:26:00.6/sound/card0/input12
[   13.836141] input: HD-Audio Generic Line Out CLFE as /devices/pci0000:00/0000:00:08.1/0000:26:00.6/sound/card0/input13
[   13.836349] input: HD-Audio Generic Front Headphone as /devices/pci0000:00/0000:00:08.1/0000:26:00.6/sound/card0/input14
[   13.851555] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: errors=remount-ro
[   13.851612] ext4 filesystem being mounted at /boot supports timestamps until 2038 (0x7fffffff)
[   13.891526] r8169 0000:22:00.0 enp34s0: renamed from eth0
[   13.919758] [drm] DM_PPLIB: values for F clock
[   13.919760] [drm] DM_PPLIB:	 0 in kHz, 3649 in mV
[   13.919760] [drm] DM_PPLIB:	 400000 in kHz, 3649 in mV
[   13.919761] [drm] DM_PPLIB:	 933000 in kHz, 4074 in mV
[   13.919761] [drm] DM_PPLIB:	 1067000 in kHz, 4250 in mV
[   13.919776] ------------[ cut here ]------------
[   13.919846] WARNING: CPU: 3 PID: 309 at drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:1460 dcn_bw_update_from_pplib+0xaa/0x2f0 [amdgpu]
[   13.919846] Modules linked in: crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hda_core k10temp usb_storage amdgpu(+) i2c_piix4 snd_hwdep snd_pcm snd_timer gpu_sched snd soundcore r8169 realtek wmi video acpi_cpufreq crc32c_intel xhci_pci xhci_hcd
[   13.919855] CPU: 3 PID: 309 Comm: systemd-udevd Not tainted 5.5.0-rc4-01573-g8c7c363976f2 #28
[   13.919856] Hardware name: Micro-Star International Co., Ltd. MS-7A37/B350M MORTAR (MS-7A37), BIOS 1.MR 12/02/2019
[   13.919915] RIP: 0010:dcn_bw_update_from_pplib+0xaa/0x2f0 [amdgpu]
[   13.919916] Code: 0c 24 85 c9 74 24 8d 71 ff 48 8d 44 24 04 48 8d 54 f4 0c eb 0d 48 83 c0 08 48 39 d0 0f 84 2e 01 00 00 44 8b 00 45 85 c0 75 eb <0f> 0b e8 0f 7d bc f1 4c 89 e2 be 04 00 00 00 4c 89 ef e8 6f 54 fe
[   13.919917] RSP: 0018:ffff9f0540317670 EFLAGS: 00010246
[   13.919918] RAX: ffff9f0540317674 RBX: ffff8c206fe30000 RCX: 0000000000000004
[   13.919918] RDX: ffff9f0540317694 RSI: 0000000000000003 RDI: ffff8c20806d8900
[   13.919919] RBP: ffff9f05403177b0 R08: 0000000000000000 R09: 00000000000003c2
[   13.919919] R10: 0000000000013868 R11: 0000000000000004 R12: ffff9f0540317700
[   13.919919] R13: ffff8c20788ff2c0 R14: 0000000000000001 R15: ffff9f0540317850
[   13.919920] FS:  00007fa848774880(0000) GS:ffff8c20806c0000(0000) knlGS:0000000000000000
[   13.919921] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   13.919921] CR2: 00007fa847ca1000 CR3: 000000037b412000 CR4: 00000000003406e0
[   13.919922] Call Trace:
[   13.919982]  dcn10_create_resource_pool+0x836/0xb70 [amdgpu]
[   13.920042]  ? dal_gpio_service_create+0x92/0x110 [amdgpu]
[   13.920098]  dc_create_resource_pool+0xcf/0x150 [amdgpu]
[   13.920154]  dc_create+0x241/0x720 [amdgpu]
[   13.920205]  ? amdgpu_cgs_create_device+0x23/0x50 [amdgpu]
[   13.920261]  amdgpu_dm_init+0x145/0x1d0 [amdgpu]
[   13.920265]  ? stack_trace_save+0x4b/0x70
[   13.920321]  dm_hw_init+0xe/0x20 [amdgpu]
[   13.920377]  amdgpu_device_init.cold+0x1419/0x183b [amdgpu]
[   13.920420]  amdgpu_driver_load_kms+0x48/0x150 [amdgpu]
[   13.920422]  drm_dev_register+0x111/0x150
[   13.920464]  amdgpu_pci_probe+0xbb/0x120 [amdgpu]
[   13.920466]  ? __pm_runtime_resume+0x58/0x80
[   13.920468]  local_pci_probe+0x42/0x80
[   13.920470]  pci_device_probe+0x107/0x1a0
[   13.920472]  really_probe+0x147/0x3c0
[   13.920473]  driver_probe_device+0xb6/0x100
[   13.920474]  device_driver_attach+0x53/0x60
[   13.920475]  __driver_attach+0x8a/0x150
[   13.920476]  ? device_driver_attach+0x60/0x60
[   13.920477]  ? device_driver_attach+0x60/0x60
[   13.920477]  bus_for_each_dev+0x78/0xc0
[   13.920478]  bus_add_driver+0x14d/0x1f0
[   13.920479]  driver_register+0x6c/0xc0
[   13.920480]  ? 0xffffffffc0774000
[   13.920482]  do_one_initcall+0x46/0x1f0
[   13.920484]  ? kmem_cache_alloc_trace+0x18b/0x250
[   13.920486]  ? do_init_module+0x23/0x230
[   13.920487]  do_init_module+0x5c/0x230
[   13.920489]  load_module+0x2767/0x2a10
[   13.920491]  ? vfs_read+0x124/0x150
[   13.920493]  ? __do_sys_finit_module+0xaa/0x110
[   13.920494]  __do_sys_finit_module+0xaa/0x110
[   13.920496]  do_syscall_64+0x55/0x1c0
[   13.920498]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   13.920499] RIP: 0033:0x7fa848ce10b9
[   13.920500] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a7 3d 0c 00 f7 d8 64 89 01 48
[   13.920501] RSP: 002b:00007ffd79b39888 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[   13.920502] RAX: ffffffffffffffda RBX: 000056059f0a8650 RCX: 00007fa848ce10b9
[   13.920502] RDX: 0000000000000000 RSI: 00007fa848be4cad RDI: 000000000000000f
[   13.920503] RBP: 0000000000020000 R08: 0000000000000000 R09: 000056059f0acb28
[   13.920503] R10: 000000000000000f R11: 0000000000000246 R12: 00007fa848be4cad
[   13.920503] R13: 0000000000000000 R14: 000056059f0afa20 R15: 000056059f0a8650
[   13.920505] ---[ end trace b85761d46c314e4a ]---
[   13.920603] [drm] DM_PPLIB: values for DCF clock
[   13.920604] [drm] DM_PPLIB:	 300000 in kHz, 3649 in mV
[   13.920604] [drm] DM_PPLIB:	 600000 in kHz, 4074 in mV
[   13.920605] [drm] DM_PPLIB:	 626000 in kHz, 4250 in mV
[   13.920605] [drm] DM_PPLIB:	 654000 in kHz, 4399 in mV
[   13.921411] [drm] Display Core initialized with v3.2.62!
[   13.961282] snd_hda_intel 0000:26:00.1: bound 0000:26:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[   13.980349] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   13.980350] [drm] Driver supports precise vblank timestamp query.
[   14.023652] [drm] VCN decode and encode initialized successfully(under SPG Mode).
[   14.025401] [drm] fb mappable at 0x38FBC1000
[   14.025402] [drm] vram apper at 0x38F000000
[   14.025402] [drm] size 5242880
[   14.025402] [drm] fb depth is 24
[   14.025402] [drm]    pitch is 5120
[   14.025533] fbcon: amdgpudrmfb (fb0) is primary device
[   14.045679] Console: switching to colour frame buffer device 160x64
[   14.066082] amdgpu 0000:26:00.0: fb0: amdgpudrmfb frame buffer device
[   14.072485] amdgpu 0000:26:00.0: ring gfx uses VM inv eng 0 on hub 0
[   14.072487] amdgpu 0000:26:00.0: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[   14.072488] amdgpu 0000:26:00.0: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[   14.072489] amdgpu 0000:26:00.0: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[   14.072491] amdgpu 0000:26:00.0: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[   14.072492] amdgpu 0000:26:00.0: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[   14.072493] amdgpu 0000:26:00.0: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[   14.072494] amdgpu 0000:26:00.0: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[   14.072495] amdgpu 0000:26:00.0: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[   14.072496] amdgpu 0000:26:00.0: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
[   14.072498] amdgpu 0000:26:00.0: ring sdma0 uses VM inv eng 0 on hub 1
[   14.072499] amdgpu 0000:26:00.0: ring vcn_dec uses VM inv eng 1 on hub 1
[   14.072500] amdgpu 0000:26:00.0: ring vcn_enc0 uses VM inv eng 4 on hub 1
[   14.072501] amdgpu 0000:26:00.0: ring vcn_enc1 uses VM inv eng 5 on hub 1
[   14.072502] amdgpu 0000:26:00.0: ring jpeg_dec uses VM inv eng 6 on hub 1
[   14.125418] [drm] Initialized amdgpu 3.36.0 20150101 for 0000:26:00.0 on minor 0
[   14.599285] r8169 0000:22:00.0: Direct firmware load for rtl_nic/rtl8168h-2.fw failed with error -2
[   14.599290] r8169 0000:22:00.0: Unable to load firmware rtl_nic/rtl8168h-2.fw (-2)
[   14.599474] Generic FE-GE Realtek PHY r8169-2200:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-2200:00, irq=IGNORE)
[   14.678501] r8169 0000:22:00.0 enp34s0: Link is Down
[   14.753949] scsi 9:0:0:0: CD-ROM            ASUS     SDRW-08U9M-U     B101 PQ: 0 ANSI: 0
[   14.762043] sr 9:0:0:0: Power-on or device reset occurred
[   14.773554] sr 9:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
[   14.773557] cdrom: Uniform CD-ROM driver Revision: 3.20
[   14.780971] sr 9:0:0:0: Attached scsi CD-ROM sr0
[   14.781440] sr 9:0:0:0: Attached scsi generic sg1 type 5
[   18.267224] r8169 0000:22:00.0 enp34s0: Link is Up - 1Gbps/Full - flow control rx/tx
[   18.267233] IPv6: ADDRCONF(NETDEV_CHANGE): enp34s0: link becomes ready
[   22.162471] fuse: init (API version 7.31)
[   22.162738] *** VALIDATE fuse ***
[   22.162741] *** VALIDATE fuse ***
[  694.014627] kmemleak: 3 new suspected memory leaks (see /sys/kernel/debug/kmemleak)

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5174 bytes --]

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

* Re: BUG: KASAN: use-after-free in xhci_trb_virt_to_dma.part.24+0x1c/0x80
  2020-01-02 14:10     ` Paul Menzel
@ 2020-01-03 11:04       ` Mika Westerberg
  2020-01-07 12:09         ` Mathias Nyman
  2020-01-09  8:53         ` BUG: KASAN: use-after-free in xhci_trb_virt_to_dma.part.24+0x1c/0x80 Felipe Balbi
  0 siblings, 2 replies; 24+ messages in thread
From: Mika Westerberg @ 2020-01-03 11:04 UTC (permalink / raw)
  To: Paul Menzel; +Cc: Greg KH, Mathias Nyman, linux-usb, LKML

On Thu, Jan 02, 2020 at 03:10:14PM +0100, Paul Menzel wrote:
> Mika, as you fixed the other leak, any idea, how to continue from the
> kmemleak log below?
> 
> ```
> unreferenced object 0xffff8c207a1e1408 (size 8):
>   comm "systemd-udevd", pid 183, jiffies 4294667978 (age 752.292s)
>   hex dump (first 8 bytes):
>     34 01 05 00 00 00 00 00                          4.......
>   backtrace:
>     [<00000000aea7b46d>] xhci_mem_init+0xcfa/0xec0 [xhci_hcd]

There are probably better ways for doing this but you can use objdump
for example:

  $ objdump -l --prefix-addresses -j .text --disassemble=xhci_mem_init drivers/usb/host/xhci-hcd.ko

then find the offset xhci_mem_init+0xcfa. It should show you the line
numbers as well if you have compiled your kernel with debug info. This
should be close to the line that allocated the memory that was leaked.

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

* Re: BUG: KASAN: use-after-free in xhci_trb_virt_to_dma.part.24+0x1c/0x80
  2020-01-03 11:04       ` Mika Westerberg
@ 2020-01-07 12:09         ` Mathias Nyman
  2020-01-07 15:35           ` Paul Menzel
  2020-01-09  8:53         ` BUG: KASAN: use-after-free in xhci_trb_virt_to_dma.part.24+0x1c/0x80 Felipe Balbi
  1 sibling, 1 reply; 24+ messages in thread
From: Mathias Nyman @ 2020-01-07 12:09 UTC (permalink / raw)
  To: Mika Westerberg, Paul Menzel; +Cc: Greg KH, Mathias Nyman, linux-usb, LKML

On 3.1.2020 13.04, Mika Westerberg wrote:
> On Thu, Jan 02, 2020 at 03:10:14PM +0100, Paul Menzel wrote:
>> Mika, as you fixed the other leak, any idea, how to continue from the
>> kmemleak log below?
>>
>> ```
>> unreferenced object 0xffff8c207a1e1408 (size 8):
>>    comm "systemd-udevd", pid 183, jiffies 4294667978 (age 752.292s)
>>    hex dump (first 8 bytes):
>>      34 01 05 00 00 00 00 00                          4.......
>>    backtrace:
>>      [<00000000aea7b46d>] xhci_mem_init+0xcfa/0xec0 [xhci_hcd]
> 
> There are probably better ways for doing this but you can use objdump
> for example:
> 
>    $ objdump -l --prefix-addresses -j .text --disassemble=xhci_mem_init drivers/usb/host/xhci-hcd.ko
> 
> then find the offset xhci_mem_init+0xcfa. It should show you the line
> numbers as well if you have compiled your kernel with debug info. This
> should be close to the line that allocated the memory that was leaked.
> 

Paul, it possible that your xhci controller has several
supported protocol extended capabilities for usb 3 ports, each
with their own custom protocol speed ID table.

xhci driver assumes there is only one custome PSI table per roothub,
and we will end up allocating the second PSI table on top of the first,
leaking the first.

Could you boot with xhci dynamic debug enabled, and show dmesg after boot, add:
xhci_hcd.dyndbg=+p
to you kernel cmdline.

Or as an alternative, show output of:

sudo cat /sys/kernel/debug/usb/xhci/*/reg-ext-protocol*

-Mathias

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

* Re: BUG: KASAN: use-after-free in xhci_trb_virt_to_dma.part.24+0x1c/0x80
  2020-01-07 12:09         ` Mathias Nyman
@ 2020-01-07 15:35           ` Paul Menzel
  2020-01-08  9:34             ` Mathias Nyman
  0 siblings, 1 reply; 24+ messages in thread
From: Paul Menzel @ 2020-01-07 15:35 UTC (permalink / raw)
  To: Mathias Nyman, Mika Westerberg; +Cc: Greg KH, Mathias Nyman, linux-usb, LKML

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

Dear Mathias, dear Mika,


On 2020-01-07 13:09, Mathias Nyman wrote:
> On 3.1.2020 13.04, Mika Westerberg wrote:
>> On Thu, Jan 02, 2020 at 03:10:14PM +0100, Paul Menzel wrote:
>>> Mika, as you fixed the other leak, any idea, how to continue from the
>>> kmemleak log below?
>>>
>>> ```
>>> unreferenced object 0xffff8c207a1e1408 (size 8):
>>>    comm "systemd-udevd", pid 183, jiffies 4294667978 (age 752.292s)
>>>    hex dump (first 8 bytes):
>>>      34 01 05 00 00 00 00 00                          4.......
>>>    backtrace:
>>>      [<00000000aea7b46d>] xhci_mem_init+0xcfa/0xec0 [xhci_hcd]
>>
>> There are probably better ways for doing this but you can use objdump
>> for example:
>>
>>    $ objdump -l --prefix-addresses -j .text --disassemble=xhci_mem_init drivers/usb/host/xhci-hcd.ko
>>
>> then find the offset xhci_mem_init+0xcfa. It should show you the line
>> numbers as well if you have compiled your kernel with debug info. This
>> should be close to the line that allocated the memory that was leaked.

Thank you. I actually remembered `script/f2addr2line`.

    $ scripts/faddr2line drivers/usb/host/xhci-hcd.o xhci_mem_init+0xcfa
    xhci_mem_init+0xcfa/0xec0:
    xhci_add_in_port at /mnt/drivers/usb/host/xhci-mem.c:2161
    (inlined by) xhci_setup_port_arrays at /mnt/drivers/usb/host/xhci-mem.c:2309
    (inlined by) xhci_mem_init at /mnt/drivers/usb/host/xhci-mem.c:2538

> Paul, it possible that your xhci controller has several
> supported protocol extended capabilities for usb 3 ports, each
> with their own custom protocol speed ID table.
> 
> xhci driver assumes there is only one custome PSI table per roothub,
> and we will end up allocating the second PSI table on top of the first,
> leaking the first.
> 
> Could you boot with xhci dynamic debug enabled, and show dmesg after boot, add:
> xhci_hcd.dyndbg=+p
> to you kernel cmdline.
> 
> Or as an alternative, show output of:
> 
> sudo cat /sys/kernel/debug/usb/xhci/*/reg-ext-protocol*

`/sys/kernel/debug/` cannot be read by unprivileged users, so the wildcard does
not work with `sudo`.

```
$ sudo ls /sys/kernel/debug/usb/xhci
0000:12:00.0  0000:26:00.3  0000:26:00.4
# cat /sys/kernel/debug/usb/xhci/*/reg-ext-protocol*
EXTCAP_REVISION = 0x03100802
EXTCAP_NAME = 0x20425355
EXTCAP_PORTINFO = 0x00000201
EXTCAP_PORTTYPE = 0x00000000
EXTCAP_REVISION = 0x03000802
EXTCAP_NAME = 0x20425355
EXTCAP_PORTINFO = 0x00000203
EXTCAP_PORTTYPE = 0x00000000
EXTCAP_REVISION = 0x02000802
EXTCAP_NAME = 0x20425355
EXTCAP_PORTINFO = 0x00190a05
EXTCAP_PORTTYPE = 0x00000000
EXTCAP_REVISION = 0x02000402
EXTCAP_NAME = 0x20425355
EXTCAP_PORTINFO = 0x00180401
EXTCAP_PORTTYPE = 0x00000000
EXTCAP_REVISION = 0x03100802
EXTCAP_NAME = 0x20425355
EXTCAP_PORTINFO = 0x10000105
EXTCAP_PORTTYPE = 0x00000000
EXTCAP_MANTISSA1 = 0x00050134
EXTCAP_REVISION = 0x03100802
EXTCAP_NAME = 0x20425355
EXTCAP_PORTINFO = 0x10000106
EXTCAP_PORTTYPE = 0x00000000
EXTCAP_MANTISSA1 = 0x00050134
EXTCAP_REVISION = 0x03100802
EXTCAP_NAME = 0x20425355
EXTCAP_PORTINFO = 0x10000107
EXTCAP_PORTTYPE = 0x00000000
EXTCAP_MANTISSA1 = 0x00050134
EXTCAP_REVISION = 0x03100802
EXTCAP_NAME = 0x20425355
EXTCAP_PORTINFO = 0x10000108
EXTCAP_PORTTYPE = 0x00000000
EXTCAP_MANTISSA1 = 0x00050134
EXTCAP_REVISION = 0x02000402
EXTCAP_NAME = 0x20425355
EXTCAP_PORTINFO = 0x00180101
EXTCAP_PORTTYPE = 0x00000000
EXTCAP_REVISION = 0x03100802
EXTCAP_NAME = 0x20425355
EXTCAP_PORTINFO = 0x10000102
EXTCAP_PORTTYPE = 0x00000000
EXTCAP_MANTISSA1 = 0x00050134
```


Kind regards,

Paul


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5174 bytes --]

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

* Re: BUG: KASAN: use-after-free in xhci_trb_virt_to_dma.part.24+0x1c/0x80
  2020-01-07 15:35           ` Paul Menzel
@ 2020-01-08  9:34             ` Mathias Nyman
  2020-01-08 15:17               ` [RFT PATCH] xhci: Fix memory leak when caching protocol extended capability PSI tables Mathias Nyman
  0 siblings, 1 reply; 24+ messages in thread
From: Mathias Nyman @ 2020-01-08  9:34 UTC (permalink / raw)
  To: Paul Menzel, Mika Westerberg; +Cc: Greg KH, Mathias Nyman, linux-usb, LKML

On 7.1.2020 17.35, Paul Menzel wrote:
> Dear Mathias, dear Mika,
> 
> 
> On 2020-01-07 13:09, Mathias Nyman wrote:
>> On 3.1.2020 13.04, Mika Westerberg wrote:
>>> On Thu, Jan 02, 2020 at 03:10:14PM +0100, Paul Menzel wrote:
>>>> Mika, as you fixed the other leak, any idea, how to continue from the
>>>> kmemleak log below?
>>>>
>>>> ```
>>>> unreferenced object 0xffff8c207a1e1408 (size 8):
>>>>     comm "systemd-udevd", pid 183, jiffies 4294667978 (age 752.292s)
>>>>     hex dump (first 8 bytes):
>>>>       34 01 05 00 00 00 00 00                          4.......
>>>>     backtrace:
>>>>       [<00000000aea7b46d>] xhci_mem_init+0xcfa/0xec0 [xhci_hcd]
>>>
>>> There are probably better ways for doing this but you can use objdump
>>> for example:
>>>
>>>     $ objdump -l --prefix-addresses -j .text --disassemble=xhci_mem_init drivers/usb/host/xhci-hcd.ko
>>>
>>> then find the offset xhci_mem_init+0xcfa. It should show you the line
>>> numbers as well if you have compiled your kernel with debug info. This
>>> should be close to the line that allocated the memory that was leaked.
> 
> Thank you. I actually remembered `script/f2addr2line`.
> 
>      $ scripts/faddr2line drivers/usb/host/xhci-hcd.o xhci_mem_init+0xcfa
>      xhci_mem_init+0xcfa/0xec0:
>      xhci_add_in_port at /mnt/drivers/usb/host/xhci-mem.c:2161
>      (inlined by) xhci_setup_port_arrays at /mnt/drivers/usb/host/xhci-mem.c:2309
>      (inlined by) xhci_mem_init at /mnt/drivers/usb/host/xhci-mem.c:2538
> 
>> Paul, it possible that your xhci controller has several
>> supported protocol extended capabilities for usb 3 ports, each
>> with their own custom protocol speed ID table.
>>
>> xhci driver assumes there is only one custome PSI table per roothub,
>> and we will end up allocating the second PSI table on top of the first,
>> leaking the first.
>>
>> Could you boot with xhci dynamic debug enabled, and show dmesg after boot, add:
>> xhci_hcd.dyndbg=+p
>> to you kernel cmdline.
>>
>> Or as an alternative, show output of:
>>
>> sudo cat /sys/kernel/debug/usb/xhci/*/reg-ext-protocol*
> 
> `/sys/kernel/debug/` cannot be read by unprivileged users, so the wildcard does
> not work with `sudo`.
> 
> ```
> $ sudo ls /sys/kernel/debug/usb/xhci
> 0000:12:00.0  0000:26:00.3  0000:26:00.4
> # cat /sys/kernel/debug/usb/xhci/*/reg-ext-protocol*

problematic xhci:
capability for first four USB 2 ports
> EXTCAP_REVISION = 0x02000402
> EXTCAP_NAME = 0x20425355
> EXTCAP_PORTINFO = 0x00180401
> EXTCAP_PORTTYPE = 0x00000000

capability for one USB 3.1 port (5th port)
> EXTCAP_REVISION = 0x03100802
> EXTCAP_NAME = 0x20425355
> EXTCAP_PORTINFO = 0x10000105
> EXTCAP_PORTTYPE = 0x00000000
> EXTCAP_MANTISSA1 = 0x00050134
capability for one USB 3.1 port (6th port)
> EXTCAP_REVISION = 0x03100802
> EXTCAP_NAME = 0x20425355
> EXTCAP_PORTINFO = 0x10000106
> EXTCAP_PORTTYPE = 0x00000000
> EXTCAP_MANTISSA1 = 0x00050134
capability for one USB 3.1 port (7th port)
> EXTCAP_REVISION = 0x03100802
> EXTCAP_NAME = 0x20425355
> EXTCAP_PORTINFO = 0x10000107
> EXTCAP_PORTTYPE = 0x00000000
> EXTCAP_MANTISSA1 = 0x00050134
capability for one USB 3.1 port (8th port)
> EXTCAP_REVISION = 0x03100802
> EXTCAP_NAME = 0x20425355
> EXTCAP_PORTINFO = 0x10000108
> EXTCAP_PORTTYPE = 0x00000000
> EXTCAP_MANTISSA1 = 0x00050134

It has eight ports.  last four of them are USB 3.1 ports.
It has a very odd setup where each 3.1 port has their own
supported protocol capability with a custom PSI, but all the PSI's are similar,
telling the port only support a 5Gbps speed.

We leak all the custom PSI tables for USB 3.1 ports except the last,
these would be the EXTCAP_MANTISSA1 = 0x00050134, which is the same as
the hex dump of the unreferenced object you posted earlier (considering byte order):

hex dump (first 8 bytes):
34 01 05 00 00 00 00 00                          4.......

I'm working on a patch for this

-Mathias

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

* [RFT PATCH] xhci: Fix memory leak when caching protocol extended capability PSI tables
  2020-01-08  9:34             ` Mathias Nyman
@ 2020-01-08 15:17               ` Mathias Nyman
  2020-01-08 15:40                 ` Greg KH
       [not found]                 ` <CGME20200211105613eucas1p27cac4202c4287a5967b2ed988779d523@eucas1p2.samsung.com>
  0 siblings, 2 replies; 24+ messages in thread
From: Mathias Nyman @ 2020-01-08 15:17 UTC (permalink / raw)
  To: pmenzel; +Cc: mika.westerberg, linux-usb, greg, linux-kernel, Mathias Nyman

xhci driver assumed that xHC controllers have at most one custom
supported speed table (PSI) for all usb 3.x ports.
Memory was allocated for one PSI table under the xhci hub structure.

Turns out this is not the case, some controllers have a separate
"supported protocol capability" entry with a PSI table for each port.
This means each usb3 port can in theory support different custom speeds.

To solve this cache all supported protocol capabilities with their PSI
tables in an array, and add pointers to the xhci port structure so that
every port points to its capability entry in the array.

When creating the SuperSpeedPlus USB Device Capability BOS descriptor
for the xhci USB 3.1 roothub we for now will use only data from the
first USB 3.1 capable protocol capability entry in the array.
This could be improved later, this patch focuses resolving
the memory leak.

Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
Reported-by: Sajja Venkateswara Rao <VenkateswaraRao.Sajja@amd.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
---
 drivers/usb/host/xhci-hub.c | 25 +++++++++++-----
 drivers/usb/host/xhci-mem.c | 60 +++++++++++++++++++++++--------------
 drivers/usb/host/xhci.h     | 14 +++++++--
 3 files changed, 66 insertions(+), 33 deletions(-)

diff --git a/drivers/usb/host/xhci-hub.c b/drivers/usb/host/xhci-hub.c
index 7a3a29e5e9d2..0974eebd28e7 100644
--- a/drivers/usb/host/xhci-hub.c
+++ b/drivers/usb/host/xhci-hub.c
@@ -55,6 +55,7 @@ static u8 usb_bos_descriptor [] = {
 static int xhci_create_usb3_bos_desc(struct xhci_hcd *xhci, char *buf,
 				     u16 wLength)
 {
+	struct xhci_port_cap *port_cap;
 	int i, ssa_count;
 	u32 temp;
 	u16 desc_size, ssp_cap_size, ssa_size = 0;
@@ -64,16 +65,24 @@ static int xhci_create_usb3_bos_desc(struct xhci_hcd *xhci, char *buf,
 	ssp_cap_size = sizeof(usb_bos_descriptor) - desc_size;
 
 	/* does xhci support USB 3.1 Enhanced SuperSpeed */
-	if (xhci->usb3_rhub.min_rev >= 0x01) {
+	for (i = 0; i < xhci->num_port_caps; i++) {
+		if (xhci->port_caps[i].maj_rev == 0x03 &&
+		    xhci->port_caps[i].min_rev >= 0x01) {
+			usb3_1 = true;
+			port_cap = &xhci->port_caps[i];
+			break;
+		}
+	}
+
+	if (usb3_1) {
 		/* does xhci provide a PSI table for SSA speed attributes? */
-		if (xhci->usb3_rhub.psi_count) {
+		if (port_cap->psi_count) {
 			/* two SSA entries for each unique PSI ID, RX and TX */
-			ssa_count = xhci->usb3_rhub.psi_uid_count * 2;
+			ssa_count = port_cap->psi_uid_count * 2;
 			ssa_size = ssa_count * sizeof(u32);
 			ssp_cap_size -= 16; /* skip copying the default SSA */
 		}
 		desc_size += ssp_cap_size;
-		usb3_1 = true;
 	}
 	memcpy(buf, &usb_bos_descriptor, min(desc_size, wLength));
 
@@ -99,7 +108,7 @@ static int xhci_create_usb3_bos_desc(struct xhci_hcd *xhci, char *buf,
 	}
 
 	/* If PSI table exists, add the custom speed attributes from it */
-	if (usb3_1 && xhci->usb3_rhub.psi_count) {
+	if (usb3_1 && port_cap->psi_count) {
 		u32 ssp_cap_base, bm_attrib, psi, psi_mant, psi_exp;
 		int offset;
 
@@ -111,7 +120,7 @@ static int xhci_create_usb3_bos_desc(struct xhci_hcd *xhci, char *buf,
 
 		/* attribute count SSAC bits 4:0 and ID count SSIC bits 8:5 */
 		bm_attrib = (ssa_count - 1) & 0x1f;
-		bm_attrib |= (xhci->usb3_rhub.psi_uid_count - 1) << 5;
+		bm_attrib |= (port_cap->psi_uid_count - 1) << 5;
 		put_unaligned_le32(bm_attrib, &buf[ssp_cap_base + 4]);
 
 		if (wLength < desc_size + ssa_size)
@@ -124,8 +133,8 @@ static int xhci_create_usb3_bos_desc(struct xhci_hcd *xhci, char *buf,
 		 * USB 3.1 requires two SSA entries (RX and TX) for every link
 		 */
 		offset = desc_size;
-		for (i = 0; i < xhci->usb3_rhub.psi_count; i++) {
-			psi = xhci->usb3_rhub.psi[i];
+		for (i = 0; i < port_cap->psi_count; i++) {
+			psi = port_cap->psi[i];
 			psi &= ~USB_SSP_SUBLINK_SPEED_RSVD;
 			psi_exp = XHCI_EXT_PORT_PSIE(psi);
 			psi_mant = XHCI_EXT_PORT_PSIM(psi);
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c
index 3b1388fa2f36..cf4d27774a7d 100644
--- a/drivers/usb/host/xhci-mem.c
+++ b/drivers/usb/host/xhci-mem.c
@@ -1909,17 +1909,18 @@ void xhci_mem_cleanup(struct xhci_hcd *xhci)
 	xhci->usb3_rhub.num_ports = 0;
 	xhci->num_active_eps = 0;
 	kfree(xhci->usb2_rhub.ports);
-	kfree(xhci->usb2_rhub.psi);
 	kfree(xhci->usb3_rhub.ports);
-	kfree(xhci->usb3_rhub.psi);
 	kfree(xhci->hw_ports);
 	kfree(xhci->rh_bw);
 	kfree(xhci->ext_caps);
+	for (i = 0; i < xhci->num_port_caps; i++) {
+		kfree(xhci->port_caps[i].psi);
+		xhci->port_caps[i].psi = NULL;
+	}
+	kfree(xhci->port_caps);
 
 	xhci->usb2_rhub.ports = NULL;
-	xhci->usb2_rhub.psi = NULL;
 	xhci->usb3_rhub.ports = NULL;
-	xhci->usb3_rhub.psi = NULL;
 	xhci->hw_ports = NULL;
 	xhci->rh_bw = NULL;
 	xhci->ext_caps = NULL;
@@ -2120,6 +2121,7 @@ static void xhci_add_in_port(struct xhci_hcd *xhci, unsigned int num_ports,
 	u8 major_revision, minor_revision;
 	struct xhci_hub *rhub;
 	struct device *dev = xhci_to_hcd(xhci)->self.sysdev;
+	struct xhci_port_cap *port_cap;
 
 	temp = readl(addr);
 	major_revision = XHCI_EXT_PORT_MAJOR(temp);
@@ -2154,31 +2156,39 @@ static void xhci_add_in_port(struct xhci_hcd *xhci, unsigned int num_ports,
 		/* WTF? "Valid values are ‘1’ to MaxPorts" */
 		return;
 
-	rhub->psi_count = XHCI_EXT_PORT_PSIC(temp);
-	if (rhub->psi_count) {
-		rhub->psi = kcalloc_node(rhub->psi_count, sizeof(*rhub->psi),
-				    GFP_KERNEL, dev_to_node(dev));
-		if (!rhub->psi)
-			rhub->psi_count = 0;
+	port_cap = &xhci->port_caps[xhci->num_port_caps++];
+	if (xhci->num_port_caps > max_caps)
+		return;
+
+	port_cap->maj_rev = major_revision;
+	port_cap->min_rev = minor_revision;
+	port_cap->psi_count = XHCI_EXT_PORT_PSIC(temp);
+
+	if (port_cap->psi_count) {
+		port_cap->psi = kcalloc_node(port_cap->psi_count,
+					     sizeof(*port_cap->psi),
+					     GFP_KERNEL, dev_to_node(dev));
+		if (!port_cap->psi)
+			port_cap->psi_count = 0;
 
-		rhub->psi_uid_count++;
-		for (i = 0; i < rhub->psi_count; i++) {
-			rhub->psi[i] = readl(addr + 4 + i);
+		port_cap->psi_uid_count++;
+		for (i = 0; i < port_cap->psi_count; i++) {
+			port_cap->psi[i] = readl(addr + 4 + i);
 
 			/* count unique ID values, two consecutive entries can
 			 * have the same ID if link is assymetric
 			 */
-			if (i && (XHCI_EXT_PORT_PSIV(rhub->psi[i]) !=
-				  XHCI_EXT_PORT_PSIV(rhub->psi[i - 1])))
-				rhub->psi_uid_count++;
+			if (i && (XHCI_EXT_PORT_PSIV(port_cap->psi[i]) !=
+				  XHCI_EXT_PORT_PSIV(port_cap->psi[i - 1])))
+				port_cap->psi_uid_count++;
 
 			xhci_dbg(xhci, "PSIV:%d PSIE:%d PLT:%d PFD:%d LP:%d PSIM:%d\n",
-				  XHCI_EXT_PORT_PSIV(rhub->psi[i]),
-				  XHCI_EXT_PORT_PSIE(rhub->psi[i]),
-				  XHCI_EXT_PORT_PLT(rhub->psi[i]),
-				  XHCI_EXT_PORT_PFD(rhub->psi[i]),
-				  XHCI_EXT_PORT_LP(rhub->psi[i]),
-				  XHCI_EXT_PORT_PSIM(rhub->psi[i]));
+				  XHCI_EXT_PORT_PSIV(port_cap->psi[i]),
+				  XHCI_EXT_PORT_PSIE(port_cap->psi[i]),
+				  XHCI_EXT_PORT_PLT(port_cap->psi[i]),
+				  XHCI_EXT_PORT_PFD(port_cap->psi[i]),
+				  XHCI_EXT_PORT_LP(port_cap->psi[i]),
+				  XHCI_EXT_PORT_PSIM(port_cap->psi[i]));
 		}
 	}
 	/* cache usb2 port capabilities */
@@ -2213,6 +2223,7 @@ static void xhci_add_in_port(struct xhci_hcd *xhci, unsigned int num_ports,
 			continue;
 		}
 		hw_port->rhub = rhub;
+		hw_port->port_cap = port_cap;
 		rhub->num_ports++;
 	}
 	/* FIXME: Should we disable ports not in the Extended Capabilities? */
@@ -2303,6 +2314,11 @@ static int xhci_setup_port_arrays(struct xhci_hcd *xhci, gfp_t flags)
 	if (!xhci->ext_caps)
 		return -ENOMEM;
 
+	xhci->port_caps = kcalloc_node(cap_count, sizeof(*xhci->port_caps),
+				flags, dev_to_node(dev));
+	if (!xhci->port_caps)
+		return -ENOMEM;
+
 	offset = cap_start;
 
 	while (offset) {
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
index 13d8838cd552..3ecee10fdcdc 100644
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -1702,12 +1702,20 @@ struct xhci_bus_state {
  * Intel Lynx Point LP xHCI host.
  */
 #define	XHCI_MAX_REXIT_TIMEOUT_MS	20
+struct xhci_port_cap {
+	u32			*psi;	/* array of protocol speed ID entries */
+	u8			psi_count;
+	u8			psi_uid_count;
+	u8			maj_rev;
+	u8			min_rev;
+};
 
 struct xhci_port {
 	__le32 __iomem		*addr;
 	int			hw_portnum;
 	int			hcd_portnum;
 	struct xhci_hub		*rhub;
+	struct xhci_port_cap	*port_cap;
 };
 
 struct xhci_hub {
@@ -1719,9 +1727,6 @@ struct xhci_hub {
 	/* supported prococol extended capabiliy values */
 	u8			maj_rev;
 	u8			min_rev;
-	u32			*psi;	/* array of protocol speed ID entries */
-	u8			psi_count;
-	u8			psi_uid_count;
 };
 
 /* There is one xhci_hcd structure per controller */
@@ -1880,6 +1885,9 @@ struct xhci_hcd {
 	/* cached usb2 extened protocol capabilites */
 	u32                     *ext_caps;
 	unsigned int            num_ext_caps;
+	/* cached extended protocol port capabilities */
+	struct xhci_port_cap	*port_caps;
+	unsigned int		num_port_caps;
 	/* Compliance Mode Recovery Data */
 	struct timer_list	comp_mode_recovery_timer;
 	u32			port_status_u0;
-- 
2.17.1


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

* Re: [RFT PATCH] xhci: Fix memory leak when caching protocol extended capability PSI tables
  2020-01-08 15:17               ` [RFT PATCH] xhci: Fix memory leak when caching protocol extended capability PSI tables Mathias Nyman
@ 2020-01-08 15:40                 ` Greg KH
  2020-01-08 15:56                   ` Mathias Nyman
       [not found]                 ` <CGME20200211105613eucas1p27cac4202c4287a5967b2ed988779d523@eucas1p2.samsung.com>
  1 sibling, 1 reply; 24+ messages in thread
From: Greg KH @ 2020-01-08 15:40 UTC (permalink / raw)
  To: Mathias Nyman; +Cc: pmenzel, mika.westerberg, linux-usb, linux-kernel

On Wed, Jan 08, 2020 at 05:17:30PM +0200, Mathias Nyman wrote:
> xhci driver assumed that xHC controllers have at most one custom
> supported speed table (PSI) for all usb 3.x ports.
> Memory was allocated for one PSI table under the xhci hub structure.
> 
> Turns out this is not the case, some controllers have a separate
> "supported protocol capability" entry with a PSI table for each port.
> This means each usb3 port can in theory support different custom speeds.

Is there a "max" number of port capabilities that can happen?  Or this
this truely dynamic?

> +	for (i = 0; i < xhci->num_port_caps; i++) {
> +		kfree(xhci->port_caps[i].psi);
> +		xhci->port_caps[i].psi = NULL;
> +	}

Nit, no need to set to NULL here :)

thanks,

greg k-h

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

* Re: [RFT PATCH] xhci: Fix memory leak when caching protocol extended capability PSI tables
  2020-01-08 15:40                 ` Greg KH
@ 2020-01-08 15:56                   ` Mathias Nyman
  0 siblings, 0 replies; 24+ messages in thread
From: Mathias Nyman @ 2020-01-08 15:56 UTC (permalink / raw)
  To: Greg KH; +Cc: pmenzel, mika.westerberg, linux-usb, linux-kernel

On 8.1.2020 17.40, Greg KH wrote:
> On Wed, Jan 08, 2020 at 05:17:30PM +0200, Mathias Nyman wrote:
>> xhci driver assumed that xHC controllers have at most one custom
>> supported speed table (PSI) for all usb 3.x ports.
>> Memory was allocated for one PSI table under the xhci hub structure.
>>
>> Turns out this is not the case, some controllers have a separate
>> "supported protocol capability" entry with a PSI table for each port.
>> This means each usb3 port can in theory support different custom speeds.
> 
> Is there a "max" number of port capabilities that can happen?  Or this
> this truely dynamic?

Almost truly dynamic, each capability points to the next, last points to 0

But we can't have more "supported protocol capabilities" than xHC ports.
(MaxPorts value in xHC HCSPARAMS1 register)

> 
>> +	for (i = 0; i < xhci->num_port_caps; i++) {
>> +		kfree(xhci->port_caps[i].psi);
>> +		xhci->port_caps[i].psi = NULL;
>> +	}
> 
> Nit, no need to set to NULL here :)

Thanks, will remove that

-Mathias


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

* Re: BUG: KASAN: use-after-free in xhci_trb_virt_to_dma.part.24+0x1c/0x80
  2020-01-03 11:04       ` Mika Westerberg
  2020-01-07 12:09         ` Mathias Nyman
@ 2020-01-09  8:53         ` Felipe Balbi
  1 sibling, 0 replies; 24+ messages in thread
From: Felipe Balbi @ 2020-01-09  8:53 UTC (permalink / raw)
  To: Mika Westerberg, Paul Menzel; +Cc: Greg KH, Mathias Nyman, linux-usb, LKML

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


Hi,

Mika Westerberg <mika.westerberg@linux.intel.com> writes:

> On Thu, Jan 02, 2020 at 03:10:14PM +0100, Paul Menzel wrote:
>> Mika, as you fixed the other leak, any idea, how to continue from the
>> kmemleak log below?
>> 
>> ```
>> unreferenced object 0xffff8c207a1e1408 (size 8):
>>   comm "systemd-udevd", pid 183, jiffies 4294667978 (age 752.292s)
>>   hex dump (first 8 bytes):
>>     34 01 05 00 00 00 00 00                          4.......
>>   backtrace:
>>     [<00000000aea7b46d>] xhci_mem_init+0xcfa/0xec0 [xhci_hcd]
>
> There are probably better ways for doing this but you can use objdump
> for example:
>
>   $ objdump -l --prefix-addresses -j .text --disassemble=xhci_mem_init drivers/usb/host/xhci-hcd.ko
>
> then find the offset xhci_mem_init+0xcfa. It should show you the line
> numbers as well if you have compiled your kernel with debug info. This
> should be close to the line that allocated the memory that was leaked.

addr2line helps here. So does gdb (gdb vmlinux l *(xhci_mem_init+0xcfa))

-- 
balbi

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* Re: [RFT PATCH] xhci: Fix memory leak when caching protocol extended capability PSI tables
       [not found]                 ` <CGME20200211105613eucas1p27cac4202c4287a5967b2ed988779d523@eucas1p2.samsung.com>
@ 2020-02-11 10:56                   ` Marek Szyprowski
  2020-02-11 12:23                     ` Greg KH
  0 siblings, 1 reply; 24+ messages in thread
From: Marek Szyprowski @ 2020-02-11 10:56 UTC (permalink / raw)
  To: Mathias Nyman, pmenzel
  Cc: mika.westerberg, linux-usb, greg, linux-kernel,
	'Linux Samsung SOC',
	Krzysztof Kozlowski

Hi

On 08.01.2020 16:17, Mathias Nyman wrote:
> xhci driver assumed that xHC controllers have at most one custom
> supported speed table (PSI) for all usb 3.x ports.
> Memory was allocated for one PSI table under the xhci hub structure.
>
> Turns out this is not the case, some controllers have a separate
> "supported protocol capability" entry with a PSI table for each port.
> This means each usb3 port can in theory support different custom speeds.
>
> To solve this cache all supported protocol capabilities with their PSI
> tables in an array, and add pointers to the xhci port structure so that
> every port points to its capability entry in the array.
>
> When creating the SuperSpeedPlus USB Device Capability BOS descriptor
> for the xhci USB 3.1 roothub we for now will use only data from the
> first USB 3.1 capable protocol capability entry in the array.
> This could be improved later, this patch focuses resolving
> the memory leak.
>
> Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
> Reported-by: Sajja Venkateswara Rao <VenkateswaraRao.Sajja@amd.com>
> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>

This patch landed in today's linux-next (20200211) and causes NULL 
pointer dereference during second suspend/resume cycle on Samsung 
Exynos5422-based (arm 32bit) Odroid XU3lite board:

# time rtcwake -s10 -mmem
rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Feb 11 10:51:43 2020
PM: suspend entry (deep)
Filesystems sync: 0.012 seconds
Freezing user space processes ... (elapsed 0.010 seconds) done.
OOM killer disabled.
Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done.
smsc95xx 1-1.1:1.0 eth0: entering SUSPEND2 mode
wake enabled for irq 153
wake enabled for irq 158
samsung-pinctrl 13400000.pinctrl: Setting external wakeup interrupt 
mask: 0xffffffe7
Disabling non-boot CPUs ...
IRQ 51: no longer affine to CPU1
IRQ 52: no longer affine to CPU2
s3c2410-wdt 101d0000.watchdog: watchdog disabled
wake disabled for irq 158
usb usb1: root hub lost power or was reset
usb usb2: root hub lost power or was reset
wake disabled for irq 153
exynos-tmu 10060000.tmu: More trip points than supported by this TMU.
exynos-tmu 10060000.tmu: 2 trip points should be configured in polling mode.
exynos-tmu 10064000.tmu: More trip points than supported by this TMU.
exynos-tmu 10064000.tmu: 2 trip points should be configured in polling mode.
exynos-tmu 10068000.tmu: More trip points than supported by this TMU.
exynos-tmu 10068000.tmu: 2 trip points should be configured in polling mode.
exynos-tmu 1006c000.tmu: More trip points than supported by this TMU.
exynos-tmu 1006c000.tmu: 2 trip points should be configured in polling mode.
exynos-tmu 100a0000.tmu: More trip points than supported by this TMU.
exynos-tmu 100a0000.tmu: 6 trip points should be configured in polling mode.
usb usb3: root hub lost power or was reset
s3c-rtc 101e0000.rtc: rtc disabled, re-enabling
usb usb4: root hub lost power or was reset
xhci-hcd xhci-hcd.8.auto: No ports on the roothubs?
PM: dpm_run_callback(): platform_pm_resume+0x0/0x44 returns -12
PM: Device xhci-hcd.8.auto failed to resume async: error -12
hub 3-0:1.0: hub_ext_port_status failed (err = -32)
hub 4-0:1.0: hub_ext_port_status failed (err = -32)
usb 1-1: reset high-speed USB device number 2 using exynos-ehci
usb 1-1.1: reset high-speed USB device number 3 using exynos-ehci
OOM killer enabled.
Restarting tasks ... done.

real    0m11.890s
user    0m0.001s
sys     0m0.679s
root@target:~# PM: suspend exit
mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, 
actual 396825HZ div = 63)
mmc_host mmc0: Bus speed (slot 0) = 200000000Hz (slot req 200000000Hz, 
actual 200000000HZ div = 0)
mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, 
actual 50000000HZ div = 0)
mmc_host mmc0: Bus speed (slot 0) = 400000000Hz (slot req 200000000Hz, 
actual 200000000HZ div = 1)
smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1

root@target:~#
root@target:~# time rtcwake -s10 -mmem[   35.451572] vdd_ldo12: disabling

rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Feb 11 10:52:02 2020
PM: suspend entry (deep)
Filesystems sync: 0.004 seconds
Freezing user space processes ... (elapsed 0.006 seconds) done.
OOM killer disabled.
Freezing remaining freezable tasks ... (elapsed 0.070 seconds) done.
hub 4-0:1.0: hub_ext_port_status failed (err = -32)
hub 3-0:1.0: hub_ext_port_status failed (err = -32)
8<--- cut here ---
Unable to handle kernel NULL pointer dereference at virtual address 00000014
pgd = 4c26b54b
[00000014] *pgd=00000000
Internal error: Oops: 17 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 3 PID: 1468 Comm: kworker/u16:23 Not tainted 
5.6.0-rc1-next-20200211 #268
Hardware name: Samsung Exynos (Flattened Device Tree)
Workqueue: events_unbound async_run_entry_fn
PC is at xhci_suspend+0x12c/0x520
LR is at 0xa6aa9898
pc : [<c0724c90>]    lr : [<a6aa9898>]    psr: 60000093
sp : ec401df8  ip : 0000001a  fp : c12e7864
r10: 00000000  r9 : ecfb87b0  r8 : ecfb8220
r7 : 00000000  r6 : 00000000  r5 : 00000004  r4 : ecfb81f0
r3 : 00007d00  r2 : 00000001  r1 : 00000001  r0 : 00000000
Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment none
Control: 10c5387d  Table: 6bd4006a  DAC: 00000051
Process kworker/u16:23 (pid: 1468, stack limit = 0x6e4b6fba)
Stack: (0xec401df8 to 0xec402000)
...
[<c0724c90>] (xhci_suspend) from [<c061b4f4>] (dpm_run_callback+0xb4/0x3fc)
[<c061b4f4>] (dpm_run_callback) from [<c061bd5c>] 
(__device_suspend+0x134/0x7e8)
[<c061bd5c>] (__device_suspend) from [<c061c42c>] (async_suspend+0x1c/0x94)
[<c061c42c>] (async_suspend) from [<c0154bd0>] 
(async_run_entry_fn+0x48/0x1b8)
[<c0154bd0>] (async_run_entry_fn) from [<c0149b38>] 
(process_one_work+0x230/0x7bc)
[<c0149b38>] (process_one_work) from [<c014a108>] (worker_thread+0x44/0x524)
[<c014a108>] (worker_thread) from [<c01511fc>] (kthread+0x130/0x164)
[<c01511fc>] (kthread) from [<c01010b4>] (ret_from_fork+0x14/0x20)
Exception stack(0xec401fb0 to 0xec401ff8)
...
---[ end trace c72caf6487666442 ]---
note: kworker/u16:23[1468] exited with preempt_count 1

Reverting it fixes the NULL pointer issue. I can provide more 
information or do some other tests. Just let me know what will help to 
fix it.

 > ...

Best regards
-- 
Marek Szyprowski, PhD
Samsung R&D Institute Poland


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

* Re: [RFT PATCH] xhci: Fix memory leak when caching protocol extended capability PSI tables
  2020-02-11 10:56                   ` Marek Szyprowski
@ 2020-02-11 12:23                     ` Greg KH
  2020-02-11 12:29                       ` Mathias Nyman
  0 siblings, 1 reply; 24+ messages in thread
From: Greg KH @ 2020-02-11 12:23 UTC (permalink / raw)
  To: Marek Szyprowski
  Cc: Mathias Nyman, pmenzel, mika.westerberg, linux-usb, linux-kernel,
	'Linux Samsung SOC',
	Krzysztof Kozlowski

On Tue, Feb 11, 2020 at 11:56:12AM +0100, Marek Szyprowski wrote:
> Hi
> 
> On 08.01.2020 16:17, Mathias Nyman wrote:
> > xhci driver assumed that xHC controllers have at most one custom
> > supported speed table (PSI) for all usb 3.x ports.
> > Memory was allocated for one PSI table under the xhci hub structure.
> >
> > Turns out this is not the case, some controllers have a separate
> > "supported protocol capability" entry with a PSI table for each port.
> > This means each usb3 port can in theory support different custom speeds.
> >
> > To solve this cache all supported protocol capabilities with their PSI
> > tables in an array, and add pointers to the xhci port structure so that
> > every port points to its capability entry in the array.
> >
> > When creating the SuperSpeedPlus USB Device Capability BOS descriptor
> > for the xhci USB 3.1 roothub we for now will use only data from the
> > first USB 3.1 capable protocol capability entry in the array.
> > This could be improved later, this patch focuses resolving
> > the memory leak.
> >
> > Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
> > Reported-by: Sajja Venkateswara Rao <VenkateswaraRao.Sajja@amd.com>
> > Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
> 
> This patch landed in today's linux-next (20200211) and causes NULL 
> pointer dereference during second suspend/resume cycle on Samsung 
> Exynos5422-based (arm 32bit) Odroid XU3lite board:
> 
> # time rtcwake -s10 -mmem
> rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Feb 11 10:51:43 2020
> PM: suspend entry (deep)
> Filesystems sync: 0.012 seconds
> Freezing user space processes ... (elapsed 0.010 seconds) done.
> OOM killer disabled.
> Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done.
> smsc95xx 1-1.1:1.0 eth0: entering SUSPEND2 mode
> wake enabled for irq 153
> wake enabled for irq 158
> samsung-pinctrl 13400000.pinctrl: Setting external wakeup interrupt 
> mask: 0xffffffe7
> Disabling non-boot CPUs ...
> IRQ 51: no longer affine to CPU1
> IRQ 52: no longer affine to CPU2
> s3c2410-wdt 101d0000.watchdog: watchdog disabled
> wake disabled for irq 158
> usb usb1: root hub lost power or was reset
> usb usb2: root hub lost power or was reset
> wake disabled for irq 153
> exynos-tmu 10060000.tmu: More trip points than supported by this TMU.
> exynos-tmu 10060000.tmu: 2 trip points should be configured in polling mode.
> exynos-tmu 10064000.tmu: More trip points than supported by this TMU.
> exynos-tmu 10064000.tmu: 2 trip points should be configured in polling mode.
> exynos-tmu 10068000.tmu: More trip points than supported by this TMU.
> exynos-tmu 10068000.tmu: 2 trip points should be configured in polling mode.
> exynos-tmu 1006c000.tmu: More trip points than supported by this TMU.
> exynos-tmu 1006c000.tmu: 2 trip points should be configured in polling mode.
> exynos-tmu 100a0000.tmu: More trip points than supported by this TMU.
> exynos-tmu 100a0000.tmu: 6 trip points should be configured in polling mode.
> usb usb3: root hub lost power or was reset
> s3c-rtc 101e0000.rtc: rtc disabled, re-enabling
> usb usb4: root hub lost power or was reset
> xhci-hcd xhci-hcd.8.auto: No ports on the roothubs?
> PM: dpm_run_callback(): platform_pm_resume+0x0/0x44 returns -12
> PM: Device xhci-hcd.8.auto failed to resume async: error -12
> hub 3-0:1.0: hub_ext_port_status failed (err = -32)
> hub 4-0:1.0: hub_ext_port_status failed (err = -32)
> usb 1-1: reset high-speed USB device number 2 using exynos-ehci
> usb 1-1.1: reset high-speed USB device number 3 using exynos-ehci
> OOM killer enabled.
> Restarting tasks ... done.
> 
> real    0m11.890s
> user    0m0.001s
> sys     0m0.679s
> root@target:~# PM: suspend exit
> mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, 
> actual 396825HZ div = 63)
> mmc_host mmc0: Bus speed (slot 0) = 200000000Hz (slot req 200000000Hz, 
> actual 200000000HZ div = 0)
> mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, 
> actual 50000000HZ div = 0)
> mmc_host mmc0: Bus speed (slot 0) = 400000000Hz (slot req 200000000Hz, 
> actual 200000000HZ div = 1)
> smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
> 
> root@target:~#
> root@target:~# time rtcwake -s10 -mmem[   35.451572] vdd_ldo12: disabling
> 
> rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Feb 11 10:52:02 2020
> PM: suspend entry (deep)
> Filesystems sync: 0.004 seconds
> Freezing user space processes ... (elapsed 0.006 seconds) done.
> OOM killer disabled.
> Freezing remaining freezable tasks ... (elapsed 0.070 seconds) done.
> hub 4-0:1.0: hub_ext_port_status failed (err = -32)
> hub 3-0:1.0: hub_ext_port_status failed (err = -32)
> 8<--- cut here ---
> Unable to handle kernel NULL pointer dereference at virtual address 00000014
> pgd = 4c26b54b
> [00000014] *pgd=00000000
> Internal error: Oops: 17 [#1] PREEMPT SMP ARM
> Modules linked in:
> CPU: 3 PID: 1468 Comm: kworker/u16:23 Not tainted 
> 5.6.0-rc1-next-20200211 #268
> Hardware name: Samsung Exynos (Flattened Device Tree)
> Workqueue: events_unbound async_run_entry_fn
> PC is at xhci_suspend+0x12c/0x520
> LR is at 0xa6aa9898
> pc : [<c0724c90>]    lr : [<a6aa9898>]    psr: 60000093
> sp : ec401df8  ip : 0000001a  fp : c12e7864
> r10: 00000000  r9 : ecfb87b0  r8 : ecfb8220
> r7 : 00000000  r6 : 00000000  r5 : 00000004  r4 : ecfb81f0
> r3 : 00007d00  r2 : 00000001  r1 : 00000001  r0 : 00000000
> Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment none
> Control: 10c5387d  Table: 6bd4006a  DAC: 00000051
> Process kworker/u16:23 (pid: 1468, stack limit = 0x6e4b6fba)
> Stack: (0xec401df8 to 0xec402000)
> ...
> [<c0724c90>] (xhci_suspend) from [<c061b4f4>] (dpm_run_callback+0xb4/0x3fc)
> [<c061b4f4>] (dpm_run_callback) from [<c061bd5c>] 
> (__device_suspend+0x134/0x7e8)
> [<c061bd5c>] (__device_suspend) from [<c061c42c>] (async_suspend+0x1c/0x94)
> [<c061c42c>] (async_suspend) from [<c0154bd0>] 
> (async_run_entry_fn+0x48/0x1b8)
> [<c0154bd0>] (async_run_entry_fn) from [<c0149b38>] 
> (process_one_work+0x230/0x7bc)
> [<c0149b38>] (process_one_work) from [<c014a108>] (worker_thread+0x44/0x524)
> [<c014a108>] (worker_thread) from [<c01511fc>] (kthread+0x130/0x164)
> [<c01511fc>] (kthread) from [<c01010b4>] (ret_from_fork+0x14/0x20)
> Exception stack(0xec401fb0 to 0xec401ff8)
> ...
> ---[ end trace c72caf6487666442 ]---
> note: kworker/u16:23[1468] exited with preempt_count 1
> 
> Reverting it fixes the NULL pointer issue. I can provide more 
> information or do some other tests. Just let me know what will help to 
> fix it.
> 
>  > ...

Ugh.  Mathias, should I just revert this for now?

thanks,

greg k-h

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

* Re: [RFT PATCH] xhci: Fix memory leak when caching protocol extended capability PSI tables
  2020-02-11 12:23                     ` Greg KH
@ 2020-02-11 12:29                       ` Mathias Nyman
  2020-02-11 14:08                         ` Mathias Nyman
  0 siblings, 1 reply; 24+ messages in thread
From: Mathias Nyman @ 2020-02-11 12:29 UTC (permalink / raw)
  To: Greg KH, Marek Szyprowski
  Cc: pmenzel, mika.westerberg, linux-usb, linux-kernel,
	'Linux Samsung SOC',
	Krzysztof Kozlowski

On 11.2.2020 14.23, Greg KH wrote:
> On Tue, Feb 11, 2020 at 11:56:12AM +0100, Marek Szyprowski wrote:
>> Hi
>>
>> On 08.01.2020 16:17, Mathias Nyman wrote:
>>> xhci driver assumed that xHC controllers have at most one custom
>>> supported speed table (PSI) for all usb 3.x ports.
>>> Memory was allocated for one PSI table under the xhci hub structure.
>>>
>>> Turns out this is not the case, some controllers have a separate
>>> "supported protocol capability" entry with a PSI table for each port.
>>> This means each usb3 port can in theory support different custom speeds.
>>>
>>> To solve this cache all supported protocol capabilities with their PSI
>>> tables in an array, and add pointers to the xhci port structure so that
>>> every port points to its capability entry in the array.
>>>
>>> When creating the SuperSpeedPlus USB Device Capability BOS descriptor
>>> for the xhci USB 3.1 roothub we for now will use only data from the
>>> first USB 3.1 capable protocol capability entry in the array.
>>> This could be improved later, this patch focuses resolving
>>> the memory leak.
>>>
>>> Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
>>> Reported-by: Sajja Venkateswara Rao <VenkateswaraRao.Sajja@amd.com>
>>> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
>>
>> This patch landed in today's linux-next (20200211) and causes NULL 
>> pointer dereference during second suspend/resume cycle on Samsung 
>> Exynos5422-based (arm 32bit) Odroid XU3lite board:
>>
>> # time rtcwake -s10 -mmem
>> rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Feb 11 10:51:43 2020
>> PM: suspend entry (deep)
>> Filesystems sync: 0.012 seconds
>> Freezing user space processes ... (elapsed 0.010 seconds) done.
>> OOM killer disabled.
>> Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done.
>> smsc95xx 1-1.1:1.0 eth0: entering SUSPEND2 mode
>> wake enabled for irq 153
>> wake enabled for irq 158
>> samsung-pinctrl 13400000.pinctrl: Setting external wakeup interrupt 
>> mask: 0xffffffe7
>> Disabling non-boot CPUs ...
>> IRQ 51: no longer affine to CPU1
>> IRQ 52: no longer affine to CPU2
>> s3c2410-wdt 101d0000.watchdog: watchdog disabled
>> wake disabled for irq 158
>> usb usb1: root hub lost power or was reset
>> usb usb2: root hub lost power or was reset
>> wake disabled for irq 153
>> exynos-tmu 10060000.tmu: More trip points than supported by this TMU.
>> exynos-tmu 10060000.tmu: 2 trip points should be configured in polling mode.
>> exynos-tmu 10064000.tmu: More trip points than supported by this TMU.
>> exynos-tmu 10064000.tmu: 2 trip points should be configured in polling mode.
>> exynos-tmu 10068000.tmu: More trip points than supported by this TMU.
>> exynos-tmu 10068000.tmu: 2 trip points should be configured in polling mode.
>> exynos-tmu 1006c000.tmu: More trip points than supported by this TMU.
>> exynos-tmu 1006c000.tmu: 2 trip points should be configured in polling mode.
>> exynos-tmu 100a0000.tmu: More trip points than supported by this TMU.
>> exynos-tmu 100a0000.tmu: 6 trip points should be configured in polling mode.
>> usb usb3: root hub lost power or was reset
>> s3c-rtc 101e0000.rtc: rtc disabled, re-enabling
>> usb usb4: root hub lost power or was reset
>> xhci-hcd xhci-hcd.8.auto: No ports on the roothubs?
>> PM: dpm_run_callback(): platform_pm_resume+0x0/0x44 returns -12
>> PM: Device xhci-hcd.8.auto failed to resume async: error -12
>> hub 3-0:1.0: hub_ext_port_status failed (err = -32)
>> hub 4-0:1.0: hub_ext_port_status failed (err = -32)
>> usb 1-1: reset high-speed USB device number 2 using exynos-ehci
>> usb 1-1.1: reset high-speed USB device number 3 using exynos-ehci
>> OOM killer enabled.
>> Restarting tasks ... done.
>>
>> real    0m11.890s
>> user    0m0.001s
>> sys     0m0.679s
>> root@target:~# PM: suspend exit
>> mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, 
>> actual 396825HZ div = 63)
>> mmc_host mmc0: Bus speed (slot 0) = 200000000Hz (slot req 200000000Hz, 
>> actual 200000000HZ div = 0)
>> mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, 
>> actual 50000000HZ div = 0)
>> mmc_host mmc0: Bus speed (slot 0) = 400000000Hz (slot req 200000000Hz, 
>> actual 200000000HZ div = 1)
>> smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
>>
>> root@target:~#
>> root@target:~# time rtcwake -s10 -mmem[   35.451572] vdd_ldo12: disabling
>>
>> rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Feb 11 10:52:02 2020
>> PM: suspend entry (deep)
>> Filesystems sync: 0.004 seconds
>> Freezing user space processes ... (elapsed 0.006 seconds) done.
>> OOM killer disabled.
>> Freezing remaining freezable tasks ... (elapsed 0.070 seconds) done.
>> hub 4-0:1.0: hub_ext_port_status failed (err = -32)
>> hub 3-0:1.0: hub_ext_port_status failed (err = -32)
>> 8<--- cut here ---
>> Unable to handle kernel NULL pointer dereference at virtual address 00000014
>> pgd = 4c26b54b
>> [00000014] *pgd=00000000
>> Internal error: Oops: 17 [#1] PREEMPT SMP ARM
>> Modules linked in:
>> CPU: 3 PID: 1468 Comm: kworker/u16:23 Not tainted 
>> 5.6.0-rc1-next-20200211 #268
>> Hardware name: Samsung Exynos (Flattened Device Tree)
>> Workqueue: events_unbound async_run_entry_fn
>> PC is at xhci_suspend+0x12c/0x520
>> LR is at 0xa6aa9898
>> pc : [<c0724c90>]    lr : [<a6aa9898>]    psr: 60000093
>> sp : ec401df8  ip : 0000001a  fp : c12e7864
>> r10: 00000000  r9 : ecfb87b0  r8 : ecfb8220
>> r7 : 00000000  r6 : 00000000  r5 : 00000004  r4 : ecfb81f0
>> r3 : 00007d00  r2 : 00000001  r1 : 00000001  r0 : 00000000
>> Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment none
>> Control: 10c5387d  Table: 6bd4006a  DAC: 00000051
>> Process kworker/u16:23 (pid: 1468, stack limit = 0x6e4b6fba)
>> Stack: (0xec401df8 to 0xec402000)
>> ...
>> [<c0724c90>] (xhci_suspend) from [<c061b4f4>] (dpm_run_callback+0xb4/0x3fc)
>> [<c061b4f4>] (dpm_run_callback) from [<c061bd5c>] 
>> (__device_suspend+0x134/0x7e8)
>> [<c061bd5c>] (__device_suspend) from [<c061c42c>] (async_suspend+0x1c/0x94)
>> [<c061c42c>] (async_suspend) from [<c0154bd0>] 
>> (async_run_entry_fn+0x48/0x1b8)
>> [<c0154bd0>] (async_run_entry_fn) from [<c0149b38>] 
>> (process_one_work+0x230/0x7bc)
>> [<c0149b38>] (process_one_work) from [<c014a108>] (worker_thread+0x44/0x524)
>> [<c014a108>] (worker_thread) from [<c01511fc>] (kthread+0x130/0x164)
>> [<c01511fc>] (kthread) from [<c01010b4>] (ret_from_fork+0x14/0x20)
>> Exception stack(0xec401fb0 to 0xec401ff8)
>> ...
>> ---[ end trace c72caf6487666442 ]---
>> note: kworker/u16:23[1468] exited with preempt_count 1
>>
>> Reverting it fixes the NULL pointer issue. I can provide more 
>> information or do some other tests. Just let me know what will help to 
>> fix it.
>>
>>  > ...
> 
> Ugh.  Mathias, should I just revert this for now?
> 

Yes, revert it.

This looks very odd, after second resume, and losing power driver
can't find any port at all.

Marek, do you still get the "xhci-hcd xhci-hcd.8.auto: No ports on the roothubs?"
message on second resume after reverting the patch?

-Mathias

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

* Re: [RFT PATCH] xhci: Fix memory leak when caching protocol extended capability PSI tables
  2020-02-11 12:29                       ` Mathias Nyman
@ 2020-02-11 14:08                         ` Mathias Nyman
  2020-02-11 15:01                           ` [RFT PATCH v2] " Mathias Nyman
  0 siblings, 1 reply; 24+ messages in thread
From: Mathias Nyman @ 2020-02-11 14:08 UTC (permalink / raw)
  To: Greg KH, Marek Szyprowski
  Cc: pmenzel, mika.westerberg, linux-usb, linux-kernel,
	'Linux Samsung SOC',
	Krzysztof Kozlowski

On 11.2.2020 14.29, Mathias Nyman wrote:
> On 11.2.2020 14.23, Greg KH wrote:
>> On Tue, Feb 11, 2020 at 11:56:12AM +0100, Marek Szyprowski wrote:
>>> Hi
>>>
>>> On 08.01.2020 16:17, Mathias Nyman wrote:
>>>> xhci driver assumed that xHC controllers have at most one custom
>>>> supported speed table (PSI) for all usb 3.x ports.
>>>> Memory was allocated for one PSI table under the xhci hub structure.
>>>>
>>>> Turns out this is not the case, some controllers have a separate
>>>> "supported protocol capability" entry with a PSI table for each port.
>>>> This means each usb3 port can in theory support different custom speeds.
>>>>
>>>> To solve this cache all supported protocol capabilities with their PSI
>>>> tables in an array, and add pointers to the xhci port structure so that
>>>> every port points to its capability entry in the array.
>>>>
>>>> When creating the SuperSpeedPlus USB Device Capability BOS descriptor
>>>> for the xhci USB 3.1 roothub we for now will use only data from the
>>>> first USB 3.1 capable protocol capability entry in the array.
>>>> This could be improved later, this patch focuses resolving
>>>> the memory leak.
>>>>
>>>> Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
>>>> Reported-by: Sajja Venkateswara Rao <VenkateswaraRao.Sajja@amd.com>
>>>> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
>>>
>>> This patch landed in today's linux-next (20200211) and causes NULL 
>>> pointer dereference during second suspend/resume cycle on Samsung 
>>> Exynos5422-based (arm 32bit) Odroid XU3lite board:
>>>
>>> # time rtcwake -s10 -mmem
>>> rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Feb 11 10:51:43 2020
>>> PM: suspend entry (deep)
>>> Filesystems sync: 0.012 seconds
>>> Freezing user space processes ... (elapsed 0.010 seconds) done.
>>> OOM killer disabled.
>>> Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done.
>>> smsc95xx 1-1.1:1.0 eth0: entering SUSPEND2 mode
>>> wake enabled for irq 153
>>> wake enabled for irq 158
>>> samsung-pinctrl 13400000.pinctrl: Setting external wakeup interrupt 
>>> mask: 0xffffffe7
>>> Disabling non-boot CPUs ...
>>> IRQ 51: no longer affine to CPU1
>>> IRQ 52: no longer affine to CPU2
>>> s3c2410-wdt 101d0000.watchdog: watchdog disabled
>>> wake disabled for irq 158
>>> usb usb1: root hub lost power or was reset
>>> usb usb2: root hub lost power or was reset
>>> wake disabled for irq 153
>>> exynos-tmu 10060000.tmu: More trip points than supported by this TMU.
>>> exynos-tmu 10060000.tmu: 2 trip points should be configured in polling mode.
>>> exynos-tmu 10064000.tmu: More trip points than supported by this TMU.
>>> exynos-tmu 10064000.tmu: 2 trip points should be configured in polling mode.
>>> exynos-tmu 10068000.tmu: More trip points than supported by this TMU.
>>> exynos-tmu 10068000.tmu: 2 trip points should be configured in polling mode.
>>> exynos-tmu 1006c000.tmu: More trip points than supported by this TMU.
>>> exynos-tmu 1006c000.tmu: 2 trip points should be configured in polling mode.
>>> exynos-tmu 100a0000.tmu: More trip points than supported by this TMU.
>>> exynos-tmu 100a0000.tmu: 6 trip points should be configured in polling mode.
>>> usb usb3: root hub lost power or was reset
>>> s3c-rtc 101e0000.rtc: rtc disabled, re-enabling
>>> usb usb4: root hub lost power or was reset
>>> xhci-hcd xhci-hcd.8.auto: No ports on the roothubs?
>>> PM: dpm_run_callback(): platform_pm_resume+0x0/0x44 returns -12
>>> PM: Device xhci-hcd.8.auto failed to resume async: error -12
>>> hub 3-0:1.0: hub_ext_port_status failed (err = -32)
>>> hub 4-0:1.0: hub_ext_port_status failed (err = -32)
>>> usb 1-1: reset high-speed USB device number 2 using exynos-ehci
>>> usb 1-1.1: reset high-speed USB device number 3 using exynos-ehci
>>> OOM killer enabled.
>>> Restarting tasks ... done.
>>>
>>> real    0m11.890s
>>> user    0m0.001s
>>> sys     0m0.679s
>>> root@target:~# PM: suspend exit
>>> mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, 
>>> actual 396825HZ div = 63)
>>> mmc_host mmc0: Bus speed (slot 0) = 200000000Hz (slot req 200000000Hz, 
>>> actual 200000000HZ div = 0)
>>> mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, 
>>> actual 50000000HZ div = 0)
>>> mmc_host mmc0: Bus speed (slot 0) = 400000000Hz (slot req 200000000Hz, 
>>> actual 200000000HZ div = 1)
>>> smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
>>>
>>> root@target:~#
>>> root@target:~# time rtcwake -s10 -mmem[   35.451572] vdd_ldo12: disabling
>>>
>>> rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Feb 11 10:52:02 2020
>>> PM: suspend entry (deep)
>>> Filesystems sync: 0.004 seconds
>>> Freezing user space processes ... (elapsed 0.006 seconds) done.
>>> OOM killer disabled.
>>> Freezing remaining freezable tasks ... (elapsed 0.070 seconds) done.
>>> hub 4-0:1.0: hub_ext_port_status failed (err = -32)
>>> hub 3-0:1.0: hub_ext_port_status failed (err = -32)
>>> 8<--- cut here ---
>>> Unable to handle kernel NULL pointer dereference at virtual address 00000014
>>> pgd = 4c26b54b
>>> [00000014] *pgd=00000000
>>> Internal error: Oops: 17 [#1] PREEMPT SMP ARM
>>> Modules linked in:
>>> CPU: 3 PID: 1468 Comm: kworker/u16:23 Not tainted 
>>> 5.6.0-rc1-next-20200211 #268
>>> Hardware name: Samsung Exynos (Flattened Device Tree)
>>> Workqueue: events_unbound async_run_entry_fn
>>> PC is at xhci_suspend+0x12c/0x520
>>> LR is at 0xa6aa9898
>>> pc : [<c0724c90>]    lr : [<a6aa9898>]    psr: 60000093
>>> sp : ec401df8  ip : 0000001a  fp : c12e7864
>>> r10: 00000000  r9 : ecfb87b0  r8 : ecfb8220
>>> r7 : 00000000  r6 : 00000000  r5 : 00000004  r4 : ecfb81f0
>>> r3 : 00007d00  r2 : 00000001  r1 : 00000001  r0 : 00000000
>>> Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment none
>>> Control: 10c5387d  Table: 6bd4006a  DAC: 00000051
>>> Process kworker/u16:23 (pid: 1468, stack limit = 0x6e4b6fba)
>>> Stack: (0xec401df8 to 0xec402000)
>>> ...
>>> [<c0724c90>] (xhci_suspend) from [<c061b4f4>] (dpm_run_callback+0xb4/0x3fc)
>>> [<c061b4f4>] (dpm_run_callback) from [<c061bd5c>] 
>>> (__device_suspend+0x134/0x7e8)
>>> [<c061bd5c>] (__device_suspend) from [<c061c42c>] (async_suspend+0x1c/0x94)
>>> [<c061c42c>] (async_suspend) from [<c0154bd0>] 
>>> (async_run_entry_fn+0x48/0x1b8)
>>> [<c0154bd0>] (async_run_entry_fn) from [<c0149b38>] 
>>> (process_one_work+0x230/0x7bc)
>>> [<c0149b38>] (process_one_work) from [<c014a108>] (worker_thread+0x44/0x524)
>>> [<c014a108>] (worker_thread) from [<c01511fc>] (kthread+0x130/0x164)
>>> [<c01511fc>] (kthread) from [<c01010b4>] (ret_from_fork+0x14/0x20)
>>> Exception stack(0xec401fb0 to 0xec401ff8)
>>> ...
>>> ---[ end trace c72caf6487666442 ]---
>>> note: kworker/u16:23[1468] exited with preempt_count 1
>>>
>>> Reverting it fixes the NULL pointer issue. I can provide more 
>>> information or do some other tests. Just let me know what will help to 
>>> fix it.
>>>
>>>  > ...
>>
>> Ugh.  Mathias, should I just revert this for now?
>>
> 
> Yes, revert it.
> 
> This looks very odd, after second resume, and losing power driver
> can't find any port at all.
> 
> Marek, do you still get the "xhci-hcd xhci-hcd.8.auto: No ports on the roothubs?"
> message on second resume after reverting the patch?
> 

Ok, I think I got it. 
Patch doesn't set xhci->num_port_caps to 0 in xhci_mem_cleanup().

Adding new ports will fail when we reinitialize xhci manually, like in this
exynos case where xhci loses power in suspend/resume cycle.  

I'll post a new version soon

-Mathias
 


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

* [RFT PATCH v2] xhci: Fix memory leak when caching protocol extended capability PSI tables
  2020-02-11 14:08                         ` Mathias Nyman
@ 2020-02-11 15:01                           ` Mathias Nyman
  2020-02-11 15:12                             ` Marek Szyprowski
  2020-02-13 13:33                             ` Jon Hunter
  0 siblings, 2 replies; 24+ messages in thread
From: Mathias Nyman @ 2020-02-11 15:01 UTC (permalink / raw)
  To: gregkh, m.szyprowski
  Cc: pmenzel, mika.westerberg, linux-usb, linux-kernel,
	linux-samsung-soc, krzk, Mathias Nyman, stable

xhci driver assumed that xHC controllers have at most one custom
supported speed table (PSI) for all usb 3.x ports.
Memory was allocated for one PSI table under the xhci hub structure.

Turns out this is not the case, some controllers have a separate
"supported protocol capability" entry with a PSI table for each port.
This means each usb3 roothub port can in theory support different custom
speeds.

To solve this, cache all supported protocol capabilities with their PSI
tables in an array, and add pointers to the xhci port structure so that
every port points to its capability entry in the array.

When creating the SuperSpeedPlus USB Device Capability BOS descriptor
for the xhci USB 3.1 roothub we for now will use only data from the
first USB 3.1 capable protocol capability entry in the array.
This could be improved later, this patch focuses resolving
the memory leak.

Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
Reported-by: Sajja Venkateswara Rao <VenkateswaraRao.Sajja@amd.com>
Fixes: 47189098f8be ("xhci: parse xhci protocol speed ID list for usb 3.1 usage")
Cc: stable <stable@vger.kernel.org> # v4.4+
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
---

Changes since v1:

- Clear xhci->num_port_caps in xhci_mem_cleanup()
  Otherwise we fail to add new ports and cause NULL pointer dereference at
  manual xhci re-initialization. This can happen at resume if host lost power
  during suspend.
---
 drivers/usb/host/xhci-hub.c | 25 +++++++++++-----
 drivers/usb/host/xhci-mem.c | 59 +++++++++++++++++++++++--------------
 drivers/usb/host/xhci.h     | 14 +++++++--
 3 files changed, 65 insertions(+), 33 deletions(-)

diff --git a/drivers/usb/host/xhci-hub.c b/drivers/usb/host/xhci-hub.c
index 7a3a29e5e9d2..af92b2576fe9 100644
--- a/drivers/usb/host/xhci-hub.c
+++ b/drivers/usb/host/xhci-hub.c
@@ -55,6 +55,7 @@ static u8 usb_bos_descriptor [] = {
 static int xhci_create_usb3_bos_desc(struct xhci_hcd *xhci, char *buf,
 				     u16 wLength)
 {
+	struct xhci_port_cap *port_cap = NULL;
 	int i, ssa_count;
 	u32 temp;
 	u16 desc_size, ssp_cap_size, ssa_size = 0;
@@ -64,16 +65,24 @@ static int xhci_create_usb3_bos_desc(struct xhci_hcd *xhci, char *buf,
 	ssp_cap_size = sizeof(usb_bos_descriptor) - desc_size;
 
 	/* does xhci support USB 3.1 Enhanced SuperSpeed */
-	if (xhci->usb3_rhub.min_rev >= 0x01) {
+	for (i = 0; i < xhci->num_port_caps; i++) {
+		if (xhci->port_caps[i].maj_rev == 0x03 &&
+		    xhci->port_caps[i].min_rev >= 0x01) {
+			usb3_1 = true;
+			port_cap = &xhci->port_caps[i];
+			break;
+		}
+	}
+
+	if (usb3_1) {
 		/* does xhci provide a PSI table for SSA speed attributes? */
-		if (xhci->usb3_rhub.psi_count) {
+		if (port_cap->psi_count) {
 			/* two SSA entries for each unique PSI ID, RX and TX */
-			ssa_count = xhci->usb3_rhub.psi_uid_count * 2;
+			ssa_count = port_cap->psi_uid_count * 2;
 			ssa_size = ssa_count * sizeof(u32);
 			ssp_cap_size -= 16; /* skip copying the default SSA */
 		}
 		desc_size += ssp_cap_size;
-		usb3_1 = true;
 	}
 	memcpy(buf, &usb_bos_descriptor, min(desc_size, wLength));
 
@@ -99,7 +108,7 @@ static int xhci_create_usb3_bos_desc(struct xhci_hcd *xhci, char *buf,
 	}
 
 	/* If PSI table exists, add the custom speed attributes from it */
-	if (usb3_1 && xhci->usb3_rhub.psi_count) {
+	if (usb3_1 && port_cap->psi_count) {
 		u32 ssp_cap_base, bm_attrib, psi, psi_mant, psi_exp;
 		int offset;
 
@@ -111,7 +120,7 @@ static int xhci_create_usb3_bos_desc(struct xhci_hcd *xhci, char *buf,
 
 		/* attribute count SSAC bits 4:0 and ID count SSIC bits 8:5 */
 		bm_attrib = (ssa_count - 1) & 0x1f;
-		bm_attrib |= (xhci->usb3_rhub.psi_uid_count - 1) << 5;
+		bm_attrib |= (port_cap->psi_uid_count - 1) << 5;
 		put_unaligned_le32(bm_attrib, &buf[ssp_cap_base + 4]);
 
 		if (wLength < desc_size + ssa_size)
@@ -124,8 +133,8 @@ static int xhci_create_usb3_bos_desc(struct xhci_hcd *xhci, char *buf,
 		 * USB 3.1 requires two SSA entries (RX and TX) for every link
 		 */
 		offset = desc_size;
-		for (i = 0; i < xhci->usb3_rhub.psi_count; i++) {
-			psi = xhci->usb3_rhub.psi[i];
+		for (i = 0; i < port_cap->psi_count; i++) {
+			psi = port_cap->psi[i];
 			psi &= ~USB_SSP_SUBLINK_SPEED_RSVD;
 			psi_exp = XHCI_EXT_PORT_PSIE(psi);
 			psi_mant = XHCI_EXT_PORT_PSIM(psi);
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c
index 0e2701649369..884c601bfa15 100644
--- a/drivers/usb/host/xhci-mem.c
+++ b/drivers/usb/host/xhci-mem.c
@@ -1915,17 +1915,17 @@ void xhci_mem_cleanup(struct xhci_hcd *xhci)
 	xhci->usb3_rhub.num_ports = 0;
 	xhci->num_active_eps = 0;
 	kfree(xhci->usb2_rhub.ports);
-	kfree(xhci->usb2_rhub.psi);
 	kfree(xhci->usb3_rhub.ports);
-	kfree(xhci->usb3_rhub.psi);
 	kfree(xhci->hw_ports);
 	kfree(xhci->rh_bw);
 	kfree(xhci->ext_caps);
+	for (i = 0; i < xhci->num_port_caps; i++)
+		kfree(xhci->port_caps[i].psi);
+	kfree(xhci->port_caps);
+	xhci->num_port_caps = 0;
 
 	xhci->usb2_rhub.ports = NULL;
-	xhci->usb2_rhub.psi = NULL;
 	xhci->usb3_rhub.ports = NULL;
-	xhci->usb3_rhub.psi = NULL;
 	xhci->hw_ports = NULL;
 	xhci->rh_bw = NULL;
 	xhci->ext_caps = NULL;
@@ -2126,6 +2126,7 @@ static void xhci_add_in_port(struct xhci_hcd *xhci, unsigned int num_ports,
 	u8 major_revision, minor_revision;
 	struct xhci_hub *rhub;
 	struct device *dev = xhci_to_hcd(xhci)->self.sysdev;
+	struct xhci_port_cap *port_cap;
 
 	temp = readl(addr);
 	major_revision = XHCI_EXT_PORT_MAJOR(temp);
@@ -2160,31 +2161,39 @@ static void xhci_add_in_port(struct xhci_hcd *xhci, unsigned int num_ports,
 		/* WTF? "Valid values are ‘1’ to MaxPorts" */
 		return;
 
-	rhub->psi_count = XHCI_EXT_PORT_PSIC(temp);
-	if (rhub->psi_count) {
-		rhub->psi = kcalloc_node(rhub->psi_count, sizeof(*rhub->psi),
-				    GFP_KERNEL, dev_to_node(dev));
-		if (!rhub->psi)
-			rhub->psi_count = 0;
+	port_cap = &xhci->port_caps[xhci->num_port_caps++];
+	if (xhci->num_port_caps > max_caps)
+		return;
+
+	port_cap->maj_rev = major_revision;
+	port_cap->min_rev = minor_revision;
+	port_cap->psi_count = XHCI_EXT_PORT_PSIC(temp);
+
+	if (port_cap->psi_count) {
+		port_cap->psi = kcalloc_node(port_cap->psi_count,
+					     sizeof(*port_cap->psi),
+					     GFP_KERNEL, dev_to_node(dev));
+		if (!port_cap->psi)
+			port_cap->psi_count = 0;
 
-		rhub->psi_uid_count++;
-		for (i = 0; i < rhub->psi_count; i++) {
-			rhub->psi[i] = readl(addr + 4 + i);
+		port_cap->psi_uid_count++;
+		for (i = 0; i < port_cap->psi_count; i++) {
+			port_cap->psi[i] = readl(addr + 4 + i);
 
 			/* count unique ID values, two consecutive entries can
 			 * have the same ID if link is assymetric
 			 */
-			if (i && (XHCI_EXT_PORT_PSIV(rhub->psi[i]) !=
-				  XHCI_EXT_PORT_PSIV(rhub->psi[i - 1])))
-				rhub->psi_uid_count++;
+			if (i && (XHCI_EXT_PORT_PSIV(port_cap->psi[i]) !=
+				  XHCI_EXT_PORT_PSIV(port_cap->psi[i - 1])))
+				port_cap->psi_uid_count++;
 
 			xhci_dbg(xhci, "PSIV:%d PSIE:%d PLT:%d PFD:%d LP:%d PSIM:%d\n",
-				  XHCI_EXT_PORT_PSIV(rhub->psi[i]),
-				  XHCI_EXT_PORT_PSIE(rhub->psi[i]),
-				  XHCI_EXT_PORT_PLT(rhub->psi[i]),
-				  XHCI_EXT_PORT_PFD(rhub->psi[i]),
-				  XHCI_EXT_PORT_LP(rhub->psi[i]),
-				  XHCI_EXT_PORT_PSIM(rhub->psi[i]));
+				  XHCI_EXT_PORT_PSIV(port_cap->psi[i]),
+				  XHCI_EXT_PORT_PSIE(port_cap->psi[i]),
+				  XHCI_EXT_PORT_PLT(port_cap->psi[i]),
+				  XHCI_EXT_PORT_PFD(port_cap->psi[i]),
+				  XHCI_EXT_PORT_LP(port_cap->psi[i]),
+				  XHCI_EXT_PORT_PSIM(port_cap->psi[i]));
 		}
 	}
 	/* cache usb2 port capabilities */
@@ -2219,6 +2228,7 @@ static void xhci_add_in_port(struct xhci_hcd *xhci, unsigned int num_ports,
 			continue;
 		}
 		hw_port->rhub = rhub;
+		hw_port->port_cap = port_cap;
 		rhub->num_ports++;
 	}
 	/* FIXME: Should we disable ports not in the Extended Capabilities? */
@@ -2309,6 +2319,11 @@ static int xhci_setup_port_arrays(struct xhci_hcd *xhci, gfp_t flags)
 	if (!xhci->ext_caps)
 		return -ENOMEM;
 
+	xhci->port_caps = kcalloc_node(cap_count, sizeof(*xhci->port_caps),
+				flags, dev_to_node(dev));
+	if (!xhci->port_caps)
+		return -ENOMEM;
+
 	offset = cap_start;
 
 	while (offset) {
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
index 13d8838cd552..3ecee10fdcdc 100644
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -1702,12 +1702,20 @@ struct xhci_bus_state {
  * Intel Lynx Point LP xHCI host.
  */
 #define	XHCI_MAX_REXIT_TIMEOUT_MS	20
+struct xhci_port_cap {
+	u32			*psi;	/* array of protocol speed ID entries */
+	u8			psi_count;
+	u8			psi_uid_count;
+	u8			maj_rev;
+	u8			min_rev;
+};
 
 struct xhci_port {
 	__le32 __iomem		*addr;
 	int			hw_portnum;
 	int			hcd_portnum;
 	struct xhci_hub		*rhub;
+	struct xhci_port_cap	*port_cap;
 };
 
 struct xhci_hub {
@@ -1719,9 +1727,6 @@ struct xhci_hub {
 	/* supported prococol extended capabiliy values */
 	u8			maj_rev;
 	u8			min_rev;
-	u32			*psi;	/* array of protocol speed ID entries */
-	u8			psi_count;
-	u8			psi_uid_count;
 };
 
 /* There is one xhci_hcd structure per controller */
@@ -1880,6 +1885,9 @@ struct xhci_hcd {
 	/* cached usb2 extened protocol capabilites */
 	u32                     *ext_caps;
 	unsigned int            num_ext_caps;
+	/* cached extended protocol port capabilities */
+	struct xhci_port_cap	*port_caps;
+	unsigned int		num_port_caps;
 	/* Compliance Mode Recovery Data */
 	struct timer_list	comp_mode_recovery_timer;
 	u32			port_status_u0;
-- 
2.17.1


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

* Re: [RFT PATCH v2] xhci: Fix memory leak when caching protocol extended capability PSI tables
  2020-02-11 15:01                           ` [RFT PATCH v2] " Mathias Nyman
@ 2020-02-11 15:12                             ` Marek Szyprowski
  2020-02-11 16:13                               ` Greg KH
  2020-02-13 13:33                             ` Jon Hunter
  1 sibling, 1 reply; 24+ messages in thread
From: Marek Szyprowski @ 2020-02-11 15:12 UTC (permalink / raw)
  To: Mathias Nyman, gregkh
  Cc: pmenzel, mika.westerberg, linux-usb, linux-kernel,
	linux-samsung-soc, krzk, stable

Hi Mathias,

On 11.02.2020 16:01, Mathias Nyman wrote:
> xhci driver assumed that xHC controllers have at most one custom
> supported speed table (PSI) for all usb 3.x ports.
> Memory was allocated for one PSI table under the xhci hub structure.
>
> Turns out this is not the case, some controllers have a separate
> "supported protocol capability" entry with a PSI table for each port.
> This means each usb3 roothub port can in theory support different custom
> speeds.
>
> To solve this, cache all supported protocol capabilities with their PSI
> tables in an array, and add pointers to the xhci port structure so that
> every port points to its capability entry in the array.
>
> When creating the SuperSpeedPlus USB Device Capability BOS descriptor
> for the xhci USB 3.1 roothub we for now will use only data from the
> first USB 3.1 capable protocol capability entry in the array.
> This could be improved later, this patch focuses resolving
> the memory leak.
>
> Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
> Reported-by: Sajja Venkateswara Rao <VenkateswaraRao.Sajja@amd.com>
> Fixes: 47189098f8be ("xhci: parse xhci protocol speed ID list for usb 3.1 usage")
> Cc: stable <stable@vger.kernel.org> # v4.4+
> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>

Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>

> ---
>
> Changes since v1:
>
> - Clear xhci->num_port_caps in xhci_mem_cleanup()
>    Otherwise we fail to add new ports and cause NULL pointer dereference at
>    manual xhci re-initialization. This can happen at resume if host lost power
>    during suspend.
> ---
>   drivers/usb/host/xhci-hub.c | 25 +++++++++++-----
>   drivers/usb/host/xhci-mem.c | 59 +++++++++++++++++++++++--------------
>   drivers/usb/host/xhci.h     | 14 +++++++--
>   3 files changed, 65 insertions(+), 33 deletions(-)
>
> diff --git a/drivers/usb/host/xhci-hub.c b/drivers/usb/host/xhci-hub.c
> index 7a3a29e5e9d2..af92b2576fe9 100644
> --- a/drivers/usb/host/xhci-hub.c
> +++ b/drivers/usb/host/xhci-hub.c
> @@ -55,6 +55,7 @@ static u8 usb_bos_descriptor [] = {
>   static int xhci_create_usb3_bos_desc(struct xhci_hcd *xhci, char *buf,
>   				     u16 wLength)
>   {
> +	struct xhci_port_cap *port_cap = NULL;
>   	int i, ssa_count;
>   	u32 temp;
>   	u16 desc_size, ssp_cap_size, ssa_size = 0;
> @@ -64,16 +65,24 @@ static int xhci_create_usb3_bos_desc(struct xhci_hcd *xhci, char *buf,
>   	ssp_cap_size = sizeof(usb_bos_descriptor) - desc_size;
>   
>   	/* does xhci support USB 3.1 Enhanced SuperSpeed */
> -	if (xhci->usb3_rhub.min_rev >= 0x01) {
> +	for (i = 0; i < xhci->num_port_caps; i++) {
> +		if (xhci->port_caps[i].maj_rev == 0x03 &&
> +		    xhci->port_caps[i].min_rev >= 0x01) {
> +			usb3_1 = true;
> +			port_cap = &xhci->port_caps[i];
> +			break;
> +		}
> +	}
> +
> +	if (usb3_1) {
>   		/* does xhci provide a PSI table for SSA speed attributes? */
> -		if (xhci->usb3_rhub.psi_count) {
> +		if (port_cap->psi_count) {
>   			/* two SSA entries for each unique PSI ID, RX and TX */
> -			ssa_count = xhci->usb3_rhub.psi_uid_count * 2;
> +			ssa_count = port_cap->psi_uid_count * 2;
>   			ssa_size = ssa_count * sizeof(u32);
>   			ssp_cap_size -= 16; /* skip copying the default SSA */
>   		}
>   		desc_size += ssp_cap_size;
> -		usb3_1 = true;
>   	}
>   	memcpy(buf, &usb_bos_descriptor, min(desc_size, wLength));
>   
> @@ -99,7 +108,7 @@ static int xhci_create_usb3_bos_desc(struct xhci_hcd *xhci, char *buf,
>   	}
>   
>   	/* If PSI table exists, add the custom speed attributes from it */
> -	if (usb3_1 && xhci->usb3_rhub.psi_count) {
> +	if (usb3_1 && port_cap->psi_count) {
>   		u32 ssp_cap_base, bm_attrib, psi, psi_mant, psi_exp;
>   		int offset;
>   
> @@ -111,7 +120,7 @@ static int xhci_create_usb3_bos_desc(struct xhci_hcd *xhci, char *buf,
>   
>   		/* attribute count SSAC bits 4:0 and ID count SSIC bits 8:5 */
>   		bm_attrib = (ssa_count - 1) & 0x1f;
> -		bm_attrib |= (xhci->usb3_rhub.psi_uid_count - 1) << 5;
> +		bm_attrib |= (port_cap->psi_uid_count - 1) << 5;
>   		put_unaligned_le32(bm_attrib, &buf[ssp_cap_base + 4]);
>   
>   		if (wLength < desc_size + ssa_size)
> @@ -124,8 +133,8 @@ static int xhci_create_usb3_bos_desc(struct xhci_hcd *xhci, char *buf,
>   		 * USB 3.1 requires two SSA entries (RX and TX) for every link
>   		 */
>   		offset = desc_size;
> -		for (i = 0; i < xhci->usb3_rhub.psi_count; i++) {
> -			psi = xhci->usb3_rhub.psi[i];
> +		for (i = 0; i < port_cap->psi_count; i++) {
> +			psi = port_cap->psi[i];
>   			psi &= ~USB_SSP_SUBLINK_SPEED_RSVD;
>   			psi_exp = XHCI_EXT_PORT_PSIE(psi);
>   			psi_mant = XHCI_EXT_PORT_PSIM(psi);
> diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c
> index 0e2701649369..884c601bfa15 100644
> --- a/drivers/usb/host/xhci-mem.c
> +++ b/drivers/usb/host/xhci-mem.c
> @@ -1915,17 +1915,17 @@ void xhci_mem_cleanup(struct xhci_hcd *xhci)
>   	xhci->usb3_rhub.num_ports = 0;
>   	xhci->num_active_eps = 0;
>   	kfree(xhci->usb2_rhub.ports);
> -	kfree(xhci->usb2_rhub.psi);
>   	kfree(xhci->usb3_rhub.ports);
> -	kfree(xhci->usb3_rhub.psi);
>   	kfree(xhci->hw_ports);
>   	kfree(xhci->rh_bw);
>   	kfree(xhci->ext_caps);
> +	for (i = 0; i < xhci->num_port_caps; i++)
> +		kfree(xhci->port_caps[i].psi);
> +	kfree(xhci->port_caps);
> +	xhci->num_port_caps = 0;
>   
>   	xhci->usb2_rhub.ports = NULL;
> -	xhci->usb2_rhub.psi = NULL;
>   	xhci->usb3_rhub.ports = NULL;
> -	xhci->usb3_rhub.psi = NULL;
>   	xhci->hw_ports = NULL;
>   	xhci->rh_bw = NULL;
>   	xhci->ext_caps = NULL;
> @@ -2126,6 +2126,7 @@ static void xhci_add_in_port(struct xhci_hcd *xhci, unsigned int num_ports,
>   	u8 major_revision, minor_revision;
>   	struct xhci_hub *rhub;
>   	struct device *dev = xhci_to_hcd(xhci)->self.sysdev;
> +	struct xhci_port_cap *port_cap;
>   
>   	temp = readl(addr);
>   	major_revision = XHCI_EXT_PORT_MAJOR(temp);
> @@ -2160,31 +2161,39 @@ static void xhci_add_in_port(struct xhci_hcd *xhci, unsigned int num_ports,
>   		/* WTF? "Valid values are ‘1’ to MaxPorts" */
>   		return;
>   
> -	rhub->psi_count = XHCI_EXT_PORT_PSIC(temp);
> -	if (rhub->psi_count) {
> -		rhub->psi = kcalloc_node(rhub->psi_count, sizeof(*rhub->psi),
> -				    GFP_KERNEL, dev_to_node(dev));
> -		if (!rhub->psi)
> -			rhub->psi_count = 0;
> +	port_cap = &xhci->port_caps[xhci->num_port_caps++];
> +	if (xhci->num_port_caps > max_caps)
> +		return;
> +
> +	port_cap->maj_rev = major_revision;
> +	port_cap->min_rev = minor_revision;
> +	port_cap->psi_count = XHCI_EXT_PORT_PSIC(temp);
> +
> +	if (port_cap->psi_count) {
> +		port_cap->psi = kcalloc_node(port_cap->psi_count,
> +					     sizeof(*port_cap->psi),
> +					     GFP_KERNEL, dev_to_node(dev));
> +		if (!port_cap->psi)
> +			port_cap->psi_count = 0;
>   
> -		rhub->psi_uid_count++;
> -		for (i = 0; i < rhub->psi_count; i++) {
> -			rhub->psi[i] = readl(addr + 4 + i);
> +		port_cap->psi_uid_count++;
> +		for (i = 0; i < port_cap->psi_count; i++) {
> +			port_cap->psi[i] = readl(addr + 4 + i);
>   
>   			/* count unique ID values, two consecutive entries can
>   			 * have the same ID if link is assymetric
>   			 */
> -			if (i && (XHCI_EXT_PORT_PSIV(rhub->psi[i]) !=
> -				  XHCI_EXT_PORT_PSIV(rhub->psi[i - 1])))
> -				rhub->psi_uid_count++;
> +			if (i && (XHCI_EXT_PORT_PSIV(port_cap->psi[i]) !=
> +				  XHCI_EXT_PORT_PSIV(port_cap->psi[i - 1])))
> +				port_cap->psi_uid_count++;
>   
>   			xhci_dbg(xhci, "PSIV:%d PSIE:%d PLT:%d PFD:%d LP:%d PSIM:%d\n",
> -				  XHCI_EXT_PORT_PSIV(rhub->psi[i]),
> -				  XHCI_EXT_PORT_PSIE(rhub->psi[i]),
> -				  XHCI_EXT_PORT_PLT(rhub->psi[i]),
> -				  XHCI_EXT_PORT_PFD(rhub->psi[i]),
> -				  XHCI_EXT_PORT_LP(rhub->psi[i]),
> -				  XHCI_EXT_PORT_PSIM(rhub->psi[i]));
> +				  XHCI_EXT_PORT_PSIV(port_cap->psi[i]),
> +				  XHCI_EXT_PORT_PSIE(port_cap->psi[i]),
> +				  XHCI_EXT_PORT_PLT(port_cap->psi[i]),
> +				  XHCI_EXT_PORT_PFD(port_cap->psi[i]),
> +				  XHCI_EXT_PORT_LP(port_cap->psi[i]),
> +				  XHCI_EXT_PORT_PSIM(port_cap->psi[i]));
>   		}
>   	}
>   	/* cache usb2 port capabilities */
> @@ -2219,6 +2228,7 @@ static void xhci_add_in_port(struct xhci_hcd *xhci, unsigned int num_ports,
>   			continue;
>   		}
>   		hw_port->rhub = rhub;
> +		hw_port->port_cap = port_cap;
>   		rhub->num_ports++;
>   	}
>   	/* FIXME: Should we disable ports not in the Extended Capabilities? */
> @@ -2309,6 +2319,11 @@ static int xhci_setup_port_arrays(struct xhci_hcd *xhci, gfp_t flags)
>   	if (!xhci->ext_caps)
>   		return -ENOMEM;
>   
> +	xhci->port_caps = kcalloc_node(cap_count, sizeof(*xhci->port_caps),
> +				flags, dev_to_node(dev));
> +	if (!xhci->port_caps)
> +		return -ENOMEM;
> +
>   	offset = cap_start;
>   
>   	while (offset) {
> diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
> index 13d8838cd552..3ecee10fdcdc 100644
> --- a/drivers/usb/host/xhci.h
> +++ b/drivers/usb/host/xhci.h
> @@ -1702,12 +1702,20 @@ struct xhci_bus_state {
>    * Intel Lynx Point LP xHCI host.
>    */
>   #define	XHCI_MAX_REXIT_TIMEOUT_MS	20
> +struct xhci_port_cap {
> +	u32			*psi;	/* array of protocol speed ID entries */
> +	u8			psi_count;
> +	u8			psi_uid_count;
> +	u8			maj_rev;
> +	u8			min_rev;
> +};
>   
>   struct xhci_port {
>   	__le32 __iomem		*addr;
>   	int			hw_portnum;
>   	int			hcd_portnum;
>   	struct xhci_hub		*rhub;
> +	struct xhci_port_cap	*port_cap;
>   };
>   
>   struct xhci_hub {
> @@ -1719,9 +1727,6 @@ struct xhci_hub {
>   	/* supported prococol extended capabiliy values */
>   	u8			maj_rev;
>   	u8			min_rev;
> -	u32			*psi;	/* array of protocol speed ID entries */
> -	u8			psi_count;
> -	u8			psi_uid_count;
>   };
>   
>   /* There is one xhci_hcd structure per controller */
> @@ -1880,6 +1885,9 @@ struct xhci_hcd {
>   	/* cached usb2 extened protocol capabilites */
>   	u32                     *ext_caps;
>   	unsigned int            num_ext_caps;
> +	/* cached extended protocol port capabilities */
> +	struct xhci_port_cap	*port_caps;
> +	unsigned int		num_port_caps;
>   	/* Compliance Mode Recovery Data */
>   	struct timer_list	comp_mode_recovery_timer;
>   	u32			port_status_u0;

Best regards
-- 
Marek Szyprowski, PhD
Samsung R&D Institute Poland


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

* Re: [RFT PATCH v2] xhci: Fix memory leak when caching protocol extended capability PSI tables
  2020-02-11 15:12                             ` Marek Szyprowski
@ 2020-02-11 16:13                               ` Greg KH
  2020-02-12  9:01                                 ` Mathias Nyman
  0 siblings, 1 reply; 24+ messages in thread
From: Greg KH @ 2020-02-11 16:13 UTC (permalink / raw)
  To: Marek Szyprowski
  Cc: Mathias Nyman, pmenzel, mika.westerberg, linux-usb, linux-kernel,
	linux-samsung-soc, krzk, stable

On Tue, Feb 11, 2020 at 04:12:40PM +0100, Marek Szyprowski wrote:
> Hi Mathias,
> 
> On 11.02.2020 16:01, Mathias Nyman wrote:
> > xhci driver assumed that xHC controllers have at most one custom
> > supported speed table (PSI) for all usb 3.x ports.
> > Memory was allocated for one PSI table under the xhci hub structure.
> >
> > Turns out this is not the case, some controllers have a separate
> > "supported protocol capability" entry with a PSI table for each port.
> > This means each usb3 roothub port can in theory support different custom
> > speeds.
> >
> > To solve this, cache all supported protocol capabilities with their PSI
> > tables in an array, and add pointers to the xhci port structure so that
> > every port points to its capability entry in the array.
> >
> > When creating the SuperSpeedPlus USB Device Capability BOS descriptor
> > for the xhci USB 3.1 roothub we for now will use only data from the
> > first USB 3.1 capable protocol capability entry in the array.
> > This could be improved later, this patch focuses resolving
> > the memory leak.
> >
> > Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
> > Reported-by: Sajja Venkateswara Rao <VenkateswaraRao.Sajja@amd.com>
> > Fixes: 47189098f8be ("xhci: parse xhci protocol speed ID list for usb 3.1 usage")
> > Cc: stable <stable@vger.kernel.org> # v4.4+
> > Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
> 
> Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>

Nice!

Should I revert the first and then apply this?

thanks,

greg k-h

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

* Re: [RFT PATCH v2] xhci: Fix memory leak when caching protocol extended capability PSI tables
  2020-02-11 16:13                               ` Greg KH
@ 2020-02-12  9:01                                 ` Mathias Nyman
  2020-02-12 17:51                                   ` Greg KH
  0 siblings, 1 reply; 24+ messages in thread
From: Mathias Nyman @ 2020-02-12  9:01 UTC (permalink / raw)
  To: Greg KH, Marek Szyprowski
  Cc: pmenzel, mika.westerberg, linux-usb, linux-kernel,
	linux-samsung-soc, krzk, stable

On 11.2.2020 18.13, Greg KH wrote:
> On Tue, Feb 11, 2020 at 04:12:40PM +0100, Marek Szyprowski wrote:
>> Hi Mathias,
>>
>> On 11.02.2020 16:01, Mathias Nyman wrote:
>>> xhci driver assumed that xHC controllers have at most one custom
>>> supported speed table (PSI) for all usb 3.x ports.
>>> Memory was allocated for one PSI table under the xhci hub structure.
>>>
>>> Turns out this is not the case, some controllers have a separate
>>> "supported protocol capability" entry with a PSI table for each port.
>>> This means each usb3 roothub port can in theory support different custom
>>> speeds.
>>>
>>> To solve this, cache all supported protocol capabilities with their PSI
>>> tables in an array, and add pointers to the xhci port structure so that
>>> every port points to its capability entry in the array.
>>>
>>> When creating the SuperSpeedPlus USB Device Capability BOS descriptor
>>> for the xhci USB 3.1 roothub we for now will use only data from the
>>> first USB 3.1 capable protocol capability entry in the array.
>>> This could be improved later, this patch focuses resolving
>>> the memory leak.
>>>
>>> Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
>>> Reported-by: Sajja Venkateswara Rao <VenkateswaraRao.Sajja@amd.com>
>>> Fixes: 47189098f8be ("xhci: parse xhci protocol speed ID list for usb 3.1 usage")
>>> Cc: stable <stable@vger.kernel.org> # v4.4+
>>> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
>>
>> Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
> 
> Nice!
> 
> Should I revert the first and then apply this?
> 

Yes, please

Thanks

-Mathias



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

* Re: [RFT PATCH v2] xhci: Fix memory leak when caching protocol extended capability PSI tables
  2020-02-12  9:01                                 ` Mathias Nyman
@ 2020-02-12 17:51                                   ` Greg KH
  0 siblings, 0 replies; 24+ messages in thread
From: Greg KH @ 2020-02-12 17:51 UTC (permalink / raw)
  To: Mathias Nyman
  Cc: Marek Szyprowski, pmenzel, mika.westerberg, linux-usb,
	linux-kernel, linux-samsung-soc, krzk, stable

On Wed, Feb 12, 2020 at 11:01:52AM +0200, Mathias Nyman wrote:
> On 11.2.2020 18.13, Greg KH wrote:
> > On Tue, Feb 11, 2020 at 04:12:40PM +0100, Marek Szyprowski wrote:
> >> Hi Mathias,
> >>
> >> On 11.02.2020 16:01, Mathias Nyman wrote:
> >>> xhci driver assumed that xHC controllers have at most one custom
> >>> supported speed table (PSI) for all usb 3.x ports.
> >>> Memory was allocated for one PSI table under the xhci hub structure.
> >>>
> >>> Turns out this is not the case, some controllers have a separate
> >>> "supported protocol capability" entry with a PSI table for each port.
> >>> This means each usb3 roothub port can in theory support different custom
> >>> speeds.
> >>>
> >>> To solve this, cache all supported protocol capabilities with their PSI
> >>> tables in an array, and add pointers to the xhci port structure so that
> >>> every port points to its capability entry in the array.
> >>>
> >>> When creating the SuperSpeedPlus USB Device Capability BOS descriptor
> >>> for the xhci USB 3.1 roothub we for now will use only data from the
> >>> first USB 3.1 capable protocol capability entry in the array.
> >>> This could be improved later, this patch focuses resolving
> >>> the memory leak.
> >>>
> >>> Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
> >>> Reported-by: Sajja Venkateswara Rao <VenkateswaraRao.Sajja@amd.com>
> >>> Fixes: 47189098f8be ("xhci: parse xhci protocol speed ID list for usb 3.1 usage")
> >>> Cc: stable <stable@vger.kernel.org> # v4.4+
> >>> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
> >>
> >> Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
> > 
> > Nice!
> > 
> > Should I revert the first and then apply this?
> > 
> 
> Yes, please

Now done, thanks.

greg k-h

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

* Re: [RFT PATCH v2] xhci: Fix memory leak when caching protocol extended capability PSI tables
  2020-02-11 15:01                           ` [RFT PATCH v2] " Mathias Nyman
  2020-02-11 15:12                             ` Marek Szyprowski
@ 2020-02-13 13:33                             ` Jon Hunter
  2020-02-14  7:47                               ` Mathias Nyman
  1 sibling, 1 reply; 24+ messages in thread
From: Jon Hunter @ 2020-02-13 13:33 UTC (permalink / raw)
  To: Mathias Nyman, gregkh, m.szyprowski
  Cc: pmenzel, mika.westerberg, linux-usb, linux-kernel,
	linux-samsung-soc, krzk, stable, linux-tegra


On 11/02/2020 15:01, Mathias Nyman wrote:
> xhci driver assumed that xHC controllers have at most one custom
> supported speed table (PSI) for all usb 3.x ports.
> Memory was allocated for one PSI table under the xhci hub structure.
> 
> Turns out this is not the case, some controllers have a separate
> "supported protocol capability" entry with a PSI table for each port.
> This means each usb3 roothub port can in theory support different custom
> speeds.
> 
> To solve this, cache all supported protocol capabilities with their PSI
> tables in an array, and add pointers to the xhci port structure so that
> every port points to its capability entry in the array.
> 
> When creating the SuperSpeedPlus USB Device Capability BOS descriptor
> for the xhci USB 3.1 roothub we for now will use only data from the
> first USB 3.1 capable protocol capability entry in the array.
> This could be improved later, this patch focuses resolving
> the memory leak.
> 
> Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
> Reported-by: Sajja Venkateswara Rao <VenkateswaraRao.Sajja@amd.com>
> Fixes: 47189098f8be ("xhci: parse xhci protocol speed ID list for usb 3.1 usage")
> Cc: stable <stable@vger.kernel.org> # v4.4+
> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>


Since next-20200211, we have been observing a regression exiting suspend
on our Tegra124 Jetson TK1 board. Bisect is pointing to this commit and
reverting on top of -next fixes the problem.

On exiting suspend, I am seeing the following ...

[   56.216793] tegra-xusb 70090000.usb: Firmware already loaded, Falcon state 0x20
[   56.216834] usb usb3: root hub lost power or was reset
[   56.216837] usb usb4: root hub lost power or was reset
[   56.217760] tegra-xusb 70090000.usb: No ports on the roothubs?
[   56.218257] tegra-xusb 70090000.usb: failed to resume XHCI: -12
[   56.218299] PM: dpm_run_callback(): platform_pm_resume+0x0/0x40 returns -12
[   56.218312] PM: Device 70090000.usb failed to resume: error -12
[   56.334366] hub 4-0:1.0: hub_ext_port_status failed (err = -32)
[   56.334368] hub 3-0:1.0: hub_ext_port_status failed (err = -32)

Let me know if you have any thoughts on this.

Cheers
Jon

-- 
nvpublic

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

* Re: [RFT PATCH v2] xhci: Fix memory leak when caching protocol extended capability PSI tables
  2020-02-13 13:33                             ` Jon Hunter
@ 2020-02-14  7:47                               ` Mathias Nyman
  2020-02-14  8:35                                 ` Jon Hunter
  0 siblings, 1 reply; 24+ messages in thread
From: Mathias Nyman @ 2020-02-14  7:47 UTC (permalink / raw)
  To: Jon Hunter, gregkh, m.szyprowski
  Cc: pmenzel, mika.westerberg, linux-usb, linux-kernel,
	linux-samsung-soc, krzk, stable, linux-tegra

On 13.2.2020 15.33, Jon Hunter wrote:
> 
> On 11/02/2020 15:01, Mathias Nyman wrote:
>> xhci driver assumed that xHC controllers have at most one custom
>> supported speed table (PSI) for all usb 3.x ports.
>> Memory was allocated for one PSI table under the xhci hub structure.
>>
>> Turns out this is not the case, some controllers have a separate
>> "supported protocol capability" entry with a PSI table for each port.
>> This means each usb3 roothub port can in theory support different custom
>> speeds.
>>
>> To solve this, cache all supported protocol capabilities with their PSI
>> tables in an array, and add pointers to the xhci port structure so that
>> every port points to its capability entry in the array.
>>
>> When creating the SuperSpeedPlus USB Device Capability BOS descriptor
>> for the xhci USB 3.1 roothub we for now will use only data from the
>> first USB 3.1 capable protocol capability entry in the array.
>> This could be improved later, this patch focuses resolving
>> the memory leak.
>>
>> Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
>> Reported-by: Sajja Venkateswara Rao <VenkateswaraRao.Sajja@amd.com>
>> Fixes: 47189098f8be ("xhci: parse xhci protocol speed ID list for usb 3.1 usage")
>> Cc: stable <stable@vger.kernel.org> # v4.4+
>> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
> 
> 
> Since next-20200211, we have been observing a regression exiting suspend
> on our Tegra124 Jetson TK1 board. Bisect is pointing to this commit and
> reverting on top of -next fixes the problem.
> 
> On exiting suspend, I am seeing the following ...
> 
> [   56.216793] tegra-xusb 70090000.usb: Firmware already loaded, Falcon state 0x20
> [   56.216834] usb usb3: root hub lost power or was reset
> [   56.216837] usb usb4: root hub lost power or was reset
> [   56.217760] tegra-xusb 70090000.usb: No ports on the roothubs?
> [   56.218257] tegra-xusb 70090000.usb: failed to resume XHCI: -12
> [   56.218299] PM: dpm_run_callback(): platform_pm_resume+0x0/0x40 returns -12
> [   56.218312] PM: Device 70090000.usb failed to resume: error -12
> [   56.334366] hub 4-0:1.0: hub_ext_port_status failed (err = -32)
> [   56.334368] hub 3-0:1.0: hub_ext_port_status failed (err = -32)
> 
> Let me know if you have any thoughts on this.
> 
> Cheers
> Jon

This was an issue with the first version, and should be fixed in the second.

next-20200211 has the faulty version, 
next-20200213 is fixed, reverted first version and applied second.

Does next-20200213 work for you?

-Mathias

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

* Re: [RFT PATCH v2] xhci: Fix memory leak when caching protocol extended capability PSI tables
  2020-02-14  7:47                               ` Mathias Nyman
@ 2020-02-14  8:35                                 ` Jon Hunter
  0 siblings, 0 replies; 24+ messages in thread
From: Jon Hunter @ 2020-02-14  8:35 UTC (permalink / raw)
  To: Mathias Nyman, gregkh, m.szyprowski
  Cc: pmenzel, mika.westerberg, linux-usb, linux-kernel,
	linux-samsung-soc, krzk, stable, linux-tegra


On 14/02/2020 07:47, Mathias Nyman wrote:
> On 13.2.2020 15.33, Jon Hunter wrote:
>>
>> On 11/02/2020 15:01, Mathias Nyman wrote:
>>> xhci driver assumed that xHC controllers have at most one custom
>>> supported speed table (PSI) for all usb 3.x ports.
>>> Memory was allocated for one PSI table under the xhci hub structure.
>>>
>>> Turns out this is not the case, some controllers have a separate
>>> "supported protocol capability" entry with a PSI table for each port.
>>> This means each usb3 roothub port can in theory support different custom
>>> speeds.
>>>
>>> To solve this, cache all supported protocol capabilities with their PSI
>>> tables in an array, and add pointers to the xhci port structure so that
>>> every port points to its capability entry in the array.
>>>
>>> When creating the SuperSpeedPlus USB Device Capability BOS descriptor
>>> for the xhci USB 3.1 roothub we for now will use only data from the
>>> first USB 3.1 capable protocol capability entry in the array.
>>> This could be improved later, this patch focuses resolving
>>> the memory leak.
>>>
>>> Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
>>> Reported-by: Sajja Venkateswara Rao <VenkateswaraRao.Sajja@amd.com>
>>> Fixes: 47189098f8be ("xhci: parse xhci protocol speed ID list for usb 3.1 usage")
>>> Cc: stable <stable@vger.kernel.org> # v4.4+
>>> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
>>
>>
>> Since next-20200211, we have been observing a regression exiting suspend
>> on our Tegra124 Jetson TK1 board. Bisect is pointing to this commit and
>> reverting on top of -next fixes the problem.
>>
>> On exiting suspend, I am seeing the following ...
>>
>> [   56.216793] tegra-xusb 70090000.usb: Firmware already loaded, Falcon state 0x20
>> [   56.216834] usb usb3: root hub lost power or was reset
>> [   56.216837] usb usb4: root hub lost power or was reset
>> [   56.217760] tegra-xusb 70090000.usb: No ports on the roothubs?
>> [   56.218257] tegra-xusb 70090000.usb: failed to resume XHCI: -12
>> [   56.218299] PM: dpm_run_callback(): platform_pm_resume+0x0/0x40 returns -12
>> [   56.218312] PM: Device 70090000.usb failed to resume: error -12
>> [   56.334366] hub 4-0:1.0: hub_ext_port_status failed (err = -32)
>> [   56.334368] hub 3-0:1.0: hub_ext_port_status failed (err = -32)
>>
>> Let me know if you have any thoughts on this.
>>
>> Cheers
>> Jon
> 
> This was an issue with the first version, and should be fixed in the second.
> 
> next-20200211 has the faulty version, 
> next-20200213 is fixed, reverted first version and applied second.
> 
> Does next-20200213 work for you?

Yes it does. Sorry I am an idiot and should have read the changes and
thread more closely!

Thanks for fixing so quickly.

Jon

-- 
nvpublic

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

end of thread, other threads:[~2020-02-14  8:35 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-20  9:44 BUG: KASAN: use-after-free in xhci_trb_virt_to_dma.part.24+0x1c/0x80 Paul Menzel
2018-07-20  9:54 ` Greg KH
2018-07-23 11:23   ` Paul Menzel
2020-01-02 14:10     ` Paul Menzel
2020-01-03 11:04       ` Mika Westerberg
2020-01-07 12:09         ` Mathias Nyman
2020-01-07 15:35           ` Paul Menzel
2020-01-08  9:34             ` Mathias Nyman
2020-01-08 15:17               ` [RFT PATCH] xhci: Fix memory leak when caching protocol extended capability PSI tables Mathias Nyman
2020-01-08 15:40                 ` Greg KH
2020-01-08 15:56                   ` Mathias Nyman
     [not found]                 ` <CGME20200211105613eucas1p27cac4202c4287a5967b2ed988779d523@eucas1p2.samsung.com>
2020-02-11 10:56                   ` Marek Szyprowski
2020-02-11 12:23                     ` Greg KH
2020-02-11 12:29                       ` Mathias Nyman
2020-02-11 14:08                         ` Mathias Nyman
2020-02-11 15:01                           ` [RFT PATCH v2] " Mathias Nyman
2020-02-11 15:12                             ` Marek Szyprowski
2020-02-11 16:13                               ` Greg KH
2020-02-12  9:01                                 ` Mathias Nyman
2020-02-12 17:51                                   ` Greg KH
2020-02-13 13:33                             ` Jon Hunter
2020-02-14  7:47                               ` Mathias Nyman
2020-02-14  8:35                                 ` Jon Hunter
2020-01-09  8:53         ` BUG: KASAN: use-after-free in xhci_trb_virt_to_dma.part.24+0x1c/0x80 Felipe Balbi

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