Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp6500768pxb; Tue, 15 Feb 2022 03:58:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJxbHCs/H/qEQ4hCDTQ2bwytQisLbt3eg3u9Nk3PGsALdum2jJXuNskguBjYJal3m2YGYBh5 X-Received: by 2002:a05:6402:3451:: with SMTP id l17mr3566430edc.187.1644926302643; Tue, 15 Feb 2022 03:58:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644926302; cv=none; d=google.com; s=arc-20160816; b=aq6Irgs/MN3ENb83eF8HZIkbJf4a8i7chEtffIRAl5dRdZjRTRSTLnmn7Cal2gW5tZ s5xsv4k9POQHPu22znMOt2oR8mR7xNzi3SZQKc8ZOIQ4oBAJCOmkONif5pnfE5rCc4gv Jvkq8FWQ2P1I68y9f2SQhN+GajFcUlTFwLiRe6s1jU1UPXNeRXAB1enBc7RFJ5ohevBI v+ux5Mpe5bHMaidbGPaOeYMvd5Hsv9I9OoIgwHwJwtc3+IsWS0WDhj8K4Dte8b2Z7GMs L8AqjiONbM9/n7w77BVnWpk3E3nJ22hAXVVnJs1wLcy1WiuZ9Z6hv2tarHAppjE9e5PQ Pvkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type:user-agent :in-reply-to:mime-version:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=aR9IgNBanjrSm2zTeMfdygWULOY+uSHTb91+dmX0z54=; b=KIkxGsztcIqva0YeutnYI/3cxyTGj5SnfP3t+kd8qmL05uxRAVdJ5Fa4mtQqWov/fA bGlYBG1qZKH1NDt7drWWCo8vmb//GCfBF7ZD1cKFddDCPMU/dBEfpSbaw+PnHMQnGlpa QNfrBAbKtlvfGD+MDexl5BHhHfABI/j7zyPECPbJzveyQrVXVijWJVbEPzjPhiBwmQkI Cl2nlcyIxa7+86wlWnU0afbl/J2qs1hTXloA2wRaj6RzaTVHkvFMVM+bbHpGGIh8kStk Js5bZcDr0JDj3cDuI3iNes+9EyrKEbmIyznKdQDh36KgUOYOxC2rNwxrrGBn2rIu1zEV CZxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=tZwa81LA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sa15si2325033ejc.797.2022.02.15.03.57.57; Tue, 15 Feb 2022 03:58:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=tZwa81LA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235398AbiBOIWl (ORCPT + 99 others); Tue, 15 Feb 2022 03:22:41 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:35758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231180AbiBOIWj (ORCPT ); Tue, 15 Feb 2022 03:22:39 -0500 Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D3FFAA2ED for ; Tue, 15 Feb 2022 00:22:28 -0800 (PST) Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20220215082224epoutp02cc8120e49b2f0fa45e7c4b4d46a3bd04~T5-i4rJsm0217302173epoutp02H for ; Tue, 15 Feb 2022 08:22:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20220215082224epoutp02cc8120e49b2f0fa45e7c4b4d46a3bd04~T5-i4rJsm0217302173epoutp02H DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1644913344; bh=aR9IgNBanjrSm2zTeMfdygWULOY+uSHTb91+dmX0z54=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=tZwa81LAIZI+yiCndMI2N6dgYGoHbLr/d6uPF67ZGq9MChBi9ApGDQj0fY6MPvRma klp0kcoi6mp7IkHFBSO/Hkk7olu1R6S8ugwv8Kx+Ay8XIpNccOAyQ+Err58LRUpUao jTDU4TuZQkDgSNtbsk/6UN/0zvYK7LuS7ogrMsG8= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20220215082223epcas2p23829b88e8864b6e7e032de0eb1ff7743~T5-id4dS_0977809778epcas2p2R; Tue, 15 Feb 2022 08:22:23 +0000 (GMT) Received: from epsmges2p1.samsung.com (unknown [182.195.36.88]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4JyYwr6jqZz4x9Pt; Tue, 15 Feb 2022 08:22:20 +0000 (GMT) Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmges2p1.samsung.com (Symantec Messaging Gateway) with SMTP id E8.74.51767.BB26B026; Tue, 15 Feb 2022 17:22:19 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas2p2.samsung.com (KnoxPortal) with ESMTPA id 20220215082218epcas2p21276c5dabdd5bcd70d4094878e836233~T5-dqgo0e0433604336epcas2p23; Tue, 15 Feb 2022 08:22:18 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20220215082218epsmtrp1ccc63d08558b7191b58c509f6add7b58~T5-dpziyz2046920469epsmtrp1H; Tue, 15 Feb 2022 08:22:18 +0000 (GMT) X-AuditID: b6c32a45-45dff7000000ca37-6d-620b62bb07e8 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 77.1D.29871.AB26B026; Tue, 15 Feb 2022 17:22:18 +0900 (KST) Received: from ubuntu (unknown [12.36.155.120]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20220215082218epsmtip1401c59283e283f9487f22cf5cf792578~T5-ddAflS1437814378epsmtip16; Tue, 15 Feb 2022 08:22:18 +0000 (GMT) Date: Tue, 15 Feb 2022 17:20:04 +0900 From: Jung Daehwan To: Greg Kroah-Hartman Cc: Felipe Balbi , linux-usb@vger.kernel.org, open list , quic_wcheng@quicinc.com, quic_jackp@quicinc.com, Thinh.Nguyen@synopsys.com Subject: Re: [PATCH v2 1/2] usb: dwc3: Not set DWC3_EP_END_TRANSFER_PENDING in ep cmd fails Message-ID: <20220215082004.GG144890@ubuntu> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprOJsWRmVeSWpSXmKPExsWy7bCmhe7uJO4kg46XXBbH2p6wWzQvXs9m cXnXHDaLRctamS12/VvEZLFpdx+rxaoFB9gd2D02repk89g/dw27x8Q9dR5b9n9m9Pi8SS6A NSrbJiM1MSW1SCE1Lzk/JTMv3VbJOzjeOd7UzMBQ19DSwlxJIS8xN9VWycUnQNctMwfoCiWF ssScUqBQQGJxsZK+nU1RfmlJqkJGfnGJrVJqQUpOgXmBXnFibnFpXrpeXmqJlaGBgZEpUGFC dsahu41MBU94Kh6c72JvYJzE1cXIySEhYCJxbvM8li5GLg4hgR2MEhNXv2WFcD4xSqxqf8UE 4XxjlLh7uoMZpuXOr/2MILaQwF5GidYbxhBFTxglfm7fxAaSYBFQlWh89BasiE1AS+Lej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nh4SAicSdX/sZuxi5OIQEdjNK 9H+ZyQiRkJRYOvcGVJGwxP2WI6wQRY+AijZcZANJsAioSjQ+egvWwCagJXHvxwlmEFtEwFii /+wsdpAGZoEdjBJrl30FKxIWiJW4sK0NrJlXQEeio3chE8TUHUwSX7e9YIRICEqcnPmEBcRm Bpp6499LoCIOIFtaYvk/DpAwp4CmxMPdv8HCogIqEq8O1k9gFJyFpHkWkuZZCM0LGJlXMUqm FhTnpucWGxYY5qWW6xUn5haX5qXrJefnbmIEx4CW5g7G7as+6B1iZOJgPMQowcGsJMIbd5Yz SYg3JbGyKrUoP76oNCe1+BCjNAeLkjjvha6T8UIC6YklqdmpqQWpRTBZJg5OqQYmgcxl782l yzVyJvR6tG3ds+Dj6fxp6Xs2LvAWiYx1T2TdebNzl9y6hQFbz4rrsZUvFQxYeuLQjfrLob/e pGxmsdpssasq4HQX48I3ayQfWu/XMxdWyRX++WffK42MNaLNGi/fRykXcDaVmO2IOHqJ96HT z8Ux/idStU/NXSF272R1eejjxP0F7ae38DhVLHXJi7qjtzn4x/SEBbfmJJ+3Ej2asnGq2ubJ MQUiLIe3nVRgWNC8P3lW86cd3nVP46wOG5w9rxX2YarZphlTjWo+3haeUXTI5yY38xEpec5z dbunrn4o7jHxjnFAe46d+OIbUcKMU0o8Q1hkvbgsJuzKD/C8eGDNOuVghbuWx7veK7EUZyQa ajEXFScCAFGcmF3wAgAA X-CMS-MailID: 20220215082218epcas2p21276c5dabdd5bcd70d4094878e836233 X-Msg-Generator: CA Content-Type: multipart/mixed; boundary="----.rW42XXn7_Ji6OxwuAF4RAMbP.qed.OeqKlvEhSLhB3noATS=_e9aa7_" X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220214111149epcas2p1a1faeda037991885fd6f2f026fa44ec5 References: <1644836933-141376-1-git-send-email-dh10.jung@samsung.com> <1644836933-141376-2-git-send-email-dh10.jung@samsung.com> <20220215065826.GD144890@ubuntu> X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ------.rW42XXn7_Ji6OxwuAF4RAMbP.qed.OeqKlvEhSLhB3noATS=_e9aa7_ Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline On Tue, Feb 15, 2022 at 08:37:11AM +0100, Greg Kroah-Hartman wrote: > On Tue, Feb 15, 2022 at 03:58:26PM +0900, Jung Daehwan wrote: > > On Mon, Feb 14, 2022 at 12:29:49PM +0100, Greg Kroah-Hartman wrote: > > > On Mon, Feb 14, 2022 at 08:08:52PM +0900, Daehwan Jung wrote: > > > > It always sets DWC3_EP_END_TRANSFER_PENDING in dwc3_stop_active_transfer > > > > even if dwc3_send_gadget_ep_cmd fails. It can cause some problems like > > > > skipping clear stall commmand or giveback from dequeue. We fix to set it > > > > only when ep cmd success. Additionally, We clear DWC3_EP_TRANSFER_STARTED > > > > for next trb to start transfer not update transfer. > > > > > > So is this two different changes? > > > > > > > > > > > Signed-off-by: Daehwan Jung > > > > > > What commit id does this fix? > > > > > > thanks, > > > > > > greg k-h > > > > > > > Hi greg, > > > > Below is commit id to fix. > > > > commit c58d8bfc77a2c7f6ff6339b58c9fca7ae6f57e70 > > Author: Thinh Nguyen > > Date: Wed Dec 18 18:14:44 2019 -0800 > > > > Then please properly put that as a "Fixes:" tag in the signed-off-by > area when you resubmit this. > > thanks, > > greg k-h > I got it. Thanks. Best Regards, Jung Daehwan ------.rW42XXn7_Ji6OxwuAF4RAMbP.qed.OeqKlvEhSLhB3noATS=_e9aa7_ Content-Type: text/plain; charset="utf-8" ------.rW42XXn7_Ji6OxwuAF4RAMbP.qed.OeqKlvEhSLhB3noATS=_e9aa7_--