Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1369184ybc; Tue, 12 Nov 2019 19:59:22 -0800 (PST) X-Google-Smtp-Source: APXvYqyNShLg0TsTiqJgw2D9dmfxc/r+CYqaD1F80BxAbL6Typgtvu164+GIqN/GxQOQobktyzqk X-Received: by 2002:a17:906:524b:: with SMTP id y11mr799704ejm.82.1573617562477; Tue, 12 Nov 2019 19:59:22 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b18si402513eje.20.2019.11.12.19.58.57; Tue, 12 Nov 2019 19:59: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=@synopsys.com header.s=mail header.b=GcTMAUAd; dkim=fail header.i=@synopsys.onmicrosoft.com header.s=selector2-synopsys-onmicrosoft-com header.b="Db/DgNAC"; 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 S1727557AbfKMDzy (ORCPT + 99 others); Tue, 12 Nov 2019 22:55:54 -0500 Received: from us03-smtprelay2.synopsys.com ([149.117.87.133]:40950 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726936AbfKMDzx (ORCPT ); Tue, 12 Nov 2019 22:55:53 -0500 Received: from mailhost.synopsys.com (badc-mailhost1.synopsys.com [10.192.0.17]) (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 6C1F3C08F3; Wed, 13 Nov 2019 03:55:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1573617351; bh=xa2hnDJUhe0w6qNTI2D+FLWY5ywbReXE7n9vZPXR4bw=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=GcTMAUAdKxDa5arfSOhRvqo/aP9dws8RbdESPSbLiEHpRWnQ/aq71fYCS8QF/RmJj MzPl0Q1T0NhNZ0LL0+tY5L4f26Tnl22nWu22RXiqprPo9WVqMHDxEij56cmZMVD0nu AyQts2WclD+4lADn7K9YuUme/oiFTEWfjxFCHket3BaWlfp487ipG5hgJk+xXwDQTo fnUHBlrj1GUtFyYwdPRLQNZbj9JgH5LFq44obakoPNpfJQq5dlS1mb14yLIoxwqewE 3tD8LajyGzgl0UdDSMH6v1TMqiia23BG7D3NdljTfS08E//RnpdiVKxt5J3zGDBxRl Nj8t1UZVpbFag== 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 DEFD8A0085; Wed, 13 Nov 2019 03:55:50 +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; Tue, 12 Nov 2019 19:55:32 -0800 Received: from NAM04-SN1-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; Tue, 12 Nov 2019 19:55:32 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kaGr9yLVqZflMJbKdpm7N5WkdVlVqr/BFkD6Ox6fUnbYlJ9qptachy17AKrR/u8tHvOeEkzoao9/uytaq41UcvBCVvLjQodL0JI41KX6Ihngj+QfLqZj0YuDRNmqPwBzh4bG1Kv9rjYvia7l8gTtsSe8OxUncn/jTqggjh0GgTLeaV7CSWqQIns8qeQ/7AwcHsQRFXvBkzvAC6QRtC0nDQzrACiOZcYZygprb0I+WX3570M50yzRYEjbUpomUV+Ub0q4SIuXl5y48sy0tbX5QnpwfH/Gp+jZLZN1AhbyKJnF7ZilH+wIsj18YVOvLc5lNvTmD8M9CWgQeRT+mYeydw== 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=xa2hnDJUhe0w6qNTI2D+FLWY5ywbReXE7n9vZPXR4bw=; b=SHt/O63VfSMHUztogAe8cADI+UyfoEqo9cjZxtwzbOzkSkDNXUi1N5sJkndYK7Xa4AspsDnyHjAzXGdaYy9RateZKqwJcgto3R/8v5edx0bQHkd8CTg0XhzB7xR26ea+ux2tImMLIRjvHykPrtIRoz7Lk2Yy7PQU5WEcOKB/iDRyNXAwUkk+bBjMRTPr8IV5cAFj0BBe1gpKgQo+uWeze7NYYtmJfox02K+EgqOhTRkD4khC1fjAIDznzes+drqHSKn1yGEHgsaT/N293N9WSwgpOqCBZiR4cA0xQvdM2DCbQgf4HwrhfEzFk4NMomyp8hcILQ/rnH29vmLK+t1P2w== 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=xa2hnDJUhe0w6qNTI2D+FLWY5ywbReXE7n9vZPXR4bw=; b=Db/DgNAC+ts3WFYIFZ5BsQ6Et2WMN4XjIcNd8UwdLUETj03P/O+csuwWlgrwMOixwvKUpZG61hCq9n9ZXCAzYexu1Y0Vi+6fLtRcySTtNwE0NAjShclHwnKU7to/u5crKHAIw3octGoVoCMBp0GdMkmzG+2KBHKdB3Fvc8OfU+Q= Received: from CY4PR1201MB0037.namprd12.prod.outlook.com (10.172.78.22) by CY4PR1201MB0008.namprd12.prod.outlook.com (10.172.118.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 03:55:31 +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 03:55:31 +0000 From: Thinh Nguyen To: Michael Olbrich , "linux-usb@vger.kernel.org" CC: Felipe Balbi , Thinh Nguyen , 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: AQHVmKSIKei7LJoy3kCzXLTfw8XpmaeIexeA Date: Wed, 13 Nov 2019 03:55:30 +0000 Message-ID: <49416a44-6317-c3e5-dca6-d33f3d8c9c89@synopsys.com> References: <20191111152645.13792-1-m.olbrich@pengutronix.de> <20191111152645.13792-2-m.olbrich@pengutronix.de> In-Reply-To: <20191111152645.13792-2-m.olbrich@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: 5954fb7f-0bb6-4e96-c87c-08d767ed5401 x-ms-traffictypediagnostic: CY4PR1201MB0008: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 0220D4B98D x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(39860400002)(376002)(346002)(396003)(136003)(199004)(189003)(31696002)(66556008)(14444005)(81156014)(36756003)(8936002)(8676002)(66476007)(316002)(81166006)(99286004)(25786009)(76116006)(110136005)(71190400001)(2501003)(54906003)(71200400001)(66946007)(64756008)(256004)(5660300002)(6246003)(66446008)(4326008)(86362001)(229853002)(11346002)(6506007)(6512007)(446003)(26005)(102836004)(7736002)(14454004)(305945005)(31686004)(6486002)(478600001)(2906002)(186003)(486006)(66066001)(6116002)(2616005)(476003)(6436002)(76176011)(3846002);DIR:OUT;SFP:1102;SCL:1;SRVR:CY4PR1201MB0008;H:CY4PR1201MB0037.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX: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: 87fDV2WoE2IRC/t+SLml9f0rWdSQCYfS9R5PSitEE1HFNP2N5iD7JpBVPNd5DVcG0onYHKn97+5vOk17qZIJuLN0NHlCzfiSLBR1fziS8kmIPY3oIzKJUtLVXd6HZhwh6cHL/317RRzVSV5dPWQfntsMWKHeUf4UDw/I2dGEK9ErcW9iUZDcgjgzlnLozEsDQyj17hqac1sPMRdh4CMclpju5wXkYtlw31BnvJqxRHZCXxawJzMPkdGHnJhOc0n4T8fR/OGjrEUDub1Rob9WkiPE3k8Hp/El105fDHSC4sw3aMQv0PHVNHtpwmKs/e23mMkP7f4RqDaMHxcaDA35UiUqjdVouCBK43mwIluDpjylQ9kk5YWAXFw21Uqd+AnFMyVWGE7jjqmDUlDatE+fcSbTUKksCR4mtP5CdnfaepJJXKJ4ljPX0EkbnU3lTZat Content-Type: text/plain; charset="utf-8" Content-ID: <3954C857FD5EAE4BAC66B704465101F5@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 5954fb7f-0bb6-4e96-c87c-08d767ed5401 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Nov 2019 03:55:30.5989 (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: 01S512yMGjb8IWVjF1sxg0nB+KZsSeGSW990T4YUVF380Sy3bwVYRyWwRFmrXgEovqJ5tnuGMhMRMF+Ash9lBw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1201MB0008 X-OriginatorOrg: synopsys.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksDQoNCk1pY2hhZWwgT2xicmljaCB3cm90ZToNCj4gQ3VycmVudGx5IF9fZHdjM19nYWRnZXRf c3RhcnRfaXNvYyBtdXN0IGJlIGNhbGxlZCB2ZXJ5IHNob3J0bHkgYWZ0ZXINCj4gWGZlck5vdFJl YWR5LiBPdGhlcndpc2UgdGhlIGZyYW1lIG51bWJlciBpcyBvdXRkYXRlZCBhbmQgc3RhcnQgdHJh bnNmZXINCj4gd2lsbCBmYWlsLCBldmVuIHdpdGggc2V2ZXJhbCByZXRyaWVzLg0KPg0KPiBEU1RT IHByb3ZpZGVzIHRoZSBsb3dlciAxNCBiaXQgb2YgdGhlIGZyYW1lIG51bWJlci4gVXNlIGl0IGlu IGNvbWJpbmF0aW9uDQo+IHdpdGggdGhlIGZyYW1lIG51bWJlciBwcm92aWRlZCBieSBYZmVyTm90 UmVhZHkgdG8gZ3Vlc3MgdGhlIGN1cnJlbnQgZnJhbWUNCj4gbnVtYmVyLiBUaGlzIHdpbGwgc3Vj Y2VlZCB1bmxlc3MgbW9yZSB0aGFuIG9uZSAxNCByb2xsb3ZlciBoYXMgaGFwcGVuZWQNCj4gc2lu Y2UgWGZlck5vdFJlYWR5Lg0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