Hi!
I am using Ryzen 2400G with Gigabyte AMD B450 AORUS board. I have latest bios, ubuntu 18.04 and latest mainline kernel (5.0.0-050000-generic) installed. Also I have rocm-dev 2.1.96 but no rock-dkms installed.
I found that when I log in over ssh and try to use OpenCL (doing clCreateContext is enough) then cpu memory accesses after that will slow down by 100x.
If I connect HDMI cable and log in to desktop mode then this does not happen. Also if I don't call clCreateContext then everything works properly.
Attached the test program and kernel log also. Test works like that :
g++ cl_slow_test.cpp -o cl_slow_test -I /opt/rocm/opencl/include/ -L /opt/rocm/opencl/lib/x86_64/ -lOpenCL
lauri@rv:~$ ./cl_slow_test 0 5
speed 7003.145508 avg 7003.145508 mbytes/s
speed 8427.357422 avg 7715.251465 mbytes/s
speed 9203.049805 avg 8211.184570 mbytes/s
speed 9845.956055 avg 8619.877930 mbytes/s
speed 9882.748047 avg 8872.452148 mbytes/s
lauri@rv:~$ ./cl_slow_test 1 5
got 1 platforms 1 devices
speed 1599.803589 avg 1599.803589 mbytes/s
speed 1665.426392 avg 1632.614990 mbytes/s
speed 146.137253 avg 1137.122437 mbytes/s
speed 121.056877 avg 883.106018 mbytes/s
speed 122.428970 avg 730.970581 mbytes/s
I also tried latest amd-staging kernel https://github.com/M-Bab/linux-kernel-amdgpu-binaries and it had the same issue.
Can anyone point me into right direction?
Br,
Lauri
[ 0.000000] Linux version 5.0.0-050000-generic (kernel@gloin) (gcc version 8.2.0 (Ubuntu 8.2.0-21ubuntu1)) #201903032031 SMP Mon Mar 4 01:33:18 UTC 2019 [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.0.0-050000-generic root=UUID=c5450568-4da2-4760-b09a-29eddec1e9a3 ro quiet splash vt.handoff=1 [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] Hygon HygonGenuine [ 0.000000] Centaur CentaurHauls [ 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-0x000000000009ebff] usable [ 0.000000] BIOS-e820: [mem 0x000000000009ec00-0x000000000009ffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x0000000009cfffff] usable [ 0.000000] BIOS-e820: [mem 0x0000000009d00000-0x0000000009ffffff] reserved [ 0.000000] BIOS-e820: [mem 0x000000000a000000-0x000000000a1fffff] usable [ 0.000000] BIOS-e820: [mem 0x000000000a200000-0x000000000a209fff] ACPI NVS [ 0.000000] BIOS-e820: [mem 0x000000000a20a000-0x000000000affffff] usable [ 0.000000] BIOS-e820: [mem 0x000000000b000000-0x000000000b01ffff] reserved [ 0.000000] BIOS-e820: [mem 0x000000000b020000-0x000000005b862fff] usable [ 0.000000] BIOS-e820: [mem 0x000000005b863000-0x000000005b98afff] reserved [ 0.000000] BIOS-e820: [mem 0x000000005b98b000-0x000000005bb0bfff] usable [ 0.000000] BIOS-e820: [mem 0x000000005bb0c000-0x000000005bf1cfff] ACPI NVS [ 0.000000] BIOS-e820: [mem 0x000000005bf1d000-0x000000005ce60fff] reserved [ 0.000000] BIOS-e820: [mem 0x000000005ce61000-0x000000005effffff] usable [ 0.000000] BIOS-e820: [mem 0x000000005f000000-0x00000000dfffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fd100000-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-0x000000021f33ffff] usable [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] SMBIOS 3.2.1 present. [ 0.000000] DMI: Gigabyte Technology Co., Ltd. B450 I AORUS PRO WIFI/B450 I AORUS PRO WIFI-CF, BIOS F5 01/25/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 = 0x21f340 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: 0000000220000000 aka 8704M [ 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 = 0x5f000 max_arch_pfn = 0x400000000 [ 0.000000] check: Scanning 1 areas for low memory corruption [ 0.000000] Base memory trampoline at [(____ptrval____)] 98000 size 24576 [ 0.000000] Using GB pages for direct mapping [ 0.000000] BRK [0x1edc01000, 0x1edc01fff] PGTABLE [ 0.000000] BRK [0x1edc02000, 0x1edc02fff] PGTABLE [ 0.000000] BRK [0x1edc03000, 0x1edc03fff] PGTABLE [ 0.000000] BRK [0x1edc04000, 0x1edc04fff] PGTABLE [ 0.000000] BRK [0x1edc05000, 0x1edc05fff] PGTABLE [ 0.000000] BRK [0x1edc06000, 0x1edc06fff] PGTABLE [ 0.000000] BRK [0x1edc07000, 0x1edc07fff] PGTABLE [ 0.000000] BRK [0x1edc08000, 0x1edc08fff] PGTABLE [ 0.000000] BRK [0x1edc09000, 0x1edc09fff] PGTABLE [ 0.000000] BRK [0x1edc0a000, 0x1edc0afff] PGTABLE [ 0.000000] BRK [0x1edc0b000, 0x1edc0bfff] PGTABLE [ 0.000000] BRK [0x1edc0c000, 0x1edc0cfff] PGTABLE [ 0.000000] RAMDISK: [mem 0x33665000-0x35b29fff] [ 0.000000] ACPI: Early table checksum verification disabled [ 0.000000] ACPI: RSDP 0x00000000000F05B0 000024 (v02 ALASKA) [ 0.000000] ACPI: XSDT 0x000000005BE9D098 0000B4 (v01 ALASKA A M I 01072009 AMI 00010013) [ 0.000000] ACPI: FACP 0x000000005BEA3D90 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 (20181213/tbfadt-624) [ 0.000000] ACPI: DSDT 0x000000005BE9D1E8 006BA2 (v02 ALASKA A M I 01072009 INTL 20120913) [ 0.000000] ACPI: FACS 0x000000005BF06D80 000040 [ 0.000000] ACPI: APIC 0x000000005BEA3EA8 0000DE (v03 ALASKA A M I 01072009 AMI 00010013) [ 0.000000] ACPI: FPDT 0x000000005BEA3F88 000044 (v01 ALASKA A M I 01072009 AMI 00010013) [ 0.000000] ACPI: FIDT 0x000000005BEA3FD0 00009C (v01 ALASKA A M I 01072009 AMI 00010013) [ 0.000000] ACPI: SSDT 0x000000005BEA4070 005419 (v02 ALASKA A M I 00000002 MSFT 02000002) [ 0.000000] ACPI: SSDT 0x000000005BEA9490 00119C (v01 ALASKA A M I 00000001 AMD 00000001) [ 0.000000] ACPI: CRAT 0x000000005BEAA630 000810 (v01 ALASKA A M I 00000001 AMD 00000001) [ 0.000000] ACPI: CDIT 0x000000005BEAAE40 000029 (v01 ALASKA A M I 00000001 AMD 00000001) [ 0.000000] ACPI: SSDT 0x000000005BEAAE70 002E6B (v01 ALASKA A M I 00000001 INTL 20120913) [ 0.000000] ACPI: MCFG 0x000000005BEADCE0 00003C (v01 ALASKA A M I 01072009 MSFT 00010013) [ 0.000000] ACPI: HPET 0x000000005BEADD20 000038 (v01 ALASKA A M I 01072009 AMI 00000005) [ 0.000000] ACPI: UEFI 0x000000005BEADD58 000048 (v01 ALASKA A M I 00000000 00000000) [ 0.000000] ACPI: IVRS 0x000000005BEADDA0 0000D0 (v02 ALASKA A M I 00000001 AMD 00000000) [ 0.000000] ACPI: SSDT 0x000000005BEADE70 000C33 (v01 ALASKA A M I 00000001 INTL 20120913) [ 0.000000] ACPI: SSDT 0x000000005BEAEAA8 0010F5 (v01 ALASKA A M I 00000001 INTL 20120913) [ 0.000000] ACPI: SSDT 0x000000005BEAFBA0 001B4E (v01 ALASKA A M I 00000001 INTL 20120913) [ 0.000000] ACPI: SSDT 0x000000005BEB16F0 0000BF (v01 ALASKA A M I 00001000 INTL 20120913) [ 0.000000] ACPI: WSMT 0x000000005BEB17B0 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-0x000000021f33ffff] [ 0.000000] NODE_DATA(0) allocated [mem 0x21f315000-0x21f33ffff] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff] [ 0.000000] DMA32 [mem 0x0000000001000000-0x00000000ffffffff] [ 0.000000] Normal [mem 0x0000000100000000-0x000000021f33ffff] [ 0.000000] Device empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009dfff] [ 0.000000] node 0: [mem 0x0000000000100000-0x0000000009cfffff] [ 0.000000] node 0: [mem 0x000000000a000000-0x000000000a1fffff] [ 0.000000] node 0: [mem 0x000000000a20a000-0x000000000affffff] [ 0.000000] node 0: [mem 0x000000000b020000-0x000000005b862fff] [ 0.000000] node 0: [mem 0x000000005b98b000-0x000000005bb0bfff] [ 0.000000] node 0: [mem 0x000000005ce61000-0x000000005effffff] [ 0.000000] node 0: [mem 0x0000000100000000-0x000000021f33ffff] [ 0.000000] Zeroed struct page in unavailable ranges: 10250 pages [ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000021f33ffff] [ 0.000000] On node 0 totalpages: 1559350 [ 0.000000] DMA zone: 64 pages used for memmap [ 0.000000] DMA zone: 21 pages reserved [ 0.000000] DMA zone: 3997 pages, LIFO batch:0 [ 0.000000] DMA32 zone: 5922 pages used for memmap [ 0.000000] DMA32 zone: 378969 pages, LIFO batch:63 [ 0.000000] Normal zone: 18381 pages used for memmap [ 0.000000] Normal zone: 1176384 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 9, version 33, address 0xfec00000, GSI 0-23 [ 0.000000] IOAPIC[1]: apic_id 10, 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, 8 hotplug CPUs [ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.000000] PM: Registered nosave memory: [mem 0x0009e000-0x0009efff] [ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff] [ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000dffff] [ 0.000000] PM: Registered nosave memory: [mem 0x000e0000-0x000fffff] [ 0.000000] PM: Registered nosave memory: [mem 0x09d00000-0x09ffffff] [ 0.000000] PM: Registered nosave memory: [mem 0x0a200000-0x0a209fff] [ 0.000000] PM: Registered nosave memory: [mem 0x0b000000-0x0b01ffff] [ 0.000000] PM: Registered nosave memory: [mem 0x5b863000-0x5b98afff] [ 0.000000] PM: Registered nosave memory: [mem 0x5bb0c000-0x5bf1cfff] [ 0.000000] PM: Registered nosave memory: [mem 0x5bf1d000-0x5ce60fff] [ 0.000000] PM: Registered nosave memory: [mem 0x5f000000-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-0xfd0fffff] [ 0.000000] PM: Registered nosave memory: [mem 0xfd100000-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+0x97/0x516 with crng_init=0 [ 0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:16 nr_cpu_ids:16 nr_node_ids:1 [ 0.000000] percpu: Embedded 46 pages/cpu @(____ptrval____) s151552 r8192 d28672 u262144 [ 0.000000] pcpu-alloc: s151552 r8192 d28672 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: 1534962 [ 0.000000] Policy zone: Normal [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.0.0-050000-generic root=UUID=c5450568-4da2-4760-b09a-29eddec1e9a3 ro quiet splash vt.handoff=1 [ 0.000000] Calgary: detecting Calgary via BIOS EBDA area [ 0.000000] Calgary: Unable to locate Rio Grande table in EBDA - bailing! [ 0.000000] Memory: 5999436K/6237400K available (14339K kernel code, 2332K rwdata, 4388K rodata, 2564K init, 5220K bss, 237964K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=16, Nodes=1 [ 0.000000] ftrace: allocating 41457 entries in 162 pages [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=16. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=16 [ 0.000000] NR_IRQS: 524544, nr_irqs: 1096, preallocated irqs: 16 [ 0.000000] spurious 8259A interrupt: IRQ7. [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] printk: console [tty0] enabled [ 0.000000] ACPI: Core revision 20181213 [ 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.004000] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.036000] tsc: Unable to calibrate against PIT [ 0.036000] tsc: using HPET reference calibration [ 0.036000] tsc: Detected 3593.182 MHz processor [ 0.000007] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x33cb2aaecf5, max_idle_ns: 440795376048 ns [ 0.000014] Calibrating delay loop (skipped), value calculated using timer frequency.. 7186.36 BogoMIPS (lpj=14372728) [ 0.000016] pid_max: default: 32768 minimum: 301 [ 0.000403] LSM: Security Framework initializing [ 0.000405] Yama: becoming mindful. [ 0.000480] AppArmor: AppArmor initialized [ 0.001885] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes) [ 0.004689] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes) [ 0.004777] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 0.004798] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 0.005382] mce: CPU supports 23 MCE banks [ 0.005402] LVT offset 1 assigned for vector 0xf9 [ 0.005452] LVT offset 2 assigned for vector 0xf4 [ 0.005463] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 512 [ 0.005463] Last level dTLB entries: 4KB 1536, 2MB 1536, 4MB 768, 1GB 0 [ 0.005465] Spectre V2 : Mitigation: Full AMD retpoline [ 0.005466] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch [ 0.005472] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier [ 0.005472] Spectre V2 : User space: Vulnerable [ 0.005473] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp [ 0.005668] Freeing SMP alternatives memory: 36K [ 0.012009] smpboot: CPU0: AMD Ryzen 5 2400G with Radeon Vega Graphics (family: 0x17, model: 0x11, stepping: 0x0) [ 0.012009] Performance Events: Fam17h core perfctr, AMD PMU driver. [ 0.012009] ... version: 0 [ 0.012009] ... bit width: 48 [ 0.012009] ... generic registers: 6 [ 0.012009] ... value mask: 0000ffffffffffff [ 0.012009] ... max period: 00007fffffffffff [ 0.012009] ... fixed-purpose events: 0 [ 0.012009] ... event mask: 000000000000003f [ 0.012009] rcu: Hierarchical SRCU implementation. [ 0.012009] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter. [ 0.012009] smp: Bringing up secondary CPUs ... [ 0.012009] x86: Booting SMP configuration: [ 0.012009] .... node #0, CPUs: #1 #2 #3 #4 #5 #6 #7 [ 0.028046] smp: Brought up 1 node, 8 CPUs [ 0.028046] smpboot: Max logical packages: 2 [ 0.028046] smpboot: Total of 8 processors activated (57490.91 BogoMIPS) [ 0.028904] devtmpfs: initialized [ 0.028904] x86/mm: Memory block size: 128MB [ 0.028904] PM: Registering ACPI NVS region [mem 0x0a200000-0x0a209fff] (40960 bytes) [ 0.028904] PM: Registering ACPI NVS region [mem 0x5bb0c000-0x5bf1cfff] (4263936 bytes) [ 0.028904] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.028904] futex hash table entries: 4096 (order: 6, 262144 bytes) [ 0.028904] pinctrl core: initialized pinctrl subsystem [ 0.028904] RTC time: 19:35:06, date: 2019-03-08 [ 0.032108] NET: Registered protocol family 16 [ 0.032201] audit: initializing netlink subsys (disabled) [ 0.032205] audit: type=2000 audit(1552073706.068:1): state=initialized audit_enabled=0 res=1 [ 0.032205] EISA bus registered [ 0.032205] cpuidle: using governor ladder [ 0.032205] cpuidle: using governor menu [ 0.032205] ACPI: bus type PCI registered [ 0.032205] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 [ 0.032378] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf8000000-0xfbffffff] (base 0xf8000000) [ 0.032381] PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in E820 [ 0.032389] PCI: Using configuration type 1 for base access [ 0.032768] mtrr: your CPUs had inconsistent variable MTRR settings [ 0.032769] mtrr: probably your BIOS does not setup all CPUs. [ 0.032769] mtrr: corrected configuration. [ 0.033859] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.033859] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.033859] ACPI: Added _OSI(Module Device) [ 0.033859] ACPI: Added _OSI(Processor Device) [ 0.033859] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.033859] ACPI: Added _OSI(Processor Aggregator Device) [ 0.033859] ACPI: Added _OSI(Linux-Dell-Video) [ 0.033859] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio) [ 0.033859] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics) [ 0.044702] ACPI: 8 ACPI AML tables successfully acquired and loaded [ 0.046506] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored [ 0.048498] ACPI: Interpreter enabled [ 0.048514] ACPI: (supports S0 S3 S4 S5) [ 0.048515] ACPI: Using IOAPIC for interrupt routing [ 0.048936] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.049225] ACPI: Enabled 2 GPEs in block 00 to 1F [ 0.052229] ACPI: Power Resource [P0ST] (on) [ 0.052266] ACPI: Power Resource [P3ST] (on) [ 0.060797] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 0.060802] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI] [ 0.061039] acpi PNP0A08:00: _OSC: platform does not support [SHPCHotplug LTR] [ 0.061265] acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug PME AER PCIeCapability] [ 0.061278] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge [ 0.061733] PCI host bridge to bus 0000:00 [ 0.061735] pci_bus 0000:00: root bus resource [io 0x0000-0x03af window] [ 0.061737] pci_bus 0000:00: root bus resource [io 0x03e0-0x0cf7 window] [ 0.061738] pci_bus 0000:00: root bus resource [io 0x03b0-0x03df window] [ 0.061739] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 0.061741] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 0.061742] pci_bus 0000:00: root bus resource [mem 0x000c0000-0x000dffff window] [ 0.061743] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xfec2ffff window] [ 0.061753] pci_bus 0000:00: root bus resource [mem 0xfee00000-0xffffffff window] [ 0.061754] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.061764] pci 0000:00:00.0: [1022:15d0] type 00 class 0x060000 [ 0.061910] pci 0000:00:00.2: [1022:15d1] type 00 class 0x080600 [ 0.062089] pci 0000:00:01.0: [1022:1452] type 00 class 0x060000 [ 0.062212] pci 0000:00:01.1: [1022:15d3] type 01 class 0x060400 [ 0.062265] pci 0000:00:01.1: enabling Extended Tags [ 0.062326] pci 0000:00:01.1: PME# supported from D0 D3hot D3cold [ 0.062480] pci 0000:00:01.2: [1022:15d3] type 01 class 0x060400 [ 0.062533] pci 0000:00:01.2: enabling Extended Tags [ 0.062594] pci 0000:00:01.2: PME# supported from D0 D3hot D3cold [ 0.062749] pci 0000:00:01.3: [1022:15d3] type 01 class 0x060400 [ 0.062802] pci 0000:00:01.3: enabling Extended Tags [ 0.062863] pci 0000:00:01.3: PME# supported from D0 D3hot D3cold [ 0.063025] pci 0000:00:08.0: [1022:1452] type 00 class 0x060000 [ 0.063143] pci 0000:00:08.1: [1022:15db] type 01 class 0x060400 [ 0.063196] pci 0000:00:08.1: enabling Extended Tags [ 0.063251] pci 0000:00:08.1: PME# supported from D0 D3hot D3cold [ 0.063370] pci 0000:00:08.2: [1022:15dc] type 01 class 0x060400 [ 0.063422] pci 0000:00:08.2: enabling Extended Tags [ 0.063474] pci 0000:00:08.2: PME# supported from D0 D3hot D3cold [ 0.063626] pci 0000:00:14.0: [1022:790b] type 00 class 0x0c0500 [ 0.063811] pci 0000:00:14.3: [1022:790e] type 00 class 0x060100 [ 0.064000] pci 0000:00:18.0: [1022:15e8] type 00 class 0x060000 [ 0.064067] pci 0000:00:18.1: [1022:15e9] type 00 class 0x060000 [ 0.064139] pci 0000:00:18.2: [1022:15ea] type 00 class 0x060000 [ 0.064196] pci 0000:00:18.3: [1022:15eb] type 00 class 0x060000 [ 0.064252] pci 0000:00:18.4: [1022:15ec] type 00 class 0x060000 [ 0.064306] pci 0000:00:18.5: [1022:15ed] type 00 class 0x060000 [ 0.064368] pci 0000:00:18.6: [1022:15ee] type 00 class 0x060000 [ 0.064425] pci 0000:00:18.7: [1022:15ef] type 00 class 0x060000 [ 0.064587] pci 0000:01:00.0: [10ee:7022] type 00 class 0x058000 [ 0.064614] pci 0000:01:00.0: reg 0x10: [mem 0xfe900000-0xfe9007ff] [ 0.064741] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot [ 0.064828] pci 0000:00:01.1: PCI bridge to [bus 01] [ 0.064835] pci 0000:00:01.1: bridge window [mem 0xfe900000-0xfe9fffff] [ 0.064921] pci 0000:02:00.0: [1022:43d5] type 00 class 0x0c0330 [ 0.064951] pci 0000:02:00.0: reg 0x10: [mem 0xfe6a0000-0xfe6a7fff 64bit] [ 0.065000] pci 0000:02:00.0: enabling Extended Tags [ 0.065057] pci 0000:02:00.0: PME# supported from D3hot D3cold [ 0.065166] pci 0000:02:00.1: [1022:43c8] type 00 class 0x010601 [ 0.065229] pci 0000:02:00.1: reg 0x24: [mem 0xfe680000-0xfe69ffff] [ 0.065238] pci 0000:02:00.1: reg 0x30: [mem 0xfe600000-0xfe67ffff pref] [ 0.065246] pci 0000:02:00.1: enabling Extended Tags [ 0.065293] pci 0000:02:00.1: PME# supported from D3hot D3cold [ 0.065376] pci 0000:02:00.2: [1022:43c6] type 01 class 0x060400 [ 0.065428] pci 0000:02:00.2: enabling Extended Tags [ 0.065479] pci 0000:02:00.2: PME# supported from D3hot D3cold [ 0.065596] pci 0000:00:01.2: PCI bridge to [bus 02-09] [ 0.065601] pci 0000:00:01.2: bridge window [io 0xf000-0xffff] [ 0.065604] pci 0000:00:01.2: bridge window [mem 0xfe400000-0xfe6fffff] [ 0.065720] pci 0000:03:00.0: [1022:43c7] type 01 class 0x060400 [ 0.065778] pci 0000:03:00.0: enabling Extended Tags [ 0.065838] pci 0000:03:00.0: PME# supported from D3hot D3cold [ 0.065936] pci 0000:03:01.0: [1022:43c7] type 01 class 0x060400 [ 0.065994] pci 0000:03:01.0: enabling Extended Tags [ 0.066054] pci 0000:03:01.0: PME# supported from D3hot D3cold [ 0.066154] pci 0000:03:04.0: [1022:43c7] type 01 class 0x060400 [ 0.066211] pci 0000:03:04.0: enabling Extended Tags [ 0.066271] pci 0000:03:04.0: PME# supported from D3hot D3cold [ 0.066377] pci 0000:03:05.0: [1022:43c7] type 01 class 0x060400 [ 0.066434] pci 0000:03:05.0: enabling Extended Tags [ 0.066495] pci 0000:03:05.0: PME# supported from D3hot D3cold [ 0.066593] pci 0000:03:06.0: [1022:43c7] type 01 class 0x060400 [ 0.066650] pci 0000:03:06.0: enabling Extended Tags [ 0.066710] pci 0000:03:06.0: PME# supported from D3hot D3cold [ 0.066804] pci 0000:03:07.0: [1022:43c7] type 01 class 0x060400 [ 0.066861] pci 0000:03:07.0: enabling Extended Tags [ 0.066921] pci 0000:03:07.0: PME# supported from D3hot D3cold [ 0.067045] pci 0000:02:00.2: PCI bridge to [bus 03-09] [ 0.067051] pci 0000:02:00.2: bridge window [io 0xf000-0xffff] [ 0.067054] pci 0000:02:00.2: bridge window [mem 0xfe400000-0xfe5fffff] [ 0.067104] pci 0000:03:00.0: PCI bridge to [bus 04] [ 0.067170] pci 0000:03:01.0: PCI bridge to [bus 05] [ 0.067234] pci 0000:03:04.0: PCI bridge to [bus 06] [ 0.067313] pci 0000:07:00.0: [8086:2526] type 00 class 0x028000 [ 0.067364] pci 0000:07:00.0: reg 0x10: [mem 0xfe500000-0xfe503fff 64bit] [ 0.067552] pci 0000:07:00.0: PME# supported from D0 D3hot D3cold [ 0.067720] pci 0000:03:05.0: PCI bridge to [bus 07] [ 0.067729] pci 0000:03:05.0: bridge window [mem 0xfe500000-0xfe5fffff] [ 0.067772] pci 0000:03:06.0: PCI bridge to [bus 08] [ 0.067858] pci 0000:09:00.0: [8086:1539] type 00 class 0x020000 [ 0.067908] pci 0000:09:00.0: reg 0x10: [mem 0xfe400000-0xfe41ffff] [ 0.067946] pci 0000:09:00.0: reg 0x18: [io 0xf000-0xf01f] [ 0.067965] pci 0000:09:00.0: reg 0x1c: [mem 0xfe420000-0xfe423fff] [ 0.068156] pci 0000:09:00.0: PME# supported from D0 D3hot D3cold [ 0.068329] pci 0000:03:07.0: PCI bridge to [bus 09] [ 0.068335] pci 0000:03:07.0: bridge window [io 0xf000-0xffff] [ 0.068338] pci 0000:03:07.0: bridge window [mem 0xfe400000-0xfe4fffff] [ 0.068440] pci 0000:0a:00.0: [126f:2260] type 00 class 0x010802 [ 0.068474] pci 0000:0a:00.0: reg 0x10: [mem 0xfe800000-0xfe803fff 64bit] [ 0.068724] pci 0000:00:01.3: PCI bridge to [bus 0a] [ 0.068731] pci 0000:00:01.3: bridge window [mem 0xfe800000-0xfe8fffff] [ 0.068838] pci 0000:0b:00.0: [1002:15dd] type 00 class 0x030000 [ 0.068884] pci 0000:0b:00.0: reg 0x10: [mem 0xe0000000-0xefffffff 64bit pref] [ 0.068902] pci 0000:0b:00.0: reg 0x18: [mem 0xf0000000-0xf01fffff 64bit pref] [ 0.068914] pci 0000:0b:00.0: reg 0x20: [io 0xe000-0xe0ff] [ 0.068925] pci 0000:0b:00.0: reg 0x24: [mem 0xfe300000-0xfe37ffff] [ 0.068945] pci 0000:0b:00.0: enabling Extended Tags [ 0.069049] pci 0000:0b:00.0: PME# supported from D1 D2 D3hot D3cold [ 0.069184] pci 0000:0b:00.1: [1002:15de] type 00 class 0x040300 [ 0.069213] pci 0000:0b:00.1: reg 0x10: [mem 0xfe388000-0xfe38bfff] [ 0.069285] pci 0000:0b:00.1: enabling Extended Tags [ 0.069351] pci 0000:0b:00.1: PME# supported from D1 D2 D3hot D3cold [ 0.069432] pci 0000:0b:00.2: [1022:15df] type 00 class 0x108000 [ 0.069482] pci 0000:0b:00.2: reg 0x18: [mem 0xfe200000-0xfe2fffff] [ 0.069514] pci 0000:0b:00.2: reg 0x24: [mem 0xfe38c000-0xfe38dfff] [ 0.069533] pci 0000:0b:00.2: enabling Extended Tags [ 0.069687] pci 0000:0b:00.3: [1022:15e0] type 00 class 0x0c0330 [ 0.069722] pci 0000:0b:00.3: reg 0x10: [mem 0xfe100000-0xfe1fffff 64bit] [ 0.069783] pci 0000:0b:00.3: enabling Extended Tags [ 0.069857] pci 0000:0b:00.3: PME# supported from D0 D3hot D3cold [ 0.069952] pci 0000:0b:00.4: [1022:15e1] type 00 class 0x0c0330 [ 0.069986] pci 0000:0b:00.4: reg 0x10: [mem 0xfe000000-0xfe0fffff 64bit] [ 0.070047] pci 0000:0b:00.4: enabling Extended Tags [ 0.070120] pci 0000:0b:00.4: PME# supported from D0 D3hot D3cold [ 0.070224] pci 0000:0b:00.6: [1022:15e3] type 00 class 0x040300 [ 0.070252] pci 0000:0b:00.6: reg 0x10: [mem 0xfe380000-0xfe387fff] [ 0.070324] pci 0000:0b:00.6: enabling Extended Tags [ 0.070390] pci 0000:0b:00.6: PME# supported from D0 D3hot D3cold [ 0.070539] pci 0000:00:08.1: PCI bridge to [bus 0b] [ 0.070544] pci 0000:00:08.1: bridge window [io 0xe000-0xefff] [ 0.070547] pci 0000:00:08.1: bridge window [mem 0xfe000000-0xfe3fffff] [ 0.070552] pci 0000:00:08.1: bridge window [mem 0xe0000000-0xf01fffff 64bit pref] [ 0.070639] pci 0000:0c:00.0: [1022:7901] type 00 class 0x010601 [ 0.070721] pci 0000:0c:00.0: reg 0x24: [mem 0xfe700000-0xfe7007ff] [ 0.070741] pci 0000:0c:00.0: enabling Extended Tags [ 0.070823] pci 0000:0c:00.0: PME# supported from D3hot D3cold [ 0.070942] pci 0000:00:08.2: PCI bridge to [bus 0c] [ 0.070950] pci 0000:00:08.2: bridge window [mem 0xfe700000-0xfe7fffff] [ 0.071316] ACPI: PCI Interrupt Link [LNKA] (IRQs 4 5 7 10 11 14 15) *0 [ 0.071373] ACPI: PCI Interrupt Link [LNKB] (IRQs 4 5 7 10 11 14 15) *0 [ 0.071421] ACPI: PCI Interrupt Link [LNKC] (IRQs 4 5 7 10 11 14 15) *0 [ 0.071482] ACPI: PCI Interrupt Link [LNKD] (IRQs 4 5 7 10 11 14 15) *0 [ 0.071537] ACPI: PCI Interrupt Link [LNKE] (IRQs 4 5 7 10 11 14 15) *0 [ 0.071581] ACPI: PCI Interrupt Link [LNKF] (IRQs 4 5 7 10 11 14 15) *0 [ 0.071625] ACPI: PCI Interrupt Link [LNKG] (IRQs 4 5 7 10 11 14 15) *0 [ 0.071670] ACPI: PCI Interrupt Link [LNKH] (IRQs 4 5 7 10 11 14 15) *0 [ 0.072151] pci 0000:0b:00.0: vgaarb: setting as boot VGA device [ 0.072151] pci 0000:0b:00.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none [ 0.072151] pci 0000:0b:00.0: vgaarb: bridge control possible [ 0.072151] vgaarb: loaded [ 0.072260] SCSI subsystem initialized [ 0.072274] libata version 3.00 loaded. [ 0.072274] ACPI: bus type USB registered [ 0.072274] usbcore: registered new interface driver usbfs [ 0.072274] usbcore: registered new interface driver hub [ 0.072274] usbcore: registered new device driver usb [ 0.072274] pps_core: LinuxPPS API ver. 1 registered [ 0.072274] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@xxxxxxxx> [ 0.072274] PTP clock support registered [ 0.072274] EDAC MC: Ver: 3.0.0 [ 0.072274] PCI: Using ACPI for IRQ routing [ 0.073710] PCI: pci_cache_line_size set to 64 bytes [ 0.073829] e820: reserve RAM buffer [mem 0x0009ec00-0x0009ffff] [ 0.073830] e820: reserve RAM buffer [mem 0x09d00000-0x0bffffff] [ 0.073831] e820: reserve RAM buffer [mem 0x0a200000-0x0bffffff] [ 0.073832] e820: reserve RAM buffer [mem 0x0b000000-0x0bffffff] [ 0.073833] e820: reserve RAM buffer [mem 0x5b863000-0x5bffffff] [ 0.073834] e820: reserve RAM buffer [mem 0x5bb0c000-0x5bffffff] [ 0.073835] e820: reserve RAM buffer [mem 0x5f000000-0x5fffffff] [ 0.073835] e820: reserve RAM buffer [mem 0x21f340000-0x21fffffff] [ 0.073973] NetLabel: Initializing [ 0.073974] NetLabel: domain hash size = 128 [ 0.073974] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.073986] NetLabel: unlabeled traffic allowed by default [ 0.076066] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0 [ 0.076068] hpet0: 3 comparators, 32-bit 14.318180 MHz counter [ 0.078115] clocksource: Switched to clocksource tsc-early [ 0.088895] VFS: Disk quotas dquot_6.6.0 [ 0.088936] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.089111] AppArmor: AppArmor Filesystem Enabled [ 0.089142] pnp: PnP ACPI init [ 0.089319] system 00:00: [mem 0xf8000000-0xfbffffff] has been reserved [ 0.089324] system 00:00: Plug and Play ACPI device, IDs PNP0c01 (active) [ 0.089383] system 00:01: [mem 0x60000000-0xdfffffff window] has been reserved [ 0.089385] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active) [ 0.089496] pnp 00:02: Plug and Play ACPI device, IDs PNP0b00 (active) [ 0.089644] system 00:03: [io 0x0a00-0x0a2f] has been reserved [ 0.089645] system 00:03: [io 0x0a30-0x0a3f] has been reserved [ 0.089646] system 00:03: [io 0x0a40-0x0a4f] has been reserved [ 0.089649] system 00:03: Plug and Play ACPI device, IDs PNP0c02 (active) [ 0.089878] system 00:04: [io 0x04d0-0x04d1] has been reserved [ 0.089879] system 00:04: [io 0x040b] has been reserved [ 0.089880] system 00:04: [io 0x04d6] has been reserved [ 0.089881] system 00:04: [io 0x0c00-0x0c01] has been reserved [ 0.089882] system 00:04: [io 0x0c14] has been reserved [ 0.089883] system 00:04: [io 0x0c50-0x0c51] has been reserved [ 0.089884] system 00:04: [io 0x0c52] has been reserved [ 0.089885] system 00:04: [io 0x0c6c] has been reserved [ 0.089886] system 00:04: [io 0x0c6f] has been reserved [ 0.089886] system 00:04: [io 0x0cd0-0x0cd1] has been reserved [ 0.089887] system 00:04: [io 0x0cd2-0x0cd3] has been reserved [ 0.089888] system 00:04: [io 0x0cd4-0x0cd5] has been reserved [ 0.089889] system 00:04: [io 0x0cd6-0x0cd7] has been reserved [ 0.089890] system 00:04: [io 0x0cd8-0x0cdf] has been reserved [ 0.089891] system 00:04: [io 0x0800-0x089f] has been reserved [ 0.089892] system 00:04: [io 0x0b00-0x0b0f] has been reserved [ 0.089892] system 00:04: [io 0x0b20-0x0b3f] has been reserved [ 0.089893] system 00:04: [io 0x0900-0x090f] has been reserved [ 0.089894] system 00:04: [io 0x0910-0x091f] has been reserved [ 0.089896] system 00:04: [mem 0xfec00000-0xfec00fff] could not be reserved [ 0.089897] system 00:04: [mem 0xfec01000-0xfec01fff] could not be reserved [ 0.089898] system 00:04: [mem 0xfedc0000-0xfedc0fff] has been reserved [ 0.089899] system 00:04: [mem 0xfee00000-0xfee00fff] has been reserved [ 0.089900] system 00:04: [mem 0xfed80000-0xfed8ffff] could not be reserved [ 0.089901] system 00:04: [mem 0xfec10000-0xfec10fff] has been reserved [ 0.089902] system 00:04: [mem 0xff000000-0xffffffff] has been reserved [ 0.089904] system 00:04: Plug and Play ACPI device, IDs PNP0c02 (active) [ 0.090319] pnp: PnP ACPI: found 5 devices [ 0.096205] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [ 0.096307] pci 0000:00:01.1: PCI bridge to [bus 01] [ 0.096313] pci 0000:00:01.1: bridge window [mem 0xfe900000-0xfe9fffff] [ 0.096322] pci 0000:03:00.0: PCI bridge to [bus 04] [ 0.096334] pci 0000:03:01.0: PCI bridge to [bus 05] [ 0.096346] pci 0000:03:04.0: PCI bridge to [bus 06] [ 0.096358] pci 0000:03:05.0: PCI bridge to [bus 07] [ 0.096363] pci 0000:03:05.0: bridge window [mem 0xfe500000-0xfe5fffff] [ 0.096371] pci 0000:03:06.0: PCI bridge to [bus 08] [ 0.096383] pci 0000:03:07.0: PCI bridge to [bus 09] [ 0.096385] pci 0000:03:07.0: bridge window [io 0xf000-0xffff] [ 0.096390] pci 0000:03:07.0: bridge window [mem 0xfe400000-0xfe4fffff] [ 0.096398] pci 0000:02:00.2: PCI bridge to [bus 03-09] [ 0.096400] pci 0000:02:00.2: bridge window [io 0xf000-0xffff] [ 0.096404] pci 0000:02:00.2: bridge window [mem 0xfe400000-0xfe5fffff] [ 0.096412] pci 0000:00:01.2: PCI bridge to [bus 02-09] [ 0.096414] pci 0000:00:01.2: bridge window [io 0xf000-0xffff] [ 0.096418] pci 0000:00:01.2: bridge window [mem 0xfe400000-0xfe6fffff] [ 0.096426] pci 0000:00:01.3: PCI bridge to [bus 0a] [ 0.096431] pci 0000:00:01.3: bridge window [mem 0xfe800000-0xfe8fffff] [ 0.096439] pci 0000:00:08.1: PCI bridge to [bus 0b] [ 0.096441] pci 0000:00:08.1: bridge window [io 0xe000-0xefff] [ 0.096446] pci 0000:00:08.1: bridge window [mem 0xfe000000-0xfe3fffff] [ 0.096449] pci 0000:00:08.1: bridge window [mem 0xe0000000-0xf01fffff 64bit pref] [ 0.096455] pci 0000:00:08.2: PCI bridge to [bus 0c] [ 0.096459] pci 0000:00:08.2: bridge window [mem 0xfe700000-0xfe7fffff] [ 0.096468] pci_bus 0000:00: resource 4 [io 0x0000-0x03af window] [ 0.096469] pci_bus 0000:00: resource 5 [io 0x03e0-0x0cf7 window] [ 0.096470] pci_bus 0000:00: resource 6 [io 0x03b0-0x03df window] [ 0.096471] pci_bus 0000:00: resource 7 [io 0x0d00-0xffff window] [ 0.096472] pci_bus 0000:00: resource 8 [mem 0x000a0000-0x000bffff window] [ 0.096473] pci_bus 0000:00: resource 9 [mem 0x000c0000-0x000dffff window] [ 0.096474] pci_bus 0000:00: resource 10 [mem 0xe0000000-0xfec2ffff window] [ 0.096475] pci_bus 0000:00: resource 11 [mem 0xfee00000-0xffffffff window] [ 0.096476] pci_bus 0000:01: resource 1 [mem 0xfe900000-0xfe9fffff] [ 0.096477] pci_bus 0000:02: resource 0 [io 0xf000-0xffff] [ 0.096478] pci_bus 0000:02: resource 1 [mem 0xfe400000-0xfe6fffff] [ 0.096478] pci_bus 0000:03: resource 0 [io 0xf000-0xffff] [ 0.096479] pci_bus 0000:03: resource 1 [mem 0xfe400000-0xfe5fffff] [ 0.096480] pci_bus 0000:07: resource 1 [mem 0xfe500000-0xfe5fffff] [ 0.096481] pci_bus 0000:09: resource 0 [io 0xf000-0xffff] [ 0.096482] pci_bus 0000:09: resource 1 [mem 0xfe400000-0xfe4fffff] [ 0.096483] pci_bus 0000:0a: resource 1 [mem 0xfe800000-0xfe8fffff] [ 0.096484] pci_bus 0000:0b: resource 0 [io 0xe000-0xefff] [ 0.096485] pci_bus 0000:0b: resource 1 [mem 0xfe000000-0xfe3fffff] [ 0.096486] pci_bus 0000:0b: resource 2 [mem 0xe0000000-0xf01fffff 64bit pref] [ 0.096487] pci_bus 0000:0c: resource 1 [mem 0xfe700000-0xfe7fffff] [ 0.096686] NET: Registered protocol family 2 [ 0.096955] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes) [ 0.096981] TCP established hash table entries: 65536 (order: 7, 524288 bytes) [ 0.097093] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) [ 0.097233] TCP: Hash tables configured (established 65536 bind 65536) [ 0.097297] UDP hash table entries: 4096 (order: 5, 131072 bytes) [ 0.097320] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes) [ 0.097462] NET: Registered protocol family 1 [ 0.097466] NET: Registered protocol family 44 [ 0.097725] pci 0000:0b:00.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff] [ 0.097735] pci 0000:0b:00.1: Linked as a consumer to 0000:0b:00.0 [ 0.098034] PCI: CLS 64 bytes, default 64 [ 0.098076] Unpacking initramfs... [ 0.488774] Freeing initrd memory: 37652K [ 0.488807] AMD-Vi: Unable to write to IOMMU perf counter. [ 0.488969] pci 0000:00:00.2: can't derive routing for PCI INT A [ 0.488970] pci 0000:00:00.2: PCI INT A: not connected [ 0.489449] iommu: Adding device 0000:00:01.0 to group 0 [ 0.489665] iommu: Adding device 0000:00:01.1 to group 1 [ 0.489882] iommu: Adding device 0000:00:01.2 to group 2 [ 0.490081] iommu: Adding device 0000:00:01.3 to group 3 [ 0.490307] iommu: Adding device 0000:00:08.0 to group 4 [ 0.490509] iommu: Adding device 0000:00:08.1 to group 5 [ 0.490535] iommu: Adding device 0000:00:08.2 to group 4 [ 0.490748] iommu: Adding device 0000:00:14.0 to group 6 [ 0.490771] iommu: Adding device 0000:00:14.3 to group 6 [ 0.490992] iommu: Adding device 0000:00:18.0 to group 7 [ 0.491015] iommu: Adding device 0000:00:18.1 to group 7 [ 0.491036] iommu: Adding device 0000:00:18.2 to group 7 [ 0.491059] iommu: Adding device 0000:00:18.3 to group 7 [ 0.491081] iommu: Adding device 0000:00:18.4 to group 7 [ 0.491102] iommu: Adding device 0000:00:18.5 to group 7 [ 0.491124] iommu: Adding device 0000:00:18.6 to group 7 [ 0.491145] iommu: Adding device 0000:00:18.7 to group 7 [ 0.491356] iommu: Adding device 0000:01:00.0 to group 8 [ 0.491579] iommu: Adding device 0000:02:00.0 to group 9 [ 0.491616] iommu: Adding device 0000:02:00.1 to group 9 [ 0.491650] iommu: Adding device 0000:02:00.2 to group 9 [ 0.491673] iommu: Adding device 0000:03:00.0 to group 9 [ 0.491703] iommu: Adding device 0000:03:01.0 to group 9 [ 0.491725] iommu: Adding device 0000:03:04.0 to group 9 [ 0.491747] iommu: Adding device 0000:03:05.0 to group 9 [ 0.491780] iommu: Adding device 0000:03:06.0 to group 9 [ 0.491802] iommu: Adding device 0000:03:07.0 to group 9 [ 0.491829] iommu: Adding device 0000:07:00.0 to group 9 [ 0.491857] iommu: Adding device 0000:09:00.0 to group 9 [ 0.492062] iommu: Adding device 0000:0a:00.0 to group 10 [ 0.492350] iommu: Adding device 0000:0b:00.0 to group 11 [ 0.492441] iommu: Using direct mapping for device 0000:0b:00.0 [ 0.492543] iommu: Adding device 0000:0b:00.1 to group 12 [ 0.492592] iommu: Adding device 0000:0b:00.2 to group 12 [ 0.492646] iommu: Adding device 0000:0b:00.3 to group 12 [ 0.492695] iommu: Adding device 0000:0b:00.4 to group 12 [ 0.492737] iommu: Adding device 0000:0b:00.6 to group 12 [ 0.492759] iommu: Adding device 0000:0c:00.0 to group 4 [ 0.493055] AMD-Vi: Found IOMMU at 0000:00:00.2 cap 0x40 [ 0.493056] AMD-Vi: Extended features (0x4f77ef22294ada): [ 0.493056] PPR NX GT IA GA PC GA_vAPIC [ 0.493058] AMD-Vi: Interrupt remapping enabled [ 0.493058] AMD-Vi: Virtual APIC enabled [ 0.493248] AMD-Vi: Lazy IO/TLB flushing enabled [ 0.494122] amd_uncore: AMD NB counters detected [ 0.494126] amd_uncore: AMD LLC counters detected [ 0.494425] check: Scanning for low memory corruption every 60 seconds [ 0.496301] Initialise system trusted keyrings [ 0.496356] Key type blacklist registered [ 0.496430] workingset: timestamp_bits=36 max_order=21 bucket_order=0 [ 0.498148] zbud: loaded [ 0.498903] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.499306] fuse init (API version 7.28) [ 0.534437] Key type asymmetric registered [ 0.534438] Asymmetric key parser 'x509' registered [ 0.534453] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243) [ 0.534503] io scheduler mq-deadline registered [ 0.535534] pcieport 0000:00:01.1: Signaling PME with IRQ 26 [ 0.535640] aer 0000:00:01.1:pcie002: AER enabled with IRQ 26 [ 0.535793] pcieport 0000:00:01.2: Signaling PME with IRQ 27 [ 0.535893] aer 0000:00:01.2:pcie002: AER enabled with IRQ 27 [ 0.536044] pcieport 0000:00:01.3: Signaling PME with IRQ 28 [ 0.536130] aer 0000:00:01.3:pcie002: AER enabled with IRQ 28 [ 0.536264] pcieport 0000:00:08.1: Signaling PME with IRQ 29 [ 0.536514] pcieport 0000:00:08.2: Signaling PME with IRQ 30 [ 0.537677] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 [ 0.537753] vesafb: mode is 640x480x32, linelength=2560, pages=0 [ 0.537754] vesafb: scrolling: redraw [ 0.537755] vesafb: Truecolor: size=0:8:8:8, shift=0:16:8:0 [ 0.537762] vesafb: framebuffer at 0xe0000000, mapped to 0x00000000a3781d9b, using 1216k, total 1216k [ 0.549985] Console: switching to colour frame buffer device 80x30 [ 0.557030] fb0: VESA VGA frame buffer device [ 0.557133] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0 [ 0.557139] ACPI: Power Button [PWRB] [ 0.557174] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1 [ 0.557183] ACPI: Power Button [PWRF] [ 0.557218] Monitor-Mwait will be used to enter C-1 state [ 0.558195] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled [ 0.559580] Linux agpgart interface v0.103 [ 0.562956] loop: module loaded [ 0.563159] libphy: Fixed MDIO Bus: probed [ 0.563159] tun: Universal TUN/TAP device driver, 1.6 [ 0.563185] PPP generic driver version 2.4.2 [ 0.563215] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.563217] ehci-pci: EHCI PCI platform driver [ 0.563228] ehci-platform: EHCI generic platform driver [ 0.563233] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.563242] ohci-pci: OHCI PCI platform driver [ 0.563247] ohci-platform: OHCI generic platform driver [ 0.563250] uhci_hcd: USB Universal Host Controller Interface driver [ 0.563364] xhci_hcd 0000:02:00.0: xHCI Host Controller [ 0.563369] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 1 [ 0.618622] xhci_hcd 0000:02:00.0: hcc params 0x0200ef81 hci version 0x110 quirks 0x0000000000000410 [ 0.618843] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.00 [ 0.618844] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.618845] usb usb1: Product: xHCI Host Controller [ 0.618846] usb usb1: Manufacturer: Linux 5.0.0-050000-generic xhci-hcd [ 0.618847] usb usb1: SerialNumber: 0000:02:00.0 [ 0.618955] hub 1-0:1.0: USB hub found [ 0.618970] hub 1-0:1.0: 10 ports detected [ 0.619276] xhci_hcd 0000:02:00.0: xHCI Host Controller [ 0.619278] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 2 [ 0.619279] xhci_hcd 0000:02:00.0: Host supports USB 3.10 Enhanced SuperSpeed [ 0.619312] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 0.619323] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.00 [ 0.619324] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.619325] usb usb2: Product: xHCI Host Controller [ 0.619326] usb usb2: Manufacturer: Linux 5.0.0-050000-generic xhci-hcd [ 0.619326] usb usb2: SerialNumber: 0000:02:00.0 [ 0.619405] hub 2-0:1.0: USB hub found [ 0.619419] hub 2-0:1.0: 4 ports detected [ 0.619499] usb: port power management may be unreliable [ 0.619635] xhci_hcd 0000:0b:00.3: xHCI Host Controller [ 0.619638] xhci_hcd 0000:0b:00.3: new USB bus registered, assigned bus number 3 [ 0.619828] xhci_hcd 0000:0b:00.3: hcc params 0x0270ffe5 hci version 0x110 quirks 0x0000000840000410 [ 0.620332] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.00 [ 0.620333] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.620333] usb usb3: Product: xHCI Host Controller [ 0.620334] usb usb3: Manufacturer: Linux 5.0.0-050000-generic xhci-hcd [ 0.620335] usb usb3: SerialNumber: 0000:0b:00.3 [ 0.620415] hub 3-0:1.0: USB hub found [ 0.620427] hub 3-0:1.0: 4 ports detected [ 0.620601] xhci_hcd 0000:0b:00.3: xHCI Host Controller [ 0.620603] xhci_hcd 0000:0b:00.3: new USB bus registered, assigned bus number 4 [ 0.620605] xhci_hcd 0000:0b:00.3: Host supports USB 3.10 Enhanced SuperSpeed [ 0.620630] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [ 0.620642] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.00 [ 0.620643] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.620644] usb usb4: Product: xHCI Host Controller [ 0.620644] usb usb4: Manufacturer: Linux 5.0.0-050000-generic xhci-hcd [ 0.620645] usb usb4: SerialNumber: 0000:0b:00.3 [ 0.620717] hub 4-0:1.0: USB hub found [ 0.620730] hub 4-0:1.0: 4 ports detected [ 0.621090] xhci_hcd 0000:0b:00.4: xHCI Host Controller [ 0.621100] xhci_hcd 0000:0b:00.4: new USB bus registered, assigned bus number 5 [ 0.621254] xhci_hcd 0000:0b:00.4: hcc params 0x0260ffe5 hci version 0x110 quirks 0x0000000840000410 [ 0.621733] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.00 [ 0.621734] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.621735] usb usb5: Product: xHCI Host Controller [ 0.621735] usb usb5: Manufacturer: Linux 5.0.0-050000-generic xhci-hcd [ 0.621736] usb usb5: SerialNumber: 0000:0b:00.4 [ 0.621814] hub 5-0:1.0: USB hub found [ 0.621823] hub 5-0:1.0: 1 port detected [ 0.621919] xhci_hcd 0000:0b:00.4: xHCI Host Controller [ 0.621921] xhci_hcd 0000:0b:00.4: new USB bus registered, assigned bus number 6 [ 0.621922] xhci_hcd 0000:0b:00.4: Host supports USB 3.10 Enhanced SuperSpeed [ 0.621946] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM. [ 0.621958] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.00 [ 0.621959] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.621960] usb usb6: Product: xHCI Host Controller [ 0.621961] usb usb6: Manufacturer: Linux 5.0.0-050000-generic xhci-hcd [ 0.621962] usb usb6: SerialNumber: 0000:0b:00.4 [ 0.622033] hub 6-0:1.0: USB hub found [ 0.622042] hub 6-0:1.0: 1 port detected [ 0.622133] i8042: PNP: No PS/2 controller found. [ 0.622184] mousedev: PS/2 mouse device common for all mice [ 0.622302] rtc_cmos 00:02: RTC can wake from S4 [ 0.622556] rtc_cmos 00:02: registered as rtc0 [ 0.622573] rtc_cmos 00:02: alarms up to one month, y3k, 114 bytes nvram, hpet irqs [ 0.622577] i2c /dev entries driver [ 0.622735] device-mapper: uevent: version 1.0.3 [ 0.622822] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: dm-devel@xxxxxxxxxx [ 0.622844] platform eisa.0: Probing EISA bus 0 [ 0.622853] platform eisa.0: EISA: Cannot allocate resource for mainboard [ 0.622854] platform eisa.0: Cannot allocate resource for EISA slot 1 [ 0.622855] platform eisa.0: Cannot allocate resource for EISA slot 2 [ 0.622855] platform eisa.0: Cannot allocate resource for EISA slot 3 [ 0.622856] platform eisa.0: Cannot allocate resource for EISA slot 4 [ 0.622857] platform eisa.0: Cannot allocate resource for EISA slot 5 [ 0.622857] platform eisa.0: Cannot allocate resource for EISA slot 6 [ 0.622858] platform eisa.0: Cannot allocate resource for EISA slot 7 [ 0.622859] platform eisa.0: Cannot allocate resource for EISA slot 8 [ 0.622860] platform eisa.0: EISA: Detected 0 cards [ 0.623002] ledtrig-cpu: registered to indicate activity on CPUs [ 0.623366] NET: Registered protocol family 10 [ 0.629171] Segment Routing with IPv6 [ 0.629184] NET: Registered protocol family 17 [ 0.629308] Key type dns_resolver registered [ 0.630061] RAS: Correctable Errors collector initialized. [ 0.630099] microcode: CPU0: patch_level=0x0810100b [ 0.630106] microcode: CPU1: patch_level=0x0810100b [ 0.630113] microcode: CPU2: patch_level=0x0810100b [ 0.630115] microcode: CPU3: patch_level=0x0810100b [ 0.630134] microcode: CPU4: patch_level=0x0810100b [ 0.630141] microcode: CPU5: patch_level=0x0810100b [ 0.630159] microcode: CPU6: patch_level=0x0810100b [ 0.630166] microcode: CPU7: patch_level=0x0810100b [ 0.630198] microcode: Microcode Update Driver: v2.2. [ 0.630219] sched_clock: Marking stable (666186404, -35990672)->(850356491, -220160759) [ 0.630471] registered taskstats version 1 [ 0.630479] Loading compiled-in X.509 certificates [ 0.631853] Loaded X.509 cert 'Build time autogenerated kernel key: 46ae78472b5cfc8dfc63f9799e9fd780babcd4f1' [ 0.631886] zswap: loaded using pool lzo/zbud [ 0.635849] Key type big_key registered [ 0.635851] Key type trusted registered [ 0.637734] Key type encrypted registered [ 0.637735] AppArmor: AppArmor sha1 policy hashing enabled [ 0.637739] ima: No TPM chip found, activating TPM-bypass! [ 0.637755] ima: Allocated hash algorithm: sha1 [ 0.637760] No architecture policies found [ 0.637775] evm: Initialising EVM extended attributes: [ 0.637776] evm: security.selinux [ 0.637776] evm: security.SMACK64 [ 0.637776] evm: security.SMACK64EXEC [ 0.637776] evm: security.SMACK64TRANSMUTE [ 0.637777] evm: security.SMACK64MMAP [ 0.637777] evm: security.apparmor [ 0.637777] evm: security.ima [ 0.637777] evm: security.capability [ 0.637778] evm: HMAC attrs: 0x1 [ 0.638508] Magic number: 11:626:596 [ 0.638638] rtc_cmos 00:02: setting system clock to 2019-03-08T19:35:07 UTC (1552073707) [ 0.638778] acpi_cpufreq: overriding BIOS provided _PSD data [ 0.640471] Freeing unused decrypted memory: 2040K [ 0.640907] Freeing unused kernel image memory: 2564K [ 0.661837] Write protecting the kernel read-only data: 22528k [ 0.662464] Freeing unused kernel image memory: 2016K [ 0.662848] Freeing unused kernel image memory: 1756K [ 0.672362] x86/mm: Checked W+X mappings: passed, no W+X pages found. [ 0.672367] Run /init as init process [ 0.727902] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no) [ 0.728252] acpi device:02: registered as cooling_device8 [ 0.728309] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/LNXVIDEO:00/input/input2 [ 0.735704] ahci 0000:02:00.1: version 3.0 [ 0.735942] ahci 0000:02:00.1: SSS flag set, parallel bus scan disabled [ 0.735995] ahci 0000:02:00.1: AHCI 0001.0301 32 slots 8 ports 6 Gbps 0x33 impl SATA mode [ 0.735997] ahci 0000:02:00.1: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part sxs deso sadm sds apst [ 0.737247] scsi host0: ahci [ 0.738555] piix4_smbus 0000:00:14.0: SMBus Host Controller at 0xb00, revision 0 [ 0.738557] piix4_smbus 0000:00:14.0: Using register 0x02 for SMBus port selection [ 0.738608] dca service started, version 1.12.1 [ 0.742283] scsi host1: ahci [ 0.742752] scsi host2: ahci [ 0.743024] scsi host3: ahci [ 0.743242] scsi host4: ahci [ 0.743521] scsi host5: ahci [ 0.743681] scsi host6: ahci [ 0.743976] scsi host7: ahci [ 0.744058] ata1: SATA max UDMA/133 abar m131072@0xfe680000 port 0xfe680100 irq 61 [ 0.744060] ata2: SATA max UDMA/133 abar m131072@0xfe680000 port 0xfe680180 irq 61 [ 0.744061] ata3: DUMMY [ 0.744062] ata4: DUMMY [ 0.744064] ata5: SATA max UDMA/133 abar m131072@0xfe680000 port 0xfe680300 irq 61 [ 0.744066] ata6: SATA max UDMA/133 abar m131072@0xfe680000 port 0xfe680380 irq 61 [ 0.744067] ata7: DUMMY [ 0.744067] ata8: DUMMY [ 0.755232] ahci 0000:0c:00.0: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl SATA mode [ 0.755235] ahci 0000:0c:00.0: flags: 64bit ncq sntf ilck pm led clo only pmp fbs pio slum part sxs [ 0.755238] ahci 0000:0c:00.0: both AHCI_HFLAG_MULTI_MSI flag set and custom irq handler implemented [ 0.755696] scsi host8: ahci [ 0.755871] scsi host9: ahci [ 0.755981] ata9: SATA max UDMA/133 abar m2048@0xfe700000 port 0xfe700100 irq 63 [ 0.755985] ata10: SATA max UDMA/133 abar m2048@0xfe700000 port 0xfe700180 irq 64 [ 0.762660] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k [ 0.762661] igb: Copyright (c) 2007-2014 Intel Corporation. [ 0.763581] nvme nvme0: pci function 0000:0a:00.0 [ 0.796212] pps pps0: new PPS source ptp0 [ 0.796214] igb 0000:09:00.0: added PHC on eth0 [ 0.796215] igb 0000:09:00.0: Intel(R) Gigabit Ethernet Network Connection [ 0.796217] igb 0000:09:00.0: eth0: (PCIe:2.5Gb/s:Width x1) e0:d5:5e:e1:b1:ec [ 0.796218] igb 0000:09:00.0: eth0: PBA No: FFFFFF-0FF [ 0.796219] igb 0000:09:00.0: Using MSI-X interrupts. 2 rx queue(s), 2 tx queue(s) [ 0.796915] igb 0000:09:00.0 enp9s0: renamed from eth0 [ 0.953874] usb 1-2: new full-speed USB device number 2 using xhci_hcd [ 0.953881] usb 3-3: new high-speed USB device number 2 using xhci_hcd [ 0.959980] usb 5-1: new high-speed USB device number 2 using xhci_hcd [ 0.983182] nvme nvme0: 8/0/0 default/read/poll queues [ 0.984890] nvme0n1: p1 p2 p3 p4 p5 [ 1.060624] ata1: SATA link down (SStatus 0 SControl 330) [ 1.071143] ata10: SATA link down (SStatus 0 SControl 300) [ 1.071218] ata9: SATA link down (SStatus 0 SControl 300) [ 1.102290] usb 3-3: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=32.98 [ 1.102292] usb 3-3: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 1.102294] usb 3-3: Product: USB2.0 Hub [ 1.114741] usb 5-1: New USB device found, idVendor=0403, idProduct=6010, bcdDevice= 7.00 [ 1.114744] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1.114745] usb 5-1: Product: Digilent Adept USB Device [ 1.114747] usb 5-1: Manufacturer: Digilent [ 1.114748] usb 5-1: SerialNumber: 210203A3CF6A [ 1.166508] hub 3-3:1.0: USB hub found [ 1.166892] hub 3-3:1.0: 4 ports detected [ 1.363688] usb 1-2: New USB device found, idVendor=046d, idProduct=c52b, bcdDevice=12.03 [ 1.363690] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1.363692] usb 1-2: Product: USB Receiver [ 1.363693] usb 1-2: Manufacturer: Logitech [ 1.372377] ata2: SATA link down (SStatus 0 SControl 330) [ 1.456515] usb 3-3.3: new low-speed USB device number 3 using xhci_hcd [ 1.496085] tsc: Refined TSC clocksource calibration: 3596.372 MHz [ 1.496101] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x33d6f00d8af, max_idle_ns: 440795257601 ns [ 1.496367] clocksource: Switched to clocksource tsc [ 1.508351] usb 1-10: new full-speed USB device number 3 using xhci_hcd [ 1.573687] usb 3-3.3: New USB device found, idVendor=413c, idProduct=2107, bcdDevice= 1.04 [ 1.573691] usb 3-3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1.573693] usb 3-3.3: Product: Dell USB Entry Keyboard [ 1.573696] usb 3-3.3: Manufacturer: DELL [ 1.618371] hidraw: raw HID events driver (C) Jiri Kosina [ 1.674831] usbcore: registered new interface driver usbhid [ 1.674833] usbhid: USB HID core driver [ 1.677178] input: DELL Dell USB Entry Keyboard as /devices/pci0000:00/0000:00:08.1/0000:0b:00.3/usb3/3-3/3-3.3/3-3.3:1.0/0003:413C:2107.0004/input/input3 [ 1.687753] ata5: SATA link down (SStatus 0 SControl 330) [ 1.696057] usb 3-3.4: new high-speed USB device number 4 using xhci_hcd [ 1.736526] hid-generic 0003:413C:2107.0004: input,hidraw0: USB HID v1.11 Keyboard [DELL Dell USB Entry Keyboard] on usb-0000:0b:00.3-3.3/input0 [ 1.798293] usb 3-3.4: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=32.98 [ 1.798296] usb 3-3.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 1.798297] usb 3-3.4: Product: USB2.0 Hub [ 1.834851] usb 1-10: New USB device found, idVendor=8087, idProduct=0025, bcdDevice= 0.02 [ 1.834854] usb 1-10: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 1.837800] hub 3-3.4:1.0: USB hub found [ 1.838249] hub 3-3.4:1.0: 4 ports detected [ 1.851933] logitech-djreceiver 0003:046D:C52B.0003: hiddev0,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:02:00.0-2/input2 [ 1.974746] input: Logitech Unifying Device. Wireless PID:4013 Mouse as /devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-2/1-2:1.2/0003:046D:C52B.0003/0003:046D:4013.0005/input/input4 [ 1.974894] hid-generic 0003:046D:4013.0005: input,hidraw2: USB HID v1.11 Mouse [Logitech Unifying Device. Wireless PID:4013] on usb-0000:02:00.0-2:1 [ 2.000875] ata6: SATA link down (SStatus 0 SControl 330) [ 2.028064] input: Logitech M525 as /devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-2/1-2:1.2/0003:046D:C52B.0003/0003:046D:4013.0005/input/input8 [ 2.028208] logitech-hidpp-device 0003:046D:4013.0005: input,hidraw2: USB HID v1.11 Mouse [Logitech M525] on usb-0000:02:00.0-2:1 [ 2.052405] random: fast init done [ 2.068494] EXT4-fs (nvme0n1p5): mounted filesystem with ordered data mode. Opts: (null) [ 2.132049] usb 3-3.4.2: new full-speed USB device number 5 using xhci_hcd [ 2.151611] 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) [ 2.168639] systemd[1]: Detected architecture x86-64. [ 2.176417] systemd[1]: Set hostname to <ravenu>. [ 2.250858] random: systemd: uninitialized urandom read (16 bytes read) [ 2.250914] systemd[1]: Listening on initctl Compatibility Named Pipe. [ 2.250958] random: systemd: uninitialized urandom read (16 bytes read) [ 2.252000] usb 3-3.4.2: New USB device found, idVendor=09fb, idProduct=6001, bcdDevice= 4.00 [ 2.252002] usb 3-3.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2.252003] usb 3-3.4.2: Product: USB-Blaster [ 2.252004] usb 3-3.4.2: Manufacturer: Altera [ 2.252006] usb 3-3.4.2: SerialNumber: 91d28408 [ 2.252652] systemd[1]: Created slice User and Session Slice. [ 2.252659] random: systemd: uninitialized urandom read (16 bytes read) [ 2.252677] systemd[1]: Reached target Slices. [ 2.252950] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 2.252975] systemd[1]: Reached target Remote File Systems. [ 2.253013] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 2.253068] systemd[1]: Listening on udev Kernel Socket. [ 2.268187] EXT4-fs (nvme0n1p5): re-mounted. Opts: errors=remount-ro [ 2.278331] lp: driver loaded but no devices found [ 2.280597] ppdev: user-space parallel port driver [ 2.328165] Adding 2097148k swap on /swapfile. Priority:-2 extents:6 across:2260988k SSFS [ 2.377485] systemd-journald[380]: Received request to flush runtime journal from PID 1 [ 2.449138] audit: type=1400 audit(1552073709.305:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-senddoc" pid=521 comm="apparmor_parser" [ 2.449142] audit: type=1400 audit(1552073709.305:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-oopslash" pid=519 comm="apparmor_parser" [ 2.449907] audit: type=1400 audit(1552073709.305:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=518 comm="apparmor_parser" [ 2.449910] audit: type=1400 audit(1552073709.305:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=518 comm="apparmor_parser" [ 2.449912] audit: type=1400 audit(1552073709.305:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=518 comm="apparmor_parser" [ 2.451578] audit: type=1400 audit(1552073709.305:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/ippusbxd" pid=527 comm="apparmor_parser" [ 2.452845] audit: type=1400 audit(1552073709.309:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/sbin/dhclient" pid=515 comm="apparmor_parser" [ 2.452848] audit: type=1400 audit(1552073709.309:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=515 comm="apparmor_parser" [ 2.452849] audit: type=1400 audit(1552073709.309:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=515 comm="apparmor_parser" [ 2.501340] usbcore: registered new interface driver usbserial_generic [ 2.501349] usbserial: USB Serial support registered for generic [ 2.501426] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 2.508081] usbcore: registered new interface driver ftdi_sio [ 2.508142] usbserial: USB Serial support registered for FTDI USB Serial Device [ 2.508193] ftdi_sio 5-1:1.0: FTDI USB Serial Device converter detected [ 2.508288] usb 5-1: Detected FT2232H [ 2.510410] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 2.517914] usb 5-1: FTDI USB Serial Device converter now attached to ttyUSB0 [ 2.517956] ftdi_sio 5-1:1.1: FTDI USB Serial Device converter detected [ 2.517999] usb 5-1: Detected FT2232H [ 2.518627] usb 5-1: FTDI USB Serial Device converter now attached to ttyUSB1 [ 2.522854] Bluetooth: Core ver 2.22 [ 2.522870] NET: Registered protocol family 31 [ 2.522871] Bluetooth: HCI device and connection manager initialized [ 2.522873] Bluetooth: HCI socket layer initialized [ 2.522875] Bluetooth: L2CAP socket layer initialized [ 2.522890] Bluetooth: SCO socket layer initialized [ 2.532338] usbcore: registered new interface driver btusb [ 2.534454] cryptd: max_cpu_qlen set to 1000 [ 2.539450] random: crng init done [ 2.539452] random: 7 urandom warning(s) missed due to ratelimiting [ 2.540990] Intel(R) Wireless WiFi driver for Linux [ 2.540992] Copyright(c) 2003- 2015 Intel Corporation [ 2.541944] Bluetooth: hci0: Firmware revision 0.1 build 73 week 26 2018 [ 2.548309] AVX2 version of gcm_enc/dec engaged. [ 2.548311] AES CTR mode by8 optimization enabled [ 2.556772] iwlwifi 0000:07:00.0: Direct firmware load for iwlwifi-9260-th-b0-jf-b0-43.ucode failed with error -2 [ 2.556787] iwlwifi 0000:07:00.0: Direct firmware load for iwlwifi-9260-th-b0-jf-b0-42.ucode failed with error -2 [ 2.556908] iwlwifi 0000:07:00.0: Direct firmware load for iwlwifi-9260-th-b0-jf-b0-41.ucode failed with error -2 [ 2.556921] iwlwifi 0000:07:00.0: Direct firmware load for iwlwifi-9260-th-b0-jf-b0-40.ucode failed with error -2 [ 2.557035] iwlwifi 0000:07:00.0: Direct firmware load for iwlwifi-9260-th-b0-jf-b0-39.ucode failed with error -2 [ 2.564652] iwlwifi 0000:07:00.0: loaded firmware version 38.c0e03d94.0 op_mode iwlmvm [ 2.584543] AMD-Vi: AMD IOMMUv2 driver by Joerg Roedel <jroedel@xxxxxxx> [ 2.599751] iwlwifi 0000:07:00.0: Detected Intel(R) Dual Band Wireless AC 9260, REV=0x324 [ 2.636634] snd_hda_intel 0000:0b:00.1: Handle vga_switcheroo audio client [ 2.649026] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:0b:00.1/sound/card0/input9 [ 2.649139] input: HD-Audio Generic HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:08.1/0000:0b:00.1/sound/card0/input10 [ 2.649193] input: HD-Audio Generic HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:08.1/0000:0b:00.1/sound/card0/input11 [ 2.649272] input: HD-Audio Generic HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:08.1/0000:0b:00.1/sound/card0/input12 [ 2.654210] [drm] amdgpu kernel modesetting enabled. [ 2.654290] Parsing CRAT table with 1 nodes [ 2.654302] Creating topology SYSFS entries [ 2.654332] Topology: Add APU node [0x0:0x0] [ 2.654332] Finished initializing topology [ 2.654445] checking generic (e0000000 130000) vs hw (e0000000 10000000) [ 2.654447] fb0: switching to amdgpudrmfb from VESA VGA [ 2.654473] Console: switching to colour dummy device 80x25 [ 2.655477] [drm] initializing kernel modesetting (RAVEN 0x1002:0x15DD 0x1458:0xD000 0xC6). [ 2.655518] [drm] register mmio base: 0xFE300000 [ 2.655519] [drm] register mmio size: 524288 [ 2.655535] [drm] add ip block number 0 <soc15_common> [ 2.655536] [drm] add ip block number 1 <gmc_v9_0> [ 2.655537] [drm] add ip block number 2 <vega10_ih> [ 2.655537] [drm] add ip block number 3 <psp> [ 2.655539] [drm] add ip block number 4 <gfx_v9_0> [ 2.655540] [drm] add ip block number 5 <sdma_v4_0> [ 2.655541] [drm] add ip block number 6 <powerplay> [ 2.655542] [drm] add ip block number 7 <dm> [ 2.655543] [drm] add ip block number 8 <vcn_v1_0> [ 2.656256] [drm] VCN decode is enabled in VM mode [ 2.656257] [drm] VCN encode is enabled in VM mode [ 2.656257] [drm] VCN jpeg decode is enabled in VM mode [ 2.662991] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC1220: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line [ 2.662994] snd_hda_codec_realtek hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 2.662995] snd_hda_codec_realtek hdaudioC1D0: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0) [ 2.662996] snd_hda_codec_realtek hdaudioC1D0: mono: mono_out=0x0 [ 2.662997] snd_hda_codec_realtek hdaudioC1D0: dig-out=0x1e/0x0 [ 2.662998] snd_hda_codec_realtek hdaudioC1D0: inputs: [ 2.663000] snd_hda_codec_realtek hdaudioC1D0: Front Mic=0x19 [ 2.663001] snd_hda_codec_realtek hdaudioC1D0: Rear Mic=0x18 [ 2.663002] snd_hda_codec_realtek hdaudioC1D0: Line=0x1a [ 2.680481] iwlwifi 0000:07:00.0: base HW address: 34:e1:2d:aa:ce:09 [ 2.682889] input: HD-Audio Generic Front Mic as /devices/pci0000:00/0000:00:08.1/0000:0b:00.6/sound/card1/input13 [ 2.683038] input: HD-Audio Generic Rear Mic as /devices/pci0000:00/0000:00:08.1/0000:0b:00.6/sound/card1/input14 [ 2.683163] input: HD-Audio Generic Line as /devices/pci0000:00/0000:00:08.1/0000:0b:00.6/sound/card1/input15 [ 2.683307] input: HD-Audio Generic Line Out as /devices/pci0000:00/0000:00:08.1/0000:0b:00.6/sound/card1/input16 [ 2.683396] input: HD-Audio Generic Front Headphone as /devices/pci0000:00/0000:00:08.1/0000:0b:00.6/sound/card1/input17 [ 2.684339] [drm] BIOS signature incorrect 0 0 [ 2.684405] ATOM BIOS: 113-RAVEN-111 [ 2.684466] [drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit [ 2.684482] amdgpu 0000:0b:00.0: VRAM: 2048M 0x000000F400000000 - 0x000000F47FFFFFFF (2048M used) [ 2.684485] amdgpu 0000:0b:00.0: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF [ 2.684486] amdgpu 0000:0b:00.0: AGP: 267419648M 0x000000F800000000 - 0x0000FFFFFFFFFFFF [ 2.684493] [drm] Detected VRAM RAM=2048M, BAR=2048M [ 2.684495] [drm] RAM width 128bits DDR4 [ 2.684630] [TTM] Zone kernel: Available graphics memory: 3055710 kiB [ 2.684646] [TTM] Zone dma32: Available graphics memory: 2097152 kiB [ 2.684647] [TTM] Initializing pool allocator [ 2.684651] [TTM] Initializing DMA pool allocator [ 2.684732] [drm] amdgpu: 2048M of VRAM memory ready [ 2.684734] [drm] amdgpu: 3072M of GTT memory ready. [ 2.684780] [drm] GART: num cpu pages 262144, num gpu pages 262144 [ 2.684937] [drm] PCIE GART of 1024M enabled (table at 0x000000F40012C000). [ 2.695945] [drm] use_doorbell being set to: [true] [ 2.698256] [drm] Found VCN firmware Version: 1.73 Family ID: 18 [ 2.698267] [drm] PSP loading VCN firmware [ 2.730865] [drm] reserve 0x400000 from 0xf400400000 for PSP TMR SIZE [ 2.742681] kvm: disabled by bios [ 2.747977] MCE: In-kernel MCE decoding enabled. [ 2.750116] EDAC amd64: Node 0: DRAM ECC disabled. [ 2.750118] 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.) [ 2.773107] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs' [ 2.773530] thermal thermal_zone0: failed to read out thermal zone (-61) [ 2.830537] EDAC amd64: Node 0: DRAM ECC disabled. [ 2.830539] 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.) [ 2.832221] iwlwifi 0000:07:00.0 wlp7s0: renamed from wlan0 [ 2.923485] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 2.923487] Bluetooth: BNEP filters: protocol multicast [ 2.923491] Bluetooth: BNEP socket layer initialized [ 2.961028] [drm] DM_PPLIB: values for Invalid clock [ 2.961031] [drm] DM_PPLIB: 400000 in kHz [ 2.961031] [drm] DM_PPLIB: 933000 in kHz [ 2.961032] [drm] DM_PPLIB: 1200000 in kHz [ 2.961032] [drm] DM_PPLIB: 1333000 in kHz [ 2.961033] [drm] DM_PPLIB: values for Invalid clock [ 2.961034] [drm] DM_PPLIB: 300000 in kHz [ 2.961034] [drm] DM_PPLIB: 600000 in kHz [ 2.961035] [drm] DM_PPLIB: 626000 in kHz [ 2.961035] [drm] DM_PPLIB: 654000 in kHz [ 2.961428] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector ObjectID from Adapter Service for connector index:2! type 0 expected 3 [ 3.010867] [drm] Display Core initialized with v3.2.08! [ 3.016157] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 3.016160] [drm] Driver supports precise vblank timestamp query. [ 3.043060] [drm] VCN decode and encode initialized successfully(under SPG Mode). [ 3.043833] kfd kfd: Allocated 3969056 bytes on gart [ 3.043894] Topology: Add APU node [0x15dd:0x1002] [ 3.044597] kfd kfd: added device 1002:15dd [ 3.045316] [drm] Cannot find any crtc or sizes [ 3.045485] amdgpu 0000:0b:00.0: ring gfx uses VM inv eng 0 on hub 0 [ 3.045487] amdgpu 0000:0b:00.0: ring comp_1.0.0 uses VM inv eng 1 on hub 0 [ 3.045489] amdgpu 0000:0b:00.0: ring comp_1.1.0 uses VM inv eng 4 on hub 0 [ 3.045491] amdgpu 0000:0b:00.0: ring comp_1.2.0 uses VM inv eng 5 on hub 0 [ 3.045492] amdgpu 0000:0b:00.0: ring comp_1.3.0 uses VM inv eng 6 on hub 0 [ 3.045494] amdgpu 0000:0b:00.0: ring comp_1.0.1 uses VM inv eng 7 on hub 0 [ 3.045495] amdgpu 0000:0b:00.0: ring comp_1.1.1 uses VM inv eng 8 on hub 0 [ 3.045498] amdgpu 0000:0b:00.0: ring comp_1.2.1 uses VM inv eng 9 on hub 0 [ 3.045499] amdgpu 0000:0b:00.0: ring comp_1.3.1 uses VM inv eng 10 on hub 0 [ 3.045501] amdgpu 0000:0b:00.0: ring kiq_2.1.0 uses VM inv eng 11 on hub 0 [ 3.045503] amdgpu 0000:0b:00.0: ring sdma0 uses VM inv eng 0 on hub 1 [ 3.045535] amdgpu 0000:0b:00.0: ring vcn_dec uses VM inv eng 1 on hub 1 [ 3.045547] amdgpu 0000:0b:00.0: ring vcn_enc0 uses VM inv eng 4 on hub 1 [ 3.045553] amdgpu 0000:0b:00.0: ring vcn_enc1 uses VM inv eng 5 on hub 1 [ 3.045556] amdgpu 0000:0b:00.0: ring vcn_jpeg uses VM inv eng 6 on hub 1 [ 3.270492] [drm] Initialized amdgpu 3.27.0 20150101 for 0000:0b:00.0 on minor 0 [ 5.820568] igb 0000:09:00.0 enp9s0: igb: enp9s0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX [ 5.928262] IPv6: ADDRCONF(NETDEV_CHANGE): enp9s0: link becomes ready [ 98.017927] amdgpu: [powerplay] pp_dpm_switch_power_profile was not implemented.
#include <vector> #include <string> #include <chrono> #include <iostream> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <CL/cl.h> #include <stdarg.h> int main(int argc, const char** argv) { int idx = 1; int init_ocl = argc > idx? atoi(argv[idx++]) : 1; int count = argc > idx? atoi(argv[idx++]) : 30; int size = argc > idx? atoi(argv[idx++]) : 10000000; cl_context context; cl_int status = 0; std::vector<unsigned char> src, dst; src.resize(size); dst.resize(size); if (init_ocl) { cl_device_type typ = CL_DEVICE_TYPE_GPU; /* Create context.*/ const int max_platforms = 5, max_devices=5; cl_uint num_platforms = 0, num_devices = 0; cl_platform_id platforms[max_platforms]; cl_device_id devices[max_devices]; status = clGetPlatformIDs(max_platforms, platforms, &num_platforms); if (status || !num_platforms) { printf("clGetPlatformIDs failed status: %d platforms: %d\n", status, num_platforms); return -1; } status = clGetDeviceIDs(platforms[0], typ, max_devices, devices, &num_devices); if (status || !num_devices) { printf("clGetDeviceIDs failed status: %d devices: %d\n", status, num_devices); return -1; } printf("got %d platforms %d devices\n", num_platforms, num_devices); context = clCreateContext(NULL, 1, &devices[0], NULL, NULL, &status); if (status) { printf("clCreateContext failed %d\n", status); return -1; } } float avg = 0; for (int i = 0; i < count; i++) { auto start = std::chrono::steady_clock::now(); memcpy(&dst[0], &src[0], dst.size()); std::chrono::duration<float> time = std::chrono::steady_clock::now() - start; float speed = dst.size()/time.count() / (1024*1024); avg = avg * i/(i+1) + speed * 1/(i+1); printf("speed %f avg %f mbytes/s\n", speed, avg); } if (init_ocl) { status = clReleaseContext(context); if (status) printf("clReleaseContext failed status: %d\n", status); } }
_______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx