Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp2314633imb; Mon, 4 Mar 2019 01:45:37 -0800 (PST) X-Google-Smtp-Source: APXvYqxs+E2yunVqk4GnERbLgrkpKnPNQYiDFQ/UgId+OQzs2Tf5Cy/S++wFg74bHnupfxF+SFxf X-Received: by 2002:a63:5506:: with SMTP id j6mr17776023pgb.202.1551692737829; Mon, 04 Mar 2019 01:45:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551692737; cv=none; d=google.com; s=arc-20160816; b=uTTgTwsYKiHUg0UrangBBGPyXMnqQ+LWp0Phvo5IZzKj7MiwXkMhrTHluG8jp+8+UP OUHEnaPQ75jF73sYh2cLAm+xtuYZ/FQMTEzMYchuichdV+COL0Cmc3J09sX3GrbM7dpo HMeiptSRzjShZ30isweCUzaa9+XPYRrdVEblRgY9HG7CuMLZ2Q+IldBNZDI0OYDlh6B/ fcYAv/5f6f+dTarWTP1S0GoSE6npIODQVK/0R6wkVg6nxE9+TVnH55nirbar74k+i0uY VulggnHrDcM6mX1S/YP8LQUpRoMlUFiYthAR1EFn7xFSCodYPu8VjjVW7lh9pZFtg2Oq DDwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=nYeFD89JNKEJei6qY8fthVuURYtv4FXXiSoCtaAkkr0=; b=YhLIryIRoJeRbMtuQuLj2ALx4O16T5VKtjKV3M3bKC9K4TtBv8mNiSZU4cdf1Qlv6X tIBg4wOa0kH3VPRoTdJ4V9YxA70efYo3EG1iBdOwg+s/9myhh7gg0RHdh+Cu643d1Oyd wQQo/qxRxOJubGegIQLmze59n0q1Bhkoubo8u/72P5YtQCfP5kEEAMl95qal0DmHO8lr AbeIUoPr4ai6Lbexq1hp3hRD8xjxuwsT9+y/C3PoLzV6ZOJWWzehk4foiCqdULGr14PH EZCx73Hslri2DIyzyl6f8EdhrqCwHjDFRO8Ycc0hrCxG/pYI4tpOeHurRo2XJirZCi2/ 1qVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eEl0S2YF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 38si5156220plc.288.2019.03.04.01.45.22; Mon, 04 Mar 2019 01:45:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eEl0S2YF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726298AbfCDJoS (ORCPT + 99 others); Mon, 4 Mar 2019 04:44:18 -0500 Received: from mail.kernel.org ([198.145.29.99]:58992 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726034AbfCDJoS (ORCPT ); Mon, 4 Mar 2019 04:44:18 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1847F20836; Mon, 4 Mar 2019 09:44:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1551692657; bh=zAZlAHRkJ7NKE4d+noU5LnAjtjHzfEn9tW99OJWjxw0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eEl0S2YFmBDXnjfk7nTVsg22nZ1p9+FZZg25MzyCyCnCIqcP6hRxQ3NeFJrOe6T2u b1jVLn1nbxrgp0jTb78w8HeLj3eM26F1nTUnFYWb0ywmDolrFp+2pzIdmSPQXXKgzQ QEJEpa1Ph0yp3v3vJVH/DYvGnWaufsZgfi4ZtVJ4= Date: Mon, 4 Mar 2019 10:44:14 +0100 From: Greg Kroah-Hartman To: Marek Szyprowski Cc: "He, Bo" , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , "Wang, Yu Y" , Felipe Balbi , Sasha Levin Subject: Re: [PATCH 4.20 12/88] usb: dwc3: gadget: synchronize_irq dwc irq in suspend Message-ID: <20190304094414.GA12587@kroah.com> References: <20190304081630.610632175@linuxfoundation.org> <20190304081631.046461963@linuxfoundation.org> <20190304085350.GA18354@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 04, 2019 at 10:03:27AM +0100, Marek Szyprowski wrote: > Hi Greg, > > On 2019-03-04 09:53, Greg Kroah-Hartman wrote: > > On Mon, Mar 04, 2019 at 08:46:30AM +0000, He, Bo wrote: > >> Hi, Greg: > >> Marek Szyprowski report the patch has issue that calling synchronize_irq() under dwc->lock spinlock, he has upload the below patch for the issue: > >> > >> dwc3_gadget_suspend() is called under dwc->lock spinlock. In such context calling synchronize_irq() is not allowed. Move the problematic call out of the protected block to fix the following kernel BUG during system > > > > > > Is this patch in Linus's tree yet? If so, what is the git commit id? > > > > If not, is this also an issue in 5.0? > > The fix has not been merged yet. The issue is also present in v5.0. Ok, please make sure it is properly tagged for the stable releases and we will be fine. thanks, greg k-h