]> git.hungrycats.org Git - linux/commit
net: txgbe: fix to clear interrupt status after handling IRQ
authorJiawen Wu <jiawenwu@trustnetic.com>
Fri, 1 Mar 2024 09:29:56 +0000 (17:29 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2024 07:49:52 +0000 (09:49 +0200)
commitc273577b185360be2fed143f4f05ba115569c606
tree9e6a69ba7bf379d26d7b8a13cee21614f0604231
parent32db1047161806460b4b4066da1b32c9a8b46e4d
net: txgbe: fix to clear interrupt status after handling IRQ

[ Upstream commit 0e71862a20d58b6e8d4c39de1d72c8919c4dccd1 ]

GPIO EOI is not set to clear interrupt status after handling the
interrupt. It should be done in irq_chip->irq_ack, but this function
is not called in handle_nested_irq(). So executing function
txgbe_gpio_irq_ack() manually in txgbe_gpio_irq_handler().

Fixes: aefd013624a1 ("net: txgbe: use irq_domain for interrupt controller")
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Link: https://lore.kernel.org/r/20240301092956.18544-2-jiawenwu@trustnetic.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/wangxun/txgbe/txgbe_phy.c