[Linux,v4.10.0-rc1] call-traces after suspend-resume (pm? i915? cpu/hotplug?)
diff mbox

Message ID CA+icZUX=TTaK+vXqVxG2s-=ZO3Qy6BZrbfc1-n42cTzx=rFaGg@mail.gmail.com
State New
Headers show

Commit Message

Sedat Dilek Dec. 27, 2016, 7:42 a.m. UTC
On Tue, Dec 27, 2016 at 12:09 AM, Sedat Dilek <sedat.dilek@gmail.com> wrote:
> [ Add some pm | i915 | x86 folks ]
>
> Hi,
>
> I have built Linux v4.10-rc1 today on my Ubuntu/precise AMD64 system
> and I see some call-traces.
> It is reproducible on suspend and resume.
>
> I cannot say which area touches the problem or if these are several
> independent problems.
>
> For a full dmesg-log see attachments (my linux-config is attached, too).
>
> Here some hunks...
>
[...]

[ cpu/hotplug ]

I got the tglx brainfart patch and it fixes the cpu/hotplug call-trace.

[ pm? | i915? ]

I see this call-trace twice.

After booting and starting  into Xorg/unity and...

[   29.772847] BUG: sleeping function called from invalid context at
drivers/base/power/runtime.c:1032
[   29.772853] in_atomic(): 1, irqs_disabled(): 0, pid: 1480, name: Xorg
[   29.772856] 1 lock held by Xorg/1480:
[   29.772857]  #0:  (&dev->struct_mutex){+.+.+.}, at:
[<ffffffffa0571c13>] i915_mutex_lock_interruptible+0x43/0x140 [i915]
[   29.772898] CPU: 2 PID: 1480 Comm: Xorg Not tainted
4.10.0-rc1-2-iniza-small #1
[   29.772899] Hardware name: SAMSUNG ELECTRONICS CO., LTD.
530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[   29.772900] Call Trace:
[   29.772907]  dump_stack+0x85/0xc2
[   29.772910]  ___might_sleep+0x196/0x260
[   29.772912]  __might_sleep+0x53/0xb0
[   29.772915]  __pm_runtime_resume+0x7a/0x90
[   29.772934]  intel_runtime_pm_get+0x25/0x90 [i915]
[   29.772954]  aliasing_gtt_bind_vma+0xaa/0xf0 [i915]
[   29.772976]  i915_vma_bind+0xaf/0x1e0 [i915]
[   29.772995]  i915_gem_execbuffer_relocate_entry+0x513/0x6f0 [i915]
[   29.772997]  ? find_get_entry+0x5/0x240
[   29.773016]  i915_gem_execbuffer_relocate_vma.isra.34+0x188/0x250 [i915]
[   29.773038]  ? __i915_vma_do_pin+0x334/0x590 [i915]
[   29.773056]  ? i915_gem_execbuffer_reserve_vma.isra.31+0x152/0x1f0 [i915]
[   29.773075]  ? i915_gem_execbuffer_reserve.isra.32+0x372/0x3a0 [i915]
[   29.773101]  i915_gem_do_execbuffer.isra.38+0xa70/0x1a40 [i915]
[   29.773105]  ? __might_fault+0x4e/0xb0
[   29.773132]  i915_gem_execbuffer2+0xc5/0x260 [i915]
[   29.773135]  ? __might_fault+0x4e/0xb0
[   29.773155]  drm_ioctl+0x206/0x450 [drm]
[   29.773182]  ? i915_gem_execbuffer+0x340/0x340 [i915]
[   29.773187]  ? __fget+0x5/0x200
[   29.773191]  do_vfs_ioctl+0x91/0x6f0
[   29.773193]  ? __fget+0x111/0x200
[   29.773195]  ? __fget+0x5/0x200
[   29.773198]  SyS_ioctl+0x79/0x90
[   29.773203]  entry_SYSCALL_64_fastpath+0x23/0xc6
[   29.773205] RIP: 0033:0x7fc6b8986bb7
[   29.773207] RSP: 002b:00007ffc1133a418 EFLAGS: 00003202 ORIG_RAX:
0000000000000010
[   29.773210] RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00007fc6b8986bb7
[   29.773212] RDX: 00007ffc1133a518 RSI: 0000000040406469 RDI: 0000000000000009
[   29.773213] RBP: 00007ffc1133a330 R08: 0000000000000040 R09: 0101010101010101
[   29.773215] R10: 0000000000000000 R11: 0000000000003202 R12: 0000000000000008
[   29.773216] R13: 00000000000000f5 R14: 0000000000000000 R15: 0000000000000000

After suspend/resume...

[  153.131294] PM: resume of devices complete after 783.799 msecs
[  153.133556] Restarting tasks ... done.
[  154.668836] BUG: sleeping function called from invalid context at
drivers/base/power/runtime.c:1032
[  154.668848] in_atomic(): 1, irqs_disabled(): 0, pid: 1480, name: Xorg
[  154.668854] 1 lock held by Xorg/1480:
[  154.668856]  #0:  (&dev->struct_mutex){+.+.+.}, at:
[<ffffffffa0571c13>] i915_mutex_lock_interruptible+0x43/0x140 [i915]
[  154.668939] CPU: 2 PID: 1480 Comm: Xorg Tainted: G        W
4.10.0-rc1-2-iniza-small #1
[  154.668942] Hardware name: SAMSUNG ELECTRONICS CO., LTD.
530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[  154.668945] Call Trace:
[  154.668958]  dump_stack+0x85/0xc2
[  154.668965]  ___might_sleep+0x196/0x260
[  154.668970]  __might_sleep+0x53/0xb0
[  154.668976]  __pm_runtime_resume+0x7a/0x90
[  154.669025]  intel_runtime_pm_get+0x25/0x90 [i915]
[  154.669073]  aliasing_gtt_bind_vma+0xaa/0xf0 [i915]
[  154.669127]  i915_vma_bind+0xaf/0x1e0 [i915]
[  154.669175]  i915_gem_execbuffer_relocate_entry+0x513/0x6f0 [i915]
[  154.669181]  ? free_hot_cold_page+0x1c1/0x390
[  154.669227]  i915_gem_execbuffer_relocate_vma.isra.34+0x188/0x250 [i915]
[  154.669275]  ? i915_gem_execbuffer_reserve_vma.isra.31+0x152/0x1f0 [i915]
[  154.669318]  ? i915_gem_execbuffer_reserve.isra.32+0x372/0x3a0 [i915]
[  154.669362]  i915_gem_do_execbuffer.isra.38+0xa70/0x1a40 [i915]
[  154.669368]  ? __might_fault+0x4e/0xb0
[  154.669412]  i915_gem_execbuffer2+0xc5/0x260 [i915]
[  154.669415]  ? __might_fault+0x4e/0xb0
[  154.669443]  drm_ioctl+0x206/0x450 [drm]
[  154.669486]  ? i915_gem_execbuffer+0x340/0x340 [i915]
[  154.669493]  ? __fget+0x5/0x200
[  154.669498]  do_vfs_ioctl+0x91/0x6f0
[  154.669502]  ? __fget+0x111/0x200
[  154.669505]  ? __fget+0x5/0x200
[  154.669510]  SyS_ioctl+0x79/0x90
[  154.669518]  entry_SYSCALL_64_fastpath+0x23/0xc6
[  154.669522] RIP: 0033:0x7fc6b8986bb7
[  154.669525] RSP: 002b:00007ffc1133a418 EFLAGS: 00003202 ORIG_RAX:
0000000000000010
[  154.669530] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fc6b8986bb7
[  154.669532] RDX: 00007ffc1133a518 RSI: 0000000040406469 RDI: 0000000000000009
[  154.669535] RBP: 00007ffc1133a680 R08: 0000000000000040 R09: 0101010101010101
[  154.669537] R10: 0025ebd590960000 R11: 0000000000003202 R12: 000055b0264c9260
[  154.669540] R13: 000055b027899350 R14: 0000000000000000 R15: 00007ffc1133a880

Again I send you my dmesg-log, linux-config and patches on top of
Linux v4.10-rc1.

Thanks.

