Bug 193011

Summary: cstates: intel_idle.max_cstate=2 required to prevent occasional system freezes - Broadwell - 3rd,4th gen Thinkpad X1
Product: Power Management Reporter: Oemer (oemer+kernel)
Component: intel_idleAssignee: Len Brown (lenb)
Status: NEEDINFO ---    
Severity: high CC: ben, jpujades, juliette.regimbal, kiko+kernelbugzilla, leho, linux-stuff, manu.eder, matt, radu, rui.zhang, russianneuromancer, seppe.hoogzaad, undying.k, vov4ik829, whites11
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.8 Subsystem:
Regression: No Bisected commit-id:
Attachments: lspci output
/proc/cpuinfo
dell xps 13 perf.svg
dell xps 13 cpuinfo
cpuinfo
dmesg output

Description Oemer 2017-01-20 20:52:30 UTC
I am creating a new ticket like someone suggested here:
https://bugzilla.kernel.org/show_bug.cgi?id=109051#c641

Me and at least one person from that ticket can confirm a similar issue on broadwell systems. I am on an 3rd gen Thinkpad X1 and also suffer from occasional system freezes without any traces in logs. Of course i can't be 100% sure, but a hardware defect is unlikely, because my laptop's mainboard (along with ram) has been completely replaced recently and i was having the freezing problem before and after the replacement. 

An entry in the ArchWiki[1] brought me to the linked ticket above. I've added the suggested kernel option and the system did not freeze until now.

So at least for me this workaround seems to be fine.


[1]: https://wiki.archlinux.org/index.php/Intel_graphics#X_freeze.2Fcrash_with_intel_driver
Comment 1 Zhang Rui 2017-03-27 04:10:52 UTC
do you have windows installed on this laptop, so that we can confirm if the problem exists in windows as well?
Comment 2 Ben Hearsum 2017-05-01 12:04:03 UTC
I am experiencing this as well on a 4th gen Thinkpad X1 (Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz (fam: 06, model: 3d, stepping: 04)). Ubuntu 17.04, Linux kernel 4.10.0.
Comment 3 Volodymyr Saveliev 2017-06-07 11:50:51 UTC
I have the problem on my HP 250 G5 with Intel Pentium N3710 quad-core, kernel version 4.4.0-79-generic.
The laptop uses to freeze randomly 2-3 times a day at a medium load. More often, when I watch html5 videos in firefox or at a heavy load. Nothing helps except long power button press.
Going to try the max_cstate patch and report.
Comment 4 Oemer 2017-06-07 11:55:33 UTC
Sorry, I don't have windows.

