APPLIED[Jammy]: [PATCH 0/1][SRU][OEM-5.14/OEM-5.17/Jammy] gpio: Request interrupts after IRQ is initialized
Stefan Bader
stefan.bader at canonical.com
Thu May 5 13:00:00 UTC 2022
On 04.05.22 19:18, You-Sheng Yang wrote:
> 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(-)
>
Applied to jammy:linux/master-next. Thanks.
-Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20220505/901dc3ca/attachment.sig>
More information about the kernel-team
mailing list