- Sedat -
[    0.000000] Linux version 4.10.0-rc1-2-iniza-small (sedat.dilek@gmail.com@fambox) (gcc version 4.9.2 (Ubuntu 4.9.2-0ubuntu1~12.04) ) #1 SMP Tue Dec 27 08:14:12 CET 2016
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.10.0-rc1-2-iniza-small root=UUID=001AADA61AAD9964 loop=/ubuntu/disks/root.disk ro intel_pstate=disable
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    0.000000] Disabled fast string operations
[    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 'standard' format.
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009d800-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001fffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000020000000-0x00000000201fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000020200000-0x000000003fffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000040000000-0x00000000401fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000040200000-0x00000000d9c9efff] usable
[    0.000000] BIOS-e820: [mem 0x00000000d9c9f000-0x00000000dae7efff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000dae7f000-0x00000000daf9efff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000daf9f000-0x00000000daffefff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000dafff000-0x00000000daffffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000db000000-0x00000000df9fffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed08000-0x00000000fed08fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed10000-0x00000000fed19fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ffd80000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000011fdfffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.6 present.
[    0.000000] DMI: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000000] e820: last_pfn = 0x11fe00 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 uncachable
[    0.000000]   C0000-FFFFF write-protect
[    0.000000] MTRR variable ranges enabled:
[    0.000000]   0 base 000000000 mask F80000000 write-back
[    0.000000]   1 base 080000000 mask FC0000000 write-back
[    0.000000]   2 base 0C0000000 mask FE0000000 write-back
[    0.000000]   3 base 0DC000000 mask FFC000000 uncachable
[    0.000000]   4 base 0DB000000 mask FFF000000 uncachable
[    0.000000]   5 base 100000000 mask FE0000000 write-back
[    0.000000]   6 base 11FE00000 mask FFFE00000 uncachable
[    0.000000]   7 base 0FFC00000 mask FFFC00000 write-protect
[    0.000000]   8 disabled
[    0.000000]   9 disabled
[    0.000000] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WC  UC- WT  
[    0.000000] e820: last_pfn = 0xdb000 max_arch_pfn = 0x400000000
[    0.000000] found SMP MP-table at [mem 0x000f00e0-0x000f00ef] mapped at [ffff8800000f00e0]
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] Base memory trampoline at [ffff880000097000] 97000 size 24576
[    0.000000] reserving inaccessible SNB gfx pages
[    0.000000] BRK [0x02ea1000, 0x02ea1fff] PGTABLE
[    0.000000] BRK [0x02ea2000, 0x02ea2fff] PGTABLE
[    0.000000] BRK [0x02ea3000, 0x02ea3fff] PGTABLE
[    0.000000] BRK [0x02ea4000, 0x02ea4fff] PGTABLE
[    0.000000] BRK [0x02ea5000, 0x02ea5fff] PGTABLE
[    0.000000] BRK [0x02ea6000, 0x02ea6fff] PGTABLE
[    0.000000] RAMDISK: [mem 0x378ce000-0x37c5efff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000F0100 000024 (v02 SECCSD)
[    0.000000] ACPI: XSDT 0x00000000DAFFE170 000084 (v01 SECCSD LH43STAR 00000002 PTEC 00000002)
[    0.000000] ACPI: FACP 0x00000000DAFEF000 00010C (v05 SECCSD LH43STAR 00000002 PTL  00000002)
[    0.000000] ACPI: DSDT 0x00000000DAFF2000 0083AC (v02 SECCSD SNB-CPT  00000000 INTL 20061109)
[    0.000000] ACPI: FACS 0x00000000DAF47000 000040
[    0.000000] ACPI: SLIC 0x00000000DAFFD000 000176 (v01 SECCSD LH43STAR 00000002 PTEC 00000001)
[    0.000000] ACPI: SSDT 0x00000000DAFFB000 001068 (v01 SECCSD PtidDevc 00001000 INTL 20061109)
[    0.000000] ACPI: ASF! 0x00000000DAFF1000 0000A5 (v32 SECCSD LH43STAR 00000002 PTL  00000002)
[    0.000000] ACPI: HPET 0x00000000DAFEE000 000038 (v01 SECCSD LH43STAR 00000002 PTL  00000002)
[    0.000000] ACPI: APIC 0x00000000DAFED000 000098 (v03 SECCSD LH43STAR 00000002 PTL  00000002)
[    0.000000] ACPI: MCFG 0x00000000DAFEC000 00003C (v01 SECCSD LH43STAR 00000002 PTL  00000002)
[    0.000000] ACPI: SSDT 0x00000000DAFEB000 000804 (v01 PmRef  Cpu0Ist  00003000 INTL 20061109)
[    0.000000] ACPI: SSDT 0x00000000DAFEA000 000996 (v01 PmRef  CpuPm    00003000 INTL 20061109)
[    0.000000] ACPI: UEFI 0x00000000DAFE9000 00003E (v01 SECCSD LH43STAR 00000002 PTL  00000002)
[    0.000000] ACPI: UEFI 0x00000000DAFE8000 000042 (v01 PTL    COMBUF   00000001 PTL  00000001)
[    0.000000] ACPI: UEFI 0x00000000DAFE7000 00026A (v01 SECCSD LH43STAR 00000002 PTL  00000002)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000011fdfffff]
[    0.000000] NODE_DATA(0) allocated [mem 0x11fdf9000-0x11fdfcfff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000011fdfffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009cfff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x000000001fffffff]
[    0.000000]   node   0: [mem 0x0000000020200000-0x000000003fffffff]
[    0.000000]   node   0: [mem 0x0000000040200000-0x00000000d9c9efff]
[    0.000000]   node   0: [mem 0x00000000dafff000-0x00000000daffffff]
[    0.000000]   node   0: [mem 0x0000000100000000-0x000000011fdfffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000011fdfffff]
[    0.000000] On node 0 totalpages: 1021500
[    0.000000]   DMA zone: 64 pages used for memmap
[    0.000000]   DMA zone: 156 pages reserved
[    0.000000]   DMA zone: 3996 pages, LIFO batch:0
[    0.000000]   DMA32 zone: 13859 pages used for memmap
[    0.000000]   DMA32 zone: 886944 pages, LIFO batch:31
[    0.000000]   Normal zone: 2040 pages used for memmap
[    0.000000]   Normal zone: 130560 pages, LIFO batch:31
[    0.000000] Reserving Intel graphics memory at 0x00000000dba00000-0x00000000df9fffff
[    0.000000] ACPI: PM-Timer IO Port: 0x408
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[    0.000000] IOAPIC[0]: apic_id 14, version 32, address 0xfec00000, GSI 0-23
[    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 high 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: 0x8086a301 base: 0xfed00000
[    0.000000] smpboot: Allowing 8 CPUs, 4 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x0009d000-0x0009dfff]
[    0.000000] PM: Registered nosave memory: [mem 0x0009e000-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 0x20000000-0x201fffff]
[    0.000000] PM: Registered nosave memory: [mem 0x40000000-0x401fffff]
[    0.000000] PM: Registered nosave memory: [mem 0xd9c9f000-0xdae7efff]
[    0.000000] PM: Registered nosave memory: [mem 0xdae7f000-0xdaf9efff]
[    0.000000] PM: Registered nosave memory: [mem 0xdaf9f000-0xdaffefff]
[    0.000000] PM: Registered nosave memory: [mem 0xdb000000-0xdf9fffff]
[    0.000000] PM: Registered nosave memory: [mem 0xdfa00000-0xf7ffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xf8000000-0xfbffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfc000000-0xfebfffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfec00000-0xfec00fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfec01000-0xfed07fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed08000-0xfed08fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed09000-0xfed0ffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed10000-0xfed19fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed1a000-0xfed1bfff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed1c000-0xfed1ffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed20000-0xfedfffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfee00000-0xfee00fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfee01000-0xffd7ffff]
[    0.000000] PM: Registered nosave memory: [mem 0xffd80000-0xffffffff]
[    0.000000] e820: [mem 0xdfa00000-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] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:8 nr_node_ids:1
[    0.000000] percpu: Embedded 37 pages/cpu @ffff88011fa00000 s112456 r8192 d30904 u262144
[    0.000000] pcpu-alloc: s112456 r8192 d30904 u262144 alloc=1*2097152
[    0.000000] pcpu-alloc: [0] 0 1 2 3 4 5 6 7 
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 1005381
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.10.0-rc1-2-iniza-small root=UUID=001AADA61AAD9964 loop=/ubuntu/disks/root.disk ro intel_pstate=disable
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Calgary: detecting Calgary via BIOS EBDA area
[    0.000000] Calgary: Unable to locate Rio Grande table in EBDA - bailing!
[    0.000000] ACPI Warning: Table ffffffff82077280, Validation count is zero before decrement
[    0.000000]  (20160930/tbutils-455)
[    0.000000] Memory: 3917572K/4086000K available (8669K kernel code, 1516K rwdata, 3228K rodata, 1520K init, 13948K bss, 168428K reserved, 0K cma-reserved)
[    0.000000] Running RCU self tests
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU lockdep checking is enabled.
[    0.000000] 	Build-time adjustment of leaf fanout to 64.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=8.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=8
[    0.000000] NR_IRQS:16640 nr_irqs:488 16
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled
[    0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.000000] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.000000] ... MAX_LOCK_DEPTH:          48
[    0.000000] ... MAX_LOCKDEP_KEYS:        8191
[    0.000000] ... CLASSHASH_SIZE:          4096
[    0.000000] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.000000] ... MAX_LOCKDEP_CHAINS:      65536
[    0.000000] ... CHAINHASH_SIZE:          32768
[    0.000000]  memory used by lock dependency info: 8159 kB
[    0.000000]  per task-struct memory footprint: 1920 bytes
[    0.000000] ------------------------
[    0.000000] | Locking API testsuite:
[    0.000000] ----------------------------------------------------------------------------
[    0.000000]                                  | spin |wlock |rlock |mutex | wsem | rsem |
[    0.000000]   --------------------------------------------------------------------------
[    0.000000]                      A-A deadlock:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
[    0.000000]                  A-B-B-A deadlock:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
[    0.000000]              A-B-B-C-C-A deadlock:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
[    0.000000]              A-B-C-A-B-C deadlock:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
[    0.000000]          A-B-B-C-C-D-D-A deadlock:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
[    0.000000]          A-B-C-D-B-D-D-A deadlock:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
[    0.000000]          A-B-C-D-B-C-D-A deadlock:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
[    0.000000]                     double unlock:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
[    0.000000]                   initialize held:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
[    0.000000]                  bad unlock order:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
[    0.000000]   --------------------------------------------------------------------------
[    0.000000]               recursive read-lock:             |  ok  |             |  ok  |
[    0.000000]            recursive read-lock #2:             |  ok  |             |  ok  |
[    0.000000]             mixed read-write-lock:             |  ok  |             |  ok  |
[    0.000000]             mixed write-read-lock:             |  ok  |             |  ok  |
[    0.000000]   --------------------------------------------------------------------------
[    0.000000]      hard-irqs-on + irq-safe-A/12:  ok  |  ok  |  ok  |
[    0.000000]      soft-irqs-on + irq-safe-A/12:  ok  |  ok  |  ok  |
[    0.000000]      hard-irqs-on + irq-safe-A/21:  ok  |  ok  |  ok  |
[    0.000000]      soft-irqs-on + irq-safe-A/21:  ok  |  ok  |  ok  |
[    0.000000]        sirq-safe-A => hirqs-on/12:  ok  |  ok  |  ok  |
[    0.000000]        sirq-safe-A => hirqs-on/21:  ok  |  ok  |  ok  |
[    0.000000]          hard-safe-A + irqs-on/12:  ok  |  ok  |  ok  |
[    0.000000]          soft-safe-A + irqs-on/12:  ok  |  ok  |  ok  |
[    0.000000]          hard-safe-A + irqs-on/21:  ok  |  ok  |  ok  |
[    0.000000]          soft-safe-A + irqs-on/21:  ok  |  ok  |  ok  |
[    0.000000]     hard-safe-A + unsafe-B #1/123:  ok  |  ok  |  ok  |
[    0.000000]     soft-safe-A + unsafe-B #1/123:  ok  |  ok  |  ok  |
[    0.000000]     hard-safe-A + unsafe-B #1/132:  ok  |  ok  |  ok  |
[    0.000000]     soft-safe-A + unsafe-B #1/132:  ok  |  ok  |  ok  |
[    0.000000]     hard-safe-A + unsafe-B #1/213:  ok  |  ok  |  ok  |
[    0.000000]     soft-safe-A + unsafe-B #1/213:  ok  |  ok  |  ok  |
[    0.000000]     hard-safe-A + unsafe-B #1/231:  ok  |  ok  |  ok  |
[    0.000000]     soft-safe-A + unsafe-B #1/231:  ok  |  ok  |  ok  |
[    0.000000]     hard-safe-A + unsafe-B #1/312:  ok  |  ok  |  ok  |
[    0.000000]     soft-safe-A + unsafe-B #1/312:  ok  |  ok  |  ok  |
[    0.000000]     hard-safe-A + unsafe-B #1/321:  ok  |  ok  |  ok  |
[    0.000000]     soft-safe-A + unsafe-B #1/321:  ok  |  ok  |  ok  |
[    0.000000]     hard-safe-A + unsafe-B #2/123:  ok  |  ok  |  ok  |
[    0.000000]     soft-safe-A + unsafe-B #2/123:  ok  |  ok  |  ok  |
[    0.000000]     hard-safe-A + unsafe-B #2/132:  ok  |  ok  |  ok  |
[    0.000000]     soft-safe-A + unsafe-B #2/132:  ok  |  ok  |  ok  |
[    0.000000]     hard-safe-A + unsafe-B #2/213:  ok  |  ok  |  ok  |
[    0.000000]     soft-safe-A + unsafe-B #2/213:  ok  |  ok  |  ok  |
[    0.000000]     hard-safe-A + unsafe-B #2/231:  ok  |  ok  |  ok  |
[    0.000000]     soft-safe-A + unsafe-B #2/231:  ok  |  ok  |  ok  |
[    0.000000]     hard-safe-A + unsafe-B #2/312:  ok  |  ok  |  ok  |
[    0.000000]     soft-safe-A + unsafe-B #2/312:  ok  |  ok  |  ok  |
[    0.000000]     hard-safe-A + unsafe-B #2/321:  ok  |  ok  |  ok  |
[    0.000000]     soft-safe-A + unsafe-B #2/321:  ok  |  ok  |  ok  |
[    0.000000]       hard-irq lock-inversion/123:  ok  |  ok  |  ok  |
[    0.000000]       soft-irq lock-inversion/123:  ok  |  ok  |  ok  |
[    0.000000]       hard-irq lock-inversion/132:  ok  |  ok  |  ok  |
[    0.000000]       soft-irq lock-inversion/132:  ok  |  ok  |  ok  |
[    0.000000]       hard-irq lock-inversion/213:  ok  |  ok  |  ok  |
[    0.000000]       soft-irq lock-inversion/213:  ok  |  ok  |  ok  |
[    0.000000]       hard-irq lock-inversion/231:  ok  |  ok  |  ok  |
[    0.000000]       soft-irq lock-inversion/231:  ok  |  ok  |  ok  |
[    0.000000]       hard-irq lock-inversion/312:  ok  |  ok  |  ok  |
[    0.000000]       soft-irq lock-inversion/312:  ok  |  ok  |  ok  |
[    0.000000]       hard-irq lock-inversion/321:  ok  |  ok  |  ok  |
[    0.000000]       soft-irq lock-inversion/321:  ok  |  ok  |  ok  |
[    0.000000]       hard-irq read-recursion/123:  ok  |
[    0.000000]       soft-irq read-recursion/123:  ok  |
[    0.000000]       hard-irq read-recursion/132:  ok  |
[    0.000000]       soft-irq read-recursion/132:  ok  |
[    0.000000]       hard-irq read-recursion/213:  ok  |
[    0.000000]       soft-irq read-recursion/213:  ok  |
[    0.000000]       hard-irq read-recursion/231:  ok  |
[    0.000000]       soft-irq read-recursion/231:  ok  |
[    0.000000]       hard-irq read-recursion/312:  ok  |
[    0.000000]       soft-irq read-recursion/312:  ok  |
[    0.000000]       hard-irq read-recursion/321:  ok  |
[    0.000000]       soft-irq read-recursion/321:  ok  |
[    0.000000]   --------------------------------------------------------------------------
[    0.000000]   | Wound/wait tests |
[    0.000000]   ---------------------
[    0.000000]                   ww api failures:  ok  |  ok  |  ok  |
[    0.000000]                ww contexts mixing:  ok  |  ok  |
[    0.000000]              finishing ww context:  ok  |  ok  |  ok  |  ok  |
[    0.000000]                locking mismatches:  ok  |  ok  |  ok  |
[    0.000000]                  EDEADLK handling:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |
[    0.000000]            spinlock nest unlocked:  ok  |
[    0.000000]   -----------------------------------------------------
[    0.000000]                                  |block | try  |context|
[    0.000000]   -----------------------------------------------------
[    0.000000]                           context:  ok  |  ok  |  ok  |
[    0.000000]                               try:  ok  |  ok  |  ok  |
[    0.000000]                             block:  ok  |  ok  |  ok  |
[    0.000000]                          spinlock:  ok  |  ok  |  ok  |
[    0.000000] -------------------------------------------------------
[    0.000000] Good, all 253 testcases passed! |
[    0.000000] ---------------------------------
[    0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 133484882848 ns
[    0.000000] hpet clockevent registered
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] tsc: Detected 1596.481 MHz processor
[    0.000051] Calibrating delay loop (skipped), value calculated using timer frequency.. 3192.96 BogoMIPS (lpj=6385924)
[    0.000063] pid_max: default: 32768 minimum: 301
[    0.000101] ACPI: Core revision 20160930
[    0.012463] ACPI: 4 ACPI AML tables successfully acquired and loaded
[    0.012576] Security Framework initialized
[    0.012583] Yama: becoming mindful.
[    0.012606] AppArmor: AppArmor initialized
[    0.013006] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.014065] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.014542] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.014555] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.015321] Disabled fast string operations
[    0.015330] CPU: Physical Processor ID: 0
[    0.015335] CPU: Processor Core ID: 0
[    0.015344] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[    0.015349] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
[    0.015356] mce: CPU supports 7 MCE banks
[    0.015376] CPU0: Thermal monitoring enabled (TM1)
[    0.015394] process: using mwait in idle threads
[    0.015402] Last level iTLB entries: 4KB 512, 2MB 8, 4MB 8
[    0.015407] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32, 1GB 0
[    0.015690] Freeing SMP alternatives memory: 28K
[    0.018023] ftrace: allocating 31317 entries in 123 pages
[    0.033197] smpboot: Max logical packages: 4
[    0.033289] x2apic: IRQ remapping doesn't support X2APIC mode
[    0.033855] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.073552] TSC deadline timer enabled
[    0.073557] smpboot: CPU0: Intel(R) Core(TM) i5-2467M CPU @ 1.60GHz (family: 0x6, model: 0x2a, stepping: 0x7)
[    0.073813] Performance Events: PEBS fmt1+, SandyBridge events, 16-deep LBR, full-width counters, Intel PMU driver.
[    0.073848] core: PEBS disabled due to CPU errata, please upgrade microcode
[    0.073860] ... version:                3
[    0.073865] ... bit width:              48
[    0.073869] ... generic registers:      4
[    0.073874] ... value mask:             0000ffffffffffff
[    0.073879] ... max period:             00007fffffffffff
[    0.073884] ... fixed-purpose events:   3
[    0.073888] ... event mask:             000000070000000f
[    0.074923] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
[    0.075005] smp: Bringing up secondary CPUs ...
[    0.075697] x86: Booting SMP configuration:
[    0.075703] .... node  #0, CPUs:      #1
[    0.076037] Disabled fast string operations
[    0.156634]  #2
[    0.156947] Disabled fast string operations
[    0.236720]  #3
[    0.237029] Disabled fast string operations
[    0.316220] smp: Brought up 1 node, 4 CPUs
[    0.316236] smpboot: Total of 4 processors activated (12788.94 BogoMIPS)
[    0.320741] devtmpfs: initialized
[    0.321038] x86/mm: Memory block size: 128MB
[    0.325846] evm: security.selinux
[    0.325852] evm: security.SMACK64
[    0.325857] evm: security.capability
[    0.326033] PM: Registering ACPI NVS region [mem 0xdae7f000-0xdaf9efff] (1179648 bytes)
[    0.326397] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.327330] NET: Registered protocol family 16
[    0.340017] cpuidle: using governor ladder
[    0.356034] cpuidle: using governor menu
[    0.356052] PCCT header not found.
[    0.356159] ACPI: bus type PCI registered
[    0.356375] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf8000000-0xfbffffff] (base 0xf8000000)
[    0.356563] PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in E820
[    0.356581] PCI: Using configuration type 1 for base access
[    0.356689] core: PMU erratum BJ122, BV98, HSD29 worked around, HT is on
[    0.376604] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.377663] ACPI: Added _OSI(Module Device)
[    0.377671] ACPI: Added _OSI(Processor Device)
[    0.377676] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.377682] ACPI: Added _OSI(Processor Aggregator Device)
[    0.378347] ACPI: Executed 1 blocks of module-level executable AML code
[    0.397018] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.399135] ACPI: Dynamic OEM Table Load:
[    0.399161] ACPI: SSDT 0xFFFF88011B0B2800 000688 (v01 PmRef  Cpu0Cst  00003001 INTL 20061109)
[    0.400232] ACPI: Dynamic OEM Table Load:
[    0.400255] ACPI: SSDT 0xFFFF88011A03F800 000303 (v01 PmRef  ApIst    00003000 INTL 20061109)
[    0.401023] ACPI: Dynamic OEM Table Load:
[    0.401044] ACPI: SSDT 0xFFFF88011A7C3400 000119 (v01 PmRef  ApCst    00003000 INTL 20061109)
[    0.403660] ACPI : EC: EC started
[    0.480665] ACPI: \_SB_.PCI0.LPCB.H_EC: Used as first EC
[    0.480675] ACPI: \_SB_.PCI0.LPCB.H_EC: GPE=0x17, EC_CMD/EC_SC=0x66, EC_DATA=0x62
[    0.480685] ACPI: \_SB_.PCI0.LPCB.H_EC: Used as boot DSDT EC to handle transactions
[    0.480693] ACPI: Interpreter enabled
[    0.480758] ACPI: (supports S0 S1 S3 S4 S5)
[    0.480763] ACPI: Using IOAPIC for interrupt routing
[    0.480850] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.566339] ACPI: Power Resource [FN00] (off)
[    0.566794] ACPI: Power Resource [FN01] (off)
[    0.567209] ACPI: Power Resource [FN02] (off)
[    0.567618] ACPI: Power Resource [FN03] (off)
[    0.568030] ACPI: Power Resource [FN04] (off)
[    0.570966] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-3e])
[    0.570980] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[    0.571734] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
[    0.572832] PCI host bridge to bus 0000:00
[    0.572841] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.572849] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.572855] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.572864] pci_bus 0000:00: root bus resource [mem 0xdfa00000-0xfeafffff window]
[    0.572873] pci_bus 0000:00: root bus resource [mem 0xfed40000-0xfed44fff window]
[    0.572883] pci_bus 0000:00: root bus resource [bus 00-3e]
[    0.572921] pci 0000:00:00.0: [8086:0104] type 00 class 0x060000
[    0.573336] pci 0000:00:02.0: [8086:0116] type 00 class 0x030000
[    0.573357] pci 0000:00:02.0: reg 0x10: [mem 0xf0000000-0xf03fffff 64bit]
[    0.573370] pci 0000:00:02.0: reg 0x18: [mem 0xe0000000-0xefffffff 64bit pref]
[    0.573378] pci 0000:00:02.0: reg 0x20: [io  0x3000-0x303f]
[    0.573852] pci 0000:00:16.0: [8086:1c3a] type 00 class 0x078000
[    0.573893] pci 0000:00:16.0: reg 0x10: [mem 0xf0705000-0xf070500f 64bit]
[    0.574051] pci 0000:00:16.0: PME# supported from D0 D3hot D3cold
[    0.574447] pci 0000:00:1a.0: [8086:1c2d] type 00 class 0x0c0320
[    0.574481] pci 0000:00:1a.0: reg 0x10: [mem 0xf070a000-0xf070a3ff]
[    0.574660] pci 0000:00:1a.0: PME# supported from D0 D3hot D3cold
[    0.574944] pci 0000:00:1a.0: System wakeup disabled by ACPI
[    0.575130] pci 0000:00:1b.0: [8086:1c20] type 00 class 0x040300
[    0.575169] pci 0000:00:1b.0: reg 0x10: [mem 0xf0700000-0xf0703fff 64bit]
[    0.575353] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
[    0.575589] pci 0000:00:1b.0: System wakeup disabled by ACPI
[    0.575766] pci 0000:00:1c.0: [8086:1c10] type 01 class 0x060400
[    0.575940] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
[    0.576176] pci 0000:00:1c.0: System wakeup disabled by ACPI
[    0.576359] pci 0000:00:1c.3: [8086:1c16] type 01 class 0x060400
[    0.576532] pci 0000:00:1c.3: PME# supported from D0 D3hot D3cold
[    0.576785] pci 0000:00:1c.3: System wakeup disabled by ACPI
[    0.576965] pci 0000:00:1c.4: [8086:1c18] type 01 class 0x060400
[    0.577148] pci 0000:00:1c.4: PME# supported from D0 D3hot D3cold
[    0.577380] pci 0000:00:1c.4: System wakeup disabled by ACPI
[    0.577565] pci 0000:00:1d.0: [8086:1c26] type 00 class 0x0c0320
[    0.577599] pci 0000:00:1d.0: reg 0x10: [mem 0xf0709000-0xf07093ff]
[    0.577778] pci 0000:00:1d.0: PME# supported from D0 D3hot D3cold
[    0.578049] pci 0000:00:1d.0: System wakeup disabled by ACPI
[    0.578227] pci 0000:00:1f.0: [8086:1c49] type 00 class 0x060100
[    0.578768] pci 0000:00:1f.2: [8086:1c03] type 00 class 0x010601
[    0.578804] pci 0000:00:1f.2: reg 0x10: [io  0x3088-0x308f]
[    0.578822] pci 0000:00:1f.2: reg 0x14: [io  0x3094-0x3097]
[    0.578839] pci 0000:00:1f.2: reg 0x18: [io  0x3080-0x3087]
[    0.578857] pci 0000:00:1f.2: reg 0x1c: [io  0x3090-0x3093]
[    0.578874] pci 0000:00:1f.2: reg 0x20: [io  0x3060-0x307f]
[    0.578891] pci 0000:00:1f.2: reg 0x24: [mem 0xf0708000-0xf07087ff]
[    0.579001] pci 0000:00:1f.2: PME# supported from D3hot
[    0.579374] pci 0000:00:1f.3: [8086:1c22] type 00 class 0x0c0500
[    0.579407] pci 0000:00:1f.3: reg 0x10: [mem 0xf0704000-0xf07040ff 64bit]
[    0.579456] pci 0000:00:1f.3: reg 0x20: [io  0xefa0-0xefbf]
[    0.580230] pci 0000:01:00.0: [8086:0091] type 00 class 0x028000
[    0.580635] pci 0000:01:00.0: reg 0x10: [mem 0xf0600000-0xf0601fff 64bit]
[    0.582501] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.582930] pci 0000:01:00.0: System wakeup disabled by ACPI
[    0.592869] pci 0000:00:1c.0: PCI bridge to [bus 01]
[    0.592886] pci 0000:00:1c.0:   bridge window [mem 0xf0600000-0xf06fffff]
[    0.593114] pci 0000:02:00.0: [10ec:8168] type 00 class 0x020000
[    0.593208] pci 0000:02:00.0: reg 0x10: [io  0x2000-0x20ff]
[    0.593347] pci 0000:02:00.0: reg 0x18: [mem 0xf0404000-0xf0404fff 64bit pref]
[    0.593434] pci 0000:02:00.0: reg 0x20: [mem 0xf0400000-0xf0403fff 64bit pref]
[    0.593903] pci 0000:02:00.0: supports D1 D2
[    0.593905] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.594119] pci 0000:02:00.0: System wakeup disabled by ACPI
[    0.604825] pci 0000:00:1c.3: PCI bridge to [bus 02]
[    0.604836] pci 0000:00:1c.3:   bridge window [io  0x2000-0x2fff]
[    0.604852] pci 0000:00:1c.3:   bridge window [mem 0xf0400000-0xf04fffff 64bit pref]
[    0.605051] pci 0000:03:00.0: [1b21:1042] type 00 class 0x0c0330
[    0.605102] pci 0000:03:00.0: reg 0x10: [mem 0xf0500000-0xf0507fff 64bit]
[    0.605390] pci 0000:03:00.0: PME# supported from D3hot D3cold
[    0.605482] pci 0000:03:00.0: System wakeup disabled by ACPI
[    0.605756] pci 0000:00:1c.4: PCI bridge to [bus 03]
[    0.605772] pci 0000:00:1c.4:   bridge window [mem 0xf0500000-0xf05fffff]
[    0.622582] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 10 *11 12 14 15)
[    0.622816] ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.623050] ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 *10 11 12 14 15)
[    0.623281] ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 *10 11 12 14 15)
[    0.623510] ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 10 11 12 14 15) *9
[    0.623741] ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.623974] ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 10 *11 12 14 15)
[    0.624209] ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 10 11 12 14 15) *9
[    0.638116] ACPI: Enabled 4 GPEs in block 00 to 3F
[    0.638366] ACPI : EC: event unblocked
[    0.638729] ACPI : EC: 0 stale EC events cleared
[    0.638738] ACPI: \_SB_.PCI0.LPCB.H_EC: GPE=0x17, EC_CMD/EC_SC=0x66, EC_DATA=0x62
[    0.638749] ACPI: \_SB_.PCI0.LPCB.H_EC: Used as boot DSDT EC to handle transactions and events
[    0.639449] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    0.639457] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.639475] pci 0000:00:02.0: vgaarb: bridge control possible
[    0.639480] vgaarb: loaded
[    0.640061] SCSI subsystem initialized
[    0.640217] libata version 3.00 loaded.
[    0.640305] ACPI: bus type USB registered
[    0.640396] usbcore: registered new interface driver usbfs
[    0.640438] usbcore: registered new interface driver hub
[    0.640521] usbcore: registered new device driver usb
[    0.640961] PCI: Using ACPI for IRQ routing
[    0.644653] PCI: pci_cache_line_size set to 64 bytes
[    0.644790] e820: reserve RAM buffer [mem 0x0009d800-0x0009ffff]
[    0.644795] e820: reserve RAM buffer [mem 0xd9c9f000-0xdbffffff]
[    0.644797] e820: reserve RAM buffer [mem 0xdb000000-0xdbffffff]
[    0.644799] e820: reserve RAM buffer [mem 0x11fe00000-0x11fffffff]
[    0.645376] NetLabel: Initializing
[    0.645382] NetLabel:  domain hash size = 128
[    0.645387] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.645437] NetLabel:  unlabeled traffic allowed by default
[    0.645747] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0, 0, 0, 0, 0
[    0.645761] hpet0: 8 comparators, 64-bit 14.318180 MHz counter
[    0.648856] clocksource: Switched to clocksource hpet
[    0.699932] VFS: Disk quotas dquot_6.6.0
[    0.699988] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.700369] AppArmor: AppArmor Filesystem Enabled
[    0.700539] pnp: PnP ACPI init
[    0.701282] system 00:00: [io  0x0680-0x069f] has been reserved
[    0.701292] system 00:00: [io  0x1000-0x100f] has been reserved
[    0.701300] system 00:00: [io  0x5000-0x5003] has been reserved
[    0.701308] system 00:00: [io  0xffff] has been reserved
[    0.701315] system 00:00: [io  0x0400-0x0453] has been reserved
[    0.701322] system 00:00: [io  0x0458-0x047f] has been reserved
[    0.701329] system 00:00: [io  0x0500-0x057f] has been reserved
[    0.701337] system 00:00: [io  0x0a00-0x0a0f] has been reserved
[    0.701344] system 00:00: [io  0x164e-0x164f] has been reserved
[    0.701352] system 00:00: [io  0x5000-0x500f] could not be reserved
[    0.701376] system 00:00: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.701485] pnp 00:01: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.701684] system 00:02: [io  0x0454-0x0457] has been reserved
[    0.701697] system 00:02: Plug and Play ACPI device, IDs INT3f0d PNP0c02 (active)
[    0.701811] pnp 00:03: Plug and Play ACPI device, IDs PNP0303 (active)
[    0.701960] pnp 00:04: Plug and Play ACPI device, IDs ETD0b00 SYN0002 PNP0f13 (active)
[    0.702516] system 00:05: [mem 0xfed1c000-0xfed1ffff] has been reserved
[    0.702525] system 00:05: [mem 0xfed10000-0xfed17fff] has been reserved
[    0.702533] system 00:05: [mem 0xfed18000-0xfed18fff] has been reserved
[    0.702541] system 00:05: [mem 0xfed19000-0xfed19fff] has been reserved
[    0.702549] system 00:05: [mem 0xf8000000-0xfbffffff] has been reserved
[    0.702556] system 00:05: [mem 0xfed20000-0xfed3ffff] has been reserved
[    0.702564] system 00:05: [mem 0xfed90000-0xfed93fff] has been reserved
[    0.702572] system 00:05: [mem 0xfed45000-0xfed8ffff] has been reserved
[    0.702580] system 00:05: [mem 0xff000000-0xffffffff] could not be reserved
[    0.702588] system 00:05: [mem 0xfee00000-0xfeefffff] could not be reserved
[    0.702600] system 00:05: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.703648] system 00:06: Plug and Play ACPI device, IDs PNP0c01 (active)
[    0.703710] pnp: PnP ACPI: found 7 devices
[    0.715349] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.715414] pci 0000:00:1c.0: PCI bridge to [bus 01]
[    0.715428] pci 0000:00:1c.0:   bridge window [mem 0xf0600000-0xf06fffff]
[    0.715448] pci 0000:00:1c.3: PCI bridge to [bus 02]
[    0.715456] pci 0000:00:1c.3:   bridge window [io  0x2000-0x2fff]
[    0.715473] pci 0000:00:1c.3:   bridge window [mem 0xf0400000-0xf04fffff 64bit pref]
[    0.715491] pci 0000:00:1c.4: PCI bridge to [bus 03]
[    0.715503] pci 0000:00:1c.4:   bridge window [mem 0xf0500000-0xf05fffff]
[    0.715524] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    0.715525] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    0.715527] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[    0.715528] pci_bus 0000:00: resource 7 [mem 0xdfa00000-0xfeafffff window]
[    0.715530] pci_bus 0000:00: resource 8 [mem 0xfed40000-0xfed44fff window]
[    0.715531] pci_bus 0000:01: resource 1 [mem 0xf0600000-0xf06fffff]
[    0.715533] pci_bus 0000:02: resource 0 [io  0x2000-0x2fff]
[    0.715535] pci_bus 0000:02: resource 2 [mem 0xf0400000-0xf04fffff 64bit pref]
[    0.715536] pci_bus 0000:03: resource 1 [mem 0xf0500000-0xf05fffff]
[    0.715931] NET: Registered protocol family 2
[    0.716442] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    0.716692] TCP bind hash table entries: 32768 (order: 9, 2097152 bytes)
[    0.719147] TCP: Hash tables configured (established 32768 bind 32768)
[    0.719254] UDP hash table entries: 2048 (order: 6, 327680 bytes)
[    0.719604] UDP-Lite hash table entries: 2048 (order: 6, 327680 bytes)
[    0.720180] NET: Registered protocol family 1
[    0.720215] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    0.722471] PCI: CLS 64 bytes, default 64
[    0.722699] Trying to unpack rootfs image as initramfs...
[    0.810176] Freeing initrd memory: 3652K
[    0.810189] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.810196] software IO TLB [mem 0xd5c9f000-0xd9c9f000] (64MB) mapped at [ffff8800d5c9f000-ffff8800d9c9efff]
[    0.810373] RAPL PMU: API unit is 2^-32 Joules, 3 fixed counters, 163840 ms ovfl timer
[    0.810383] RAPL PMU: hw unit of domain pp0-core 2^-16 Joules
[    0.810388] RAPL PMU: hw unit of domain package 2^-16 Joules
[    0.810393] RAPL PMU: hw unit of domain pp1-gpu 2^-16 Joules
[    0.810948] Scanning for low memory corruption every 60 seconds
[    0.812234] futex hash table entries: 2048 (order: 6, 262144 bytes)
[    0.812444] audit: initializing netlink subsys (disabled)
[    0.812580] audit: type=2000 audit(1482827461.808:1): initialized
[    0.814027] Initialise system trusted keyrings
[    0.814311] workingset: timestamp_bits=40 max_order=20 bucket_order=0
[    0.815456] fuse init (API version 7.26)
[    0.818488] Key type asymmetric registered
[    0.818502] Asymmetric key parser 'x509' registered
[    0.818558] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.818722] io scheduler noop registered
[    0.818728] io scheduler deadline registered (default)
[    0.818787] io scheduler cfq registered
[    0.818793] start plist test
[    0.821684] end plist test
[    0.823379] intel_idle: MWAIT substates: 0x21120
[    0.823380] intel_idle: v0.4.1 model 0x2A
[    0.824287] intel_idle: lapic_timer_reliable_states 0xffffffff
[    0.824757] ACPI: AC Adapter [ADP1] (on-line)
[    0.825097] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0
[    0.825160] ACPI: Lid Switch [LID0]
[    0.825335] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1
[    0.825363] ACPI: Power Button [PWRB]
[    0.825539] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
[    0.825552] ACPI: Power Button [PWRF]
[    0.828637] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    0.829685] thermal LNXTHERM:00: registered as thermal_zone0
[    0.829693] ACPI: Thermal Zone [TZ00] (65 C)
[    0.830705] thermal LNXTHERM:01: registered as thermal_zone1
[    0.830712] ACPI: Thermal Zone [TZ01] (30 C)
[    0.830840] GHES: HEST is not enabled!
[    0.831310] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    0.840594] ACPI: Battery Slot [BAT1] (battery present)
[    0.843278] Linux agpgart interface v0.103
[    0.854717] brd: module loaded
[    0.861248] loop: module loaded
[    0.866040] ahci 0000:00:1f.2: version 3.0
[    0.866604] ahci 0000:00:1f.2: SSS flag set, parallel bus scan disabled
[    0.876793] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 6 Gbps 0x1b impl SATA mode
[    0.876822] ahci 0000:00:1f.2: flags: 64bit ncq sntf ilck stag pm led clo pio slum part ems sxs apst 
[    0.915491] scsi host0: ahci
[    0.916067] scsi host1: ahci
[    0.916515] scsi host2: ahci
[    0.916983] scsi host3: ahci
[    0.917436] scsi host4: ahci
[    0.917823] scsi host5: ahci
[    0.918050] ata1: SATA max UDMA/133 abar m2048@0xf0708000 port 0xf0708100 irq 25
[    0.918060] ata2: SATA max UDMA/133 abar m2048@0xf0708000 port 0xf0708180 irq 25
[    0.918068] ata3: DUMMY
[    0.918074] ata4: SATA max UDMA/133 abar m2048@0xf0708000 port 0xf0708280 irq 25
[    0.918083] ata5: SATA max UDMA/133 abar m2048@0xf0708000 port 0xf0708300 irq 25
[    0.918091] ata6: DUMMY
[    0.919190] libphy: Fixed MDIO Bus: probed
[    0.920214] tun: Universal TUN/TAP device driver, 1.6
[    0.920220] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    0.920425] PPP generic driver version 2.4.2
[    0.920565] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.920571] ehci-pci: EHCI PCI platform driver
[    0.921088] ehci-pci 0000:00:1a.0: EHCI Host Controller
[    0.921163] ehci-pci 0000:00:1a.0: new USB bus registered, assigned bus number 1
[    0.921206] ehci-pci 0000:00:1a.0: debug port 2
[    0.925149] ehci-pci 0000:00:1a.0: cache line size of 64 is not supported
[    0.925199] ehci-pci 0000:00:1a.0: irq 16, io mem 0xf070a000
[    0.940916] ehci-pci 0000:00:1a.0: USB 2.0 started, EHCI 1.00
[    0.941181] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.941187] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.941195] usb usb1: Product: EHCI Host Controller
[    0.941199] usb usb1: Manufacturer: Linux 4.10.0-rc1-2-iniza-small ehci_hcd
[    0.941205] usb usb1: SerialNumber: 0000:00:1a.0
[    0.941933] hub 1-0:1.0: USB hub found
[    0.941975] hub 1-0:1.0: 2 ports detected
[    0.943146] ehci-pci 0000:00:1d.0: EHCI Host Controller
[    0.943166] ehci-pci 0000:00:1d.0: new USB bus registered, assigned bus number 2
[    0.943196] ehci-pci 0000:00:1d.0: debug port 2
[    0.947121] ehci-pci 0000:00:1d.0: cache line size of 64 is not supported
[    0.947155] ehci-pci 0000:00:1d.0: irq 23, io mem 0xf0709000
[    0.960907] ehci-pci 0000:00:1d.0: USB 2.0 started, EHCI 1.00
[    0.961075] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    0.961081] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.961088] usb usb2: Product: EHCI Host Controller
[    0.961093] usb usb2: Manufacturer: Linux 4.10.0-rc1-2-iniza-small ehci_hcd
[    0.961098] usb usb2: SerialNumber: 0000:00:1d.0
[    0.961678] hub 2-0:1.0: USB hub found
[    0.961709] hub 2-0:1.0: 2 ports detected
[    0.962204] ehci-platform: EHCI generic platform driver
[    0.962244] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.962261] ohci-pci: OHCI PCI platform driver
[    0.962297] ohci-platform: OHCI generic platform driver
[    0.962323] uhci_hcd: USB Universal Host Controller Interface driver
[    0.962544] xhci_hcd 0000:03:00.0: xHCI Host Controller
[    0.962570] xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 3
[    1.022045] xhci_hcd 0000:03:00.0: hcc params 0x0200f180 hci version 0x96 quirks 0x00080000
[    1.022675] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    1.022682] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.022689] usb usb3: Product: xHCI Host Controller
[    1.022694] usb usb3: Manufacturer: Linux 4.10.0-rc1-2-iniza-small xhci-hcd
[    1.022699] usb usb3: SerialNumber: 0000:03:00.0
[    1.023259] hub 3-0:1.0: USB hub found
[    1.023310] hub 3-0:1.0: 2 ports detected
[    1.023744] xhci_hcd 0000:03:00.0: xHCI Host Controller
[    1.023760] xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 4
[    1.023852] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.023951] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[    1.023957] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.023964] usb usb4: Product: xHCI Host Controller
[    1.023969] usb usb4: Manufacturer: Linux 4.10.0-rc1-2-iniza-small xhci-hcd
[    1.023974] usb usb4: SerialNumber: 0000:03:00.0
[    1.024589] hub 4-0:1.0: USB hub found
[    1.024635] hub 4-0:1.0: 2 ports detected
[    1.025304] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:EPAD] at 0x60,0x64 irq 1,12
[    1.032363] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.032418] serio: i8042 AUX port at 0x60,0x64 irq 12
[    1.033268] mousedev: PS/2 mouse device common for all mice
[    1.034567] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0
[    1.034614] rtc_cmos 00:01: alarms up to one month, y3k, 242 bytes nvram, hpet irqs
[    1.034713] device-mapper: uevent: version 1.0.3
[    1.034994] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
[    1.035156] ledtrig-cpu: registered to indicate activity on CPUs
[    1.035416] NET: Registered protocol family 10
[    1.036154] Segment Routing with IPv6
[    1.036186] NET: Registered protocol family 17
[    1.036261] Key type dns_resolver registered
[    1.037423] microcode: sig=0x206a7, pf=0x10, revision=0x0
[    1.037710] microcode: Microcode Update Driver: v2.2.
[    1.038262] registered taskstats version 1
[    1.038275] Loading compiled-in X.509 certificates
[    1.041866] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3
[    1.045622] Loaded X.509 cert 'Build time autogenerated kernel key: 445b0c4f429717114cc35f66304ffe122c323fb0'
[    1.050461] Key type trusted registered
[    1.059556] Key type encrypted registered
[    1.059568] AppArmor: AppArmor sha1 policy hashing enabled
[    1.059574] evm: HMAC attrs: 0x1
[    1.060340] rtc_cmos 00:01: setting system clock to 2016-12-27 08:31:02 UTC (1482827462)
[    1.060492] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    1.060499] EDD information not available.
[    1.233751] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    1.235132] ata1.00: ATA-8: Hitachi HTS545050A7E380, GG2OA6C0, max UDMA/133
[    1.235159] ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[    1.236652] ata1.00: configured for UDMA/133
[    1.237449] scsi 0:0:0:0: Direct-Access     ATA      Hitachi HTS54505 A6C0 PQ: 0 ANSI: 5
[    1.268992] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    1.270240] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    1.270253] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    1.270263] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    1.270315] sd 0:0:0:0: [sda] Write Protect is off
[    1.270328] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    1.270487] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.292456]  sda: sda1 sda2 sda3
[    1.292832] usb 2-1: new high-speed USB device number 2 using ehci-pci
[    1.293949] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.417848] usb 1-1: New USB device found, idVendor=8087, idProduct=0024
[    1.417867] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.418827] hub 1-1:1.0: USB hub found
[    1.419162] hub 1-1:1.0: 6 ports detected
[    1.441737] usb 2-1: New USB device found, idVendor=8087, idProduct=0024
[    1.441763] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.442433] hub 2-1:1.0: USB hub found
[    1.442749] hub 2-1:1.0: 6 ports detected
[    1.562943] random: fast init done
[    1.585223] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    1.585938] ata2.00: ATA-8: SanDisk iSSD P4 16GB, SSD 9.14, max UDMA/133
[    1.585949] ata2.00: 31277232 sectors, multi 1: LBA48 
[    1.586667] ata2.00: configured for UDMA/133
[    1.587260] scsi 1:0:0:0: Direct-Access     ATA      SanDisk iSSD P4  9.14 PQ: 0 ANSI: 5
[    1.617626] sd 1:0:0:0: [sdb] 31277232 512-byte logical blocks: (16.0 GB/14.9 GiB)
[    1.617665] sd 1:0:0:0: [sdb] Write Protect is off
[    1.617670] sd 1:0:0:0: Attached scsi generic sg1 type 0
[    1.617677] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[    1.617721] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.619470]  sdb: sdb1
[    1.620244] sd 1:0:0:0: [sdb] Attached SCSI disk
[    1.708950] usb 1-1.2: new low-speed USB device number 3 using ehci-pci
[    1.732937] usb 2-1.5: new full-speed USB device number 3 using ehci-pci
[    1.821038] tsc: Refined TSC clocksource calibration: 1596.373 MHz
[    1.821063] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1702c2a0637, max_idle_ns: 440795222505 ns
[    1.823908] usb 1-1.2: New USB device found, idVendor=046d, idProduct=c00e
[    1.823918] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.823926] usb 1-1.2: Product: USB-PS/2 Optical Mouse
[    1.823930] usb 1-1.2: Manufacturer: Logitech
[    1.846308] usb 2-1.5: New USB device found, idVendor=8086, idProduct=0189
[    1.846319] usb 2-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.904933] usb 1-1.4: new high-speed USB device number 4 using ehci-pci
[    1.933554] ata4: SATA link down (SStatus 0 SControl 300)
[    2.173892] usb 1-1.4: New USB device found, idVendor=2232, idProduct=1018
[    2.173902] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.173910] usb 1-1.4: Product: WebCam SC-13HDL11431N
[    2.173915] usb 1-1.4: Manufacturer: 123
[    2.249689] ata5: SATA link down (SStatus 0 SControl 300)
[    2.251934] Freeing unused kernel memory: 1520K
[    2.251941] Write protecting the kernel read-only data: 14336k
[    2.253214] Freeing unused kernel memory: 1556K
[    2.255773] Freeing unused kernel memory: 868K
[    2.291482] udevd[173]: starting version 175
[    2.550872] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    2.550907] r8169 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[    2.553162] r8169 0000:02:00.0 eth0: RTL8168evl/8111evl at 0xffffc900006bd000, e8:03:9a:36:17:a9, XID 0c900800 IRQ 31
[    2.553184] r8169 0000:02:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[    2.618420] usbcore: registered new interface driver usbhid
[    2.618430] usbhid: USB HID core driver
[    2.677669] input: Logitech USB-PS/2 Optical Mouse as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:046D:C00E.0001/input/input6
[    2.678126] hid-generic 0003:046D:C00E.0001: input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:1a.0-1.2/input0
[    2.845035] clocksource: Switched to clocksource tsc
[    3.401509] EXT4-fs (loop0): mounted filesystem with ordered data mode. Opts: (null)
[    5.358878] init: ureadahead main process (477) terminated with status 5
[    5.511203] random: crng init done
[    6.416959] Adding 15637588k swap on /dev/sdb1.  Priority:-1 extents:1 across:15637588k SSFS
[    6.611459] EXT4-fs (loop0): re-mounted. Opts: errors=remount-ro
[    8.341637] udevd[591]: starting version 175
[   10.221241] lp: driver loaded but no devices found
[   12.281730] ppdev: user-space parallel port driver
[   12.291084] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (20160930/utaddress-247)
[   12.291096] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   12.291103] ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20160930/utaddress-247)
[   12.291111] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   12.291114] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20160930/utaddress-247)
[   12.291121] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   12.291124] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20160930/utaddress-247)
[   12.291131] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   12.291132] lpc_ich: Resource conflict(s) found affecting gpio_ich
[   12.402810] wmi: Mapper loaded
[   12.452780] samsung_laptop: detected SABI interface: SwSmi@
[   13.319616] Bluetooth: Core ver 2.22
[   13.319664] NET: Registered protocol family 31
[   13.319666] Bluetooth: HCI device and connection manager initialized
[   13.319756] Bluetooth: HCI socket layer initialized
[   13.319767] Bluetooth: L2CAP socket layer initialized
[   13.319831] Bluetooth: SCO socket layer initialized
[   13.477382] [drm] Initialized
[   14.027245] Linux video capture interface: v2.00
[   14.027908] usbcore: registered new interface driver btusb
[   14.045638] psmouse serio1: elantech: assuming hardware version 3 (with firmware version 0x450f00)
[   14.060687] psmouse serio1: elantech: Synaptics capabilities query result 0x08, 0x17, 0x0c.
[   14.075671] psmouse serio1: elantech: Elan sample query result 03, 3f, 86
[   14.151382] input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input7
[   14.212592] Intel(R) Wireless WiFi driver for Linux
[   14.212594] Copyright(c) 2003- 2015 Intel Corporation
[   14.213043] iwlwifi 0000:01:00.0: can't disable ASPM; OS doesn't have ASPM control
[   14.552193] Bluetooth: RFCOMM TTY layer initialized
[   14.552219] Bluetooth: RFCOMM socket layer initialized
[   14.552236] Bluetooth: RFCOMM ver 1.11
[   15.061400] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   15.061403] Bluetooth: BNEP filters: protocol multicast
[   15.061413] Bluetooth: BNEP socket layer initialized
[   15.127915] iwlwifi 0000:01:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm
[   15.131783] uvcvideo: Found UVC 1.00 device WebCam SC-13HDL11431N (2232:1018)
[   15.151493] input: WebCam SC-13HDL11431N as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input8
[   15.151999] usbcore: registered new interface driver uvcvideo
[   15.152001] USB Video Class driver (1.1.1)
[   15.215230] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC269VC: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[   15.215235] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   15.215238] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
[   15.215241] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[   15.215243] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[   15.215247] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x19
[   15.215251] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x18
[   15.504666] [drm] Memory usable by graphics device = 2048M
[   15.504688] [drm] Replacing VGA console driver
[   15.510023] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   15.510024] [drm] Driver supports precise vblank timestamp query.
[   15.513826] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[   15.556068] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[   15.556823] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input11
[   15.557839] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   15.557857] [drm] Initialized i915 1.6.0 20161121 for 0000:00:02.0 on minor 0
[   15.576652] fbcon: inteldrmfb (fb0) is primary device
[   15.589872] audit: type=1400 audit(1482823877.027:2): apparmor="STATUS" operation="profile_load" name="/sbin/dhclient" pid=1126 comm="apparmor_parser"
[   15.589878] audit: type=1400 audit(1482823877.027:3): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=1126 comm="apparmor_parser"
[   15.589882] audit: type=1400 audit(1482823877.027:4): apparmor="STATUS" operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" pid=1126 comm="apparmor_parser"
[   15.590490] audit: type=1400 audit(1482823877.027:5): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=1126 comm="apparmor_parser"
[   15.590495] audit: type=1400 audit(1482823877.027:6): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=1126 comm="apparmor_parser"
[   15.590831] audit: type=1400 audit(1482823877.027:7): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=1126 comm="apparmor_parser"
[   15.617577] audit: type=1400 audit(1482823877.055:8): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=1121 comm="apparmor_parser"
[   15.617583] audit: type=1400 audit(1482823877.055:9): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=1121 comm="apparmor_parser"
[   15.617605] audit: type=1400 audit(1482823877.055:10): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=1121 comm="apparmor_parser"
[   15.618210] audit: type=1400 audit(1482823877.055:11): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=1121 comm="apparmor_parser"
[   16.158471] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEBUG disabled
[   16.158472] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
[   16.158473] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[   16.158476] iwlwifi 0000:01:00.0: Detected Intel(R) Centrino(R) Advanced-N 6230 AGN, REV=0xB0
[   16.159922] iwlwifi 0000:01:00.0: L1 Enabled - LTR Disabled
[   16.397265] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[   16.563540] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
[   16.565275] [drm:intel_set_pch_fifo_underrun_reporting [i915]] *ERROR* uncleared pch fifo underrun on pch transcoder A
[   16.565306] [drm:intel_pch_fifo_underrun_irq_handler [i915]] *ERROR* PCH transcoder A FIFO underrun
[   16.579994] Console: switching to colour frame buffer device 170x48
[   16.600293] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[   16.623150] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
[   16.628535] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[   16.631328] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[   17.275223] init: failsafe main process (1203) killed by TERM signal
[   21.833561] r8169 0000:02:00.0 eth0: link down
[   21.833638] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   29.772847] BUG: sleeping function called from invalid context at drivers/base/power/runtime.c:1032
[   29.772853] in_atomic(): 1, irqs_disabled(): 0, pid: 1480, name: Xorg
[   29.772856] 1 lock held by Xorg/1480:
[   29.772857]  #0:  (&dev->struct_mutex){+.+.+.}, at: [<ffffffffa0571c13>] i915_mutex_lock_interruptible+0x43/0x140 [i915]
[   29.772898] CPU: 2 PID: 1480 Comm: Xorg Not tainted 4.10.0-rc1-2-iniza-small #1
[   29.772899] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[   29.772900] Call Trace:
[   29.772907]  dump_stack+0x85/0xc2
[   29.772910]  ___might_sleep+0x196/0x260
[   29.772912]  __might_sleep+0x53/0xb0
[   29.772915]  __pm_runtime_resume+0x7a/0x90
[   29.772934]  intel_runtime_pm_get+0x25/0x90 [i915]
[   29.772954]  aliasing_gtt_bind_vma+0xaa/0xf0 [i915]
[   29.772976]  i915_vma_bind+0xaf/0x1e0 [i915]
[   29.772995]  i915_gem_execbuffer_relocate_entry+0x513/0x6f0 [i915]
[   29.772997]  ? find_get_entry+0x5/0x240
[   29.773016]  i915_gem_execbuffer_relocate_vma.isra.34+0x188/0x250 [i915]
[   29.773038]  ? __i915_vma_do_pin+0x334/0x590 [i915]
[   29.773056]  ? i915_gem_execbuffer_reserve_vma.isra.31+0x152/0x1f0 [i915]
[   29.773075]  ? i915_gem_execbuffer_reserve.isra.32+0x372/0x3a0 [i915]
[   29.773101]  i915_gem_do_execbuffer.isra.38+0xa70/0x1a40 [i915]
[   29.773105]  ? __might_fault+0x4e/0xb0
[   29.773132]  i915_gem_execbuffer2+0xc5/0x260 [i915]
[   29.773135]  ? __might_fault+0x4e/0xb0
[   29.773155]  drm_ioctl+0x206/0x450 [drm]
[   29.773182]  ? i915_gem_execbuffer+0x340/0x340 [i915]
[   29.773187]  ? __fget+0x5/0x200
[   29.773191]  do_vfs_ioctl+0x91/0x6f0
[   29.773193]  ? __fget+0x111/0x200
[   29.773195]  ? __fget+0x5/0x200
[   29.773198]  SyS_ioctl+0x79/0x90
[   29.773203]  entry_SYSCALL_64_fastpath+0x23/0xc6
[   29.773205] RIP: 0033:0x7fc6b8986bb7
[   29.773207] RSP: 002b:00007ffc1133a418 EFLAGS: 00003202 ORIG_RAX: 0000000000000010
[   29.773210] RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00007fc6b8986bb7
[   29.773212] RDX: 00007ffc1133a518 RSI: 0000000040406469 RDI: 0000000000000009
[   29.773213] RBP: 00007ffc1133a330 R08: 0000000000000040 R09: 0101010101010101
[   29.773215] R10: 0000000000000000 R11: 0000000000003202 R12: 0000000000000008
[   29.773216] R13: 00000000000000f5 R14: 0000000000000000 R15: 0000000000000000
[   62.771678] iwlwifi 0000:01:00.0: L1 Enabled - LTR Disabled
[   62.778403] iwlwifi 0000:01:00.0: L1 Enabled - LTR Disabled
[   62.778494] iwlwifi 0000:01:00.0: Radio type=0x1-0x2-0x0
[   63.073171] iwlwifi 0000:01:00.0: L1 Enabled - LTR Disabled
[   63.079805] iwlwifi 0000:01:00.0: L1 Enabled - LTR Disabled
[   63.079895] iwlwifi 0000:01:00.0: Radio type=0x1-0x2-0x0
[   63.165185] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   66.223666] usb 2-1.5: USB disconnect, device number 3
[   69.737199] wlan0: authenticate with 02:1a:11:f3:ff:23
[   69.741690] wlan0: send auth to 02:1a:11:f3:ff:23 (try 1/3)
[   69.744032] wlan0: authenticated
[   69.748443] wlan0: associate with 02:1a:11:f3:ff:23 (try 1/3)
[   69.758870] wlan0: RX AssocResp from 02:1a:11:f3:ff:23 (capab=0x431 status=0 aid=1)
[   69.763024] wlan0: associated
[   69.763089] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  145.568060] wlan0: deauthenticating from 02:1a:11:f3:ff:23 by local choice (Reason: 3=DEAUTH_LEAVING)
[  151.285668] PM: Syncing filesystems ... done.
[  151.502238] Freezing user space processes ... (elapsed 0.009 seconds) done.
[  151.511531] Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done.
[  151.514445] Suspending console(s) (use no_console_suspend to debug)
[  151.520566] sd 1:0:0:0: [sdb] Synchronizing SCSI cache
[  151.521700] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  151.522162] sd 0:0:0:0: [sda] Stopping disk
[  151.523313] sd 1:0:0:0: [sdb] Stopping disk
[  151.539274] ACPI : EC: event blocked
[  152.105767] PM: suspend of devices complete after 587.684 msecs
[  152.131771] PM: late suspend of devices complete after 25.976 msecs
[  152.137872] ACPI : EC: interrupt blocked
[  152.138018] r8169 0000:02:00.0: System wakeup enabled by ACPI
[  152.138167] xhci_hcd 0000:03:00.0: System wakeup enabled by ACPI
[  152.138562] ehci-pci 0000:00:1d.0: System wakeup enabled by ACPI
[  152.139036] ehci-pci 0000:00:1a.0: System wakeup enabled by ACPI
[  152.156042] PM: noirq suspend of devices complete after 24.246 msecs
[  152.156632] ACPI: Preparing to enter system sleep state S3
[  152.158690] ACPI : EC: EC stopped
[  152.158693] PM: Saving platform NVS memory
[  152.158727] Disabling non-boot CPUs ...
[  152.164827] smpboot: CPU 1 is now offline
[  152.200532] smpboot: CPU 2 is now offline
[  152.222516] Broke affinity for irq 23
[  152.222564] Broke affinity for irq 34
[  152.223651] smpboot: CPU 3 is now offline
[  152.242604] ACPI: Low-level resume complete
[  152.242672] ACPI : EC: EC started
[  152.242673] PM: Restoring platform NVS memory
[  152.243049] Suspended for 12.000 seconds
[  152.243602] Enabling non-boot CPUs ...
[  152.255709] x86: Booting SMP configuration:
[  152.255711] smpboot: Booting Node 0 Processor 1 APIC 0x1
[  152.256130] Disabled fast string operations
[  152.258580]  cache: parent cpu1 should not be sleeping
[  152.259737] CPU1 is up
[  152.276065] smpboot: Booting Node 0 Processor 2 APIC 0x2
[  152.276439] Disabled fast string operations
[  152.278928]  cache: parent cpu2 should not be sleeping
[  152.280140] CPU2 is up
[  152.308538] smpboot: Booting Node 0 Processor 3 APIC 0x3
[  152.308912] Disabled fast string operations
[  152.311310]  cache: parent cpu3 should not be sleeping
[  152.312583] CPU3 is up
[  152.317275] ACPI: Waking up from system sleep state S3
[  152.323510] ACPI : EC: interrupt unblocked
[  152.342271] ehci-pci 0000:00:1a.0: System wakeup disabled by ACPI
[  152.342645] xhci_hcd 0000:03:00.0: System wakeup disabled by ACPI
[  152.343039] ehci-pci 0000:00:1d.0: System wakeup disabled by ACPI
[  152.344325] PM: noirq resume of devices complete after 21.517 msecs
[  152.347149] PM: early resume of devices complete after 2.723 msecs
[  152.347925] ACPI : EC: event unblocked
[  152.348303] ACPI : EC: 0 stale EC events cleared
[  152.348363] iwlwifi 0000:01:00.0: RF_KILL bit toggled to enable radio.
[  152.349095] r8169 0000:02:00.0: System wakeup disabled by ACPI
[  152.352634] ACPI : button: The lid device is not compliant to SW_LID.
[  152.353698] rtc_cmos 00:01: System wakeup disabled by ACPI
[  152.354616] sd 0:0:0:0: [sda] Starting disk
[  152.354715] sd 1:0:0:0: [sdb] Starting disk
[  152.645859] usb 1-1.4: reset high-speed USB device number 4 using ehci-pci
[  152.684545] ata5: SATA link down (SStatus 0 SControl 300)
[  152.700320] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[  152.700622] ata4: SATA link down (SStatus 0 SControl 300)
[  152.704253] ata2.00: configured for UDMA/133
[  153.131294] PM: resume of devices complete after 783.799 msecs
[  153.133556] Restarting tasks ... done.
[  154.668836] BUG: sleeping function called from invalid context at drivers/base/power/runtime.c:1032
[  154.668848] in_atomic(): 1, irqs_disabled(): 0, pid: 1480, name: Xorg
[  154.668854] 1 lock held by Xorg/1480:
[  154.668856]  #0:  (&dev->struct_mutex){+.+.+.}, at: [<ffffffffa0571c13>] i915_mutex_lock_interruptible+0x43/0x140 [i915]
[  154.668939] CPU: 2 PID: 1480 Comm: Xorg Tainted: G        W       4.10.0-rc1-2-iniza-small #1
[  154.668942] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[  154.668945] Call Trace:
[  154.668958]  dump_stack+0x85/0xc2
[  154.668965]  ___might_sleep+0x196/0x260
[  154.668970]  __might_sleep+0x53/0xb0
[  154.668976]  __pm_runtime_resume+0x7a/0x90
[  154.669025]  intel_runtime_pm_get+0x25/0x90 [i915]
[  154.669073]  aliasing_gtt_bind_vma+0xaa/0xf0 [i915]
[  154.669127]  i915_vma_bind+0xaf/0x1e0 [i915]
[  154.669175]  i915_gem_execbuffer_relocate_entry+0x513/0x6f0 [i915]
[  154.669181]  ? free_hot_cold_page+0x1c1/0x390
[  154.669227]  i915_gem_execbuffer_relocate_vma.isra.34+0x188/0x250 [i915]
[  154.669275]  ? i915_gem_execbuffer_reserve_vma.isra.31+0x152/0x1f0 [i915]
[  154.669318]  ? i915_gem_execbuffer_reserve.isra.32+0x372/0x3a0 [i915]
[  154.669362]  i915_gem_do_execbuffer.isra.38+0xa70/0x1a40 [i915]
[  154.669368]  ? __might_fault+0x4e/0xb0
[  154.669412]  i915_gem_execbuffer2+0xc5/0x260 [i915]
[  154.669415]  ? __might_fault+0x4e/0xb0
[  154.669443]  drm_ioctl+0x206/0x450 [drm]
[  154.669486]  ? i915_gem_execbuffer+0x340/0x340 [i915]
[  154.669493]  ? __fget+0x5/0x200
[  154.669498]  do_vfs_ioctl+0x91/0x6f0
[  154.669502]  ? __fget+0x111/0x200
[  154.669505]  ? __fget+0x5/0x200
[  154.669510]  SyS_ioctl+0x79/0x90
[  154.669518]  entry_SYSCALL_64_fastpath+0x23/0xc6
[  154.669522] RIP: 0033:0x7fc6b8986bb7
[  154.669525] RSP: 002b:00007ffc1133a418 EFLAGS: 00003202 ORIG_RAX: 0000000000000010
[  154.669530] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fc6b8986bb7
[  154.669532] RDX: 00007ffc1133a518 RSI: 0000000040406469 RDI: 0000000000000009
[  154.669535] RBP: 00007ffc1133a680 R08: 0000000000000040 R09: 0101010101010101
[  154.669537] R10: 0025ebd590960000 R11: 0000000000003202 R12: 000055b0264c9260
[  154.669540] R13: 000055b027899350 R14: 0000000000000000 R15: 00007ffc1133a880
[  154.991017] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[  154.993223] ata1.00: configured for UDMA/133
[  156.508974] iwlwifi 0000:01:00.0: L1 Enabled - LTR Disabled
[  156.515833] iwlwifi 0000:01:00.0: L1 Enabled - LTR Disabled
[  156.515960] iwlwifi 0000:01:00.0: Radio type=0x1-0x2-0x0
[  156.806653] iwlwifi 0000:01:00.0: L1 Enabled - LTR Disabled
[  156.813471] iwlwifi 0000:01:00.0: L1 Enabled - LTR Disabled
[  156.813595] iwlwifi 0000:01:00.0: Radio type=0x1-0x2-0x0
[  156.906009] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  157.037951] r8169 0000:02:00.0 eth0: link down
[  157.038073] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  163.509404] wlan0: authenticate with 02:1a:11:f3:ff:23
[  163.515981] wlan0: send auth to 02:1a:11:f3:ff:23 (try 1/3)
[  163.525143] wlan0: authenticated
[  163.526659] wlan0: associate with 02:1a:11:f3:ff:23 (try 1/3)
[  163.536300] wlan0: RX AssocResp from 02:1a:11:f3:ff:23 (capab=0x431 status=0 aid=2)
[  163.554396] wlan0: associated
[  163.554721] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

