Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753453AbbGGFRz (ORCPT ); Tue, 7 Jul 2015 01:17:55 -0400 Received: from mail-bn1on0090.outbound.protection.outlook.com ([157.56.110.90]:54468 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752071AbbGGFRn convert rfc822-to-8bit (ORCPT ); Tue, 7 Jul 2015 01:17:43 -0400 X-Greylist: delayed 951 seconds by postgrey-1.27 at vger.kernel.org; Tue, 07 Jul 2015 01:17:42 EDT 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; From: Subbaraya Sundeep Bhatta To: "balbi@ti.com" CC: "gregkh@linuxfoundation.org" , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" Subject: RE: [PATCH v2 3/3] usb: dwc3: gadget: return error if command sent to DEPCMD register fails Thread-Topic: [PATCH v2 3/3] usb: dwc3: gadget: return error if command sent to DEPCMD register fails Thread-Index: AQHQk69GvvpKmr7PaEKjPX967XYJ0J3DvMeAgAK66JCAB/dkAIABTIyA Date: Tue, 7 Jul 2015 05:01:43 +0000 Message-ID: References: <1432203408-5482-1-git-send-email-sbhatta@xilinx.com> <1432203408-5482-3-git-send-email-sbhatta@xilinx.com> <20150629214701.GK1019@saruman.tx.rr.com> <20150706170746.GA8021@saruman.tx.rr.com> In-Reply-To: <20150706170746.GA8021@saruman.tx.rr.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.23.230.133] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-21658.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11OLC001;1:7zsrySC0EpQLIaB3AxWfm5T1a4AlNJMgeED7aFfvIjYfMBc9yRsh2uVi4rRsyuSOGWde8D0Pv32alb7BawbgunB5Qqh67ewugGTDZ2rDkiLj+pSfVz34mMa/LCROfVPfNmJqiBkqVn4McShqMs74mEo2gn3FEaOTIThZR0cjtrz+dMdb7jEryKsju85EPiw5xLyjCqYz/a/1T8GYHSbMvYuOA/AOH4hTAHFJhOK3vaZaEpBwKS6wkaCPbDhn18OF8/ovE+FUllW6gCeWwz3CVtWxGFHdmcVrDSaE+gvmYK8jsWgu+76ErOQr57+5HHwTXWdvatbPSBBcKpMLlhQbIrhAbKm2+MU2dPIdgMXtLO3CvfRkmKo/gLRMLEPbpoqO3X6rfZmseggCuTW51pQk9fbH4HBLRoaRKq/RB67+530= X-Forefront-Antispam-Report: CIP:149.199.60.83;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(438002)(164054003)(51704005)(13464003)(24454002)(46034005)(377454003)(50986999)(54356999)(86362001)(19580405001)(19580395003)(50466002)(47776003)(87936001)(46406003)(2656002)(106466001)(76176999)(97756001)(2351001)(92566002)(189998001)(93886004)(5003600100002)(5001960100002)(110136002)(2920100001)(2900100001)(102836002)(2501003)(5250100002)(2950100001)(62966003)(77156002)(23726002)(33656002)(55846006)(46102003)(106116001)(6806004)(107986001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN1AFFO11HUB050;H:xsj-pvapsmtpgw01;FPR:;SPF:Pass;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11HUB050;2:r3pSHt4iBw5rKLguoLfOEW/ExLRIOSBzkOBmHNe6U/QJdxSChf9p6cX899RdyQg4;3:BFNIn0eUb/Cs+EZv22kulZQXJBdPwtOBkOzhMq9yzidK+xBtLF8g01XGFdQW/ApxboIdw12BrmsQUzauzQk453J/1PlZgmCNglFAU2AEv7FSkI5san4NzABQtJyNeWl7yoLQpKtO1qRSUdRY+AjQwJYxAZEQSRtxPcKtXy/p0/g/1n4Wvmeh6j+Hk9+F1jtOMLB9Z/MwQDiOWi26EYrwoZ98VR+BKR+9T9w8yVdzJV4=;20:OVo1iNDTDcbr3v23PMwpzkp7c+DPhqOUmSXb2RwF+cclc6EePv/XmRtJc8EPfotIpxSI9f5hdRyivwiLVoUVdbKroPydttOgxN6rqIYEbbepSPco+2zdP0qX7LK7VfEJTq2ounOIjwA6JOuBF3YGBLgW8vWlqPEIwa8wbEmW8mpNk7Jcfsg/JHFDMV3sh5+sZS7UtFEYpKVxaWVFDrBSKDOVsxUblZYjefNjTBiFMZo7kYSiTLX9mWcPv3PB0GS5Gm50xalEVo6LOxZGAnkWjqQYcBV8lCpaz5DZaaDi0Dy3yb8IwwGSxqpDQatDqAoA7eM0Wk9FrwKRQlzpmxNXzKoUBKvJAw04fdMILPZwR2pVsTrk3mDt7e/MzPdf/148TaKR6uU0tz58jrOkp25vDTLSdthN4FL8zRHPsjb7TwPKBGcXbpMx0g4b01yo7ej8GMVxxW9+tgVDOTRJBKONGofj2HTMRc6YGoc7obCxvshTBAkK0Oy+jPwGtmXpoqtd X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN1AFFO11HUB050; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:BN1AFFO11HUB050;BCL:0;PCL:0;RULEID:;SRVR:BN1AFFO11HUB050; X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11HUB050;4:QUUvEHvSm/pHhuQ7h74NZTVU/lhmUDXz7RlAUOof0wXhV0U0Hq94xM7PHSEiNDHfZjOfP8k9RorRsxRQypZetGp9AhcZ6kpFVMzwBvC61bfKPK3Q7rWpWvj3mY85NbWU2n0+gllTMt4dMtd1CRKDMkbzgizlq2+WGjkiC05derQhlaVNp8NA1AHvAoezMEhVnyD9Hdi+CH2jYhHhcjGY3eZmdi4up2HKs+TMS3noVh2r7og6kmvOhg7y8u1iQpXwggQnZpaVPFUxqx60s0vTnXxw6ID6oAtfaiId66drUmE= X-Forefront-PRVS: 0630013541 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN1AFFO11HUB050;23:WDYPlVE1pOI5bNXKCEnsP81tb3ms+pZmatMYtCf?= =?us-ascii?Q?DssFqChoCc4Po1xKOLFmm70jC9VChNXefzW5oY9qkLV4aoRMVUVeDNzmcvKF?= =?us-ascii?Q?nwpv0kPc06JwxNT67c6c0C2MO+ZFz5vBBlHD10jVwBZkuSGu86XeBF6gYNti?= =?us-ascii?Q?F1npAGx7QJ0geADbVUo9xrqgHIm10JTVooiOjFFhz8E6+KAx/REPn9HL7Crn?= =?us-ascii?Q?iSOJUO5BHtL9wP+/bavKuxtFIZK2rB0AmhJHzCKR940TAtfa9Vm2d28YOEy6?= =?us-ascii?Q?bK1kGQAYdjqKxnNPmyCAPF7YX987oIHi9vpJO8imTCrGUoy7pkfuOElwswHQ?= =?us-ascii?Q?MclAITowqX1eYR37iRIsMgUDvw76hWYGbIDQfV7EzBA5aU0flgogkHwDpaao?= =?us-ascii?Q?AdC6jbuFsfUdobSXBfK7DIrIC0OQ5Cf2WfNuWjThf9fcgupA0ROkn7Y9Y9+K?= =?us-ascii?Q?dQOcpuI4KF2+3yRqUYtkdjWT5ZUUHnHorcRjZ15jJ+gnwG3dDyfZhDGs7zs3?= =?us-ascii?Q?ChVevBbNpb9MstwlXKR49QjObQgAKERBb52E2gR8+YeNWB7i8SI254tCi255?= =?us-ascii?Q?WAcL4oqyachq9KyGTYCYHkuQRQd350+TZo62UJ8ybGBbz6dUmwwiJxFKRMsD?= =?us-ascii?Q?NFWMQ0a19Jj0MnbNiCTTys2RrKjNAbyJzSMgiUBXmCK+BOqPGHW23Eul5ttK?= =?us-ascii?Q?qj9CwEoqkii5ibHPZnkApuMNnCnOIYgQ5JAspsBlMahBQSqh4oODsqPtCdoU?= =?us-ascii?Q?qN9V3IBLL94rhix49SaenQkYmCtzzvvrceYgx3xGlpow/mfB4mo5vGikGCcT?= =?us-ascii?Q?nhGwtdE6PZVZgRrTUQplquZoEMjfFUekYAPVKDFWNdOnT8Q6ZWDFkIySQqWm?= =?us-ascii?Q?bwW6zZvZLW/+v6P6e1uspjsw4tqGYUpYC0MyEgi5Hm7WF2Qu9PukHVw/GS8e?= =?us-ascii?Q?f2/zJTA3kYunCHIpbACb5pJxCSSy0A2ZdZq32NCcJGeFbplosfetF05OeNJD?= =?us-ascii?Q?cM9XZ5NwJgBrwijDkrM+FmkooO6BACVivSD3UYmlL5r7wkjOd+tptidFO2YT?= =?us-ascii?Q?lDIt9fjG2EH3uE78o+K0kDmClp4JRG9dzmTsQfuwsl8lnJKNr4AqK2xf87Qu?= =?us-ascii?Q?yEKdh9c+SIuHncazuD8yLoL2LcJmcUNeo?= X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11HUB050;5:V8A04qLOAyo+RURnBI6/YZM+ZJpE7PolV6R1SRzlSPN1JrMmDZRDwyW7ggPd6fFtbt89AW1H2c3xUJy5y8kgWPQhGv9Tm8re/1N/H7IwaPDK0Q5bKehr+q3U1Dzd4faHyoHeD1ks0c8zOaJDmI69kw==;24:1oLJ0KBpuF/lPr9q5oi1NK2JiRZQX/V7GvwiqWb6bFfoUYefnOvG7Iywf4KH16IlJw2k5Ohu6n8XGJ22Ael1Fw7rR2msPWUZ1PxDpSFGxj8= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jul 2015 05:01:47.2907 (UTC) 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: BN1AFFO11HUB050 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2412 Lines: 66 Hi Felipe, > -----Original Message----- > From: Felipe Balbi [mailto:balbi@ti.com] > Sent: Monday, July 06, 2015 10:38 PM > To: Subbaraya Sundeep Bhatta > Cc: balbi@ti.com; gregkh@linuxfoundation.org; linux-usb@vger.kernel.org; > linux-kernel@vger.kernel.org; stable@vger.kernel.org > Subject: Re: [PATCH v2 3/3] usb: dwc3: gadget: return error if command > sent to DEPCMD register fails > > On Wed, Jul 01, 2015 at 07:29:28AM +0000, Subbaraya Sundeep Bhatta > wrote: > > Hi Felipe, > > > > > -----Original Message----- > > > From: Felipe Balbi [mailto:balbi@ti.com] > > > Sent: Tuesday, June 30, 2015 3:17 AM > > > To: Subbaraya Sundeep Bhatta > > > Cc: balbi@ti.com; gregkh@linuxfoundation.org; > > > linux-usb@vger.kernel.org; linux-kernel@vger.kernel.org; > > > stable@vger.kernel.org; Subbaraya Sundeep Bhatta > > > Subject: Re: [PATCH v2 3/3] usb: dwc3: gadget: return error if > > > command sent to DEPCMD register fails > > > > > > Hi, > > > > > > On Thu, May 21, 2015 at 03:46:48PM +0530, Subbaraya Sundeep > Bhatta > > > wrote: > > > > We need to return error to caller if command is not sent to > > > > controller succesfully. > > > > > > > > Signed-off-by: Subbaraya Sundeep Bhatta > > > > Fixes: 72246da40f37 (usb: Introduce DesignWare USB3 DRD Driver) > > > > Cc: > > > > --- > > > > v2 changes: > > > > Added Fixes and Cc in commit message. > > > > > > I noticed that this breaks at least my AM437x silicon with DWC3 > > > 2.40a when used with g_zero and testusb. As of now, it could be that > > > silicon is mis-behaving because I got a Transfer Complete before the > > > failing Set Endpoint Transfer Resource command. > > > > > > In any case, can you run on your setup with g_zero and > > > test.sh/testusb [1]/[2] just to verify that it really works for you ? > > > > Ok I will do that. > > Did you manage to run the test I asked ? If we don't get down to this, I'll > have to revert your patch as it regresses my platforms. Sorry I caught up with some other customer reported issue on Zynq (Chipidea). I will do it by this weekend at any cost. Please wait. Thanks, Sundeep.B.S. > > -- > balbi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/