]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
genirq: Kill handle_percpu_devid_fasteoi_nmi()
authorMarc Zyngier <maz@kernel.org>
Mon, 20 Oct 2025 12:29:28 +0000 (13:29 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 27 Oct 2025 16:16:34 +0000 (17:16 +0100)
There is no in-tree user of this flow handler anymore, so simply remove it.

Suggested-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Will Deacon <will@kernel.org>
Link: https://patch.msgid.link/20251020122944.3074811-12-maz@kernel.org
include/linux/irq.h
kernel/irq/chip.c

index c67e76fbcc0775507f52e9b51e3f0f9c53b95650..b728c18f6ded7710d4cc83326fe99cffaeacb852 100644 (file)
@@ -655,7 +655,6 @@ extern void handle_bad_irq(struct irq_desc *desc);
 extern void handle_nested_irq(unsigned int irq);
 
 extern void handle_fasteoi_nmi(struct irq_desc *desc);
-extern void handle_percpu_devid_fasteoi_nmi(struct irq_desc *desc);
 
 extern int irq_chip_compose_msi_msg(struct irq_data *data, struct msi_msg *msg);
 extern int irq_chip_pm_get(struct irq_data *data);
index 3ffa0d80ddd19c6fcab5a444ddec626fa660ab1c..633e1f67bb6f429c54a0964f166f378e97f73e75 100644 (file)
@@ -929,31 +929,6 @@ void handle_percpu_devid_irq(struct irq_desc *desc)
                chip->irq_eoi(&desc->irq_data);
 }
 
-/**
- * handle_percpu_devid_fasteoi_nmi - Per CPU local NMI handler with per cpu
- *                                  dev ids
- * @desc:      the interrupt description structure for this irq
- *
- * Similar to handle_fasteoi_nmi, but handling the dev_id cookie
- * as a percpu pointer.
- */
-void handle_percpu_devid_fasteoi_nmi(struct irq_desc *desc)
-{
-       struct irq_chip *chip = irq_desc_get_chip(desc);
-       struct irqaction *action = desc->action;
-       unsigned int irq = irq_desc_get_irq(desc);
-       irqreturn_t res;
-
-       __kstat_incr_irqs_this_cpu(desc);
-
-       trace_irq_handler_entry(irq, action);
-       res = action->handler(irq, raw_cpu_ptr(action->percpu_dev_id));
-       trace_irq_handler_exit(irq, action, res);
-
-       if (chip->irq_eoi)
-               chip->irq_eoi(&desc->irq_data);
-}
-
 static void
 __irq_do_set_handler(struct irq_desc *desc, irq_flow_handler_t handle,
                     int is_chained, const char *name)