Patch
diff mbox

Al Viro (1):
      arm64: don't pull uaccess.h into *.S

Sedat Dilek (2):
      perf/x86/amd/ibs: Fix typo after cleanup state names in cpu/hotplug
      Merge branch 'for-4.10/cpu-hotplug-fixes' into 4.10.0-rc1-2-iniza-small

Thomas Gleixner (2):
      smp/hotplug: Undo tglxs brainfart
      x86/mce/AMD: Make the init code more robust

 arch/arm64/include/asm/asm-uaccess.h | 65 ++++++++++++++++++++++++++++++++++++
 arch/arm64/include/asm/uaccess.h     | 64 -----------------------------------
 arch/arm64/kernel/entry.S            |  2 +-
 arch/arm64/lib/clear_user.S          |  2 +-
 arch/arm64/lib/copy_from_user.S      |  2 +-
 arch/arm64/lib/copy_in_user.S        |  2 +-
 arch/arm64/lib/copy_to_user.S        |  2 +-
 arch/arm64/mm/cache.S                |  2 +-
 arch/arm64/xen/hypercall.S           |  2 +-
 arch/x86/events/amd/ibs.c            |  2 +-
 arch/x86/kernel/cpu/mcheck/mce_amd.c |  3 ++
 kernel/cpu.c                         |  9 ++++-
 12 files changed, 84 insertions(+), 73 deletions(-)