(In reply to Zhang Rui from comment #1)
> do you have windows installed on this laptop, so that we can confirm if the
> problem exists in windows as well?
Comment 5 Volodymyr Saveliev 2017-06-07 12:19:10 UTC
(In reply to Zhang Rui from comment #1)
> do you have windows installed on this laptop, so that we can confirm if the
> problem exists in windows as well?

I uses to google 'hp 250 g5 freeze' and ended with hp forum where people say they experience the freezes on Windows.

https://h30434.www3.hp.com/t5/Notebook-Boot-and-Lockup/HP-Laptop-Freezing/td-p/6015961
https://h30434.www3.hp.com/t5/Notebook-Boot-and-Lockup/Hp-250-freezes-one-or-more-time-a-day-since-new/td-p/4958550

Hope you'll find it useful.
Comment 6 Volodymyr Saveliev 2017-06-10 06:24:43 UTC
Can confirm that max_cstate patch fixes freezes on my HP 250 G5 with Intel Pentium N3710 quad-core, kernel version 4.4.0-79-generic.
Comment 7 Zhang Rui 2017-06-17 07:41:42 UTC
Volodymyr Saveliev and Ben Hearsum
please attach the lspci and /proc/cpuinfo output of your platform.
Comment 8 Volodymyr Saveliev 2017-06-17 09:29:20 UTC
Created attachment 257039 [details]
lspci output
Comment 9 Volodymyr Saveliev 2017-06-17 09:31:28 UTC
Created attachment 257041 [details]
/proc/cpuinfo
Comment 10 Volodymyr Saveliev 2017-06-17 09:34:34 UTC
(In reply to Zhang Rui from comment #7)
> Volodymyr Saveliev and Ben Hearsum
> please attach the lspci and /proc/cpuinfo output of your platform.

I've attached the output as you asked. Please let me know if I can do anything else.
Comment 11 Zhang Rui 2017-06-19 03:15:02 UTC
(In reply to Volodymyr Saveliev from comment #9)
> Created attachment 257041 [details]
> /proc/cpuinfo

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 76

#define INTEL_FAM6_ATOM_AIRMONT         0x4C /* CherryTrail / Braswell */

This is a Braswell laptop, which is different from the Bug reporter, who has a Broadwell platform.
So please file a separate bug report instead.
Comment 12 Zhang Rui 2017-06-19 03:15:39 UTC
oemer, please attach the output of "cat /proc/cpuinfo"
Comment 13 Zhang Rui 2017-06-19 03:16:07 UTC
and dmesg output as well.
Comment 14 Volodymyr Saveliev 2017-06-19 22:19:52 UTC
(In reply to Zhang Rui from comment #11)
> (In reply to Volodymyr Saveliev from comment #9)
> > Created attachment 257041 [details]
> > /proc/cpuinfo
> 
> processor       : 0
> vendor_id       : GenuineIntel
> cpu family      : 6
> model           : 76
> 
> #define INTEL_FAM6_ATOM_AIRMONT         0x4C /* CherryTrail / Braswell */
> 
> This is a Braswell laptop, which is different from the Bug reporter, who has
> a Broadwell platform.
> So please file a separate bug report instead.

I filed a separate bug report as you asked:
https://bugzilla.kernel.org/show_bug.cgi?id=196127
Comment 15 Len Brown 2017-06-19 23:10:41 UTC
how "occasional" does the problem happen.
Can you find a way to make it happen MORE frequently?

does intel_idle.max_cstate=2 also work?
(if yes, what is the lowest number here that fails?)

please show the output from

grep . /sys/devices/system/cpu/cpu0/cpuidle/*/*
Comment 16 Zhang Rui 2017-07-01 06:28:55 UTC
ping...
Comment 17 Oemer 2017-07-01 16:24:47 UTC
> how "occasional" does the problem happen.
> Can you find a way to make it happen MORE frequently?

it often happened when i was watching youtube videos and in intellij right after i've triggered the auto-completion popup. i can try to automate the autocompletion with xdotool and see if i can somehow make it happen more frequently.

> does intel_idle.max_cstate=2 also work?
> (if yes, what is the lowest number here that fails?)

i've changed it to max_ctate=2 and i'll tell you as soon as i know more.

> please show the output from
> 
> grep . /sys/devices/system/cpu/cpu0/cpuidle/*/*

/sys/devices/system/cpu/cpu0/cpuidle/state0/desc:CPUIDLE CORE POLL IDLE
/sys/devices/system/cpu/cpu0/cpuidle/state0/disable:0
/sys/devices/system/cpu/cpu0/cpuidle/state0/latency:0
/sys/devices/system/cpu/cpu0/cpuidle/state0/name:POLL
/sys/devices/system/cpu/cpu0/cpuidle/state0/power:4294967295
/sys/devices/system/cpu/cpu0/cpuidle/state0/residency:0
/sys/devices/system/cpu/cpu0/cpuidle/state0/time:2484490
/sys/devices/system/cpu/cpu0/cpuidle/state0/usage:120
/sys/devices/system/cpu/cpu0/cpuidle/state1/desc:MWAIT 0x00
/sys/devices/system/cpu/cpu0/cpuidle/state1/disable:0
/sys/devices/system/cpu/cpu0/cpuidle/state1/latency:2
/sys/devices/system/cpu/cpu0/cpuidle/state1/name:C1
/sys/devices/system/cpu/cpu0/cpuidle/state1/power:0
/sys/devices/system/cpu/cpu0/cpuidle/state1/residency:2
/sys/devices/system/cpu/cpu0/cpuidle/state1/time:103375706
/sys/devices/system/cpu/cpu0/cpuidle/state1/usage:39644
Comment 18 Oemer 2017-07-01 16:25:45 UTC
(In reply to Zhang Rui from comment #12)
> oemer, please attach the output of "cat /proc/cpuinfo"

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 61
model name	: Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz
stepping	: 4
microcode	: 0x24
cpu MHz		: 2303.906
cache size	: 4096 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 20
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap xsaveopt dtherm ida arat pln pts
bugs		:
bogomips	: 4790.49
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 61
model name	: Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz
stepping	: 4
microcode	: 0x24
cpu MHz		: 2430.029
cache size	: 4096 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 20
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap xsaveopt dtherm ida arat pln pts
bugs		:
bogomips	: 4793.72
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

processor	: 2
vendor_id	: GenuineIntel
cpu family	: 6
model		: 61
model name	: Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz
stepping	: 4
microcode	: 0x24
cpu MHz		: 2303.173
cache size	: 4096 KB
physical id	: 0
siblings	: 4
core id		: 1
cpu cores	: 2
apicid		: 2
initial apicid	: 2
fpu		: yes
fpu_exception	: yes
cpuid level	: 20
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap xsaveopt dtherm ida arat pln pts
bugs		:
bogomips	: 4792.49
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

processor	: 3
vendor_id	: GenuineIntel
cpu family	: 6
model		: 61
model name	: Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz
stepping	: 4
microcode	: 0x24
cpu MHz		: 2299.951
cache size	: 4096 KB
physical id	: 0
siblings	: 4
core id		: 1
cpu cores	: 2
apicid		: 3
initial apicid	: 3
fpu		: yes
fpu_exception	: yes
cpuid level	: 20
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap xsaveopt dtherm ida arat pln pts
bugs		:
bogomips	: 4792.97
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:
Comment 19 Oemer 2017-07-01 16:26:58 UTC
dmesg(In reply to Zhang Rui from comment #13)
> and dmesg output as well.

[    0.000000] microcode: microcode updated early to revision 0x24, date = 2016-04-29
[    0.000000] Linux version 4.11.7-1-ARCH (builduser@tobias) (gcc version 7.1.1 20170621 (GCC) ) #1 SMP PREEMPT Sat Jun 24 09:07:09 CEST 2017
[    0.000000] Command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img root=/dev/sda3 rw elevator=noop intremap=no_x2apic_optout fbcon=scrollback:128k intel_idle.max_cstate=1
[    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-0x0000000000057fff] usable
[    0.000000] BIOS-e820: [mem 0x0000000000058000-0x0000000000058fff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000059000-0x000000000008bfff] usable
[    0.000000] BIOS-e820: [mem 0x000000000008c000-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000cbd07fff] usable
[    0.000000] BIOS-e820: [mem 0x00000000cbd08000-0x00000000ccbfefff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ccbff000-0x00000000ccd7efff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000ccd7f000-0x00000000ccdfefff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000ccdff000-0x00000000ccdfffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000f80f8000-0x00000000f80f8fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000022dffffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] e820: update [mem 0xc2af7018-0xc2b04057] usable ==> usable
[    0.000000] e820: update [mem 0xc2ae6018-0xc2af6057] usable ==> usable
[    0.000000] e820: update [mem 0xc2ad9018-0xc2ae5857] usable ==> usable
[    0.000000] e820: update [mem 0xc03ca018-0xc03da657] usable ==> usable
[    0.000000] extended physical RAM map:
[    0.000000] reserve setup_data: [mem 0x0000000000000000-0x0000000000057fff] usable
[    0.000000] reserve setup_data: [mem 0x0000000000058000-0x0000000000058fff] reserved
[    0.000000] reserve setup_data: [mem 0x0000000000059000-0x000000000008bfff] usable
[    0.000000] reserve setup_data: [mem 0x000000000008c000-0x000000000009ffff] reserved
[    0.000000] reserve setup_data: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[    0.000000] reserve setup_data: [mem 0x0000000000100000-0x00000000c03ca017] usable
[    0.000000] reserve setup_data: [mem 0x00000000c03ca018-0x00000000c03da657] usable
[    0.000000] reserve setup_data: [mem 0x00000000c03da658-0x00000000c2ad9017] usable
[    0.000000] reserve setup_data: [mem 0x00000000c2ad9018-0x00000000c2ae5857] usable
[    0.000000] reserve setup_data: [mem 0x00000000c2ae5858-0x00000000c2ae6017] usable
[    0.000000] reserve setup_data: [mem 0x00000000c2ae6018-0x00000000c2af6057] usable
[    0.000000] reserve setup_data: [mem 0x00000000c2af6058-0x00000000c2af7017] usable
[    0.000000] reserve setup_data: [mem 0x00000000c2af7018-0x00000000c2b04057] usable
[    0.000000] reserve setup_data: [mem 0x00000000c2b04058-0x00000000cbd07fff] usable
[    0.000000] reserve setup_data: [mem 0x00000000cbd08000-0x00000000ccbfefff] reserved
[    0.000000] reserve setup_data: [mem 0x00000000ccbff000-0x00000000ccd7efff] ACPI NVS
[    0.000000] reserve setup_data: [mem 0x00000000ccd7f000-0x00000000ccdfefff] ACPI data
[    0.000000] reserve setup_data: [mem 0x00000000ccdff000-0x00000000ccdfffff] usable
[    0.000000] reserve setup_data: [mem 0x00000000f80f8000-0x00000000f80f8fff] reserved
[    0.000000] reserve setup_data: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
[    0.000000] reserve setup_data: [mem 0x0000000100000000-0x000000022dffffff] usable
[    0.000000] efi: EFI v2.31 by Lenovo
[    0.000000] efi:  ACPI=0xccdfe000  ACPI 2.0=0xccdfe014  SMBIOS=0xccbfe000  ESRT=0xcc093000 
[    0.000000] SMBIOS 2.7 present.
[    0.000000] DMI: LENOVO 20BSCTO1WW/20BSCTO1WW, BIOS N14ET35W (1.13 ) 04/07/2016
[    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000000] e820: last_pfn = 0x22e000 max_arch_pfn = 0x400000000
[    0.000000] MTRR default type: write-back
[    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 00E0000000 mask 7FE0000000 uncachable
[    0.000000]   1 base 00D0000000 mask 7FF0000000 uncachable
[    0.000000]   2 base 00CE000000 mask 7FFE000000 uncachable
[    0.000000]   3 base 00CD000000 mask 7FFF000000 uncachable
[    0.000000]   4 base 00CCE00000 mask 7FFFE00000 uncachable
[    0.000000]   5 disabled
[    0.000000]   6 disabled
[    0.000000]   7 disabled
[    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 = 0xcce00 max_arch_pfn = 0x400000000
[    0.000000] esrt: Reserving ESRT space from 0x00000000cc093000 to 0x00000000cc093060.
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] Base memory trampoline at [ffff880000063000] 63000 size 24576
[    0.000000] Using GB pages for direct mapping
[    0.000000] BRK [0x01d42000, 0x01d42fff] PGTABLE
[    0.000000] BRK [0x01d43000, 0x01d43fff] PGTABLE
[    0.000000] BRK [0x01d44000, 0x01d44fff] PGTABLE
[    0.000000] BRK [0x01d45000, 0x01d45fff] PGTABLE
[    0.000000] BRK [0x01d46000, 0x01d46fff] PGTABLE
[    0.000000] Secure boot disabled
[    0.000000] RAMDISK: [mem 0x7f985000-0x7fffefff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000CCDFE014 000024 (v02 LENOVO)
[    0.000000] ACPI: XSDT 0x00000000CCDFE1C0 0000F4 (v01 LENOVO TP-N14   00001130 PTEC 00000002)
[    0.000000] ACPI: FACP 0x00000000CCDF8000 00010C (v05 LENOVO TP-N14   00001130 PTEC 00000002)
[    0.000000] ACPI: DSDT 0x00000000CCDE2000 0112AD (v02 LENOVO TP-N14   00001130 INTL 20120711)
[    0.000000] ACPI: FACS 0x00000000CCD68000 000040
[    0.000000] ACPI: SLIC 0x00000000CCDFD000 000176 (v01 LENOVO TP-N14   00001130 PTEC 00000001)
[    0.000000] ACPI: ASF! 0x00000000CCDFC000 0000A5 (v32 LENOVO TP-N14   00001130 PTEC 00000002)
[    0.000000] ACPI: HPET 0x00000000CCDFB000 000038 (v01 LENOVO TP-N14   00001130 PTEC 00000002)
[    0.000000] ACPI: ECDT 0x00000000CCDFA000 000052 (v01 LENOVO TP-N14   00001130 PTEC 00000002)
[    0.000000] ACPI: APIC 0x00000000CCDF7000 000098 (v01 LENOVO TP-N14   00001130 PTEC 00000002)
[    0.000000] ACPI: MCFG 0x00000000CCDF6000 00003C (v01 LENOVO TP-N14   00001130 PTEC 00000002)
[    0.000000] ACPI: SSDT 0x00000000CCDF5000 000033 (v01 LENOVO TP-SSDT1 00000100 INTL 20120711)
[    0.000000] ACPI: SSDT 0x00000000CCDF4000 000486 (v01 LENOVO TP-SSDT2 00000200 INTL 20120711)
[    0.000000] ACPI: SSDT 0x00000000CCDE1000 000290 (v01 LENOVO PcieAhci 00001000 INTL 20120711)
[    0.000000] ACPI: SSDT 0x00000000CCDE0000 000152 (v01 LENOVO Rmv_Batt 00001000 INTL 20120711)
[    0.000000] ACPI: SSDT 0x00000000CCDDF000 000691 (v01 LENOVO Cpu0Ist  00003000 INTL 20120711)
[    0.000000] ACPI: SSDT 0x00000000CCDDE000 000B74 (v02 LENOVO CpuSsdt  00003000 INTL 20120711)
[    0.000000] ACPI: SSDT 0x00000000CCDDD000 000369 (v02 LENOVO CtdpB    00001000 INTL 20120711)
[    0.000000] ACPI: SSDT 0x00000000CCDDB000 001475 (v01 LENOVO SaSsdt   00003000 INTL 20120711)
[    0.000000] ACPI: SSDT 0x00000000CCDDA000 000394 (v02 LENOVO CppcTabl 00001000 INTL 20120711)
[    0.000000] ACPI: PCCT 0x00000000CCDD9000 00006E (v05 LENOVO TP-N14   00001130 PTEC 00000002)
[    0.000000] ACPI: SSDT 0x00000000CCDD8000 000AC4 (v02 LENOVO Cpc_Tabl 00001000 INTL 20120711)
[    0.000000] ACPI: TCPA 0x00000000CCDD7000 000032 (v02 PTL    LENOVO   06040000 LNVO 00000001)
[    0.000000] ACPI: SSDT 0x00000000CCDD6000 0006B0 (v02 Intel_ TpmTable 00001000 INTL 20120711)
[    0.000000] ACPI: UEFI 0x00000000CCDD5000 000042 (v01 LENOVO TP-N14   00001130 PTEC 00000002)
[    0.000000] ACPI: MSDM 0x00000000CCCB2000 000055 (v03 LENOVO TP-N14   00001130 PTEC 00000002)
[    0.000000] ACPI: BATB 0x00000000CCDD4000 000046 (v01 LENOVO TP-N14   00001130 PTEC 00000002)
[    0.000000] ACPI: FPDT 0x00000000CCDD3000 000064 (v01 LENOVO TP-N14   00001130 PTEC 00000002)
[    0.000000] ACPI: UEFI 0x00000000CCDD2000 0002F6 (v01 LENOVO TP-N14   00001130 PTEC 00000002)
[    0.000000] ACPI: DMAR 0x00000000CCDD1000 0000B0 (v01 LENOVO TP-N14   00001130 PTEC 00000002)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000022dffffff]
[    0.000000] NODE_DATA(0) allocated [mem 0x22dff9000-0x22dffdfff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000022dffffff]
[    0.000000]   Device   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x0000000000057fff]
[    0.000000]   node   0: [mem 0x0000000000059000-0x000000000008bfff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x00000000cbd07fff]
[    0.000000]   node   0: [mem 0x00000000ccdff000-0x00000000ccdfffff]
[    0.000000]   node   0: [mem 0x0000000100000000-0x000000022dffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000022dffffff]
[    0.000000] On node 0 totalpages: 2071699
[    0.000000]   DMA zone: 64 pages used for memmap
[    0.000000]   DMA zone: 72 pages reserved
[    0.000000]   DMA zone: 3978 pages, LIFO batch:0
[    0.000000]   DMA32 zone: 12981 pages used for memmap
[    0.000000]   DMA32 zone: 830729 pages, LIFO batch:31
[    0.000000]   Normal zone: 19328 pages used for memmap
[    0.000000]   Normal zone: 1236992 pages, LIFO batch:31
[    0.000000] Reserving Intel graphics memory at 0x00000000ce000000-0x00000000cfffffff
[    0.000000] ACPI: PM-Timer IO Port: 0x1808
[    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 2, version 32, address 0xfec00000, GSI 0-39
[    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 0x00058000-0x00058fff]
[    0.000000] PM: Registered nosave memory: [mem 0x0008c000-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 0xc03ca000-0xc03cafff]
[    0.000000] PM: Registered nosave memory: [mem 0xc03da000-0xc03dafff]
[    0.000000] PM: Registered nosave memory: [mem 0xc2ad9000-0xc2ad9fff]
[    0.000000] PM: Registered nosave memory: [mem 0xc2ae5000-0xc2ae5fff]
[    0.000000] PM: Registered nosave memory: [mem 0xc2ae6000-0xc2ae6fff]
[    0.000000] PM: Registered nosave memory: [mem 0xc2af6000-0xc2af6fff]
[    0.000000] PM: Registered nosave memory: [mem 0xc2af7000-0xc2af7fff]
[    0.000000] PM: Registered nosave memory: [mem 0xc2b04000-0xc2b04fff]
[    0.000000] PM: Registered nosave memory: [mem 0xcbd08000-0xccbfefff]
[    0.000000] PM: Registered nosave memory: [mem 0xccbff000-0xccd7efff]
[    0.000000] PM: Registered nosave memory: [mem 0xccd7f000-0xccdfefff]
[    0.000000] PM: Registered nosave memory: [mem 0xcce00000-0xcdffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xce000000-0xcfffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xd0000000-0xf80f7fff]
[    0.000000] PM: Registered nosave memory: [mem 0xf80f8000-0xf80f8fff]
[    0.000000] PM: Registered nosave memory: [mem 0xf80f9000-0xfed1bfff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed1c000-0xfed1ffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed20000-0xffffffff]
[    0.000000] e820: [mem 0xd0000000-0xf80f7fff] 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: 6370452778343963 ns
[    0.000000] setup_percpu: NR_CPUS:128 nr_cpumask_bits:128 nr_cpu_ids:8 nr_node_ids:1
[    0.000000] percpu: Embedded 35 pages/cpu @ffff88022dc00000 s103256 r8192 d31912 u262144
[    0.000000] pcpu-alloc: s103256 r8192 d31912 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: 2039254
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img root=/dev/sda3 rw elevator=noop intremap=no_x2apic_optout fbcon=scrollback:128k intel_idle.max_cstate=1
[    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] Memory: 7983180K/8286796K available (6484K kernel code, 1091K rwdata, 2020K rodata, 1304K init, 904K bss, 303616K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 64.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=128 to nr_cpu_ids=8.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=8
[    0.000000] NR_IRQS:8448 nr_irqs:760 16
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled
[    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.003333] tsc: Detected 2394.476 MHz processor
[    0.003333] Calibrating delay loop (skipped), value calculated using timer frequency.. 4790.49 BogoMIPS (lpj=7981586)
[    0.003333] pid_max: default: 32768 minimum: 301
[    0.003333] ACPI: Core revision 20170119
[    0.020584] ACPI: 12 ACPI AML tables successfully acquired and loaded
[    0.023461] Security Framework initialized
[    0.023463] Yama: becoming mindful.
[    0.026777] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[    0.028218] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.028854] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
[    0.028862] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes)
[    0.029072] CPU: Physical Processor ID: 0
[    0.029073] CPU: Processor Core ID: 0
[    0.029077] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[    0.029077] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
[    0.029081] mce: CPU supports 7 MCE banks
[    0.029089] CPU0: Thermal monitoring enabled (TM1)
[    0.029100] process: using mwait in idle threads
[    0.029102] Last level iTLB entries: 4KB 64, 2MB 8, 4MB 8
[    0.029103] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4
[    0.029197] Freeing SMP alternatives memory: 24K
[    0.032052] ftrace: allocating 25552 entries in 100 pages
[    0.040059] smpboot: Max logical packages: 4
[    0.040068] DMAR: Host address width 39
[    0.040069] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[    0.040074] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap 1c0000c40660462 ecap 7e1ff0505e
[    0.040075] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[    0.040079] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c20660462 ecap f010da
[    0.040079] DMAR: RMRR base: 0x000000cc956000 end: 0x000000cc96cfff
[    0.040080] DMAR: RMRR base: 0x000000cd800000 end: 0x000000cfffffff
[    0.040082] DMAR-IR: IOAPIC id 2 under DRHD base  0xfed91000 IOMMU 1
[    0.040083] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[    0.040084] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[    0.040514] DMAR-IR: Enabled IRQ remapping in x2apic mode
[    0.040515] x2apic enabled
[    0.040519] Switched APIC routing to cluster x2apic.
[    0.041128] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.074699] TSC deadline timer enabled
[    0.074701] smpboot: CPU0: Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz (family: 0x6, model: 0x3d, stepping: 0x4)
[    0.086673] Performance Events: PEBS fmt2+, Broadwell events, 16-deep LBR, full-width counters, Intel PMU driver.
[    0.086703] ... version:                3
[    0.086703] ... bit width:              48
[    0.086704] ... generic registers:      4
[    0.086704] ... value mask:             0000ffffffffffff
[    0.086705] ... max period:             00007fffffffffff
[    0.086705] ... fixed-purpose events:   3
[    0.086706] ... event mask:             000000070000000f
[    0.106830] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
[    0.113348] smp: Bringing up secondary CPUs ...
[    0.140009] x86: Booting SMP configuration:
[    0.140010] .... node  #0, CPUs:      #1 #2 #3
[    0.443352] smp: Brought up 1 node, 4 CPUs
[    0.443352] smpboot: Total of 4 processors activated (19168.68 BogoMIPS)
[    0.446763] sched_clock: Marking stable (446666622, 0)->(477771240, -31104618)
[    0.447022] devtmpfs: initialized
[    0.447063] x86/mm: Memory block size: 128MB
[    0.449035] PM: Registering ACPI NVS region [mem 0xccbff000-0xccd7efff] (1572864 bytes)
[    0.449110] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.449119] futex hash table entries: 2048 (order: 5, 131072 bytes)
[    0.449187] pinctrl core: initialized pinctrl subsystem
[    0.449223] RTC time: 16:18:08, date: 07/01/17
[    0.449298] NET: Registered protocol family 16
[    0.449462] cpuidle: using governor ladder
[    0.449485] cpuidle: using governor menu
[    0.449493] Error parsing PCC subspaces from PCCT
[    0.449549] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[    0.449550] ACPI: bus type PCI registered
[    0.449552] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.449716] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf8000000-0xfbffffff] (base 0xf8000000)
[    0.449727] PCI: not using MMCONFIG
[    0.449728] PCI: Using configuration type 1 for base access
[    0.450432] HugeTLB registered 1 GB page size, pre-allocated 0 pages
[    0.450433] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.450613] ACPI: Added _OSI(Module Device)
[    0.450614] ACPI: Added _OSI(Processor Device)
[    0.450615] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.450616] ACPI: Added _OSI(Processor Aggregator Device)
[    0.450621] ACPI : EC: EC started
[    0.450622] ACPI : EC: interrupt blocked
[    0.451549] ACPI: \: Used as first EC
[    0.451550] ACPI: \: GPE=0x24, EC_CMD/EC_SC=0x66, EC_DATA=0x62
[    0.451551] ACPI: \: Used as boot ECDT EC to handle transactions
[    0.454653] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.460632] ACPI Error: Needed type [Reference], found [Integer] ffff880223926240 (20170119/exresop-103)
[    0.460640] ACPI Exception: AE_AML_OPERAND_TYPE, While resolving operands for [OpcodeName unavailable] (20170119/dswexec-461)
[    0.460645] ACPI Error: Method parse/execution failed [\_PR.CPU0._PDC] (Node ffff8802250e3f00), AE_AML_OPERAND_TYPE (20170119/psparse-543)
[    0.460899] ACPI: Dynamic OEM Table Load:
[    0.460908] ACPI: SSDT 0xFFFF880223F2C000 0005AA (v01 PmRef  ApIst    00003000 INTL 20120711)
[    0.461282] ACPI: Dynamic OEM Table Load:
[    0.461288] ACPI: SSDT 0xFFFF88022390F000 000119 (v02 PmRef  ApCst    00003000 INTL 20120711)
[    0.462109] ACPI : EC: EC stopped
[    0.462110] ACPI : EC: EC started
[    0.462111] ACPI : EC: interrupt blocked
[    0.462253] ACPI: \_SB_.PCI0.LPC_.EC__: Used as first EC
[    0.462254] ACPI: \_SB_.PCI0.LPC_.EC__: GPE=0x24, EC_CMD/EC_SC=0x66, EC_DATA=0x62
[    0.462255] ACPI: \_SB_.PCI0.LPC_.EC__: Used as boot DSDT EC to handle transactions
[    0.462256] ACPI: Interpreter enabled
[    0.462287] ACPI: (supports S0 S3 S4 S5)
[    0.462288] ACPI: Using IOAPIC for interrupt routing
[    0.462312] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf8000000-0xfbffffff] (base 0xf8000000)
[    0.462710] PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in ACPI motherboard resources
[    0.462716] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.465226] ACPI: Power Resource [PUBS] (on)
[    0.465840] acpi PNP0C0A:01: ACPI dock station (docks/bays count: 1)
[    0.466115] ACPI: Power Resource [NVP3] (on)
[    0.466136] ACPI: Power Resource [NVP2] (on)
[    0.469299] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11)
[    0.469355] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
[    0.469407] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
[    0.469458] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
[    0.469509] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
[    0.469560] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
[    0.469611] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
[    0.469661] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
[    0.469726] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-3f])
[    0.469730] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[    0.469819] acpi PNP0A08:00: _OSC: platform does not support [PCIeCapability]
[    0.469858] acpi PNP0A08:00: _OSC: not requesting control; platform does not support [PCIeCapability]
[    0.469859] acpi PNP0A08:00: _OSC: OS requested [PCIeHotplug PME AER PCIeCapability]
[    0.469860] acpi PNP0A08:00: _OSC: platform willing to grant [PCIeHotplug PME AER]
[    0.469861] acpi PNP0A08:00: _OSC failed (AE_SUPPORT); disabling ASPM
[    0.470026] PCI host bridge to bus 0000:00
[    0.470028] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.470029] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.470030] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.470031] pci_bus 0000:00: root bus resource [mem 0xd0000000-0xfebfffff window]
[    0.470032] pci_bus 0000:00: root bus resource [mem 0xfed40000-0xfed4bfff window]
[    0.470033] pci_bus 0000:00: root bus resource [bus 00-3f]
[    0.470040] pci 0000:00:00.0: [8086:1604] type 00 class 0x060000
[    0.470123] pci 0000:00:02.0: [8086:1616] type 00 class 0x030000
[    0.470132] pci 0000:00:02.0: reg 0x10: [mem 0xf0000000-0xf0ffffff 64bit]
[    0.470138] pci 0000:00:02.0: reg 0x18: [mem 0xe0000000-0xefffffff 64bit pref]
[    0.470141] pci 0000:00:02.0: reg 0x20: [io  0x3000-0x303f]
[    0.470215] pci 0000:00:03.0: [8086:160c] type 00 class 0x040300
[    0.470223] pci 0000:00:03.0: reg 0x10: [mem 0xf1230000-0xf1233fff 64bit]
[    0.470319] pci 0000:00:14.0: [8086:9cb1] type 00 class 0x0c0330
[    0.470334] pci 0000:00:14.0: reg 0x10: [mem 0xf1220000-0xf122ffff 64bit]
[    0.470386] pci 0000:00:14.0: PME# supported from D3hot D3cold
[    0.470420] pci 0000:00:14.0: System wakeup disabled by ACPI
[    0.470450] pci 0000:00:16.0: [8086:9cba] type 00 class 0x078000
[    0.470466] pci 0000:00:16.0: reg 0x10: [mem 0xf1239000-0xf123901f 64bit]
[    0.470529] pci 0000:00:16.0: PME# supported from D0 D3hot D3cold
[    0.470594] pci 0000:00:19.0: [8086:15a3] type 00 class 0x020000
[    0.470607] pci 0000:00:19.0: reg 0x10: [mem 0xf1200000-0xf121ffff]
[    0.470613] pci 0000:00:19.0: reg 0x14: [mem 0xf123d000-0xf123dfff]
[    0.470620] pci 0000:00:19.0: reg 0x18: [io  0x3060-0x307f]
[    0.470669] pci 0000:00:19.0: PME# supported from D0 D3hot D3cold
[    0.470704] pci 0000:00:19.0: System wakeup disabled by ACPI
[    0.470732] pci 0000:00:1b.0: [8086:9ca0] type 00 class 0x040300
[    0.470746] pci 0000:00:1b.0: reg 0x10: [mem 0xf1234000-0xf1237fff 64bit]
[    0.470798] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
[    0.470864] pci 0000:00:1c.0: [8086:9c92] type 01 class 0x060400
[    0.470931] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
[    0.471032] pci 0000:00:1c.1: [8086:9c94] type 01 class 0x060400
[    0.471102] pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold
[    0.471169] pci 0000:00:1c.1: System wakeup disabled by ACPI
[    0.471206] pci 0000:00:1c.5: [8086:9c9a] type 01 class 0x060400
[    0.471275] pci 0000:00:1c.5: PME# supported from D0 D3hot D3cold
[    0.471373] pci 0000:00:1d.0: [8086:9ca6] type 00 class 0x0c0320
[    0.471389] pci 0000:00:1d.0: reg 0x10: [mem 0xf123c000-0xf123c3ff]
[    0.471467] pci 0000:00:1d.0: PME# supported from D0 D3hot D3cold
[    0.471504] pci 0000:00:1d.0: System wakeup disabled by ACPI
[    0.471534] pci 0000:00:1f.0: [8086:9cc3] type 00 class 0x060100
[    0.471690] pci 0000:00:1f.3: [8086:9ca2] type 00 class 0x0c0500
[    0.471703] pci 0000:00:1f.3: reg 0x10: [mem 0xf1238000-0xf12380ff 64bit]
[    0.471720] pci 0000:00:1f.3: reg 0x20: [io  0xefa0-0xefbf]
[    0.471796] pci 0000:00:1f.6: [8086:9ca4] type 00 class 0x118000
[    0.471822] pci 0000:00:1f.6: reg 0x10: [mem 0xf123b000-0xf123bfff 64bit]
[    0.472016] pci 0000:00:1c.0: PCI bridge to [bus 03]
[    0.472227] pci 0000:04:00.0: [8086:095b] type 00 class 0x028000
[    0.472311] pci 0000:04:00.0: reg 0x10: [mem 0xf1100000-0xf1101fff 64bit]
[    0.472590] pci 0000:04:00.0: PME# supported from D0 D3hot D3cold
[    0.480239] pci 0000:00:1c.1: PCI bridge to [bus 04]
[    0.480243] pci 0000:00:1c.1:   bridge window [mem 0xf1100000-0xf11fffff]
[    0.480369] pci 0000:0a:00.0: [144d:a801] type 00 class 0x010601
[    0.480421] pci 0000:0a:00.0: reg 0x24: [mem 0xf1000000-0xf1001fff]
[    0.490157] pci 0000:00:1c.5: PCI bridge to [bus 0a]
[    0.490161] pci 0000:00:1c.5:   bridge window [mem 0xf1000000-0xf10fffff]
[    0.490947] ACPI: Enabled 4 GPEs in block 00 to 7F
[    0.491012] ACPI : EC: interrupt unblocked
[    0.491019] ACPI : EC: event unblocked
[    0.491025] ACPI: \_SB_.PCI0.LPC_.EC__: GPE=0x24, EC_CMD/EC_SC=0x66, EC_DATA=0x62
[    0.491027] ACPI: \_SB_.PCI0.LPC_.EC__: Used as boot DSDT EC to handle transactions and events
[    0.491090] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    0.491091] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.491094] pci 0000:00:02.0: vgaarb: bridge control possible
[    0.491095] vgaarb: loaded
[    0.491130] Registered efivars operations
[    0.510948] PCI: Using ACPI for IRQ routing
[    0.512151] PCI: pci_cache_line_size set to 64 bytes
[    0.512540] e820: reserve RAM buffer [mem 0x00058000-0x0005ffff]
[    0.512541] e820: reserve RAM buffer [mem 0x0008c000-0x0008ffff]
[    0.512541] e820: reserve RAM buffer [mem 0xc03ca018-0xc3ffffff]
[    0.512542] e820: reserve RAM buffer [mem 0xc2ad9018-0xc3ffffff]
[    0.512543] e820: reserve RAM buffer [mem 0xc2ae6018-0xc3ffffff]
[    0.512544] e820: reserve RAM buffer [mem 0xc2af7018-0xc3ffffff]
[    0.512545] e820: reserve RAM buffer [mem 0xcbd08000-0xcbffffff]
[    0.512546] e820: reserve RAM buffer [mem 0xcce00000-0xcfffffff]
[    0.512547] e820: reserve RAM buffer [mem 0x22e000000-0x22fffffff]
[    0.512616] NetLabel: Initializing
[    0.512617] NetLabel:  domain hash size = 128
[    0.512617] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.512629] NetLabel:  unlabeled traffic allowed by default
[    0.512864] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0, 0, 0, 0, 0
[    0.512869] hpet0: 8 comparators, 64-bit 14.318180 MHz counter
[    0.514890] clocksource: Switched to clocksource hpet
[    0.522493] VFS: Disk quotas dquot_6.6.0
[    0.522509] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.522573] pnp: PnP ACPI init
[    0.522934] system 00:00: [mem 0x00000000-0x0009ffff] could not be reserved
[    0.522936] system 00:00: [mem 0x000c0000-0x000c3fff] could not be reserved
[    0.522937] system 00:00: [mem 0x000c4000-0x000c7fff] could not be reserved
[    0.522938] system 00:00: [mem 0x000c8000-0x000cbfff] could not be reserved
[    0.522940] system 00:00: [mem 0x000cc000-0x000cffff] could not be reserved
[    0.522941] system 00:00: [mem 0x000d0000-0x000d3fff] has been reserved
[    0.522942] system 00:00: [mem 0x000d4000-0x000d7fff] has been reserved
[    0.522943] system 00:00: [mem 0x000d8000-0x000dbfff] has been reserved
[    0.522944] system 00:00: [mem 0x000dc000-0x000dffff] has been reserved
[    0.522947] system 00:00: [mem 0x000e0000-0x000e3fff] could not be reserved
[    0.522948] system 00:00: [mem 0x000e4000-0x000e7fff] could not be reserved
[    0.522949] system 00:00: [mem 0x000e8000-0x000ebfff] could not be reserved
[    0.522950] system 00:00: [mem 0x000ec000-0x000effff] could not be reserved
[    0.522951] system 00:00: [mem 0x000f0000-0x000fffff] could not be reserved
[    0.522953] system 00:00: [mem 0x00100000-0xcfffffff] could not be reserved
[    0.522954] system 00:00: [mem 0xfec00000-0xfed3ffff] could not be reserved
[    0.522955] system 00:00: [mem 0xfed4c000-0xffffffff] could not be reserved
[    0.522958] system 00:00: Plug and Play ACPI device, IDs PNP0c01 (active)
[    0.523039] pnp 00:01: [Firmware Bug]: PNP resource [mem 0xfed10000-0xfed13fff] covers only part of 0000:00:00.0 Intel MCH; extending to [mem 0xfed10000-0xfed17fff]
[    0.523053] system 00:01: [io  0x1800-0x189f] has been reserved
[    0.523055] system 00:01: [io  0x0800-0x087f] has been reserved
[    0.523056] system 00:01: [io  0x0880-0x08ff] has been reserved
[    0.523057] system 00:01: [io  0x0900-0x097f] has been reserved
[    0.523058] system 00:01: [io  0x0980-0x09ff] has been reserved
[    0.523059] system 00:01: [io  0x0a00-0x0a7f] has been reserved
[    0.523060] system 00:01: [io  0x0a80-0x0aff] has been reserved
[    0.523061] system 00:01: [io  0x0b00-0x0b7f] has been reserved
[    0.523062] system 00:01: [io  0x0b80-0x0bff] has been reserved
[    0.523063] system 00:01: [io  0x15e0-0x15ef] has been reserved
[    0.523065] system 00:01: [io  0x1600-0x167f] has been reserved
[    0.523066] system 00:01: [io  0x1640-0x165f] has been reserved
[    0.523067] system 00:01: [mem 0xf8000000-0xfbffffff] could not be reserved
[    0.523069] system 00:01: [mem 0xfed1c000-0xfed1ffff] has been reserved
[    0.523070] system 00:01: [mem 0xfed10000-0xfed17fff] has been reserved
[    0.523071] system 00:01: [mem 0xfed18000-0xfed18fff] has been reserved
[    0.523072] system 00:01: [mem 0xfed19000-0xfed19fff] has been reserved
[    0.523074] system 00:01: [mem 0xfed45000-0xfed4bfff] has been reserved
[    0.523076] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.523131] pnp 00:02: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.523147] pnp 00:03: Plug and Play ACPI device, IDs LEN0071 PNP0303 (active)
[    0.523162] pnp 00:04: Plug and Play ACPI device, IDs LEN0048 PNP0f13 (active)
[    0.523423] pnp 00:05: Plug and Play ACPI device, IDs SMO1200 PNP0c31 (active)
[    0.523579] system 00:06: [mem 0xd0010000-0xd001ffff] has been reserved
[    0.523580] system 00:06: [mem 0xd0000000-0xd000ffff] has been reserved
[    0.523582] system 00:06: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.523610] pnp: PnP ACPI: found 7 devices
[    0.529527] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.529545] pci 0000:00:1c.0: bridge window [io  0x1000-0x0fff] to [bus 03] add_size 1000
[    0.529547] pci 0000:00:1c.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 03] add_size 200000 add_align 100000
[    0.529549] pci 0000:00:1c.0: bridge window [mem 0x00100000-0x000fffff] to [bus 03] add_size 200000 add_align 100000
[    0.529568] pci 0000:00:1c.0: BAR 14: assigned [mem 0xd0100000-0xd02fffff]
[    0.529572] pci 0000:00:1c.0: BAR 15: assigned [mem 0xd0300000-0xd04fffff 64bit pref]
[    0.529574] pci 0000:00:1c.0: BAR 13: assigned [io  0x2000-0x2fff]
[    0.529576] pci 0000:00:1c.0: PCI bridge to [bus 03]
[    0.529585] pci 0000:00:1c.0:   bridge window [io  0x2000-0x2fff]
[    0.529589] pci 0000:00:1c.0:   bridge window [mem 0xd0100000-0xd02fffff]
[    0.529592] pci 0000:00:1c.0:   bridge window [mem 0xd0300000-0xd04fffff 64bit pref]
[    0.529597] pci 0000:00:1c.1: PCI bridge to [bus 04]
[    0.529601] pci 0000:00:1c.1:   bridge window [mem 0xf1100000-0xf11fffff]
[    0.529608] pci 0000:00:1c.5: PCI bridge to [bus 0a]
[    0.529611] pci 0000:00:1c.5:   bridge window [mem 0xf1000000-0xf10fffff]
[    0.529619] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    0.529620] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    0.529621] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[    0.529622] pci_bus 0000:00: resource 7 [mem 0xd0000000-0xfebfffff window]
[    0.529623] pci_bus 0000:00: resource 8 [mem 0xfed40000-0xfed4bfff window]
[    0.529624] pci_bus 0000:03: resource 0 [io  0x2000-0x2fff]
[    0.529625] pci_bus 0000:03: resource 1 [mem 0xd0100000-0xd02fffff]
[    0.529626] pci_bus 0000:03: resource 2 [mem 0xd0300000-0xd04fffff 64bit pref]
[    0.529627] pci_bus 0000:04: resource 1 [mem 0xf1100000-0xf11fffff]
[    0.529628] pci_bus 0000:0a: resource 1 [mem 0xf1000000-0xf10fffff]
[    0.529712] NET: Registered protocol family 2
[    0.529858] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
[    0.529959] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    0.530064] TCP: Hash tables configured (established 65536 bind 65536)
[    0.530094] UDP hash table entries: 4096 (order: 5, 131072 bytes)
[    0.530115] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes)
[    0.530166] NET: Registered protocol family 1
[    0.530176] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    0.530685] PCI: CLS 64 bytes, default 64
[    0.530719] Unpacking initramfs...
[    0.623231] Freeing initrd memory: 6632K
[    0.623851] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.623853] software IO TLB [mem 0xbbad9000-0xbfad9000] (64MB) mapped at [ffff8800bbad9000-ffff8800bfad8fff]
[    0.624023] Scanning for low memory corruption every 60 seconds
[    0.624511] Initialise system trusted keyrings
[    0.624552] workingset: timestamp_bits=40 max_order=21 bucket_order=0
[    0.625499] zbud: loaded
[    0.626030] Key type asymmetric registered
[    0.626042] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.626070] io scheduler noop registered (default)
[    0.626071] io scheduler deadline registered
[    0.626097] io scheduler cfq registered
[    0.626098] io scheduler mq-deadline registered
[    0.626511] efifb: probing for efifb
[    0.626520] efifb: framebuffer at 0xe0000000, using 1200k, total 1200k
[    0.626521] efifb: mode is 640x480x32, linelength=2560, pages=1
[    0.626521] efifb: scrolling: redraw
[    0.626522] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    0.627215] Console: switching to colour frame buffer device 80x30
[    0.627827] fb0: EFI VGA frame buffer device
[    0.627832] intel_idle: MWAIT substates: 0x11142120
[    0.627833] intel_idle: v0.4.1 model 0x3D
[    0.627835] intel_idle: max_cstate 1 reached
[    0.627906] intel_idle: lapic_timer_reliable_states 0xffffffff
[    0.628083] GHES: HEST is not enabled!
[    0.628139] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.628445] Linux agpgart interface v0.103
[    0.628682] rtc_cmos 00:02: RTC can wake from S4
[    0.628799] rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0
[    0.628829] rtc_cmos 00:02: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
[    0.628838] intel_pstate: Intel P-state driver initializing
[    0.628978] ledtrig-cpu: registered to indicate activity on CPUs
[    0.629461] NET: Registered protocol family 10
[    0.636074] Segment Routing with IPv6
[    0.636114] NET: Registered protocol family 17
[    0.636647] microcode: sig=0x306d4, pf=0x40, revision=0x24
[    0.636745] microcode: Microcode Update Driver: v2.2.
[    0.636966] registered taskstats version 1
[    0.636980] Loading compiled-in X.509 certificates
[    0.637012] zswap: loaded using pool lzo/zbud
[    0.638060]   Magic number: 9:49:337
[    0.638081] tty tty58: hash matches
[    0.638193] rtc_cmos 00:02: setting system clock to 2017-07-01 16:18:08 UTC (1498925888)
[    0.638327] PM: Hibernation image not present or could not be loaded.
[    0.640865] Freeing unused kernel memory: 1304K
[    0.640867] Write protecting the kernel read-only data: 10240k
[    0.641752] Freeing unused kernel memory: 1692K
[    0.641849] Freeing unused kernel memory: 28K
[    0.678614] random: systemd-tmpfile: uninitialized urandom read (16 bytes read)
[    0.679724] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    0.679770] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    0.680445] random: udevadm: uninitialized urandom read (16 bytes read)
[    0.680458] random: udevadm: uninitialized urandom read (16 bytes read)
[    0.682129] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    0.682141] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    0.682145] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    0.682288] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    0.682298] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    0.696999] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[    0.698772] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.698813] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.702511] ACPI: bus type USB registered
[    0.702525] usbcore: registered new interface driver usbfs
[    0.702530] usbcore: registered new interface driver hub
[    0.702550] usbcore: registered new device driver usb
[    0.703286] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.703358] SCSI subsystem initialized
[    0.703742] ehci-pci: EHCI PCI platform driver
[    0.703840] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    0.703845] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[    0.704933] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0004b810
[    0.704940] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[    0.705147] hub 1-0:1.0: USB hub found
[    0.705161] hub 1-0:1.0: 11 ports detected
[    0.705281] libata version 3.00 loaded.
[    0.705930] ahci 0000:0a:00.0: version 3.0
[    0.706580] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    0.706585] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[    0.706726] hub 2-0:1.0: USB hub found
[    0.706735] hub 2-0:1.0: 4 ports detected
[    0.707605] ehci-pci 0000:00:1d.0: EHCI Host Controller
[    0.707610] ehci-pci 0000:00:1d.0: new USB bus registered, assigned bus number 3
[    0.707622] ehci-pci 0000:00:1d.0: debug port 2
[    0.711521] ehci-pci 0000:00:1d.0: cache line size of 64 is not supported
[    0.711538] ehci-pci 0000:00:1d.0: irq 23, io mem 0xf123c000
[    0.716466] ahci 0000:0a:00.0: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl SATA mode
[    0.716468] ahci 0000:0a:00.0: flags: 64bit ncq led clo only pio ccc 
[    0.716724] scsi host0: ahci
[    0.716782] ata1: SATA max UDMA/133 abar m8192@0xf1000000 port 0xf1000100 irq 43
[    0.717409] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[    0.721568] ehci-pci 0000:00:1d.0: USB 2.0 started, EHCI 1.00
[    0.721688] hub 3-0:1.0: USB hub found
[    0.721692] hub 3-0:1.0: 3 ports detected
[    1.024901] usb 1-2: new full-speed USB device number 2 using xhci_hcd
[    1.033030] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    1.034074] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[    1.034078] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[    1.034121] ata1.00: ACPI cmd ef/05:01:51:00:00:a0 (SET FEATURES) succeeded
[    1.034164] ata1.00: ACPI cmd ef/05:02:4c:00:00:a0 (SET FEATURES) succeeded
[    1.034362] ata1.00: ATA-9: SAMSUNG MZHPV256HDGL-000L1, BXW22L0Q, max UDMA/133
[    1.034365] ata1.00: 500118192 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[    1.034691] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[    1.034694] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[    1.034736] ata1.00: ACPI cmd ef/05:01:51:00:00:a0 (SET FEATURES) succeeded
[    1.034778] ata1.00: ACPI cmd ef/05:02:4c:00:00:a0 (SET FEATURES) succeeded
[    1.034977] ata1.00: configured for UDMA/133
[    1.035220] scsi 0:0:0:0: Direct-Access     ATA      SAMSUNG MZHPV256 2L0Q PQ: 0 ANSI: 5
[    1.041564] usb 3-1: new high-speed USB device number 2 using ehci-pci
[    1.073727] sd 0:0:0:0: [sda] 500118192 512-byte logical blocks: (256 GB/238 GiB)
[    1.073758] sd 0:0:0:0: [sda] Write Protect is off
[    1.073765] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    1.073826] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.075565]  sda: sda1 sda2 sda3
[    1.076375] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.110432] random: fast init done
[    1.162729] hidraw: raw HID events driver (C) Jiri Kosina
[    1.164776] usbcore: registered new interface driver usbhid
[    1.164777] usbhid: USB HID core driver
[    1.165234] input: RAPOO Rapoo 2.4G Wireless Device as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:24AE:1100.0001/input/input2
[    1.165280] hid-generic 0003:24AE:1100.0001: input,hidraw0: USB HID v1.10 Mouse [RAPOO Rapoo 2.4G Wireless Device] on usb-0000:00:14.0-2/input0
[    1.165405] hid-generic 0003:24AE:1100.0002: hiddev0,hidraw1: USB HID v1.10 Device [RAPOO Rapoo 2.4G Wireless Device] on usb-0000:00:14.0-2/input1
[    1.182116] hub 3-1:1.0: USB hub found
[    1.182202] hub 3-1:1.0: 8 ports detected
[    1.274901] usb 1-7: new full-speed USB device number 3 using xhci_hcd
[    1.381670] random: crng init done
[    1.628239] tsc: Refined TSC clocksource calibration: 2394.456 MHz
[    1.628248] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2283c236f90, max_idle_ns: 440795217409 ns
[    1.764839] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
[    1.801464] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.804894] systemd[1]: systemd 232 running in system mode. (+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    1.804983] systemd[1]: Detected architecture x86-64.
[    1.806079] systemd[1]: Set hostname to <oemer>.
[    1.845347] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    1.846440] systemd[1]: Listening on Process Core Dump Socket.
[    1.847825] systemd[1]: Created slice System Slice.
[    1.848979] systemd[1]: Mounting Huge Pages File System...
[    1.849733] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    1.850228] systemd[1]: Listening on LVM2 metadata daemon socket.
[    1.850705] systemd[1]: Listening on udev Control Socket.
[    1.864664] fuse init (API version 7.26)
[    1.865220] EXT4-fs (sda3): re-mounted. Opts: discard,data=ordered
[    1.890511] systemd-journald[180]: File /var/log/journal/4d6ec3ab73ed4008a2f8c7bf77e73ada/system.journal corrupted or uncleanly shut down, renaming and replacing.
[    1.936276] Adding 2097148k swap on /swapfile.  Priority:-1 extents:4 across:4202492k SSFS
[    1.962838] systemd-journald[180]: Received request to flush runtime journal from PID 1
[    2.124814] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input3
[    2.125059] ACPI: Lid Switch [LID]
[    2.125110] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input4
[    2.125113] ACPI: Sleep Button [SLPB]
[    2.125173] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input5
[    2.125175] ACPI: Power Button [PWRF]
[    2.131648] tpm_tis 00:05: 1.2 TPM (device-id 0x0, rev-id 78)
[    2.138962] Non-volatile memory driver v1.3
[    2.140023] ACPI: Battery Slot [BAT0] (battery present)
[    2.141610] ACPI: AC Adapter [AC] (on-line)
[    2.142370] thinkpad_acpi: ThinkPad ACPI Extras v0.25
[    2.142371] thinkpad_acpi: http://ibm-acpi.sf.net/
[    2.142371] thinkpad_acpi: ThinkPad BIOS N14ET35W (1.13 ), EC unknown
[    2.142372] thinkpad_acpi: Lenovo ThinkPad X1 Carbon 3rd, model 20BSCTO1WW
[    2.142457] wmi: Mapper loaded
[    2.142465] thinkpad_hwmon thinkpad_hwmon: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    2.142941] thinkpad_acpi: radio switch found; radios are enabled
[    2.143014] thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver
[    2.143014] thinkpad_acpi: Disabling thinkpad-acpi brightness events by default...
[    2.144762] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is unblocked
[    2.145170] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    2.147222] thermal LNXTHERM:00: registered as thermal_zone0
[    2.147223] ACPI: Thermal Zone [THM0] (60 C)
[    2.149742] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input6
[    2.157739] pps_core: LinuxPPS API ver. 1 registered
[    2.157741] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.159090] PTP clock support registered
[    2.163504] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    2.163505] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    2.165047] e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[    2.214919] tpm tpm0: A TPM error (6) occurred attempting to read a pcr value
[    2.215432] tpm tpm0: TPM is disabled/deactivated (0x6)
[    2.310440] input: PC Speaker as /devices/platform/pcspkr/input/input8
[    2.341864] RAPL PMU: API unit is 2^-32 Joules, 4 fixed counters, 655360 ms ovfl timer
[    2.341865] RAPL PMU: hw unit of domain pp0-core 2^-14 Joules
[    2.341866] RAPL PMU: hw unit of domain package 2^-14 Joules
[    2.341866] RAPL PMU: hw unit of domain dram 2^-14 Joules
[    2.341866] RAPL PMU: hw unit of domain pp1-gpu 2^-14 Joules
[    2.346036] AVX2 version of gcm_enc/dec engaged.
[    2.346037] AES CTR mode by8 optimization enabled
[    2.377572] intel_rapl: Found RAPL domain package
[    2.377574] intel_rapl: Found RAPL domain core
[    2.377575] intel_rapl: Found RAPL domain uncore
[    2.377575] intel_rapl: Found RAPL domain dram
[    2.379303] e1000e 0000:00:19.0 0000:00:19.0 (uninitialized): registered PHC clock
[    2.458418] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) 54:ee:75:74:80:ab
[    2.458425] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[    2.458460] e1000e 0000:00:19.0 eth0: MAC: 11, PHY: 12, PBA No: 1000FF-0FF
[    2.458495] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[    2.462448] [drm] Memory usable by graphics device = 4096M
[    2.462451] checking generic (e0000000 12c000) vs hw (e0000000 10000000)
[    2.462452] fb: switching to inteldrmfb from EFI VGA
[    2.462553] Console: switching to colour dummy device 80x25
[    2.462617] [drm] Replacing VGA console driver
[    2.472081] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.472083] [drm] Driver supports precise vblank timestamp query.
[    2.474308] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    2.475968] Intel(R) Wireless WiFi driver for Linux
[    2.475970] Copyright(c) 2003- 2015 Intel Corporation
[    2.477984] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-7265D-28.ucode failed with error -2
[    2.479370] iwlwifi 0000:04:00.0: capa flags index 3 larger than supported by driver
[    2.479605] iwlwifi 0000:04:00.0: loaded firmware version 27.455470.0 op_mode iwlmvm
[    2.482639] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC3232: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    2.482642] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    2.482644] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
[    2.482645] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    2.482646] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    2.482648] snd_hda_codec_realtek hdaudioC1D0:      Mic=0x1a
[    2.482649] snd_hda_codec_realtek hdaudioC1D0:      Internal Mic=0x12
[    2.506141] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card1/input9
[    2.506757] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input10
[    2.506803] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card1/input11
[    2.518392] iwlwifi 0000:04:00.0: Detected Intel(R) Dual Band Wireless AC 7265, REV=0x210
[    2.520716] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[    2.521173] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[    2.524060] [drm] Initialized i915 1.6.0 20170123 for 0000:00:02.0 on minor 0
[    2.528141] ACPI: Video Device [VID] (multi-head: yes  rom: no  post: no)
[    2.528509] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input12
[    2.532218] e1000e 0000:00:19.0 enp0s25: renamed from eth0
[    2.539386] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    2.539767] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    2.539919] i801_smbus 0000:00:1f.3: SPD Write Disable is set
[    2.539942] i801_smbus 0000:00:1f.3: SMBus using PCI interrupt
[    2.550031] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input13
[    2.550086] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input14
[    2.550135] input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card0/input15
[    2.550187] input: HDA Intel HDMI HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.0/sound/card0/input16
[    2.550234] input: HDA Intel HDMI HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:03.0/sound/card0/input17
[    2.555025] fbcon: inteldrmfb (fb0) is primary device
[    2.572066] iTCO_vendor_support: vendor-support=0
[    2.572539] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
[    2.572577] iTCO_wdt: Found a Wildcat Point_LP TCO device (Version=2, TCOBASE=0x1860)
[    2.572863] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[    2.596401] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[    2.596664] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    2.596684] thermal thermal_zone3: failed to read out thermal zone (-5)
[    2.603162] iwlwifi 0000:04:00.0 wlp4s0: renamed from wlan0
[    2.641593] clocksource: Switched to clocksource tsc
[    3.074247] psmouse serio1: synaptics: queried max coordinates: x [..5676], y [..4758]
[    3.104175] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1096..]
[    3.158432] psmouse serio1: synaptics: Touchpad model: 1, fw: 8.1, id: 0x1e2b1, caps: 0xf003a3/0x943300/0x12e800/0x10000, board id: 3072, fw id: 1795685
[    3.158444] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0
[    3.193172] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input7
[    3.196072] mousedev: PS/2 mouse device common for all mice
[    3.212812] Bluetooth: Core ver 2.22
[    3.212827] NET: Registered protocol family 31
[    3.212828] Bluetooth: HCI device and connection manager initialized
[    3.212830] Bluetooth: HCI socket layer initialized
[    3.212831] Bluetooth: L2CAP socket layer initialized
[    3.212834] Bluetooth: SCO socket layer initialized
[    3.215532] usbcore: registered new interface driver btusb
[    3.233213] Bluetooth: hci0: read Intel version: 370810011003110e00
[    3.234176] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
[    3.498226] Bluetooth: hci0: Intel Bluetooth firmware patch completed and activated
[    3.603588] [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS.
[    3.608893] Console: switching to colour frame buffer device 320x90
[    3.640777] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    3.802823] psmouse serio2: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
[    3.855508] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.855509] Bluetooth: BNEP filters: protocol multicast
[    3.855512] Bluetooth: BNEP socket layer initialized
[    3.992311] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio2/input/input18
[    4.532546] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[    4.745029] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[    4.748628] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready
[    4.750982] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[    4.751439] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[    4.816602] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[    4.817064] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[    4.833374] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready
[    4.840926] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[    4.841389] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[    4.906661] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[    4.907126] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[    4.923376] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready
[    4.995461] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready
[    8.738440] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready
[    9.651185] wlp4s0: authenticate with c4:e9:84:81:49:3f
[    9.658809] wlp4s0: send auth to c4:e9:84:81:49:3f (try 1/3)
[    9.663832] wlp4s0: authenticated
[    9.664818] wlp4s0: associate with c4:e9:84:81:49:3f (try 1/3)
[    9.668459] wlp4s0: RX AssocResp from c4:e9:84:81:49:3f (capab=0x431 status=0 aid=2)
[    9.670035] wlp4s0: associated
[    9.670063] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
[   74.052199] Bluetooth: RFCOMM TTY layer initialized
[   74.052205] Bluetooth: RFCOMM socket layer initialized
[   74.052209] Bluetooth: RFCOMM ver 1.11
Comment 20 Oemer 2017-08-10 09:47:48 UTC
> does intel_idle.max_cstate=2 also work?
> (if yes, what is the lowest number here that fails?)

