FS#61737 - [linux]i2c-designware stops working after hibernation

Attached to Project: Arch Linux
Opened by antonio c censi (accensi) - Wednesday, 13 February 2019, 00:17 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 01 March 2022, 21:34 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
i2c-designware stops working after hibernation (S4)

Additional info:
Linux ACC-7348 4.20.7-arch1-1-ARCH #1 SMP PREEMPT Wed Feb 6 18:42:40 UTC 2019 x86_64 GNU/Linux
* config and/or log files etc.

HW:
Dell Inspiron 7000 (Model 7248) i7

$ cat /proc/cmdline
initrd=\intel-ucode.img initrd=\initramfs-linux.img root=/dev/sda9 resume=/dev/sda9 resume_offset=1128448


Steps to reproduce:
- Hibernate
- On resume
Feb 12 07:33:12 ACC-7348 kernel: i2c_designware INT3433:00: timeout in disabling adapter
Feb 12 07:33:12 ACC-7348 kernel: usb usb2: root hub lost power or was reset
Feb 12 07:33:12 ACC-7348 kernel: usb usb3: root hub lost power or was reset
Feb 12 07:33:12 ACC-7348 kernel: ACPI: EC: event unblocked
Feb 12 07:33:12 ACC-7348 kernel: ACPI: button: The lid device is not compliant to SW_LID.
Feb 12 07:33:12 ACC-7348 kernel: usb usb1: root hub lost power or was reset
Feb 12 07:33:12 ACC-7348 kernel: ehci-pci 0000:00:1d.0: cache line size of 64 is not supported
Feb 12 07:33:12 ACC-7348 kernel: sd 0:0:0:0: [sda] Starting disk
Feb 12 07:33:12 ACC-7348 kernel: i2c_designware INT3433:00: timeout waiting for bus ready
Feb 12 07:33:12 ACC-7348 kernel: i2c_hid i2c-DLL0675:00: failed to change power setting.
Feb 12 07:33:12 ACC-7348 kernel: dpm_run_callback(): i2c_hid_resume+0x0/0x140 [i2c_hid] returns -110
Feb 12 07:33:12 ACC-7348 kernel: PM: Device i2c-DLL0675:00 failed to restore async: error -110
Feb 12 07:33:12 ACC-7348 kernel: i2c_designware INT3433:00: timeout waiting for bus ready
Feb 12 07:33:12 ACC-7348 kernel: i2c_designware INT3433:00: timeout waiting for bus ready
Feb 12 07:33:12 ACC-7348 kernel: i2c_designware INT3433:00: timeout waiting for bus ready
Feb 12 07:33:12 ACC-7348 kernel: i2c_designware INT3433:00: timeout waiting for bus ready
Feb 12 07:33:12 ACC-7348 kernel: i2c_designware INT3433:00: timeout waiting for bus ready
Feb 12 07:33:12 ACC-7348 kernel: i2c_designware INT3433:00: timeout waiting for bus ready
Feb 12 07:33:12 ACC-7348 kernel: i2c_designware INT3433:00: timeout waiting for bus ready

The log is floaded with several entries per minute.

In previous kernels, with kernel option initcall_blacklist=i2c_dw_init_master, the i2c was ignored and the problem had an workaround. Now that it is embedded in kernel and the option did not hides the problem.

In Ubuntu Launchpad there is a similar bug, but for the CHT platform:
https://bugs.launchpad.net/ubuntu/+source/linux-oem/+bug/1810223

The proposal is to revert the changes of Dec'2018.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 01 March 2022, 21:34 GMT
Reason for closing:  No response
Comment by loqs (loqs) - Wednesday, 13 February 2019, 00:37 GMT
02e45646d53bdb38bfb47b83765778d3ecb4d3b3 and 422cb781e0d0f81789a1cc0f2171611028450f09 from 4.16 reverted? (I could not find the short commit ids from the Ubuntu bug report in linux mainline or stable)
Have you reported the issue upstream e.g. linux-i2c@vger.kernel.org ?
Is the issue still present in 5.0-rc6 with the config arch is currently using?
As 02e45646d53bdb38bfb47b83765778d3ecb4d3b3 and 422cb781e0d0f81789a1cc0f2171611028450f09 do not revert cleanly how are you resolving the merge conflict?
After you built the kernel with those two reverts did that resolve the issue?
Comment by Andreas Radke (AndyRTR) - Tuesday, 10 December 2019, 16:22 GMT
Is this still an issue?

Loading...