diff --git a/arch/arm64/include/asm/asm-uaccess.h b/arch/arm64/include/asm/asm-uaccess.h
new file mode 100644
index 000000000000..df411f3e083c
--- /dev/null
+++ b/arch/arm64/include/asm/asm-uaccess.h
@@ -0,0 +1,65 @@ 
+#ifndef __ASM_ASM_UACCESS_H
+#define __ASM_ASM_UACCESS_H
+
+#include <asm/alternative.h>
+#include <asm/kernel-pgtable.h>
+#include <asm/sysreg.h>
+#include <asm/assembler.h>
+
+/*
+ * User access enabling/disabling macros.
+ */
+#ifdef CONFIG_ARM64_SW_TTBR0_PAN
+	.macro	__uaccess_ttbr0_disable, tmp1
+	mrs	\tmp1, ttbr1_el1		// swapper_pg_dir
+	add	\tmp1, \tmp1, #SWAPPER_DIR_SIZE	// reserved_ttbr0 at the end of swapper_pg_dir
+	msr	ttbr0_el1, \tmp1		// set reserved TTBR0_EL1
+	isb
+	.endm
+
+	.macro	__uaccess_ttbr0_enable, tmp1
+	get_thread_info \tmp1
+	ldr	\tmp1, [\tmp1, #TSK_TI_TTBR0]	// load saved TTBR0_EL1
+	msr	ttbr0_el1, \tmp1		// set the non-PAN TTBR0_EL1
+	isb
+	.endm
+
+	.macro	uaccess_ttbr0_disable, tmp1
+alternative_if_not ARM64_HAS_PAN
+	__uaccess_ttbr0_disable \tmp1
+alternative_else_nop_endif
+	.endm
+
+	.macro	uaccess_ttbr0_enable, tmp1, tmp2
+alternative_if_not ARM64_HAS_PAN
+	save_and_disable_irq \tmp2		// avoid preemption
+	__uaccess_ttbr0_enable \tmp1
+	restore_irq \tmp2
+alternative_else_nop_endif
+	.endm
+#else
+	.macro	uaccess_ttbr0_disable, tmp1
+	.endm
+
+	.macro	uaccess_ttbr0_enable, tmp1, tmp2
+	.endm
+#endif
+
+/*
+ * These macros are no-ops when UAO is present.
+ */
+	.macro	uaccess_disable_not_uao, tmp1
+	uaccess_ttbr0_disable \tmp1
+alternative_if ARM64_ALT_PAN_NOT_UAO
+	SET_PSTATE_PAN(1)
+alternative_else_nop_endif
+	.endm
+
+	.macro	uaccess_enable_not_uao, tmp1, tmp2
+	uaccess_ttbr0_enable \tmp1, \tmp2
+alternative_if ARM64_ALT_PAN_NOT_UAO
+	SET_PSTATE_PAN(0)
+alternative_else_nop_endif
+	.endm
+
+#endif
diff --git a/arch/arm64/include/asm/uaccess.h b/arch/arm64/include/asm/uaccess.h
index d26750ca6e06..46da3ea638bb 100644
--- a/arch/arm64/include/asm/uaccess.h
+++ b/arch/arm64/include/asm/uaccess.h
@@ -22,8 +22,6 @@ 
 #include <asm/kernel-pgtable.h>
 #include <asm/sysreg.h>
 
-#ifndef __ASSEMBLY__
-
 /*
  * User space memory access functions
  */
@@ -424,66 +422,4 @@  extern long strncpy_from_user(char *dest, const char __user *src, long count);
 extern __must_check long strlen_user(const char __user *str);
 extern __must_check long strnlen_user(const char __user *str, long n);
 
-#else	/* __ASSEMBLY__ */
-
-#include <asm/assembler.h>
-
-/*
- * User access enabling/disabling macros.
- */
-#ifdef CONFIG_ARM64_SW_TTBR0_PAN
-	.macro	__uaccess_ttbr0_disable, tmp1
-	mrs	\tmp1, ttbr1_el1		// swapper_pg_dir
-	add	\tmp1, \tmp1, #SWAPPER_DIR_SIZE	// reserved_ttbr0 at the end of swapper_pg_dir
-	msr	ttbr0_el1, \tmp1		// set reserved TTBR0_EL1
-	isb
-	.endm
-
-	.macro	__uaccess_ttbr0_enable, tmp1
-	get_thread_info \tmp1
-	ldr	\tmp1, [\tmp1, #TSK_TI_TTBR0]	// load saved TTBR0_EL1
-	msr	ttbr0_el1, \tmp1		// set the non-PAN TTBR0_EL1
-	isb
-	.endm
-
-	.macro	uaccess_ttbr0_disable, tmp1
-alternative_if_not ARM64_HAS_PAN
-	__uaccess_ttbr0_disable \tmp1
-alternative_else_nop_endif
-	.endm
-
-	.macro	uaccess_ttbr0_enable, tmp1, tmp2
-alternative_if_not ARM64_HAS_PAN
-	save_and_disable_irq \tmp2		// avoid preemption
-	__uaccess_ttbr0_enable \tmp1
-	restore_irq \tmp2
-alternative_else_nop_endif
-	.endm
-#else
-	.macro	uaccess_ttbr0_disable, tmp1
-	.endm
-
-	.macro	uaccess_ttbr0_enable, tmp1, tmp2
-	.endm
-#endif
-
-/*
- * These macros are no-ops when UAO is present.
- */
-	.macro	uaccess_disable_not_uao, tmp1
-	uaccess_ttbr0_disable \tmp1
-alternative_if ARM64_ALT_PAN_NOT_UAO
-	SET_PSTATE_PAN(1)
-alternative_else_nop_endif
-	.endm
-
-	.macro	uaccess_enable_not_uao, tmp1, tmp2
-	uaccess_ttbr0_enable \tmp1, \tmp2
-alternative_if ARM64_ALT_PAN_NOT_UAO
-	SET_PSTATE_PAN(0)
-alternative_else_nop_endif
-	.endm
-
-#endif	/* __ASSEMBLY__ */
-
 #endif /* __ASM_UACCESS_H */
diff --git a/arch/arm64/kernel/entry.S b/arch/arm64/kernel/entry.S
index a7504f40d7ee..923841ffe4a9 100644
--- a/arch/arm64/kernel/entry.S
+++ b/arch/arm64/kernel/entry.S
@@ -31,7 +31,7 @@ 
 #include <asm/memory.h>
 #include <asm/ptrace.h>
 #include <asm/thread_info.h>
-#include <linux/uaccess.h>
+#include <asm/asm-uaccess.h>
 #include <asm/unistd.h>
 
 /*
diff --git a/arch/arm64/lib/clear_user.S b/arch/arm64/lib/clear_user.S
index add4a1334085..e88fb99c1561 100644
--- a/arch/arm64/lib/clear_user.S
+++ b/arch/arm64/lib/clear_user.S
@@ -17,7 +17,7 @@ 
  */
 #include <linux/linkage.h>
 
-#include <linux/uaccess.h>
+#include <asm/asm-uaccess.h>
 
 	.text
 
diff --git a/arch/arm64/lib/copy_from_user.S b/arch/arm64/lib/copy_from_user.S
index fd6cd05593f9..4b5d826895ff 100644
--- a/arch/arm64/lib/copy_from_user.S
+++ b/arch/arm64/lib/copy_from_user.S
@@ -17,7 +17,7 @@ 
 #include <linux/linkage.h>
 
 #include <asm/cache.h>
-#include <linux/uaccess.h>
+#include <asm/asm-uaccess.h>
 
 /*
  * Copy from user space to a kernel buffer (alignment handled by the hardware)
diff --git a/arch/arm64/lib/copy_in_user.S b/arch/arm64/lib/copy_in_user.S
index d828540ded6f..47184c3a97da 100644
--- a/arch/arm64/lib/copy_in_user.S
+++ b/arch/arm64/lib/copy_in_user.S
@@ -19,7 +19,7 @@ 
 #include <linux/linkage.h>
 
 #include <asm/cache.h>
-#include <linux/uaccess.h>
+#include <asm/asm-uaccess.h>
 
 /*
  * Copy from user space to user space (alignment handled by the hardware)
diff --git a/arch/arm64/lib/copy_to_user.S b/arch/arm64/lib/copy_to_user.S
index 3e6ae2663b82..351f0766f7a6 100644
--- a/arch/arm64/lib/copy_to_user.S
+++ b/arch/arm64/lib/copy_to_user.S
@@ -17,7 +17,7 @@ 
 #include <linux/linkage.h>
 
 #include <asm/cache.h>
-#include <linux/uaccess.h>
+#include <asm/asm-uaccess.h>
 
 /*
  * Copy to user space from a kernel buffer (alignment handled by the hardware)
diff --git a/arch/arm64/mm/cache.S b/arch/arm64/mm/cache.S
index 17f422a4dc55..83c27b6e6dca 100644
--- a/arch/arm64/mm/cache.S
+++ b/arch/arm64/mm/cache.S
@@ -23,7 +23,7 @@ 
 #include <asm/assembler.h>
 #include <asm/cpufeature.h>
 #include <asm/alternative.h>
-#include <linux/uaccess.h>
+#include <asm/asm-uaccess.h>
 
 /*
  *	flush_icache_range(start,end)
diff --git a/arch/arm64/xen/hypercall.S b/arch/arm64/xen/hypercall.S
index 47cf3f9d89ff..947830a459d2 100644
--- a/arch/arm64/xen/hypercall.S
+++ b/arch/arm64/xen/hypercall.S
@@ -49,7 +49,7 @@ 
 
 #include <linux/linkage.h>
 #include <asm/assembler.h>
-#include <linux/uaccess.h>
+#include <asm/asm-uaccess.h>
 #include <xen/interface/xen.h>
 
 
diff --git a/arch/x86/events/amd/ibs.c b/arch/x86/events/amd/ibs.c
index 05612a2529c8..496e60391fac 100644
--- a/arch/x86/events/amd/ibs.c
+++ b/arch/x86/events/amd/ibs.c
@@ -1010,7 +1010,7 @@  static __init int amd_ibs_init(void)
 	 * all online cpus.
 	 */
 	cpuhp_setup_state(CPUHP_AP_PERF_X86_AMD_IBS_STARTING,
-			  "perf/x86/amd/ibs:STARTING",
+			  "perf/x86/amd/ibs:starting",
 			  x86_pmu_amd_ibs_starting_cpu,
 			  x86_pmu_amd_ibs_dying_cpu);
 
diff --git a/arch/x86/kernel/cpu/mcheck/mce_amd.c b/arch/x86/kernel/cpu/mcheck/mce_amd.c
index ffacfdcacb85..a5fd137417a2 100644
--- a/arch/x86/kernel/cpu/mcheck/mce_amd.c
+++ b/arch/x86/kernel/cpu/mcheck/mce_amd.c
@@ -1182,6 +1182,9 @@  static int threshold_create_bank(unsigned int cpu, unsigned int bank)
 	const char *name = get_name(bank, NULL);
 	int err = 0;
 
+	if (!dev)
+		return -ENODEV;
+
 	if (is_shared_bank(bank)) {
 		nb = node_to_amd_nb(amd_get_nb_id(cpu));
 
diff --git a/kernel/cpu.c b/kernel/cpu.c
index 042fd7e8e030..f75c4d031eeb 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -1471,6 +1471,7 @@  int __cpuhp_setup_state(enum cpuhp_state state,
 			bool multi_instance)
 {
 	int cpu, ret = 0;
+	bool dynstate;
 
 	if (cpuhp_cb_check(state) || !name)
 		return -EINVAL;
@@ -1480,6 +1481,12 @@  int __cpuhp_setup_state(enum cpuhp_state state,
 	ret = cpuhp_store_callbacks(state, name, startup, teardown,
 				    multi_instance);
 
+	dynstate = state == CPUHP_AP_ONLINE_DYN;
+	if (ret > 0 && dynstate) {
+		state = ret;
+		ret = 0;
+	}
+
 	if (ret || !invoke || !startup)
 		goto out;
 
@@ -1508,7 +1515,7 @@  int __cpuhp_setup_state(enum cpuhp_state state,
 	 * If the requested state is CPUHP_AP_ONLINE_DYN, return the
 	 * dynamically allocated state in case of success.
 	 */
-	if (!ret && state == CPUHP_AP_ONLINE_DYN)
+	if (!ret && dynstate)
 		return state;
 	return ret;
 }