realtek: clear spurious GPIO interrupts
authorSander Vanheule <sander@svanheule.net>
Thu, 21 Jul 2022 20:43:39 +0000 (22:43 +0200)
committerSander Vanheule <sander@svanheule.net>
Thu, 21 Jul 2022 20:44:01 +0000 (22:44 +0200)
commita3e49499981487eb0e5e7706ba5bc972b98859a0
tree5e353ad224da800e3d619bbd6a912f6e092ccc8d
parenta0b7fef0ffe4cd9cca39a652a37e4f3ce8f0a681
realtek: clear spurious GPIO interrupts

The interrupt controller in the internal GPIO peripheral will sometimes
generate spurious interrupts. If these are not properly acknowledged, the
system will be held busy until reboot. These spurious interrupts are identified
by the fact that there is no system IRQ number associated, since the interrupt
line was never allocated. Although most prevalent on RTL839x, RTL838x SoCs have
also displayed this behaviour.

Reported-by: Luiz Angelo Daros de Luca <luizluca@gmail.com> # DGS-1210-52
Reported-by: Birger Koblitz <mail@birger-koblitz.de> # Netgear GS724TP v2
Reported-by: Jan Hoffmann <jan@3e8.eu> # HPE 1920-16G
Signed-off-by: Sander Vanheule <sander@svanheule.net>
target/linux/realtek/patches-5.10/317-gpio-realtek-otto-clear-spurious-interrups.patch [new file with mode: 0644]