All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Cercueil <paul@crapouillou.net>
To: Bin Liu <b-liu@ti.com>
Cc: od@zcrc.me, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] usb: musb: jz4740: Prevent lockup when CONFIG_SMP is set
Date: Thu, 21 May 2020 22:39:25 +0200	[thread overview]
Message-ID: <P18PAQ.NMWTDBTHKARL1@crapouillou.net> (raw)
In-Reply-To: <20200521203422.GA25575@iaqt7>

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@ti.com> 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@crapouillou.net>
> 
> Queued for v5.8. Thanks.
> -Bin.



  reply	other threads:[~2020-05-21 20:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-20 15:01 [PATCH] usb: musb: jz4740: Prevent lockup when CONFIG_SMP is set Paul Cercueil
2020-05-21 20:34 ` Bin Liu
2020-05-21 20:39   ` Paul Cercueil [this message]
2020-05-21 21:30     ` Bin Liu
2020-05-21 21:35       ` Bin Liu
2020-05-21 21:28 ` Bin Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=P18PAQ.NMWTDBTHKARL1@crapouillou.net \
    --to=paul@crapouillou.net \
    --cc=b-liu@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=od@zcrc.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.