Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2275389ybc; Wed, 13 Nov 2019 11:42:58 -0800 (PST) X-Google-Smtp-Source: APXvYqxQRrv/CKCfr6Q8YHe/BBdlARxt2r5agDzpoHglkeFraHiU2EkGiYQBKRls/6An1PcP36pp X-Received: by 2002:a17:906:6b01:: with SMTP id q1mr4534558ejr.162.1573674178729; Wed, 13 Nov 2019 11:42:58 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d16si2074918edp.283.2019.11.13.11.42.33; Wed, 13 Nov 2019 11:42:58 -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=@synopsys.com header.s=mail header.b=BLrNPWpb; dkim=fail header.i=@synopsys.onmicrosoft.com header.s=selector2-synopsys-onmicrosoft-com header.b=cdLbx9FH; arc=fail (signature failed); 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726980AbfKMTkk (ORCPT + 99 others); Wed, 13 Nov 2019 14:40:40 -0500 Received: from smtprelay-out1.synopsys.com ([149.117.87.133]:43294 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726074AbfKMTkk (ORCPT ); Wed, 13 Nov 2019 14:40:40 -0500 Received: from mailhost.synopsys.com (badc-mailhost2.synopsys.com [10.192.0.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 0B062C024B; Wed, 13 Nov 2019 19:40:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1573674038; bh=aGko5Oxd08GPvWqL3UPWkLPD3rX5nz2MmVGDMqzNOdc=; h=From:To:Subject:Date:References:In-Reply-To:From; b=BLrNPWpbj0ILbVD+XlaF0TvZdxKVggNZ4aUJKYs92PU1D/WZZA0XdbmVipwku7jV8 PJYMdtfjbcJxR/QNd9Y7FJ9w0yIi/xb8uiSN5uqd1gvqAqpXtSpjvF2sDm6MJRkA3H DDvjS9sYmKE9Ok1CYxXrnZLu/Ih7xMI9wydJd0Z2z4DdTgQgxUFCV5xq72vrkuDZVa ZDD8euJsFIF2xQGAbEyUZ3BEd+nQM1P5M1sJMv5QkBf1WbLmDXp6mEXrNxe4WUxwNp GuasCuqzB3GZqLFVyPyR/uUtNzTzi1J7fvUnVUc+r+X8q9f2vwZVFVIv6xlcc4FA3X gLisDZT0egx8g== Received: from US01WEHTC3.internal.synopsys.com (us01wehtc3.internal.synopsys.com [10.15.84.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mailhost.synopsys.com (Postfix) with ESMTPS id 14312A0069; Wed, 13 Nov 2019 19:40:29 +0000 (UTC) Received: from US01HYBRID2.internal.synopsys.com (10.15.246.24) by US01WEHTC3.internal.synopsys.com (10.15.84.232) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 13 Nov 2019 11:40:28 -0800 Received: from NAM05-CO1-obe.outbound.protection.outlook.com (10.13.134.195) by mrs.synopsys.com (10.15.246.24) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 13 Nov 2019 11:40:28 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WWLaMQ9yu2ISZIJtT7+xGe++ya8GEkoYtco9YpV9DodQC5HenSvcbKRLRIb0/UVzqVNvDACJm5UYzRfyRqoRDUspiAA3x5r5/Ox35xqSGB3JL6h5YdF7BTyAnTmGXvBkW/EY1yfr803qO0PS4iiqFlx2Se7ncJ6Yx0Owfisd0mVBMLWW7FGlaqXWJMLGGdOh92qs2hEfqHAUR8OFMS9F4a/FaMWVTqdPvZWXiOFiZvdaHgJ6xW3/v3d+AQZEsXtckMbLwQXd2f/agzHVVtK+M0uTHXw+MzZ6kO9i02C5SZyxdgTVFdeP6dpetodNlr1K3/65m8fQSeWmvIHCgJDUgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aGko5Oxd08GPvWqL3UPWkLPD3rX5nz2MmVGDMqzNOdc=; b=SCWWoVdJX3SbRrNch7oIYmsfM6lstjhQrbt9qhVrGGtuBDS18XBYWFOjGCFJxidjWb7XlL2l9Xt+estwRCu2bGl9mzMY1BmKLvaTlNmSuJmFP1YjnQ1fddfD9pJt/43ON+F7ZjZzVQk09RrOeyPc5RzHwCQ4Qbd4iP97AvYEgTjxRFC7bb3xyjxR436gdmVdTQVbu81XjnfbyWgYJ2VMBTmSPj+wgLWS6RI+D7obiAPff4RTJbPIVoxCOE8F5Z7Q2ilBva0BbLevOfyau3dG/wyLkjU72obl7nTQYh3TSUHjbugRYC61QFH9bIfZrQfk7nL78RE4n7s1EyPtIEt40g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=synopsys.com; dmarc=pass action=none header.from=synopsys.com; dkim=pass header.d=synopsys.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=synopsys.onmicrosoft.com; s=selector2-synopsys-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aGko5Oxd08GPvWqL3UPWkLPD3rX5nz2MmVGDMqzNOdc=; b=cdLbx9FHevnhouseUXelxxcnQvbkD8ReAxp0MXyNmzuGAG+CqHPrCewhhrn4ds31i1WkDYhfto4MTLCfimocAi02MlNhlbc7t0UDsarWke/B5IBNKgiUPTsRUyETHpPOs9EK9TRjZ80eo+YfRTruMZIdT6JPRse0OASgjp3jvUU= Received: from CY4PR1201MB0037.namprd12.prod.outlook.com (10.172.78.22) by CY4PR1201MB0006.namprd12.prod.outlook.com (10.172.117.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2430.25; Wed, 13 Nov 2019 19:40:25 +0000 Received: from CY4PR1201MB0037.namprd12.prod.outlook.com ([fe80::cdbe:cf8c:dfb7:68d3]) by CY4PR1201MB0037.namprd12.prod.outlook.com ([fe80::cdbe:cf8c:dfb7:68d3%4]) with mapi id 15.20.2430.027; Wed, 13 Nov 2019 19:40:25 +0000 From: Thinh Nguyen To: Thinh Nguyen , "linux-usb@vger.kernel.org" , Felipe Balbi , "Greg Kroah-Hartman" , "linux-kernel@vger.kernel.org" , "kernel@pengutronix.de" Subject: Re: [PATCH 1/2] usb: dwc3: gadget: make starting isoc transfers more robust Thread-Topic: [PATCH 1/2] usb: dwc3: gadget: make starting isoc transfers more robust Thread-Index: AQHVmKSIKei7LJoy3kCzXLTfw8XpmaeIexeAgABE5oCAAMMcAA== Date: Wed, 13 Nov 2019 19:40:25 +0000 Message-ID: <4762d3c8-a4e5-c133-fbbf-e7374f05b2ed@synopsys.com> References: <20191111152645.13792-1-m.olbrich@pengutronix.de> <20191111152645.13792-2-m.olbrich@pengutronix.de> <49416a44-6317-c3e5-dca6-d33f3d8c9c89@synopsys.com> <20191113080205.tsqnzjgwtdmmudef@pengutronix.de> In-Reply-To: <20191113080205.tsqnzjgwtdmmudef@pengutronix.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=thinhn@synopsys.com; x-originating-ip: [149.117.75.13] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b678a04e-eeba-4be2-f550-08d76871546c x-ms-traffictypediagnostic: CY4PR1201MB0006: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 0220D4B98D x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(136003)(376002)(396003)(39860400002)(346002)(366004)(189003)(199004)(2616005)(66556008)(25786009)(476003)(6506007)(99286004)(31696002)(486006)(2906002)(66476007)(66946007)(64756008)(76116006)(76176011)(6512007)(6436002)(110136005)(229853002)(6486002)(86362001)(66446008)(36756003)(11346002)(81156014)(7736002)(316002)(31686004)(8676002)(2501003)(305945005)(5660300002)(186003)(446003)(81166006)(6116002)(14454004)(6246003)(256004)(14444005)(66066001)(478600001)(8936002)(102836004)(71190400001)(71200400001)(2201001)(3846002)(26005);DIR:OUT;SFP:1102;SCL:1;SRVR:CY4PR1201MB0006;H:CY4PR1201MB0037.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: synopsys.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 7aOCQxM5AJZtL2M18/12nlRDns5VzZqqu8Gg7SvCrCekwYX2WeBkDMDa1wQj3iPx+g35hKAPjF/L8xOf+bFOCUKtUk9zMJA6AP3/CCKmaGhOXRwu9jpoQEVZ6qEQLKRxjLlfhfBEFlPCEXiQC7zybRmWhqi1/L2NcXIHCLzaYxlzMolzdiEWf5Fvn40gfxkxWVrWUa6pm8FeWDCxB1CSNa8rWaHAvH/86WZ+/GVTVOjJ3Ncw9IaxmxHmX9nQtHom3z24OHXQm6c+yVL2ucJsxd1dy6eBtItlwrovvuN1yK7GJRscH2B7VglLK5yBsvtFChaBteRDEmXDwmQPrBDQrH2I+fXhpNlts/u4bDV2zS+xpMayR1AeXK+LU8+NV70iT/s+VGH1/YTHYziiIoXcn7I2B1Q7ggNQNZNCEP0m3DlxmDFHHz5Jk7QUhCbB9Zbk Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: b678a04e-eeba-4be2-f550-08d76871546c X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Nov 2019 19:40:25.1975 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: c33c9f88-1eb7-4099-9700-16013fd9e8aa X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: oDzXltVirvDUrUCIoqVlfz+ZfFz6CYev/+UCR2f9NJ9o8M5E+6SC3YTrdW/tnZj/j/PlDcbqu09sL5ZlZlSY2Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1201MB0006 X-OriginatorOrg: synopsys.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksDQoNCk1pY2hhZWwgT2xicmljaCB3cm90ZToNCj4gSGksDQo+DQo+IE9uIFdlZCwgTm92IDEz LCAyMDE5IGF0IDAzOjU1OjMwQU0gKzAwMDAsIFRoaW5oIE5ndXllbiB3cm90ZToNCj4+IE1pY2hh ZWwgT2xicmljaCB3cm90ZToNCj4+PiBDdXJyZW50bHkgX19kd2MzX2dhZGdldF9zdGFydF9pc29j IG11c3QgYmUgY2FsbGVkIHZlcnkgc2hvcnRseSBhZnRlcg0KPj4+IFhmZXJOb3RSZWFkeS4gT3Ro ZXJ3aXNlIHRoZSBmcmFtZSBudW1iZXIgaXMgb3V0ZGF0ZWQgYW5kIHN0YXJ0IHRyYW5zZmVyDQo+ Pj4gd2lsbCBmYWlsLCBldmVuIHdpdGggc2V2ZXJhbCByZXRyaWVzLg0KPj4+DQo+Pj4gRFNUUyBw cm92aWRlcyB0aGUgbG93ZXIgMTQgYml0IG9mIHRoZSBmcmFtZSBudW1iZXIuIFVzZSBpdCBpbiBj b21iaW5hdGlvbg0KPj4+IHdpdGggdGhlIGZyY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