Re: [PATCH v2 2/2] bus: mhi: host: Take irqsave lock after TRE is generated

From: Jeffrey Hugo
Date: Fri Sep 22 2023 - 10:50:22 EST


On 9/13/2023 2:47 AM, Qiang Yu wrote:
From: Hemant Kumar <quic_hemantk@xxxxxxxxxxx>

Take irqsave lock after TRE is generated to avoid deadlock due to core
getting interrupts enabled as local_bh_enable must not be called with
irqs disabled based on upstream patch.

Where is local_bh_enable() being called? What patch? What is upstream of the codebase you submitted this to? Why is it safe to call mhi_gen_tre() without the lock?