]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
misc: microchip: pci1xxxx: Resolve kernel panic during GPIO IRQ handling
authorRengarajan S <rengarajan.s@microchip.com>
Thu, 5 Dec 2024 13:36:25 +0000 (19:06 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Jan 2025 12:34:44 +0000 (13:34 +0100)
commit79aef6187e16b2d32307c8ff610e9e04f7f86e1f
tree91a699f6236591db81df69862f33ceea9c36512f
parentca47e933a900492d89dcf5db18a99c28bd4a742d
misc: microchip: pci1xxxx: Resolve kernel panic during GPIO IRQ handling

commit 194f9f94a5169547d682e9bbcc5ae6d18a564735 upstream.

Resolve kernel panic caused by improper handling of IRQs while
accessing GPIO values. This is done by replacing generic_handle_irq with
handle_nested_irq.

Fixes: 1f4d8ae231f4 ("misc: microchip: pci1xxxx: Add gpio irq handler and irq helper functions irq_ack, irq_mask, irq_unmask and irq_set_type of irq_chip.")
Cc: stable <stable@kernel.org>
Signed-off-by: Rengarajan S <rengarajan.s@microchip.com>
Link: https://lore.kernel.org/r/20241205133626.1483499-2-rengarajan.s@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.c