Re: [PATCH] usb: musb: jz4740: Prevent lockup when CONFIG_SMP is set

From: Paul Cercueil
Date: Thu May 21 2020 - 16:39:39 EST


Hi Bin,

The patch it fixes was introduced in 5.7-rc1, is it possible to queue it for the next -rc? Otherwise I'll need to Cc it to linux-stable.

-Paul

Le jeu. 21 mai 2020 à 15:34, Bin Liu <b-liu@xxxxxx> a écrit :
On Wed, May 20, 2020 at 05:01:11PM +0200, Paul Cercueil wrote:
The function dma_controller_irq() locks up the exact same spinlock we
locked before calling it, which obviously resulted in a deadlock when
CONFIG_SMP was enabled. This flew under the radar as none of the boards
supported by this driver needs SMP.

Fixes: 57aadb46bd63 ("usb: musb: jz4740: Add support for DMA")
Signed-off-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx>

Queued for v5.8. Thanks.
-Bin.