Re: [patch V2 12/45] genirq/chip: Rework handle_nested_irq()

Thomas Gleixner
2025-05-09T18:37:23Z

On Thu, May 08 2025 at 22:56, Marek Szyprowski wrote:
> On 29.04.2025 08:55, Thomas Gleixner wrote:
>> +void handle_nested_irq(unsigned int irq)
>> +{
>> + struct irq_desc *desc = irq_to_desc(irq);
>> + struct irqaction *action;
>> + irqreturn_t action_ret;
>> +
>> + might_sleep();
>> +
>> + scoped_guard(raw_spinlock_irq, &desc->lock) {
>> + if (irq_can_handle_actions(desc))
>
> This should be "if (!irq_can_handle_actions(desc))" to fix nested irqs handling in today's linux-next.

Ooops.