Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp740227imm; Sat, 8 Sep 2018 08:05:15 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaQdTJxNX3sdyPRGBGj+TL51UsJRrl5Ul3CmH9Ccg+Nwy5LfpVYLcMcplrMqtXjPE9aqVBK X-Received: by 2002:a17:902:7488:: with SMTP id h8-v6mr13210225pll.16.1536419115633; Sat, 08 Sep 2018 08:05:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536419115; cv=none; d=google.com; s=arc-20160816; b=VSSXVww4c0XMdnMd7rzYRFM2A7TS4+4dsTahfnEAZX8qh7BJBvJcZsSdgSFrEYG1e7 pfQqxCEaNa2hiM/SftXrF9UAHN/y6nBt9R4R971iuaNzBYjkmbRO2m+uzhZa0MXyfEt1 IcIwCRDb6akX63mDGZCRNgvYukeADpXJMbYfehYego2DIVizKufd0i9svZrtENKmH6SQ wBCxImRd+SHjv1cLbsMLvHYOvdDsCP+vyQLhh1/0DifJcTVmEtOz7334FS0xz+2fGA/9 zYsFNz2fFS8LXIJliLWZfiBsAc/FxlSEg9NO3zIB6sATxHu/pybi6vSd/ka5An0duQ/b /i5w== 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=4GNFl4f/J54zigfvF25AREp02RymxyPuWz6cNSjukBk=; b=TfrVM8arN9JJ5G9fMd2kjDdxzI5x3nlBu9a6F8D3z6iOVDXMCZJtG/8sjvlhxuFn4S c97vcT5EGIS+sgyzS0qtTbW4xuIjin4Ez/ygn0hXBM1ytCV+cqcHH272Bx07ZTaC/SXn Z1em2JelmKMokNRrAvTplnAbg3u9luEsBCm7E+aL5rGwJ1W7Rd0N9C37t+IFB4Fwws10 w2WUNE+e/LtQFz6YN/wqmQjSGdnhzvSiF3r4YvWnySq52219oKcYzLp18quxBP+qPfA7 Fcj9fvjM3EoKvodLwuyCJmWIu3N1gfRnE2JxeHBS0p+gqDGtKq5Aw+PAA0EvKD3mo+2k dDag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b="3T0NI1N/"; 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 o1-v6si11677540plb.499.2018.09.08.08.04.45; Sat, 08 Sep 2018 08:05:15 -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="3T0NI1N/"; 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 S1727775AbeIHTtg (ORCPT + 99 others); Sat, 8 Sep 2018 15:49:36 -0400 Received: from mail-co1nam03on0040.outbound.protection.outlook.com ([104.47.40.40]:39808 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727256AbeIHTtd (ORCPT ); Sat, 8 Sep 2018 15:49:33 -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=4GNFl4f/J54zigfvF25AREp02RymxyPuWz6cNSjukBk=; b=3T0NI1N/zlE5JHXUTjmI/Z7TyQzXO8GEQFt8NPtCTH/MfsIKQ1oKObFGaDwaD3ZeS6UfimVCyw5oDoPPAvU5lEKlGfpqX/aYqAEZ2fX88mzyi/bd1NhfVc/TPLArCd/RggrhJmZjAswold/bRRk+W5yRQT8N7o4AAJnPDwlKS/4= Received: from CY4PR02CA0044.namprd02.prod.outlook.com (2603:10b6:903:117::30) by SN6PR02MB4941.namprd02.prod.outlook.com (2603:10b6:805:99::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1080.16; Sat, 8 Sep 2018 15:03:21 +0000 Received: from CY1NAM02FT044.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e45::204) by CY4PR02CA0044.outlook.office365.com (2603:10b6:903:117::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1122.15 via Frontend Transport; Sat, 8 Sep 2018 15:03:21 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.100) 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.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 CY1NAM02FT044.mail.protection.outlook.com (10.152.75.137) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1122.15 via Frontend Transport; Sat, 8 Sep 2018 15:03:20 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:54063 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from ) id 1fyelc-00020y-8N; Sat, 08 Sep 2018 08:03:20 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1fyelX-0004pQ-51; Sat, 08 Sep 2018 08:03:15 -0700 Received: from xsj-pvapsmtp01 (mailhost.xilinx.com [149.199.38.66]) by xsj-smtp-dlp2.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id w88F39V5031606; Sat, 8 Sep 2018 08:03:09 -0700 Received: from [172.23.64.8] (helo=xhdvnc108.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1fyelQ-0004oc-VF; Sat, 08 Sep 2018 08:03:09 -0700 Received: by xhdvnc108.xilinx.com (Postfix, from userid 15427) id DC313604FC; Sat, 8 Sep 2018 20:33:07 +0530 (IST) From: Anurag Kumar Vulisha To: , CC: , , , , Anurag Kumar Vulisha Subject: [PATCH v4 5/8] usb: dwc3: don't issue no-op trb for stream capable endpoints Date: Sat, 8 Sep 2018 20:33:03 +0530 Message-ID: <1536418986-16609-6-git-send-email-anurag.kumar.vulisha@xilinx.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1536418986-16609-1-git-send-email-anurag.kumar.vulisha@xilinx.com> References: <1536418986-16609-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.100;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(376002)(136003)(346002)(396003)(39860400002)(2980300002)(438002)(189003)(199004)(3923003)(36756003)(81156014)(36386004)(50466002)(48376002)(51416003)(76176011)(47776003)(186003)(81166006)(8676002)(478600001)(90966002)(103686004)(26005)(107886003)(14444005)(6266002)(356003)(305945005)(446003)(5660300001)(106002)(106466001)(126002)(2616005)(476003)(42186006)(110136005)(50226002)(486006)(4326008)(336012)(8936002)(426003)(52956003)(54906003)(6666003)(16586007)(316002)(2906002)(39060400002)(11346002)(63266004)(107986001)(5001870100001);DIR:OUT;SFP:1101;SCL:1;SRVR:SN6PR02MB4941;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;CY1NAM02FT044;1:qn3ctWCnS8IOTefKpSV+g5BTQ8QSvkbMVUiuWbWgg2SVEyoi4t4HBUle8LQ3YbYZeIj7awX95Uzck9t2EqVb+7qpd1xoovb83TLk1o334Emenf78Aa3U49NYN5ZqXNH2 MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2503673a-c8a3-4a95-b1ef-08d6159c379f X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4608076)(2017052603328)(7153060);SRVR:SN6PR02MB4941; X-Microsoft-Exchange-Diagnostics: 1;SN6PR02MB4941;3:duBMeVC9luF/yACY9QYmM5kimzSF5r34igyf9Uflgx7jOQq7HWBwfp8/THp+T+8z8gH/mnqKCdOd87WnbI7OpRik3q6CdLaR7C9yXO3nBcTCspytOLBwSFAkTUNile5nv6XJTXmutS1vUMHhYCMfQ3magpghopD+lBx7XXPIyM8dZQ9pPlfoWDEvR3GPrbFYOwoS2vLw0DSn6WyAqwvYkV6wOuBU4YNwqa7GRCcLVtMyGdWbUDSbEAxswWsH6hIYqOjxNmDntryl0XZHyiJzW/NRcM1dC822GL9VQ3IjQtxbZtYx5Te1LUaOinNUojAHxsXIAotAnm3lgNGmjxxYGD/kgxlx7JJwl+hV8GmPWTc=;25:cb1d2nvWzY4UETd2OLbhA8py13P2biGm3WspRJiQawaW7+BiYdhdnlwxQnQ88ug/87HHIie848BQyfAAoodQEkFR42KKOlQ+thYWaOntohtCo0bgHFjt64um2Y+6G/04AKhDhLa9GECtjc2JW0z31T0t7oBUTke1p8OsiNHjvfcXBd9E4Wiu8ppUHijZfm/fq+fwYakC2pB+YWecHFjFl6bXaspul/Z/g9GLtfzpFONDKoDhXF0uTiyGCpgJTovd1IiukyH4tj/pXmNqSjzmCP57eQtKKxfuuHJXi+2i16hhTqyHNDVdhPz/EKWNXJO3xOMFNtF1yE9mLRiOaWNYzg== X-MS-TrafficTypeDiagnostic: SN6PR02MB4941: X-Microsoft-Exchange-Diagnostics: 1;SN6PR02MB4941;31:xEdSbynALbNqLlcwaJ58fml17+A49PpWhbZLH5jEi/nPIq92BkHKZ0JSdR7yHPQYZYKo6Zh+6AxPAihHuaHeN/wdgFqGxdZeAwEHpDbmuIQnpyurlgozZIVx3+/nHcCyTZlJ/wjn90JgDoGzpkXyotPLTw+cuq9F6+axRwvolvE2l6ag2e2AI5+Hg4H0tr5Jj1xTWB7zjct7JI8rMf36vjgKnx0cIgJWqh+7VCovBcE=;20:rK/E7UzM+MkbvqSLU2QdXqOJxq6ciUWa2RR5wVprU4PIlFXY/2nhdOoXWT95zN2PmfF98WOvbueTPZ/kOl8zA1BasGPWBlJX9FOZO/ieNiwonL6HYmX6xt5np5qIe2oYOI2jfORDoMHDZYzAxKkkodltL8CNNobh2Vs3tok37Rkh3JdKC34hDcN0Yi92tn2Xmwezew5JdeVmfQZp8LwDA3KTE0+Bsm0rwAkgAiFazE01YC3MrRYGFDZcJGXyYIYMzIyZjN9J8f/nDwnd/Wb/6cAAPWhSfhCjHOfB5zLPylD8BdmMjzCN5+ABsPIYjctd7PIpfiSd/JkX1oZe0gItsAkSsfsnYge6KZWS8MELFF+GQr/QmhxR3SyQnYfcyQAEztaN2SpknY4T3e1+mgWLK5a2wASwzKStswqM+lTgDFzt89fTuTo8Sj5g9u9pf6NzUxZzlQF2iwJB/fBY6WFp/i0XT5oHMhuTq+xp4Douqg1DrMVOk+BxuOhPZdRZug2h X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3231311)(944501410)(52105095)(3002001)(93006095)(93004095)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699050);SRVR:SN6PR02MB4941;BCL:0;PCL:0;RULEID:;SRVR:SN6PR02MB4941; X-Microsoft-Exchange-Diagnostics: 1;SN6PR02MB4941;4:1xEU9a+xFSc8jJMsPHjRcnzmc+fpZR7JVAoaGpxwOCkvPx4tawSgP3u5qlAYArGcTJ1IPPJdNFPAxqCu6Ehs2w5IQJuszdo0PmYCFKkf5f20ZE0Se9Jhz5BGVyEN9q8ZBsxnhJRM+rRJMHI5MvTxEjXYy28HxoUjSAu2gaM8u51E3YZU9kq4i3U7CnMftgDaFAb5qr9q7eb9gNN+7CnuAK8+PXG8COUtukYNmC+a8tnVCp0m+ak+9GGbROmgrdzDun2FKQpIvvM04YXkG0qDLb3kGYIKmwdG2oP6meI/CG6P7drUnFdxU5AnjYOkbyBy X-Forefront-PRVS: 07891BF289 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN6PR02MB4941;23:tnxeGiQeNviWPbxusIp+JAOf3nVZnOLDCQAjkT9Sv?= =?us-ascii?Q?sUAQ7962n1ImyQmGpcwdYm6lYgL14K0lxMJLO5Nm2hPg3zxxxr32BlFeQmU2?= =?us-ascii?Q?l370wUGeTfCjmR/WtzqRktpHkZpmKZ3raJYxdYAInvcg3wkRpjyPMfeO3l1/?= =?us-ascii?Q?s9P4RH+0N47/X3xiDBQHQwjoBM+jBUYPAoCSO6q0OtD3UMAVCelxlhHYymuM?= =?us-ascii?Q?SutowWGtZu8TKe05TmkeKZrhKMnVEfjQlveHcuGtBlXO8CL4od3XeG1h31nb?= =?us-ascii?Q?GROQY6V37Lgv7GnkPc79FuD0PQFiiW+hM924O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8w5GVs5n/Jp4jerMMHoc6Yd8YJoYoloRHtSXzCiba+L3bfvn4N1rMAyNWSNAiZvATzaO4ScjGZ3KlG8ru8=;7:AIO3WWtT/n5qXC1kdKenLV4kkwp4xBxKotevuTZfPIdWSkU4tHnPPA/NFU3Q0PbwRZ14IRQqFYZkQ+H3b3lulcZ4VV9G4pGQik1lDO6cDxcY/jqyJHQy/RIVuqqOh6smMyId6eUnh0tfanObPUaD4uip6vmibU2/Sko2jH+V3R7/srYCAg3Lw1b+Dcsm25BVKl80LTXfjLbGbpxHJBKgGcpYUQ9dD/+HXuneRFJx3BBlDje4GJQ9Z4vCCqr240kY SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Sep 2018 15:03:20.8047 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2503673a-c8a3-4a95-b1ef-08d6159c379f 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: SN6PR02MB4941 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The stream capable endpoints require stream id to be given when issuing START TRANSFER. While issuing no-op trb the stream id is not yet known, so don't issue no-op trb's on stream capable endpoints. Signed-off-by: Anurag Kumar Vulisha Reviewed-by: Thinh Nguyen --- Changes in v4: 1. None Changes in v3: 1. None Changes in v2: 1. None --- drivers/usb/dwc3/gadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index 306d4c5..97bfdf0 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c @@ -677,7 +677,7 @@ static int __dwc3_gadget_ep_enable(struct dwc3_ep *dep, unsigned int action) * Issue StartTransfer here with no-op TRB so we can always rely on No * Response Update Transfer command. */ - if (usb_endpoint_xfer_bulk(desc) || + if ((usb_endpoint_xfer_bulk(desc) && !dep->stream_capable) || usb_endpoint_xfer_int(desc)) { struct dwc3_gadget_ep_cmd_params params; struct dwc3_trb *trb; -- 2.1.1