Re: [PATCH v2] drm/msm/dpu: Avoid ABBA deadlock between IRQ modules

2021-06-12 Thread Dmitry Baryshkov
On 11/06/2021 20:00, Bjorn Andersson wrote: Handling of the interrupt callback lists is done in dpu_core_irq.c, under the "cb_lock" spinlock. When these operations results in the need for enableing or disabling the IRQ in the hardware the code jumps to dpu_hw_interrupts.c, which protects its

[PATCH v2] drm/msm/dpu: Avoid ABBA deadlock between IRQ modules

2021-06-11 Thread Bjorn Andersson
Handling of the interrupt callback lists is done in dpu_core_irq.c, under the "cb_lock" spinlock. When these operations results in the need for enableing or disabling the IRQ in the hardware the code jumps to dpu_hw_interrupts.c, which protects its operations with "irq_lock" spinlock. When an