summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/kernel/irq.c
Commit message (Collapse)AuthorAgeFilesLines
* openrisc: Get rid of handle_IRQMarc Zyngier2014-09-031-5/+0Star
| | | | | | | | | | The openrisc irqchip driver has been converted to handle_domain_irq, making it possible to remove the handle_IRQ stub entierely. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Acked-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> Link: https://lkml.kernel.org/r/1409047421-27649-27-git-send-email-marc.zyngier@arm.com Signed-off-by: Jason Cooper <jason@lakedaemon.net>
* openrisc: Convert handle_IRQ to use __handle_domain_irqMarc Zyngier2014-09-031-8/+1Star
| | | | | | | | | | In order to limit code duplication, convert the architecture specific handle_IRQ to use the generic __handle_domain_irq function. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Acked-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> Link: https://lkml.kernel.org/r/1409047421-27649-5-git-send-email-marc.zyngier@arm.com Signed-off-by: Jason Cooper <jason@lakedaemon.net>
* irqchip: or1k-pic: Migrate from arch/openrisc/Stefan Kristiansson2014-07-011-133/+13Star
| | | | | | | | | | | | | | | | | | | | | In addition to consolidating the or1k-pic with other interrupt controllers, this makes OpenRISC less tied to its on-cpu interrupt controller. All or1k-pic specific parts are moved out of irq.c and into drivers/irqchip/irq-or1k-pic.c In that transition, the functionality have been divided into three chip variants. One that handles level triggered interrupts, one that handles edge triggered interrupts and one that handles the interrupt controller that is present in the or1200 OpenRISC cpu implementation. Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> Link: https://lkml.kernel.org/r/1401136302-27654-1-git-send-email-stefan.kristiansson@saunalahti.fi Acked-by: Jonas Bonn <jonas@southpole.se> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
* openrisc: mask interrupts in irq_mask_ack functionGong Tao2012-10-111-0/+2
| | | | | | | or1k_pic_mask_ack was failing to actually mask the IRQ. Signed-off-by: Gong Tao <gongtao0607@gmail.com> Signed-off-by: Jonas Bonn <jonas@southpole.se>
* openrisc: fix typos in comments and warningsJonas Bonn2012-10-111-3/+3
| | | | Signed-off-by: Jonas Bonn <jonas@southpole.se>
* openrisc: PIC should act on domain-local irqsJonas Bonn2012-10-111-6/+6
| | | | | | | Now that IRQ domains are in use, we should be acting on domain-local IRQ numbers (hwirq) instead of 'global' ones. Signed-off-by: Jonas Bonn <jonas@southpole.se>
* openrisc: remove unnecessary includesJonas Bonn2012-05-081-4/+0Star
| | | | Signed-off-by: Jonas Bonn <jonas@southpole.se>
* openrisc: implement irqdomainsJonas Bonn2012-05-081-32/+47
| | | | | | | | This moves OpenRISC to using the irqdomain infrastructure. This doesn't fundamentally change anything other than that it will be easier to have multiple interrupt controllers in the future. Signed-off-by: Jonas Bonn <jonas@southpole.se>
* openrisc: include export.h for EXPORT_SYMBOLJonas Bonn2012-02-171-0/+1
| | | | | | Use of EXPORT_SYMBOL requires inclusion of export.h Signed-off-by: Jonas Bonn <jonas@southpole.se>
* OpenRISC: IRQJonas Bonn2011-07-221-0/+172
This patch adds support for the OpenRISC PIC. Signed-off-by: Jonas Bonn <jonas@southpole.se> Cc: tglx@linutronix.de Reviewed-by: Arnd Bergmann <arnd@arndb.de>