Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

genirq: Kill handle_percpu_devid_fasteoi_nmi()

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

authored by

Marc Zyngier and committed by
Thomas Gleixner
5ff78c8d 21bbbc50

-26
-1
include/linux/irq.h
··· 655 655 extern void handle_nested_irq(unsigned int irq); 656 656 657 657 extern void handle_fasteoi_nmi(struct irq_desc *desc); 658 - extern void handle_percpu_devid_fasteoi_nmi(struct irq_desc *desc); 659 658 660 659 extern int irq_chip_compose_msi_msg(struct irq_data *data, struct msi_msg *msg); 661 660 extern int irq_chip_pm_get(struct irq_data *data);
-25
kernel/irq/chip.c
··· 929 929 chip->irq_eoi(&desc->irq_data); 930 930 } 931 931 932 - /** 933 - * handle_percpu_devid_fasteoi_nmi - Per CPU local NMI handler with per cpu 934 - * dev ids 935 - * @desc: the interrupt description structure for this irq 936 - * 937 - * Similar to handle_fasteoi_nmi, but handling the dev_id cookie 938 - * as a percpu pointer. 939 - */ 940 - void handle_percpu_devid_fasteoi_nmi(struct irq_desc *desc) 941 - { 942 - struct irq_chip *chip = irq_desc_get_chip(desc); 943 - struct irqaction *action = desc->action; 944 - unsigned int irq = irq_desc_get_irq(desc); 945 - irqreturn_t res; 946 - 947 - __kstat_incr_irqs_this_cpu(desc); 948 - 949 - trace_irq_handler_entry(irq, action); 950 - res = action->handler(irq, raw_cpu_ptr(action->percpu_dev_id)); 951 - trace_irq_handler_exit(irq, action, res); 952 - 953 - if (chip->irq_eoi) 954 - chip->irq_eoi(&desc->irq_data); 955 - } 956 - 957 932 static void 958 933 __irq_do_set_handler(struct irq_desc *desc, irq_flow_handler_t handle, 959 934 int is_chained, const char *name)