From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=104.47.0.48; helo=eur01-he1-obe.outbound.protection.outlook.com; envelope-from=udit.kumar@nxp.com; receiver=edk2-devel@lists.01.org Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0048.outbound.protection.outlook.com [104.47.0.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 4C1072095B065 for ; Thu, 5 Oct 2017 05:01:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=/XCZGRuUsXUBEY6PhxqHzpaytFHRbO4vWYAFIfyivsg=; b=E8MviJ0GPfZGO3+nVJUrNm+9R+7n94HgTuGjtZ/lgqT4eivmCaIznvVoIoVz+hhpXBJJa7l9ZVfBCuj5reZnUdgjD5l1jJ0LhVsAZrVOhVtTPCwUracOKvdlCAPpLvJOH732Aglpa65P+NIuj/Dg85tKQM1mLKzJPck2fz+Yq/Q= Received: from AM6PR0402MB3334.eurprd04.prod.outlook.com (52.133.18.151) by AM6PR0402MB3333.eurprd04.prod.outlook.com (52.133.18.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Thu, 5 Oct 2017 12:04:45 +0000 Received: from AM6PR0402MB3334.eurprd04.prod.outlook.com ([fe80::4d05:6a0c:bcca:93be]) by AM6PR0402MB3334.eurprd04.prod.outlook.com ([fe80::4d05:6a0c:bcca:93be%13]) with mapi id 15.20.0077.018; Thu, 5 Oct 2017 12:04:45 +0000 From: Udit Kumar To: edk2-devel-01 Thread-Topic: USB Enumeration Thread-Index: AdM9z7w52gGtS2phQTaTfzVs5IEMfw== Date: Thu, 5 Oct 2017 12:04:45 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=udit.kumar@nxp.com; x-originating-ip: [192.88.169.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM6PR0402MB3333; 6:U5FwvqjXgsLlHnq4GE1O11B9FK5Yj23x+uEMA+EO02OrSX959GzEQmRSx8lCo08vnX7ZCjpkYFwPCsSXzwxb2fUCe9A4UZlR/gjczouOZBNBOfze43ibXwAoW1hoSy5OV3BovmPUEsqsH25meqQNpoOFqT9VZrQkugbv5BE4TmrToUiAPCvkqiHhcYVAILkvLyJLFagi18YdLMmpWs7hdrLMj7nW5Zj33yW0fbKpL+7MsDh8RfQsgipv0hCYDVnfqXOyevsp3Knuyrmjv0w2ULD0KhmjA7j75dsPflSaceuLKL6FZLTgM9inK5TuetY5ynF0ZPE5M9ZWDi9t/UjdrQ==; 5:bcvmC9tr4gOrg4zB7+vMnvdjmNwF0yrLZf+mJXyNrbPDNJoMtd0hhcXJuXXZ4s9JO73X9n7/77TQH5r3O8tPcc3KOsAIB7/2EMdoxsJvWPmQnZJDW/cLGn0JapRQHnyMjpHeUh9hrid5PvjlWDSSrA==; 24:J0ARVFV/ipojtjd61g8SroVQDOaptow76A1I403dAcG9iCb0geUY+PFEMYlm22yJqS6dGlrtl3YxCx4RgN3QUKXi2Z/8oEBPrxFn8h0ZVPU=; 7:LL7opBTMWUv3O40im7NoqybDZ7KVtK1Jw4enoVBZWHpEeyFu1I3Yw/TNpsMzUuTLtdblXYLye8CpmvqIfpWq0ing1ONCXAxGPIN7daOIEGtSkceSidKszQCYeKTPn3EPqpLhz7IH86g63jaN2vElmkUG46rwb3kh0dSVs783aquHgzBWTJe5Vng0UC9doeGI78sFoQKNVuFlTfp8EbXyoq0FsbQJpg0jfwW+TRnkdVE= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 50ac5e9d-b69c-4cd0-c9e2-08d50be94525 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:AM6PR0402MB3333; x-ms-traffictypediagnostic: AM6PR0402MB3333: x-exchange-antispam-report-test: UriScan:(20558992708506)(211171220733660); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(3002001)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(20161123558100)(20161123560025)(20161123555025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM6PR0402MB3333; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM6PR0402MB3333; x-forefront-prvs: 04519BA941 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(376002)(346002)(39860400002)(189002)(199003)(2900100001)(4743002)(55016002)(99286003)(74316002)(101416001)(305945005)(9686003)(105586002)(25786009)(7736002)(5660300001)(7116003)(68736007)(7696004)(106356001)(50986999)(14454004)(6506006)(478600001)(3480700004)(6916009)(2906002)(33656002)(81166006)(3660700001)(3280700002)(5250100002)(54356999)(102836003)(66066001)(8676002)(6116002)(413944005)(316002)(3846002)(189998001)(6436002)(81156014)(8936002)(97736004)(53936002)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR0402MB3333; H:AM6PR0402MB3334.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Oct 2017 12:04:45.6933 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3333 Subject: USB Enumeration X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2017 12:01:26 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Dear Edk2 Expert,=20 With edk2 shell, I am doing simple copy with USB,=20 Flow is below=20 Start- USB device is enumerated and given address 1. 1. On Shell , cp a b 2- After a while Host controller reports an error=20 3- Layer above Host controller, reset the USB port 4- and Slot is enabled again ( this time address 2 was given) 5- Now FatIFileAccess calls FatCleanupVolume, which in turn calls XhcBulkTr= ansfer And assert is reported at MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c(1800): TrsRing !=3D ((void *) 0) Is this expected behavior to assert, or reporting an error will be fine in = such cases.=20 Thanks for help=20 Regards Udit =20