Re: [RFC PATCH 06/10] genirq: Don't mask IRQ within flow handler if IRQ is flow-masked

2021-04-09 Thread Thomas Gleixner
On Thu, Apr 08 2021 at 16:43, Valentin Schneider wrote: > + /* > + * Masking is required if IRQ is ONESHOT and we can't rely on the > + * flow-masking persisting down to irq_finalize_oneshot() > + * (in the IRQ thread). > + */ > + if ((desc->istate & IRQS_ONESHOT) && >

[RFC PATCH 06/10] genirq: Don't mask IRQ within flow handler if IRQ is flow-masked

2021-04-08 Thread Valentin Schneider
mask_irq() lets an IRQ with IRQD_IRQ_FLOW_MASKED set be further masked via chip->irq_mask(). This is necessary for unhandled IRQs as we want to keep them masked beyond eoi_irq() (which clears IRQD_IRQ_FLOW_MASKED). This is however not necessary in paths that do end up handling the IRQ and are