GPIO error logs in start and dmesg after update of kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
AceLan Kao | ||
Hirsute |
Fix Released
|
Medium
|
AceLan Kao | ||
Impish |
Fix Released
|
Undecided
|
AceLan Kao |
Bug Description
[Impact]
After upgrade kernel to 5.11.0-25 which introduce some ODM patches from AAEON, user encounters below errors
[ 5.852182] gpio gpiochip2: (gpio_aaeon): tried to insert a GPIO chip with zero lines
[ 5.852187] gpiochip_
[ 5.852194] gpio-aaeon: probe of gpio-aaeon.0 failed with error -22
[Fix]
AAEON provides a patch to check the BFPI version before loading the driver.
Which fixes the issue introduced by
Hirsute:
45a8bb8699cc UBUNTU: ODM: mfd: Add support for IO functions of AAEON devices
Impish:
424945128781 UBUNTU: ODM: mfd: Add support for IO functions of AAEON devices
[Test]
Verified by AAEON.
[Where problems could occur]
It adds a check while probing the driver, should have no impact to normal user.
=======
After update from kernel 5.11.0-22 to 5.11.0-25 i see next logs error to gpio:
5.852182] gpio gpiochip2: (gpio_aaeon): tried to insert a GPIO chip with zero lines
[ 5.852187] gpiochip_
[ 5.852194] gpio-aaeon: probe of gpio-aaeon.0 failed with error -22
On pc:
description: Desktop Computer
product: System Product Name (SKU)
vendor: ASUS
version: System Version
serial: System Serial Number
width: 64 bits
capabilities: smbios-3.3.0 dmi-3.3.0 smp vsyscall32
configuration: boot=normal chassis=desktop family=To be filled by O.E.M. sku=SKU uuid=0ABCA172-
*-core
description: Motherboard
product: TUF GAMING B550M-PLUS (WI-FI)
vendor: ASUSTeK COMPUTER INC.
physical id: 0
version: Rev X.0x
serial: 201176738701636
slot: Default string
*-firmware
vendor: American Megatrends Inc.
physical id: 0
version: 2403
date: 06/16/2021
size: 64KiB
capacity: 16MiB
*-memory
CVE References
description: | updated |
Changed in linux (Ubuntu Hirsute): | |
status: | New → In Progress |
Changed in linux (Ubuntu Impish): | |
status: | Confirmed → In Progress |
Changed in linux (Ubuntu Hirsute): | |
assignee: | nobody → AceLan Kao (acelankao) |
Changed in linux (Ubuntu Impish): | |
assignee: | nobody → AceLan Kao (acelankao) |
description: | updated |
Changed in linux (Ubuntu Hirsute): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Hirsute): | |
status: | Fix Committed → Fix Released |
tags: |
added: verification-failed-focal removed: verification-needed-focal |
Status changed to 'Confirmed' because the bug affects multiple users.