Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp707517imm; Fri, 17 Aug 2018 05:26:58 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxHu8gIrrXMGYf+jyes4/YbAUzJfEfM2f+T8YmclNRoSECK9035tS3Wiu9nTpi3ReU56Goy X-Received: by 2002:a63:8341:: with SMTP id h62-v6mr31925785pge.298.1534508818166; Fri, 17 Aug 2018 05:26:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534508818; cv=none; d=google.com; s=arc-20160816; b=Iw2PNoKu2P95iF1AkCnTSekh8TvQnmq5jmt98D7J4y0YNPYwCAF8UbLyUeNunaDnto CcWcXoxHDmUsxwu1WjSLraBStnGMe5Mxl+M5fwHc74hyTD+zfWHjb5hUpJEPDdlbVYQ6 AveY0PNOEA71mlwvInIUXAbmmPOxq+HLQyz9CEnHNaxhY68Wv4uyw9aI45PBSGxBRY6U 0ote1sYmLFX8rFfqgk5rJY4Tl1rpYUJtBYZUtDXzxN6EQBZgrUPvieNY3laWg7uh+Dul wtecyTTjmDagnb25bxZ0XXkcbjxKGod9vnoihoGZmFZDVn58BNEQKkWzNwtvWOgw9WcL JwFQ== 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:message-id:date:subject:cc:to :from:dkim-signature:arc-authentication-results; bh=bW/TM3HfZwR3V0buY5fWklYWPNve4Tw/9sI8Yj4KLeU=; b=p8/KRWVvf+m8bPjZkp3qEuxiYJMmaWAz+z49f1lQIoO4de0e1i9+j/sC9s9++Qc1II A/ZLT+5cqvaViqxSDoug0ttPti4+4WTEdAKGqqFy71WPUNAURf/te96xriRJn5ji8fe2 z4vwMRN5vgnSta01qG1g85J7iN+RRRYDphgoqVpB9T6JNt4oZl5NB+6vcORLVXA++GtO zVFpFhRJ6exdLq/82UnMvNvsqXtuP9Cu15Da+sxkknW/3/4rVqZknuA2HytMPP9nxbNf +dTAXEoPzYi8kt385D55VtMUIoOaQj7JvcYg7QI7nRVaMjXBIVjxemnSWFJapo/WNUwT t78A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=S0UJ4jQD; 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 b26-v6si2028793pgl.159.2018.08.17.05.26.43; Fri, 17 Aug 2018 05:26:58 -0700 (PDT) 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=S0UJ4jQD; 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 S1727537AbeHQP2n (ORCPT + 99 others); Fri, 17 Aug 2018 11:28:43 -0400 Received: from mail-eopbgr730078.outbound.protection.outlook.com ([40.107.73.78]:37312 "EHLO NAM05-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727253AbeHQP23 (ORCPT ); Fri, 17 Aug 2018 11:28:29 -0400 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=bW/TM3HfZwR3V0buY5fWklYWPNve4Tw/9sI8Yj4KLeU=; b=S0UJ4jQDrOb7LR8n/TkdgZodP8yS6uFmxP4eK4+tEF3jdCqP9gZHswds0v26Gff1PS6A9QI6yescyNDmNhuK/ZugP2PckWjREF3jpN2npJvrKVXPzYGUGht+8Y+aCve2samcR2eTRNlRTXCPxKGtN3+TtKWLMAeYOjgqxfNaoT8= Received: from SN6PR02CA0010.namprd02.prod.outlook.com (2603:10b6:805:a2::23) by DM5PR0201MB3510.namprd02.prod.outlook.com (2603:10b6:4:77::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1038.25; Fri, 17 Aug 2018 12:25:06 +0000 Received: from BL2NAM02FT055.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e46::200) by SN6PR02CA0010.outlook.office365.com (2603:10b6:805:a2::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1059.19 via Frontend Transport; Fri, 17 Aug 2018 12:25:06 +0000 Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.100 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.100; helo=xsj-pvapsmtpgw02; Received: from xsj-pvapsmtpgw02 (149.199.60.100) by BL2NAM02FT055.mail.protection.outlook.com (10.152.77.126) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1059.14 via Frontend Transport; Fri, 17 Aug 2018 12:25:05 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:42346 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from ) id 1fqdoP-0008VM-B9; Fri, 17 Aug 2018 05:25:05 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1fqdoK-0000U3-AM; Fri, 17 Aug 2018 05:25:00 -0700 Received: from xsj-pvapsmtp01 (mailhub.xilinx.com [149.199.38.66]) by xsj-smtp-dlp2.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id w7HCOvvH024711; Fri, 17 Aug 2018 05:24:57 -0700 Received: from [172.23.64.8] (helo=xhdvnc108.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1fqdoG-0000TN-W0; Fri, 17 Aug 2018 05:24:57 -0700 Received: by xhdvnc108.xilinx.com (Postfix, from userid 15427) id 0CE8B604FF; Fri, 17 Aug 2018 17:54:55 +0530 (IST) From: Anurag Kumar Vulisha To: , CC: , , , Anurag Kumar Vulisha Subject: [PATCH v2 0/8] usb: dwc3: Fix broken BULK stream support to dwc3 gadget driver Date: Fri, 17 Aug 2018 17:54:47 +0530 Message-ID: <1534508695-12642-1-git-send-email-anurag.kumar.vulisha@xilinx.com> X-Mailer: git-send-email 2.1.1 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.100;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(346002)(39850400004)(396003)(376002)(136003)(2980300002)(438002)(189003)(199004)(36386004)(4326008)(52956003)(48376002)(36756003)(103686004)(186003)(26005)(6666003)(14444005)(6346003)(5660300001)(336012)(8936002)(50226002)(47776003)(107886003)(6266002)(486006)(476003)(126002)(426003)(2616005)(39060400002)(50466002)(106466001)(356003)(478600001)(90966002)(8676002)(81166006)(81156014)(305945005)(63266004)(2906002)(51416003)(110136005)(106002)(54906003)(42186006)(316002)(16586007)(107986001)(5001870100001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR0201MB3510;H:xsj-pvapsmtpgw02;FPR:;SPF:Pass;LANG:en;PTR:xapps1.xilinx.com,unknown-60-100.xilinx.com;MX:1;A:1; X-Microsoft-Exchange-Diagnostics: 1;BL2NAM02FT055;1:OQyc7TRTW+7HRr/3zZC0NEiz+ho9K8dBlDiuquB0kDqHWm1LT11oYJqpSFNt/Q+cp5xMy3E7Ic2uGTBMxOzaGWp+ytoRUylk4csv/b8vayu4O7hS/TsziYxn8BdoGu7j MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 59997fcb-7614-4bc2-def3-08d6043c7707 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4608076)(2017052603328)(7153060);SRVR:DM5PR0201MB3510; X-Microsoft-Exchange-Diagnostics: 1;DM5PR0201MB3510;3:we55lKFWM97jBNZuUfGm5NZ4lhyzMbXvguCEwUXESu0f0J0ZH24yD5lGZlcZHbTEbG2kirZMBisa2o4lrDJtAAXyWySdOlY3INE6now3Mk2a7jbARbi/HgoI5BZx92NXu/9ZqLDQ/tmDNp6gzZnf2mDbCGgZkJywPQhDwIFiYbWOcZb6Q1BFEjZgjIUa1rKS/PB9FE0yLGFM6ZN3qjKAisb0RiRYA95W7f54Y5wtdU1hK8723/J1A9kmDCOayB0xuMXdE4knU2Il4UnBza3OXvI+R0oiOGaLm6QVkWFs4FR/MA8O8LOqd+wBQw0bLcRi5UmfSM1kesila6BWhNBN2c97YCBoKQ7Yr1TAArahfF0=;25:t1OJ4r8Nm4WoZgdulYSOs4ZadkszgD7vtH2it7R/6GQVucwtTrfpVrXDasKMYXGy7giALfpM1RyOHeqRBofPgm6bR95dsjswTZsBqyvwFHjMft1HGYPFanKCMRKLsEWVyOuPhjpEHujrJufCHkPWvqJJ2KUra8rcDq4n+5VvwceVVZdnIvEbpWDslrpooEvRb7E1cn17ftRyTSDVhLa+fGQh6mjEGnJYOqdQg40m2pdd9uD00dIUaB/IE3zV7zxRWykxAC4y6rT6zO0DtoV7NAxnCxci6raUU+Q+q64l7Hmlh5+1NgvFmuiaJJefznYB/kcATqnkimZ9moazzbykkw== X-MS-TrafficTypeDiagnostic: DM5PR0201MB3510: X-Microsoft-Exchange-Diagnostics: 1;DM5PR0201MB3510;31:mDMZr8tJ4BGqbFBHQl/A1L5PwrOuQoxpCHo9wehpipjbfrBEqv+Pi/tUtTDPXnU63qJS9SyX5aUxNkfnv3Ip/ghzPrSNZEpu96gDJ4Xp1p+me7FJ0lqIH7PAO9dG+xbdlkFOlu80Tqe4dIo/KkLvNLs4iT/pdhu8VwYb6NpGGaDwKiZHsPqtWyeh21vSuMKQmNjAFhFpqTmfoX4BFn8ffxIW+LhwidR/9fj6s61O0tg=;20:nxwAl1GcdmRYKXM3+jG8pcMcok0zGmS1g3x0DCYTyj+Zx97IBbvBjy4OBJOWPORn7U3gk6e7b2Gkss/rw2eKjEZ5jO122/+x1jjzV2QbajBvdA9ApgD7UuL5xEaf1JEa5xDw/xBZC43HJHT6cT6XpvFMNUBq5tdCcClGYgKoQ9CXbsKgXj1eEnO0VorxhA1GZ+zKA7jDhAv0TEQoDwmiSqazCsTJczmtfFH64wfCHmatO/Iolf9FLv89yDk2GHMCQ02pYMtJSJP5pD5Q9o4VejhAqxa4ELUrZ2kFdt+G6VwW+p6rGxWFl2Ji7cnJ+679bDg1wmtzpoMVn22ZnoRi5we0TSyYkICQtQSPSTqNkhmTQnOZWtJdK4qFj9h+E6ELS7KmSsLPFtmlFvqOM1JZs3lp6aXGXFPbkIWPItN5SBUuO9w5QnueC+iAO++88YoA2NWqzfhgNckA2WWSfaSS0nJT0+8ofDHmw+kuhrzGhg/hTqURRgw6lGqwMCxFTNS5 X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(3231311)(944501410)(52105095)(93006095)(93004095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699016);SRVR:DM5PR0201MB3510;BCL:0;PCL:0;RULEID:;SRVR:DM5PR0201MB3510; X-Microsoft-Exchange-Diagnostics: 1;DM5PR0201MB3510;4:p43NKHRD8/839mQQnKXCRz4qRlaRDp5RWP1pdPQ5/agi/10exJHXeQLsRHuPRkRDNTcZRrTrHwFzOp3Eoybo9YuzKtmwwxK/+XV794U0NghfZ9t0KZyQ/oIkiIn/STpYDj/GVodcDTmU4+hMRxcNAjxo3DERydMb2DcJ6S9DBg7mgSRly/RI5I0wt9+E9Ivel8OPoCX5siC4Dn55bP+F9a8VvkyGDkVRWCbBs9u1Ma/n+7MzYx3jNzp+W3j4k5xASF2VEKtNjhRNvIKK3ABVAw== X-Forefront-PRVS: 076777155F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DM5PR0201MB3510;23:T3dDJv8S/jmuroDVxUsBum8vZVHPu5iNgLVBNCe?= =?us-ascii?Q?mXyx5GaegcMNLmaapvx91I6a7qzNDD9cyP2sxQOEc5j0mFhxRSz3bpXIGvxQ?= =?us-ascii?Q?vmQe7ZuJCredTNaxJeXLxPiiyQ4pOwfSo4NUFLDvYRUXXYtUGc3uSNBe+Yo0?= =?us-ascii?Q?xnEShMKCXvPEl6WtUSCsy51mQ7UlPXcHAUxWPfHUoiPoiwxAl7g0e+p4QAWP?= =?us-ascii?Q?hP4f6nOhIMhoEdWJ6NHrn7MhhT4Dr+uG/+OtIZWI0w+hGXo/2AX0rnbr7jBI?= =?us-ascii?Q?3M8xqtx8bc+QqFMSdOGsUQ55VsqvL0BwMK/ePCewmzQxPNBG34rofpQlD2Dm?= =?us-ascii?Q?tjDwVGqCRIaApUqaHBIjJmj3xjnQbKJRWAQr1XOEHAGYVLDqsCm8It5/hPZH?= =?us-ascii?Q?h+kda/6OxdaRSjZkYkVEAq2iELL4xs1qVKm1d96vcb7IkJEIyfy91wuPNQk4?= =?us-ascii?Q?GLoneqbOqBN4WPh+P4NpXCvcV7m/zi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ASr58mDcKwqV9i1yI0LylOVE5ygFpCIkfcSs3bvHXV+dKtzKJ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Aug 2018 12:25:05.9338 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 59997fcb-7614-4bc2-def3-08d6043c7707 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.100];Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR0201MB3510 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These patch series fixes the broken BULK streaming support in dwc3 gadget driver. Changes in v2: 1. Added "usb: dwc3:" in subject heading Anurag Kumar Vulisha (8): usb: dwc3: Correct the logic for checking TRB full in __dwc3_prepare_one_trb() usb: dwc3: update stream id in depcmd usb: dwc3: make controller clear transfer resources after complete usb: dwc3: implement stream transfer timeout usb: dwc3: don't issue no-op trb for stream capable endpoints usb: dwc3: check for requests in started list for stream capable endpoints usb: dwc3: Check for IOC/LST bit in both event->status and TRB->ctrl fields usb: dwc3: Check MISSED ISOC bit only for ISOC endpoints drivers/usb/dwc3/core.h | 7 +++++ drivers/usb/dwc3/gadget.c | 78 ++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 78 insertions(+), 7 deletions(-) -- 2.1.1