Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2476792pxf; Sun, 4 Apr 2021 03:03:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynbzipI3WMb0b5o4bCCxsCw/lhWLaTeNAe86fe2UFLEv394VeISnST7/WZXE01QjdFfZrI X-Received: by 2002:a17:906:6bd1:: with SMTP id t17mr23262856ejs.319.1617530625775; Sun, 04 Apr 2021 03:03:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617530625; cv=none; d=google.com; s=arc-20160816; b=vXzG1sEQ0Ow2ijIpwAoa866MrA2Q55Ghj4G8twydJvyp4WaoweFC2f9bA+SVP3xABB hWVX1Zctd+umZ2x0/nyhwprz93x5CEPQ1/LVYrVTdnrelxUsDpKfD1XnDbigKC+aVrK1 b2lspPwYftaKt1SVaSb2W5Gl8sOALJbL9ACvBUS4HpoDlKr+9r16chZ/aw7eOAEUkR0C 5xkh64roUJKOI/9q8d1bmiY3F3pRyU98SVYffSn8bALNK9DEx/+8zEQRvJHq3RXgcmmS +9HOm2Z/6BLXcml/2yU7X0j4PijvAU+PzOsL3oST2etELoaDaxNXzZuZXL6PIGpQrmbD TRbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=b6WUICVAeQ6NQhUiouIDfL7aN1McZiYN1Q55dY7eOPU=; b=LxB0sWBtMGPn3+76zkrsqAq2vkoWa9fIWOZoEoGFUaYuALuLZSrJM4A1tYQ2d5lz56 ojnX6BVX+h7Yszm4iAXuz06AgOA5TWIv6NvPsJuQputMvPw6YOwUdTyLhEMpCv31VJi/ Itv7yt6UoaoLrqrSenaHw1kbjF1rmjtBXSTW8wEefdewuTRIgTFEnbpQdi3s9kMpOp5F +yDNL/xvSBuuRZ/0QnDLKOr7I4Md3k6bg4XRRLwCTKEiXf1PdEO/kP7wh3aSAL+A9JO3 jyw943Jch+1dD2iBNTB0EvlIatgO3oV6nIDck1P9OAEUhV/mmhfGpTt8fUDkn7Z2TGR9 xuwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=z4INeRpt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t19si1992851edc.484.2021.04.04.03.03.23; Sun, 04 Apr 2021 03:03:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=z4INeRpt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230282AbhDDKCA (ORCPT + 99 others); Sun, 4 Apr 2021 06:02:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:50432 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229483AbhDDKBy (ORCPT ); Sun, 4 Apr 2021 06:01:54 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BB28761380; Sun, 4 Apr 2021 10:01:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1617530510; bh=+Sbjpu/h3oW/uHOmokvoHfsBFkSIytwPkB6wZ0l8d6o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=z4INeRpt9eEGAHcaobW7exZYNEfMnfFOaSELZ14lFd4TNliVJ2SS1tvSGi/yPMkG/ tvNQNJf1S19++zuUMnLD5FAC8cavqM6P7sgKaB3pRouQ5VfSqPdmMKo/TyDs/kL5Dg A6SqCQZcjy4lgTvRF5rnwXTcYgTlYg3NZyFZsxho= Date: Sun, 4 Apr 2021 12:01:45 +0200 From: Greg KH To: "H. Nikolaus Schaller" Cc: Wesley Cheng , Felipe Balbi , stable@vger.kernel.org, Linux Kernel Mailing List , Linux-OMAP , kernel@pyra-handheld.com, Discussions about the Letux Kernel , linux-usb@vger.kernel.org Subject: Re: [BUG]: usb: dwc3: gadget: Prevent EP queuing while stopping transfers Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 04, 2021 at 11:29:00AM +0200, H. Nikolaus Schaller wrote: > it seems as if the patch > > 9de499997c37 ("usb: dwc3: gadget: Prevent EP queuing while stopping transfers") in v5.11.y > f09ddcfcb8c5 ("usb: dwc3: gadget: Prevent EP queuing while stopping transfers") in v5.12-rc5 > > reproducible breaks dwc3 RNDIS gadget, at least on the Pyra Handheld (OMAP5). > > The symptom of having this patch in tree (v5.11.10 or v5.12) is that > rndis/gadget initially works after boot. Should be fixed now by 5aef629704ad ("usb: dwc3: gadget: Clear DEP flags after stop transfers in ep disable"). Can you test and verify this? thanks, greg k-h