Commits
Lina Iyer committed 8c77c18adc5
FROMLIST: drivers: irqchip: pdc: Do not toggle IRQ_ENABLE during mask/unmask When an interrupt is to be serviced, the convention is to mask the interrupt at the chip and unmask after servicing the interrupt. Enabling and disabling the interrupt at the PDC irqchip causes an interrupt storm due to the way dual edge interrupts are handled in hardware. Skip configuring the PDC when the IRQ is masked and unmasked, instead use the irq_enable/irq_disable callbacks to toggle the IRQ_ENABLE register at the PDC. The PDC's IRQ_ENABLE register is only used during the monitoring mode when the system is asleep and is not needed for active mode detection. Signed-off-by: Lina Iyer <ilina@codeaurora.org> BUG: 141169320 TEST: Build and boot Change-Id: Ia5827a509bfb47aaa18ed0ea8f61c74f643fa91f Signed-off-by: Maulik Shah <mkshah@codeaurora.org> Link: https://patchwork.kernel.org/patch/11145361