the lowest number that can fail is max_cstate=3
Comment 21 Matthew Horan 2017-09-17 15:03:42 UTC
Setting max_cstate=1 seems to have resolved issues with my 3rd generation Thinkpad X1 Carbon as well, with the side effect that I only get about an hour of battery life. I was seeing daily (sometimes multiple) lockups befire, and now I haven't seen a lockup in weeks.
Comment 22 Josep Pujadas-Jubany 2017-11-21 20:08:39 UTC
Script https://bugzilla.kernel.org/attachment.cgi?id=223851 permits to disable C6 states.

The code is written for Baytrail processors. Just change

C6*-BYT)
C7*-BYT)

for

C6*-BYT|C6*-CHT)
C7*-BYT|C7*-CHT)

to include Cherrytrail / Braswell processors.

sudo ./c6off+c7on.sh

Script https://bugzilla.kernel.org/attachment.cgi?id=223861 shows the info for the c-states.

No changes needed.

./cstateInfo.sh

Testing (possible workaround) with these scripts Acer TravelMate B117M with Lubuntu 16.04 LTS 64 bit
Still having the problem as reported at https://bugzilla.kernel.org/show_bug.cgi?id=109051#c650

Limiting the c-states with grub it's a problem for saving battery. No power saving.
Comment 23 Len Brown 2018-10-18 01:41:34 UTC
Focusing on just BROADWELL, the subject of this bug report (Baytrail, Cherrytrail, Braswell comments should go to a different report)...

