Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4796519imu; Sat, 1 Dec 2018 03:15:22 -0800 (PST) X-Google-Smtp-Source: AFSGD/VMYYYHvIVVreK8L6JIl9qHUDj/jMDZw62Z7rWegbZXIhTa4iMYqUK8fSMFkPy776OhvsyM X-Received: by 2002:a62:8145:: with SMTP id t66mr9008701pfd.55.1543662922909; Sat, 01 Dec 2018 03:15:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543662922; cv=none; d=google.com; s=arc-20160816; b=Z/uzUuT0mikC3jiTk8uBN9vzlaz9p6ybCJq2CogHj5y8ZOj/Yww66D0UJjqzjmNaOT d6Lf06z5lg2jc8jaVxZpKPtdR5Ro6CcK2/tv0QDEU3IF0ugZufnNSNBCRoRIbbP5W7pS CBlJjZ5IEmi++BBGN2psD/N1aOwRm4E/4+e3R0/mwUQNm7LbUAQhOcbsc9xnwLuzAZ/O YnB6OIyLfPK1YaaJvMBa5WM4M4AKfYfMoPJB8qXAyequYIYeLehxoLJs1uuIFZqJSQ3L v0sf8Kf6J7E0YQX7Ikd3XnXT6LisBvF8GBzcmp2vXed7eQFOzoaCWU8QHTFgLZf1Xv0h meKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=9l7RDY0jb/bNTwK1A9iSd2ZDibGvt4+OPlRPcHRwtEk=; b=jQDJxxRlptMi1+WL2WOUAHXdeSR8TnIN1Hm3hx3mOJ/M5d4EHnUSceDIxAu3on4mRl 9ILJxJ5rmqSPqWpTAt2j1WjkPXisfimniZW7bF4g3hpO39/g++FIIese+k9WondZHn5B j5ZTg6n/M4SSNg/bhvAtZYsmCI4cO4sM+9C0gJ9xSgPhyPMKEIJwnhcUZEFcnXFNS4Od yqf9Wga46fSmvjEDk8r6XtJZAHXRieUEpbcXPgBSLeoFXk8+0T+zU/z8kqV2rO1ocbMr 94NE0vJgV07z2kEnbZDxBaoMaBNUERdUhNBmdEIBhe5+0ngwIFwPam3a9nnrZY6llwr+ TKrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=0hyE3Cfs; 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 b4si6527629pgk.350.2018.12.01.03.15.08; Sat, 01 Dec 2018 03:15:22 -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=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=0hyE3Cfs; 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 S1727010AbeLAW0b (ORCPT + 99 others); Sat, 1 Dec 2018 17:26:31 -0500 Received: from mail-eopbgr780080.outbound.protection.outlook.com ([40.107.78.80]:42176 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726909AbeLAW0L (ORCPT ); Sat, 1 Dec 2018 17:26:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9l7RDY0jb/bNTwK1A9iSd2ZDibGvt4+OPlRPcHRwtEk=; b=0hyE3CfsRQJI3BAyC4ZZFdIfZ4Y19Q8swtfzytADZ4jhpy/+ROKWfNK4VnygU/tVwUR/yhXIpBoN1DleWYMT8qJOZ6kYcL6a0wBvAhyQZR+Su/eVD8t5zVW73j1me16AXHR/HzIyd9hBBarBEknIGpme2nJY0PJ1WRVUpXsY2O8= Received: from SN4PR0201CA0046.namprd02.prod.outlook.com (2603:10b6:803:2e::32) by SN6PR02MB4334.namprd02.prod.outlook.com (2603:10b6:805:a4::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1382.22; Sat, 1 Dec 2018 11:13:45 +0000 Received: from SN1NAM02FT047.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e44::209) by SN4PR0201CA0046.outlook.office365.com (2603:10b6:803:2e::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1382.22 via Frontend Transport; Sat, 1 Dec 2018 11:13:45 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Received: from xsj-pvapsmtpgw01 (149.199.60.83) by SN1NAM02FT047.mail.protection.outlook.com (10.152.72.201) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1382.18 via Frontend Transport; Sat, 1 Dec 2018 11:13:44 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1gT3DU-0002W5-FZ; Sat, 01 Dec 2018 03:13:44 -0800 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1gT3DP-0001kp-CD; Sat, 01 Dec 2018 03:13:39 -0800 Received: from xsj-pvapsmtp01 (xsj-mail.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id wB1BDZCY003405; Sat, 1 Dec 2018 03:13:35 -0800 Received: from [172.23.64.8] (helo=xhdvnc108.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1gT3DK-0001k0-PU; Sat, 01 Dec 2018 03:13:35 -0800 Received: by xhdvnc108.xilinx.com (Postfix, from userid 15427) id ED5586050E; Sat, 1 Dec 2018 16:43:33 +0530 (IST) From: Anurag Kumar Vulisha To: Felipe Balbi , Greg Kroah-Hartman , Shuah Khan , Alan Stern , Johan Hovold , Jaejoong Kim , Benjamin Herrenschmidt , Roger Quadros , Manu Gautam , , Bart Van Assche , Mike Christie , Matthew Wilcox , Colin Ian King CC: , , , Thinh Nguyen , Tejas Joglekar , Ajay Yugalkishore Pandey , Anurag Kumar Vulisha Subject: [PATCH v7 07/10] usb: dwc3: check for requests in started list for stream capable endpoints Date: Sat, 1 Dec 2018 16:43:28 +0530 Message-ID: <1543662811-5194-8-git-send-email-anurag.kumar.vulisha@xilinx.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1543662811-5194-1-git-send-email-anurag.kumar.vulisha@xilinx.com> References: <1543662811-5194-1-git-send-email-anurag.kumar.vulisha@xilinx.com> X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.83;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(1496009)(396003)(136003)(39850400004)(376002)(346002)(2980300002)(199004)(189003)(51416003)(356004)(186003)(478600001)(6666004)(2906002)(48376002)(476003)(305945005)(486006)(50226002)(2616005)(126002)(36386004)(26005)(8676002)(426003)(446003)(4326008)(11346002)(316002)(42186006)(107886003)(106466001)(36756003)(54906003)(81156014)(336012)(39060400002)(16586007)(106002)(90966002)(8936002)(110136005)(81166006)(63266004)(7416002)(76176011)(575784001)(103686004)(2171002)(5660300001)(14444005)(6266002)(47776003)(52956003)(50466002)(107986001)(921003)(83996005)(2101003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:SN6PR02MB4334;H:xsj-pvapsmtpgw01;FPR:;SPF:Pass;LANG:en;PTR:unknown-60-83.xilinx.com;A:1;MX:1; X-Microsoft-Exchange-Diagnostics: 1;SN1NAM02FT047;1:xExEvVXWj/CQCsbwA0rrO/mv6E1zjHy27PK6+abi5ONjv6wktY/llhYo95yO4tYZ+2dot8t/HpcTVlSJznqLcpkuMKSDojIdxuvqNX67w53xUbrnSJLtBlHlGW933lzJ MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8b929a3b-36e7-4232-821b-08d6577e0f78 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4608076)(2017052603328)(7153060);SRVR:SN6PR02MB4334; X-Microsoft-Exchange-Diagnostics: 1;SN6PR02MB4334;3:OmZ0HFzF8+Lqwy1PY7z//DpTJ6lWEHDYxntvsT0ZGvDrRMwSdggp8imOf/s4V/LOx3buGG5vMpHAPhqTjXJ0MPB2T3L9t3RDhGps8IR5mxYij071ok4ZGgJWwz0WxX7LqyC1tmqwoWD/Thw2tJTYbO/XNpk2Cnkpr+yPI89CJLe7QjwWPeqpv1u992b88OUg2Wb8e4Ejb/mEIfZKaMR5aPQvZCJjJVFgs5uJ8NTJoa4p1N1idDk4R0lEqZiHQdqK/kpFChN1oY+6QQYuMO2t+in6jZ62Wl/AWe5TzihNinSFdOgUHK+aqNu6Cpg9uwg80GOJHF/KJiSk1g1Ksww2hXHqfkhfDjyJIvNV5xjjK70=;25:JderzwMqXGxfZEQckPdJyjRRG+U8te/axtjMH+jK+A51K/o4FbDHSyFuttqEwDi1UroEPwGQNY5EsiXY5Ve4PbqE4SFNTnOkcmDiMnEGRk+/7vfPDmx5PqIYvbExgCPHaA+Q56HcGgldEL3pfqNiESBAZnpKPHj+R118oXrVASy/vxR2kTfKwgY49uUS999UjpYheaytrxqc5gMAmf0/hjW6bqg/26H/tpS0b0jq9PqNZdbwKLma9coomv9Nayj6vCHiPQLTclkkssH9zWp5mWTVkE5H3iaRUYpifrC3kok7daaxQACH+QeUQN2ACf727pJWiES2RR7L2eg4X+JWQQ== X-MS-TrafficTypeDiagnostic: SN6PR02MB4334: X-Microsoft-Exchange-Diagnostics: 1;SN6PR02MB4334;31:Y6RCxFPCYEk8IFzONvVRudD08E6qNg5I2IC/85xGWKAScDYGcw1ouLIUPgnkAGOiCrnslKEyobA5WyQ8QYO6WnTJFZ9FId7OHendaZ8shAU/fH2J+vJqUiVizZL815OICi6t0Z9SmGIkXQpYNrajHvJ+DochUC637nWXc51CRge6mU7oRTX1o5yU/YraZbCq5FPURrtH0A0P7lMv9XlJy5T2RSKe8ISwenfZqkWaP6U=;20:p/68svC6Fd2zoX6dEyskd+nHIFBof2XJrK+DazFTdmjKt+4gz/IWJs/AAXyptCLapDnB0bqiB7Lr5dUr6epmfvYgp+LlfRqNF20od2hR4L7LiKxNB8DjqufoWba5si40H78Fh0DKGVPJNBZYKyWd9GltF+lbm81mqKMyc3VX2omVW/YAYPf8gb8uXrhW/Cf60uANJAA5guZqEd2ZsToFhev2stcI2EP1ag6TTdSMbWe42r8MVNyd+16GkkkfQv6lcNSURdWA9WTVW5IAC8k6u/cTnhvhAuzGqKffTb5Uq1EJ73JyWFd4ZdAAOHkRGkPcfiHkoJSMIw1Q6Syl6b68XB9WMbMA+gzsju8ueIGGkQHza+zi0z5i2Y39mSyF/DOJWAKgP96E68Ti5yIIOri0A71sx9P+LYA7rjFiF7Ygj/mrV9iDsIs/LbmDy4q9NXf87tzgoitjF7bn81DfZFjL1B/I/BZoumeSTZ0xHyaF64pkKQTZfcww6AzQPShI7p7i X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(3231454)(999002)(944501475)(52105112)(93006095)(93004095)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);SRVR:SN6PR02MB4334;BCL:0;PCL:0;RULEID:;SRVR:SN6PR02MB4334; X-Microsoft-Exchange-Diagnostics: 1;SN6PR02MB4334;4:AfbyxyqsOOzdCabu+sN/yEWdhG+BXgU+zAFbGgx5Z1AHwifM84UVuRckoziZ6TmRLTMaNaXysMPigC7eiBMRMjqUgIQUtV4qHyTOAvrZevrTrEG61hn29p7u2RQ4d1U1DvgY2lqDAnKmn7vIfUDsDB+dKIXioMwZhVQMSK9JyKHyUmtBP9QDa7dXeqLaom2is7OJKOYNbO/3R4fve/SLeAXwazduySUV7kEa4N6whjqNtO7rAWRDbkKxX6JkBGNsVY73CwvhAKWEbbiMjOsd0A== X-Forefront-PRVS: 087396016C X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN6PR02MB4334;23:ZCp7Kluer8feQBJdCNjw0ik/vkN0iFgCRafuF+i5v?= =?us-ascii?Q?JZcFLBBRg8QaW4fu6mms1p6MevC7bW8zAqP4h4NyQ3yuq84Xmca1QV1SQHZh?= =?us-ascii?Q?H7rRl4xjT9uJ1U9YV11cpzymSn4UNHh1xZclb5G370zZTfeGjAHsrAVQu//c?= =?us-ascii?Q?PbCRjReKBXWKwoT4e6bXw/vSds6vGjgiuGxe2ezU+ZAkIrmGTrFWmZUWZZGS?=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kgSQqAJ4zn4vzvKpm2FoUNWTHOnpsh9o8Lo1tzD/tvwX9PWYyHQVZWl96/7CjnxfZkF1B8KOG9+iaNhVY8nDYK0nEIGqTHexb765/nBWN+9J4Y7/VPuNw2kw==;5:K6+QzRUN/I5IgiQke+7V86ng1C3/jYxfZckVRua1Od8nLSpqJQqqOT1Epra/2svjRgGeEOfZqcIT0sdvjYeUBwpwarHwWeYzekLTucFtX13CR+lQCe1FP2F7OEy7fkOD8LEeMyx6EPBLgabeg/Jy4CjFxwlGoeQne3S4Glg7ovY=;7:nM2B5wL4/8odFWwP9u7SjMy3fadZcIHfdUiGKgV+NOU+jiUW83j8nfA8omKQCEP7zao4pyjP40TuJxe9+oH8t4S0mZkVaPrdQyfBgkzWYua1tcbgnRdb9svjjGPlvZgwypo861jlnCiMk4M+weDJtA== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Dec 2018 11:13:44.9367 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8b929a3b-36e7-4232-821b-08d6577e0f78 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.83];Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR02MB4334 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org For stream capable endpoints, uas layer can queue mulpile requests on single ep with different stream ids. So, there can be multiple pending requests waiting to be transferred. This patch changes the code to check for any pending requests waiting to be transferred on ep started_list and calls __dwc3_gadget_kick_transfer() if any. Signed-off-by: Anurag Kumar Vulisha --- Changes in v7: 1. Reverted to dep->stream_capable from dep->endpoint.stream_caapable Changes in v6: 1. Replaced dep->stream_capable with dep->endpoint.stream_caapable Changes in v5: 1. None Changes in v4: 1. None Changes in v3: 1. None Changes in v2: 1. None --- drivers/usb/dwc3/gadget.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index 78c9bc6..d0de7dc 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c @@ -2413,6 +2413,9 @@ static void dwc3_gadget_endpoint_transfer_in_progress(struct dwc3_ep *dep, dwc3_gadget_ep_cleanup_completed_requests(dep, event, status); + if (dep->stream_capable && !list_empty(&dep->started_list)) + __dwc3_gadget_kick_transfer(dep); + if (stop) { dwc3_stop_active_transfer(dep, true); dep->flags = DWC3_EP_ENABLED; -- 2.1.1