Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2263588ybc; Wed, 13 Nov 2019 11:31:04 -0800 (PST) X-Google-Smtp-Source: APXvYqxIWch/zwPmv//4PCoG3gu4SjKdHZJY4pyMRqhAHuwsI3wsgLgRCphMpyfVZdMekk0k+Z1Y X-Received: by 2002:a05:6402:1146:: with SMTP id g6mr5557743edw.215.1573673464780; Wed, 13 Nov 2019 11:31:04 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j2si1774350ejx.28.2019.11.13.11.30.40; Wed, 13 Nov 2019 11:31:04 -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=ITfSLdwo; dkim=fail header.i=@synopsys.onmicrosoft.com header.s=selector2-synopsys-onmicrosoft-com header.b=H8UrHg3f; 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 S1727020AbfKMTPL (ORCPT + 99 others); Wed, 13 Nov 2019 14:15:11 -0500 Received: from dc8-smtprelay2.synopsys.com ([198.182.47.102]:36302 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726139AbfKMTPK (ORCPT ); Wed, 13 Nov 2019 14:15:10 -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 86580C03F3; Wed, 13 Nov 2019 19:15:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1573672510; bh=DIl9H5Fk744n5/OAOuKsaeIKxiRwDqprcKs7fsognXk=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=ITfSLdwoYoLzFcBhecTZvX4TKt9FKezlCLQDTkog73MC3s1J6p6ck3oLVIviX1Z08 oIlQ3OEXCmGGFaRD2vnUwHrbXMDsQrlJRQG27XmPapbuH9UEZ0c3ZCxxK25TbYT/u3 2qudPJMZCP7yD7p+GNYFoldU+Pd6GB6MX/filMsshZlFbDWqsJCYK30VLATvRieCPO ArIcvO6qCzmnDttdfE9v5vgntMXzcByS1Qj0KiZy5rwz5exNDlJIslSz9T0KfEUNlG 05xgLMeNCPg9nlKKIguJtox4abhpj9gnWHFNBbfYuRXN/T/Al6N86D+fGg8H15Ch5I TUmleOQRdODdQ== 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 22553A0079; Wed, 13 Nov 2019 19:15:07 +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:15:01 -0800 Received: from NAM03-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:15:01 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fmGCBDhyFc4Ib5tS4C7rVacxCsz9P/DVRj63bdd7KZlYVXVWfcxDp19pUngodGz3OxR18vx7Y+KdS/p/LA0WhnLGU2lJDkgNeTaEMqoc86grv1ksL4SnsellGaWOVft5+3/HDr3rZaIT9Xc2bGgY3dAPhhd/ZVXcIL1tXTDKQ4lXHSlra+uZeKRJGk1zjcW62eAxotFusMjkFUbwITb2w6nBr1gMN87vfGABwCz3bUQHV6YRS+V5eT2G8Yy7EFkT7cY7TfVxPa9ODYKCL8fIgGT7qsdqtzzXM1TJ++0WCjaus28RX3Z9bGwwooMLirhuOgRmzRjCsVoDoM46B8flbA== 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=DIl9H5Fk744n5/OAOuKsaeIKxiRwDqprcKs7fsognXk=; b=S8mIf9+ajDaxOl3rXBTmmgkscmue+xztSD8QJ4ZvRxAsxfFvGi1gfmCO1yYY3MtH5jXnEdoJb2M+Perc3NIYcWqu60kDvCjdIsG4N2P1M9GU/0apcxX53cPSb5x4IHoAeHvlTZ9z7dlsIV7r+mzNPsU4Xwglx5zt82idXGzIoQatqQ5OnYNdTEruYNDaLoSiKWBSRFZ6Riws+eDMZ8gz2PPplkKe2dunEPW3Un8HCyNJAjQTg+i1fAfSlJ5/duf++uL9ko6v42F6QHXpAZAgLsJsgnvxkv15rwmTjAwOvrvqfv2Z/jqZ+7puoPg4rWUy9+v511AE0iRcx8eVORO4SA== 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=DIl9H5Fk744n5/OAOuKsaeIKxiRwDqprcKs7fsognXk=; b=H8UrHg3fIgQjHPhXwtS1od77r+0AqDMfuaODrQ0x8vTjVL9U4oPlTPkvgzIL3kwg76fksrRsZdPiHa17WRoAlq0NanpYDr4bKP7xzYMvbQJCg87IRaZSBveKa8D368CWW99gdxed23DI6RE2XHn3w8T7UkNv8DBtoo71ByMGJ0A= Received: from CY4PR1201MB0037.namprd12.prod.outlook.com (10.172.78.22) by CY4PR1201MB0150.namprd12.prod.outlook.com (10.174.53.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2430.26; Wed, 13 Nov 2019 19:15:00 +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:15:00 +0000 From: Thinh Nguyen To: Alan Stern , Michael Olbrich CC: Thinh Nguyen , "linux-usb@vger.kernel.org" , Felipe Balbi , "Greg Kroah-Hartman" , "linux-kernel@vger.kernel.org" , "kernel@pengutronix.de" Subject: Re: [PATCH 2/2] usb: dwc3: gadget: restart the transfer if a isoc request is queued too late Thread-Topic: [PATCH 2/2] usb: dwc3: gadget: restart the transfer if a isoc request is queued too late Thread-Index: AQHVmKSAwOKFEHeaw0mottJUNN0pEqeIevUAgABCiACAAII+gIAAPESA Date: Wed, 13 Nov 2019 19:14:59 +0000 Message-ID: <587b0adf-b71d-6fde-407b-46089ed5d695@synopsys.com> References: In-Reply-To: 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: 9b9faa83-b6ad-4f20-8aca-08d7686dc749 x-ms-traffictypediagnostic: CY4PR1201MB0150: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-forefront-prvs: 0220D4B98D x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(39860400002)(366004)(136003)(376002)(396003)(199004)(189003)(256004)(186003)(2171002)(6436002)(5660300002)(6246003)(66066001)(8676002)(81156014)(6506007)(2906002)(4326008)(102836004)(81166006)(8936002)(7736002)(86362001)(76176011)(14444005)(6116002)(3846002)(11346002)(66556008)(305945005)(66446008)(31686004)(31696002)(26005)(64756008)(66476007)(76116006)(6512007)(316002)(446003)(99286004)(66946007)(110136005)(54906003)(229853002)(14454004)(6486002)(36756003)(486006)(71190400001)(476003)(71200400001)(478600001)(2616005)(25786009);DIR:OUT;SFP:1102;SCL:1;SRVR:CY4PR1201MB0150;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: vk/rynmVFl+yU2tk1zlYdHNnD5Me2lNgq/bYDHvxkZB4uWiSg0D37r6vyMQdq+S5Q5bnHA5rcZGhkqwHL1G+bRpca/1VPRQroYMZ/aFVHuTyZbEKu67Haz0ag1wpeJBnpaot/RZHdFov3tpmJbQ50KwLVmHgQs+zhibThpia/HdN5l2R/homRl3uthLeCjUTsgJy6CNllpCkZ3QsnqYjipG8zMtpIKko8dLl7JsHkdcUYvxRyByQ/Mpha+xHfOOuki3fUfIhSKUBEsUgcrz41S8tXfnjSOLK7kNB8X4WJqejjPWwzs3UW98C26sHe3GgY9tCN7M+B1FV+UP+yZ/5GtrkS4e+qn0GGgV4QRWVZWcCjrfbMfv8x73RiHVRvpH/2FkI+YlTOFYHh+JVn2Que7vFWk4cOiEpb2qg8i0aODnn9kzBTOH6NwxcAZNh9gWP Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 9b9faa83-b6ad-4f20-8aca-08d7686dc749 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Nov 2019 19:14:59.8415 (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: lkz6tsUVb6iUV67YCqj/2hCfvZTP4MJeK2IdUbly72iZJDoRL79HaBu5fRgzpT3WpZthescUqO1Ro9G0pPBzJg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1201MB0150 X-OriginatorOrg: synopsys.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgTWljaGFlbCwNCg0KQWxhbiBTdGVybiB3cm90ZToNCj4gT24gV2VkLCAxMyBOb3YgMjAxOSwg TWljaGFlbCBPbGJyaWNoIHdyb3RlOg0KPg0KPj4gT24gV2VkLCBOb3YgMTMsIDIwMTkgYXQgMDM6 NTU6MDFBTSArMDAwMCwgVGhpbmggTmd1eWVuIHdyb3RlOg0KPj4+IE1pY2hhZWwgT2xicmljaCB3 cm90ZToNCj4+Pj4gQ3VycmVudGx5LCBtb3N0IGdhZGdldCBkcml2ZXJzIGhhbmRsZSBpc29jIHRy YW5zZmVycyBvbiBhIGJlc3QgZWZmb3J0DQo+Pj4+IGJhc2VzOiBJZiB0aGUgcmVxdWVzdCBxdWV1 ZSBydW5zIGVtcHR5LCB0aGVuIHRoZXJlIHdpbGwgc2ltcGx5IGJlIGdhcHMgaW4NCj4+Pj4gdGhl IGlzb2MgZGF0YSBzdHJlYW0uDQo+Pj4+DQo+Pj4+IFRoZSBVVkMgZ2FkZ2V0IGRlcGVuZHMgb24g dGhpcyBiZWhhdmlvdXIuIEl0IHNpbXBseSBwcm92aWRlcyBuZXcgcmVxdWVzdHMNCj4+Pj4gd2hl biB2aWRlbyBmcmFtZXMgYXJlIGF2YWlsYWJsZSBhbmQgYXNzdW1lcyB0aGF0IHRoZXkgYXJlIHNl bnQgYXMgc29vbiBhcw0KP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