intel_idle.max_cstate=2 seems to make the problem go away, and
intel_idle.max_cstate=1 is NOT necessary, yes?

grep . /sys/devices/system/cpu/cpu0/cpuidle/*/*
in in the max_cstate=2 configuration should show:

POLL
C1
C1E

and it should NOT show

C3
C6
C7S
C8
C9
C10

Please show your BIOS version from
grep . /sys/class/dmi/id/*

And please verify that it is the latest BIOS from the system supplier.
Comment 24 Dzianis Bazhok 2018-11-09 21:45:31 UTC
Hi there!
I've noticed that my laptop are works with huge delay.
In top there is nothing special but load average is around 3-4 points.
My laptop is Dell XPS 13.
I've tried to analyze the reason and used to run perf to dig into the problem.
In the top of the calls there was intel_idle so I came hear for some help.
Comment 25 Dzianis Bazhok 2018-11-09 21:46:28 UTC
Created attachment 279399 [details]
dell xps 13 perf.svg
Comment 26 Dzianis Bazhok 2018-11-09 21:47:12 UTC
Created attachment 279401 [details]
dell xps 13 cpuinfo
Comment 27 Dzianis Bazhok 2018-11-09 21:48:13 UTC
~ uname -a
Linux deneb 4.19.0-gentoo #2 SMP Wed Oct 24 11:34:25 MSK 2018 x86_64 Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz GenuineIntel GNU/Linux
Comment 28 Dzianis Bazhok 2018-11-10 22:37:47 UTC
It seems that my delays are nothing about intel_idle, sorry for bother.
Looks like there is a bug somewhere in video rendering, but it's another story.
Comment 29 Kiko Piris 2018-12-23 17:39:01 UTC
I've also been experiencing the symptoms described in the bug report on my ThinkPad X1C3 for years now.

I've not been able to reproduce it consistently, my system hangs randomly (sometimes is a couple of days, sometimes is just some minutes or hours after boot). I also haven't been able to find what triggers it.

I'm testing, since a couple of days ago, disabling the apparently problematic cstates (either by booting with intel_idle.max_cstate=1 or 2 or by disabling C3, C6, C7s, C8, C9 and C10 with a script.

Please let me know anything I could do to provide any additional information to help fix this, it is really annoying.

Thanks.
Comment 30 Kiko Piris 2018-12-23 17:43:11 UTC
Created attachment 280129 [details]
cpuinfo
Comment 31 Kiko Piris 2018-12-23 17:43:50 UTC
Created attachment 280131 [details]
dmesg output
Comment 32 Frieder B 2019-03-18 15:20:31 UTC
I have the same symptoms as (In reply to Oemer from comment #0)
> I am creating a new ticket like someone suggested here:
> https://bugzilla.kernel.org/show_bug.cgi?id=109051#c641
> 
> Me and at least one person from that ticket can confirm a similar issue on
> broadwell systems. I am on an 3rd gen Thinkpad X1 and also suffer from
> occasional system freezes without any traces in logs. Of course i can't be
> 100% sure, but a hardware defect is unlikely, because my laptop's mainboard
> (along with ram) has been completely replaced recently and i was having the
> freezing problem before and after the replacement. 
> 
> An entry in the ArchWiki[1] brought me to the linked ticket above. I've
> added the suggested kernel option and the system did not freeze until now.
> 
> So at least for me this workaround seems to be fine.
> 
> 
> [1]:
> https://wiki.archlinux.org/index.php/Intel_graphics#X_freeze.
> 2Fcrash_with_intel_driver

I have the same issues. I have the same X1 Carbon 3rd generation than you:
[   30.482650] thinkpad_acpi: ThinkPad BIOS N14ET49W (1.27 ), EC unknown
[   30.482652] thinkpad_acpi: Lenovo ThinkPad X1 Carbon 3rd, model 20BSCTO1WW
running linux 5.0.2 kernel

If I set the 'nomodeset' boot parameter and therefore the laptop uses only vesa? display driver the laptop works without any freezes. I guess that the vesa driver is hindering some idle states from being entered in.

How can I help? What are the missing info?
Comment 33 Juliette Regimbal 2019-03-24 19:16:36 UTC
Have the same issue on my system with regular freezes and it seems to be fixed with max_cstate=2. Using an Intel i5-5200U (family 6, model 61, microcode 0x2b) with kernel 5.0.3.
Comment 34 Radu Rendec 2019-08-21 01:25:17 UTC
I have the same issue with regular freezes. Given the current 50 days uptime (including suspend/resume) with max_cstate=2, I believe I can safely assume that it fixes the issue for me.

My CPU is:

cpu family	: 6
model		: 61
model name	: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
stepping	: 4
microcode	: 0x2d

The machine is a Lenovo ThinkPad T450. BIOS (as shown by dmidecode) is:

        Vendor: LENOVO
        Version: JBET72WW (1.36 )
        Release Date: 02/23/2019

Currently running 5.1.11-200.fc29.x86_64, although I could reproduce the issue on several older distribution kernels as well.

Is there anything I could do to help debug this? Obviously the workaround has a significant impact on battery time, so I would love to see the issue fixed.
Comment 35 Manu Eder 2019-09-01 15:43:09 UTC
I am also seeing the symptoms described here.
I'm also on a Lenovo Thinkpad (T450s) with a Broadwell CPU:

cpu family	: 6
model		: 61
model name	: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz
stepping	: 4
microcode	: 0x2d

BIOS Information
        Vendor: LENOVO
        Version: JBET72WW (1.36 )
        Release Date: 02/23/2019

I also get random freezes without max_cstate=2 and no freezes with it.

Given the recent progress in
https://bugzilla.kernel.org/show_bug.cgi?id=109051#c1000
and the comments in the referenced commit
https://cgit.freedesktop.org/drm-intel/commit/?id=a75d035fedbdecf83f86767aa2e4d05c8c4ffd95
I am hopeful: is there an analogue of what that patch-series does for Valleyview-systems for Broadwell?

I quote from a comment in intel_sideband.c:
"Hence we presume the workaround needs only be applied to the Valleyview P-unit and not all sideband communications."
Would it be easy to create a version that applies the workaround "to all sideband communications", so that we could try if that fixes it on our systems?
Comment 36 sep 2019-09-17 20:11:29 UTC
I have the same symptoms: 
- Random lock ups. 
- Nothing in the journal.  
- The option 'intel_idle.max_cstate=2' in the kernel command helps. Then the lock ups are gone (for months). 

Recently I have been trying several kernels; 4.14.68 until 5.3.rc8. The 4.14.139 kernel feels like the lock-ups occur less. Also the 5.3.rc8 was good for some days without a lock up. This could just be statistics playing a role here, so i am not sure if these kernel versions are really better. I am also under the impression that hibernating the system also prevents lock ups. But again, given that the lock ups occur random, i am not sure this is real.

The lock-ups occur mostly when playing video from Youtube. But also sometimes by just using Emacs. This was also the case in 2017 i read in the beginning of this bug report. 


The a75d035fedbdecf83f86767aa2e4d05c8c4ffd95 commit is present in the 5.3.x kernel. I was therefore hopeful, but i still got a lock up in the rc8 version of  the 5.3.x kernel serie, although i used it for 4 day's without a lock up (hibernating a lot in between).  

Hopefully someone will find the solution. This laptop reports 30 hours of usage when fully charged. With the intel_idle.max_cstate=2 kernel command line option this is less than half of that. 

I am also not sure if this is a BIOS related bug or a Kernel related one.  


Below some information about the machine

> cat /proc/cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 61
model name	: Intel(R) Core(TM) i3-5005U CPU @ 2.00GHz
stepping	: 4
microcode	: 0x2d

Broadwell processor

Dell 7310 13" Lulu chromebook
System         = GOOGLE 1.0 Lulu
BIOS           = MrChromebox-4.9
Release        = openSUSE Tumbleweed



The status is still "NEEDINFO" If there is something i can do to help. Let me know.
Comment 37 Christian Bianchi 2019-09-23 09:09:58 UTC
For everybody's information, I tried removing the intel_idle.max_cstate = 2 flag on the new 5.3 kernel which apparently had some related merges applied.
Got a hang in less than 2 hours.
Comment 38 sep 2019-10-09 19:34:23 UTC
I find that kernels of version 4.18.x and before all work fine. Kernel 4.19.x and older does work fine only with the 'intel_idle.max_cstate=2' kernel parameter. Could someone verify this?



Kernel 4.19 was introduced at 22-10-2018. So this would be a new bug, since the first report in this log is from 2017. 


I can still have a lock-up with kernels 4.18 and older, but these are rare. Kernels of version 4.19 and older give a lock up usually within 1 hour of playing YouTube. Sometimes within a minute, sometimes it is stable for more than 2 hours.  


I have also found that there only need to just limit the C-states of one core, to make the system stable with the newer kernels. Below a script to do just that. 

> #! /bin/bash
> echo 1 > /sys/devices/system/cpu/cpu0/cpuidle/state3/disable
> echo 1 > /sys/devices/system/cpu/cpu0/cpuidle/state4/disable
> echo 1 > /sys/devices/system/cpu/cpu0/cpuidle/state5/disable
> echo 1 > /sys/devices/system/cpu/cpu0/cpuidle/state6/disable
> echo 1 > /sys/devices/system/cpu/cpu0/cpuidle/state7/disable
> echo 1 > /sys/devices/system/cpu/cpu0/cpuidle/state8/disable

To see what the effect is, run the command below before and after running the script:
> cpupower monitor -m Idle_Stats
Comment 39 sep 2019-10-09 20:46:05 UTC
Below the results of some testing on the kernel versions.
The time the system remains stable drops when the kernel versions increase. Above version 4.19 this time is lower than before.

I usually did not test until a lock up. Therefore the conclusion is sometimes 'no lock-up' after only 0,25 hours of testing.

I have only included the results i kept track of. I also tested the 4.14.139 kernel much more and also the 5.3-rc8 kernel, but since i did not write the results down. These are not in the list. 

Most of the tests (all?) are with YouTube playing something.

Based on these results i think it got worse from the kernel 4.19 version and above. 


=================================
version    test-time    result
=================================
4.4.6      1    hour    no lock-up
4.4.100    1    hour    no lock-up
4.14.139   6    hour    no lock-up
4.14.139   2    hour    no lock-up
4.8.1      1    hour    no lock-up
4.10.1     1    hour    no lock-up
4.14.1     0,25 hour    no lock-up
4.17.1     4    hour    no lock-up
4.18.0_rc1 0,01 hour    lock-up
4.18.0_rc1 2    hour    no lock-up
4.18.0_rc7 2,5  hour    no lock-up
4.18.0     1    hour    no lock-up
4.18.0     0,42 hour    no lock-up
4.18.0     0,7  hour    no lock-up
4.18.0     0,43 hour    no lock-up
4.18.0     4,83 hour    no lock-up
4.18.1     0,37 hour    lock-up
4.18.1     6,5  hour    no lock-up
4.18.1     2,58 hour    lock-up
4.18.1     0,03 hour    lock-up
4.18.5	   0,42 hour    no lock-up
4.18.20    1,5  hour    no lock-up
4.18.20    3,42 hour    lock up
4.18.20    1,42 hour    no lock-up
4.18.20    0,52 hour    lock up
4.18.20    4,5  hour    lock up
4.19.0-rc1 0,18 hour    lock-up
4.19.0-rc1 0,48 hour    no lock-up
4.19.0-rc1 0,37 hour    lock-up
4.19.0-rc1 0,03 hour    lock-up
4.19.0-rc1 0,37 hour    lock-up
4.19.0     2    hour    no lock-up
4.19.0     0,18 hour    lock-up
4.19.0     0,10 hour    lock-up
4.19.0     0,58 hour    no lock-up
4.19.0     0,1  hour    lock-up
4.19.0     0,12 hour    lock-up
4.19.0     0,42 hour    no lock-up
4.19.1     0,48 hour    no lock-up
4.19.1     0,17 hour    lock-up
4.19.1     0,28 hour    lock-up
4.19.1     0,1  hour    lock-up
4.19.2     0,1  hour    lock-up
4.19.2     0,1  hour    lock-up
4.19.2     0,1  hour    lock-up
4.19.2     0,48 hour    lock-up
4.19.13    0,1  hour    lock-up
4.20.4     0,03 hour    lock-up
5.1.16     0,01 hour    lock-up
5.2.10     0,1  hour    lock-up
5.2.10     0,97 hour    lock-up
Comment 40 sep 2019-10-12 19:19:27 UTC
I found an other solution. My 'link power management policy' was set to 'Medium power with Device Initiated PM enabled'. I checked this with the following command:

> cat  /sys/class/scsi_host/host0/link_power_management_policy
med_power_with_dipm

If i change this to 'Medium power' or 'Maximum performance' the stability improves a lot. With Maximum performance there was no freeze for 6 hours of YouTube running the 5.2.10 kernel. Normally i got a lock up within 20 minuts, so this is a big improvement. It might even be stable, but i will know for sure after a week or 2 of testing. 

To change the link power management policy to max_performance:
# echo max_performance > /sys/class/scsi_host/host0/link_power_management_policy

the policy 'min_power' and 'med_power_with_dipm' both gave me lock ups / freezes. The policy 'medium power' and 'max_performance' both looked stable.

The max_performance policy can also be set with the kernel parameter: ahci.mobile_lpm_policy=1

Note that the default option:
kernel parameter: 'ahci.mobile_lpm_policy=0' or 
.config compile option: CONFIG_SATA_MOBILE_LPM_POLICY=0  or 
'Keep firmware settings' 
in my case lead to freezes / lock ups. Then limiting the C-states helps.

Note that the 'tlp-linux-advanced-power-management' advises to set the link power management policy to med_power_with_dipm. I use tpl and changed the link power management policy in there to 'medium power'. On my computer this is the file '/etc/default/tlp'

This idea to change the link power management policy came from:
https://bugzilla.redhat.com/show_bug.cgi?id=1571330

If this option also helps on your system, we know we are talking about the same bug.