-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
irqchip: xilinx: Add support to remove Xilinx INTC irqchip driver module
The existing irqchip implementation does not fully support use cases where an irqchip driver has to be used as a module. In particular there is no support to remove an irqchip driver module. The use cases where an irqchip driver has to be loaded and then removed as a module are really relevant in fpga world. A user can decide to have a irqchip as part of a removable partial fpga region. In such cases not only the corresponding irqchip driver has to be loaded as a module, but must also be removed when the removable partial region is removed. In the proposed implementation irqchip framework is updated to add a new function platform_irqchip_remove through irqchip.h MODULE_DEVICE_TABLE implementation. The platform_irqchip_remove calls the corresponding interrupt controller driver's remove routine. It is the responsibility of the interrupt controller remove routine to ensure that all irq descriptors attached to its irqdomain are freed up. Changes in this patch is made through a new irqchip kconfig option with the name IRQCHIP_XILINX_INTC_MODULE_SUPPORT_EXPERIMENTAL which is disabled by default. Signed-off-by: Anirudha Sarangi <anirudha.sarangi@xilinx.com> State: pending
- Loading branch information
Anirudha Sarangi
authored and
Michal Simek
committed
May 28, 2021
1 parent
566aba2
commit 88c9066
Showing
4 changed files
with
104 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters