Re: [PATCH v2 2/6] genirq: Allow an interrupt to be marked as 'raw'

From: Marc Zyngier
Date: Tue Nov 24 2020 - 11:56:30 EST


On 2020-11-24 16:26, Peter Zijlstra wrote:
On Tue, Nov 24, 2020 at 02:14:45PM +0000, Marc Zyngier wrote:
Some interrupts (such as the rescheduling IPI) rely on not going through
the irq_enter()/irq_exit() calls. To distinguish such interrupts, add
a new IRQ flag that allows the low-level handling code to sidestep the
enter()/exit() calls.

Well, not quite. The scheduler_ipi() function is perfectly fine being
called with irq_enter/irq_exit. As per this very series, that's your
current reality.

The function just doesn't need it.

Yup, definitely a very bad choice of words here.
/me goes and repaint the commit message.

Thanks,

M.
--
Jazz is not dead. It just smells funny...