[PATCH 0/1][SRU][OEM-5.14/OEM-5.17/Jammy] gpio: Request interrupts after IRQ is initialized
You-Sheng Yang
vicamo.yang at canonical.com
Wed May 4 17:18:28 UTC 2022
From: "You-Sheng Yang (vicamo)" <vicamo.yang at canonical.com>
BugLink: https://bugs.launchpad.net/bugs/1971597
[Impact]
Failed to initialize gpio on AMD Barcelo/Rembrandt platforms:
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 .. ]
[Fix]
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.
[Test Case]
Apply and reboot to check gpio init messages.
[Where problems could occur]
No.
[Other Info]
This affects kernels with commit 5467801f1fcb ("gpio: Restrict usage of
GPIO chip irq members before initialization") back ported. Unstable has
been rebased to v5.18-rc5, so it has this fix already.
Mario Limonciello (1):
gpio: Request interrupts after IRQ is initialized
drivers/gpio/gpiolib.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--
2.34.1
More information about the kernel-team
mailing list