Re: [PATCH] irq: Add a new IRQF_ACK_BEFORE_UNMASK irq flag

From: Sebastian Andrzej Siewior
Date: Thu Mar 13 2014 - 09:37:21 EST


* Thomas Gleixner | 2014-03-12 11:38:24 [+0100]:

>Untested patch below.

I assumed that I forgot that piece during backporting but infact it was
not part of the original patch.

--- a/include/linux/irq.h
+++ b/include/linux/irq.h
@@ -388,6 +388,7 @@ extern int no_irq_affinity;
*/
extern void handle_level_irq(unsigned int irq, struct irq_desc *desc);
extern void handle_fasteoi_irq(unsigned int irq, struct irq_desc *desc);
+extern void handle_fasteoi_late_irq(unsigned int irq, struct irq_desc *desc);
extern void handle_edge_irq(unsigned int irq, struct irq_desc *desc);
extern void handle_edge_eoi_irq(unsigned int irq, struct irq_desc *desc);
extern void handle_simple_irq(unsigned int irq, struct irq_desc *desc);


One side note: Since we need to specify IRQCHIP_EOI_THREADED and
handle_fasteoi_late_irq() as the handler, would it be easily doable to use
the handle_fasteoi_irq() handler and skip the EOI in the threaded mode?
But if it creates a mess then leave it as it is.

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/