Commit 06fb4ecfeac7 ("gpio: Request interrupts after IRQ is
initialized") in v5.18-rc4 fixes this issue and has been CC stable to
v5.17.5, v5.15.37.Affected kernels are v5.17.3, v5.16.20, v5.15.35, or: * Ubuntu-unstable-5.17.0-8.8 * Ubuntu-hwe-5.17-5.17.0-8.8_22.04.2 * Ubuntu-oem-5.17-5.17.0-1004.4 * Ubuntu-oem-5.14-5.14.0-1035.38 * Ubuntu-5.15.0-29.30 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1971597 Title: amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x0000 to IRQ, err -517 Status in HWE Next: New Status in linux package in Ubuntu: Invalid Status in linux-oem-5.14 package in Ubuntu: Invalid Status in linux-oem-5.17 package in Ubuntu: Invalid Status in linux source package in Focal: Invalid Status in linux-oem-5.14 source package in Focal: Confirmed Status in linux-oem-5.17 source package in Focal: Invalid Status in linux source package in Jammy: Confirmed Status in linux-oem-5.14 source package in Jammy: Invalid Status in linux-oem-5.17 source package in Jammy: Confirmed Bug description: Commit 5467801f1fcb ("gpio: Restrict usage of GPIO chip irq members before initialization") attempted to fix a race condition that lead to a NULL pointer, but in the process caused a regression for _AEI/_EVT declared GPIOs. This manifests in messages showing deferred probing while trying to allocate IRQs like so: amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x0000 to IRQ, err -517 amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x002C to IRQ, err -517 amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x003D to IRQ, err -517 [ .. more of the same .. ] The code for walking _AEI doesn't handle deferred probing and so this leads to non-functional GPIO interrupts. To manage notifications about this bug go to: https://bugs.launchpad.net/hwe-next/+bug/1971597/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp

