Re: [PATCH v2 11/25] genirq: Kill handle_percpu_devid_fasteoi_nmi()

From: Jonathan Cameron

Date: Tue Sep 16 2025 - 11:38:52 EST


On Mon, 15 Sep 2025 09:56:48 +0100
Marc Zyngier <maz@xxxxxxxxxx> wrote:

> There is no in-tree user of this flow handler anymore, so simply
> remove it.
>
> Suggested-by: Will Deacon <will@xxxxxxxxxx>
> Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
> ---

> diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
> index 0d0276378c707..869068ec6ac91 100644
> --- a/kernel/irq/chip.c
> +++ b/kernel/irq/chip.c
> @@ -892,7 +892,8 @@ void handle_percpu_irq(struct irq_desc *desc)
> *
> * action->percpu_dev_id is a pointer to percpu variables which
> * contain the real device id for the cpu on which this handler is
> - * called
> + * called. This is also used for per-CPU NMIs, so special care is
> + * required.

Probably belongs in previous patch as not really related to removing
the unused code, but meh.

> */