The following workarounds solve the problem on my system:
a) remove the PCI express card from the system, or
b) disable the PCI express power management in the Lenovo X220i's BIOS
Another option is to use a kernel that reverts commit 8466489ef5ba48272ba4fa4ea9f8f403306de4c7, although the correct solution would be to investigate and fix the power management issues which trigger this problem.
I am still seeing this issues with 4.13.0-16. Ultimately this problem (at least in my case) seems to be a PCI express power management issue (see https:/ /www.spinics. net/lists/ linux-pci/ msg64778. html).
The following workarounds solve the problem on my system:
a) remove the PCI express card from the system, or
b) disable the PCI express power management in the Lenovo X220i's BIOS
Another option is to use a kernel that reverts commit 8466489ef5ba482 72ba4fa4ea9f8f4 03306de4c7, although the correct solution would be to investigate and fix the power management issues which trigger this problem.