Re: [PATCH v2] dmaengine: imx-sdma: remove BD_INTR for channel0
From: Vinod Koul <vkoul@kernel.org>
Date: 2019-07-05 07:49:42
Also in:
dmaengine, stable
From: Vinod Koul <vkoul@kernel.org>
Date: 2019-07-05 07:49:42
Also in:
dmaengine, stable
On 21-06-19, 16:23, yibin.gong@nxp.com wrote:
From: Robin Gong <redacted>
It is possible for an irq triggered by channel0 to be received later
after clks are disabled once firmware loaded during sdma probe. If
that happens then clearing them by writing to SDMA_H_INTR won't work
and the kernel will hang processing infinite interrupts. Actually,
don't need interrupt triggered on channel0 since it's pollling
SDMA_H_STATSTOP to know channel0 done rather than interrupt in
current code, just clear BD_INTR to disable channel0 interrupt to
avoid the above case.
This issue was brought by commit 1d069bfa3c78 ("dmaengine: imx-sdma:
ack channel 0 IRQ in the interrupt handler") which didn't take care
the above case.Applied, thanks -- ~Vinod _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel