intel / intel/usbio-drivers

Kernel freeze upon suspendig devices during hibernation to disk

Open
#37 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
13
Forks
16
PR merge metrics
No merged PRs in 30d

Description

The modules cause a kernel freeze when the kernel requests all drivers to suspend the devices during hibernation of disk.

When the modules `gpio_usbio `, `i2c_usbio` and `usbio` are loaded, kernel 6.14.8 freezes during device suspension. I did a binary search over all loaded modules and repeatedly run
```
echo devices > /sys/power/pm_test
echo disk > /sys/power/state
```
as described in [Kernel Docs: Debugging Hibernation and Suspend](https://docs.kernel.org/power/basic-pm-debugging.html). I was able to identify these three modules as the culprits.

My dmesg output

```
$ dmesg -t | egrep -i 'gpio|ipu|regulator|ov08x40|usbio'
usbio: loading out-of-tree module taints kernel.
usbio-bridge 3-9:1.0: bank:0 map:0x0000001f
usbio-bridge 3-9:1.0: bank:1 map:0x0000001f
usbio-bridge 3-9:1.0: bank:2 map:0x0000001f
usbio-bridge 3-9:1.0: bank:3 map:0x00000001
usbio-bridge 3-9:1.0: USB Bridge device init success
usbcore: registered new interface driver usbio-bridge
usbio-i2c usbio-i2c.29.auto: hid INTC1008 uid 0 new uid1
intel-ipu6 0000:00:05.0: enabling device (0000 -> 0002)
Loading firmware: intel/ipu/ipu6epmtl_fw.bin
intel-ipu6 0000:00:05.0: Found supported sensor OVTI08F4:00
intel-ipu6 0000:00:05.0: Connected 1 cameras
intel-ipu6 0000:00:05.0: Sending BOOT_LOAD to CSE
ov08x40 i2c-OVTI08F4:00: supply dovdd not found, using dummy regulator
ov08x40 i2c-OVTI08F4:00: supply avdd not found, using dummy regulator
ov08x40 i2c-OVTI08F4:00: supply dvdd not found, using dummy regulator
intel-ipu6 0000:00:05.0: Sending AUTHENTICATE_RUN to CSE
intel-ipu6 0000:00:05.0: CSE authenticate_run done
intel-ipu6 0000:00:05.0: IPU6-v4[7d19] hardware version 6
```

Uname: `Linux 6.14.8-gentoo #2 SMP PREEMPT_DYNAMIC Sun May 25 14:28:55 CEST 2025 x86_64 Intel(R) Core(TM) Ultra 5 125U GenuineIntel GNU/Linux`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.