From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (NAM12-MW2-obe.outbound.protection.outlook.com [40.107.244.47]) by mx.groups.io with SMTP id smtpd.web11.19529.1677836054693781541 for ; Fri, 03 Mar 2023 01:34:15 -0800 Authentication-Results: mx.groups.io; dkim=fail, err=mail: missing word in phrase: charset not supported: "big5"; spf=pass (domain: ami.com, ip: 40.107.244.47, mailfrom: richardho@ami.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jMlNNvGMnDRXRgdhC2+N7iz4LSUm62pp3VeAdXd9vTLi+1LWyf/NLiKU+foHk6TcmsCrMSzuu/8ZJInScDcWcfX/Rvjq1OtKW0xqeBkinjcib8ltFLSmowobm0EtRW9fgd8Hl4SrPQBwmoW6IWKmcI75YrZoEfXrM54Hskdkf+och7YOgFqUF8gnLMjW5s+i/gWGCObw6mfvGdm/w6+jy6yxZAADR92hmgLBBgB6pgRKtKUbTomGsZrtg/rSOlfKaicQYUv8jbTEfDZeaKvdKLREOHtJ32Hntli6PkIQEKEpiE+YjJWe1OXBFmyVheJyF/Uveikfy2IDQvuCmitgCw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wiuJpTsFo3TwXNPRWCNDXb6PRVDi9/ZpJ20ifYcLCC4=; b=NTkinNZmV5SrdUKHE3Kmd/uf4/ImjlukZ53kaOXkyxBUG8ceabFHYydZoVsBHS2faClDqJ46iLGLlJwQ8cCrrmc/c8PVM+IXJYca/7BvkLb/jNQbepeBraK+5vMfk4BBJmFAMSeoD/ejR0ijZVe/7VRm38DrgkH0WF7YS+sl2wWxvg5Y99KdlFb/Uvly4AEYjWlTvga4DYtMf1WDGYC1Zve+6uF1iPPCdw633ksMZwfMd1IBnvmfsWJUa/2/x+jRKcI9CU7oyDcBte/ItHzEyhWlJCu42hovLiqh8qW0ksVAsxP25zN76PCNDSBY1LmnNa1SKAeqpKQCn+29V3T9Mw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ami.com; dmarc=pass action=none header.from=ami.com; dkim=pass header.d=ami.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ami.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wiuJpTsFo3TwXNPRWCNDXb6PRVDi9/ZpJ20ifYcLCC4=; b=O+NVGZcXTD/pm4CvVofWtSxaJerz+aJ9pz9hw17URaTrvzzvUKdNi/18gu8trZ7m/iQTdO1/P3mzDEDICLvlA2w5BB0Gw9Jd3xmB/QAUPB1FUfI2Oo1C/mxxJ/19bi1S7Vco8Hdq4WCYTUeZZnWRjRnBFQR57FE8SyrG6/1XcZo= Received: from CY8PR10MB6441.namprd10.prod.outlook.com (2603:10b6:930:63::16) by CY5PR10MB6189.namprd10.prod.outlook.com (2603:10b6:930:33::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.22; Fri, 3 Mar 2023 09:34:11 +0000 Received: from CY8PR10MB6441.namprd10.prod.outlook.com ([fe80::7b59:85c6:a3d0:1921]) by CY8PR10MB6441.namprd10.prod.outlook.com ([fe80::7b59:85c6:a3d0:1921%4]) with mapi id 15.20.6156.018; Fri, 3 Mar 2023 09:34:11 +0000 From: =?UTF-8?B?UmljaGFyZEhvIFvkvZXmmI7lv6Bd?= To: Tinh Nguyen OS , Rebecca Cran , "devel@edk2.groups.io" , Michael Brown CC: =?big5?B?VG9ueSBMbyAow7mq96pRKQ==?= , Felix Polyudov , Srini Narayana , Harikrishna Doppalapudi , Dos Hsieh , Andrew Fish , Leif Lindholm , Michael D Kinney , Michael Kubacki , Zhiguang Liu , Liming Gao Subject: Re: [edk2-devel] [PATCH v4 1/3] UsbNetworkPkg/UsbRndis: Add USB RNDIS devices support Thread-Topic: [EXTERNAL] Re: [edk2-devel] [PATCH v4 1/3] UsbNetworkPkg/UsbRndis: Add USB RNDIS devices support Thread-Index: AQHZQ34SK8qTUvG2GEyIwgXD7WF6Xa7YsAGAgAAFRnCAECUPMA== Date: Fri, 3 Mar 2023 09:34:11 +0000 Message-ID: References: <20230218094743.358-1-richardho@ami.com> <2e170b3a-0822-9e13-bbf1-15c99d646d78@amperemail.onmicrosoft.com> In-Reply-To: Accept-Language: zh-TW, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ami.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CY8PR10MB6441:EE_|CY5PR10MB6189:EE_ x-ms-office365-filtering-correlation-id: 232e82d0-b90f-4f4c-5c11-08db1bca721d x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: g9bXIoMEbAg3Hp++Lz9KLArTrNHGEX6NY0zEqv8ZBexZcYmtM1asTei1G4WW534vDzHIOqw3Y/9us6Zoy19JWJfaVvFsAGYv3JD0mlgPL2Of8MkhGWpRqcUNrVcHmjXf6XqrK74gq+8C29C8V6MBiS66b6u5zBRVGP/B/v6z3oBSQd6jxh+Z2EDhjuqIVFl9L2TZDbiw/Wgf+zGk2xASUXiZ33gzzcgYQXdxyqHZ06zGWnRagmQD9AWdUAvv22wB/qEbZgpv4OVcC6L+C7K2ws4LGq/M95eywGBs2dJ9fUJX5APovLMd5oF76LY1PuVtasAu0AeSRK2kVVga1rpJHu0e3f+2upOORxLG5FEr4Ph+F6HZZ9bQNyLV/KMC+BTnPWJQzRCRGC8n4Pa5U5zbMoftgA2A0IpwdpD3cRijq2c2p5319yD3IunFu8D3Jc3UZzzH2piB7kn4rcOYdErIjc9+DHqChUeYY6kt7A0T5XvIadwQRQgLdL7fe7YQP80bylE6NKkTTTmsFwUVbJ/QfgS9ASh0dtVkcN1OZ+v1r3WlyZ1A5ZB6hN/X1tm3mb6tcufJ39jKkhoo9zqPvUwxBh0EhlFnHKMHnwgcoGF6VyxaQwkKc6zmI8PQpa0SjC0E66By4xg4n+y+cvZzQt70Y2paMCIiiQclUXL/7IFKm30YHor/0oYZgK1s1bwbZaJ6PPa0lBWiRiLxZ9UClnsGC/SD2aW2+G+PfdJyJjlpKd8= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY8PR10MB6441.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(136003)(366004)(39850400004)(346002)(376002)(396003)(451199018)(6506007)(7696005)(53546011)(2906002)(71200400001)(7416002)(122000001)(186003)(86362001)(66476007)(66556008)(64756008)(85182001)(110136005)(66946007)(66446008)(8676002)(26005)(76116006)(5660300002)(4326008)(9686003)(38100700002)(478600001)(966005)(8936002)(55016003)(52536014)(166002)(54906003)(316002)(40140700001)(83380400001)(33656002)(41300700001)(38070700005);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?big5?B?K2ZSZnk0a1hWb3Jzd1liSGZ1VDdqQ0REdlV4cVRHaEpvdE5GY1d2YlhmNUVEZFhY?= =?big5?B?Vzk3SFlEOW0yK2N1cFE3SUlZRnpBdGFybzl3Yy9JTnRsRXR1RzQzV3V6VEZrSmI3?= =?big5?B?dklORndXRG56dGhiZTc2K3cyQ3AxY216ZU5IT0ZXOVJZYXpTeTYwTDlmSjJIVGV6?= =?big5?B?TWxxSlhiOGgxYlV6anZSd29haENkbWxSdDRFSVpnMXY4S1ordFNkMXh3Z0dEZEpQ?= =?big5?B?MGxOcUg5dHRYblBNQzU4YzhKZ1RiNk4xODBRWXZpT3MvWkRvaEZFaFVGV2ND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 1.0 X-OriginatorOrg: ami.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY8PR10MB6441.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 232e82d0-b90f-4f4c-5c11-08db1bca721d X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Mar 2023 09:34:11.4458 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 27e97857-e15f-486c-b58e-86c2b3040f93 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 5wugywlXF5Gj1MF/HvBkcOBOKwNCK1kahG54F6bsOx3K0EEuVjoCKcc+m2q7WjLzOaZQtiL+ce/Uu/RMi3OQAw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR10MB6189 Content-Language: zh-TW Content-Type: multipart/alternative; boundary="_000_CY8PR10MB6441437CFBA8E1F9A3966CCBB0B39CY8PR10MB6441namp_" --_000_CY8PR10MB6441437CFBA8E1F9A3966CCBB0B39CY8PR10MB6441namp_ Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: base64 SGkgVGluaC9SZWJlY2NhL01pY2hhZWwsDQoNCkRvZXMgb3RoZXIgaXNzdWUgaW4gVXNiTmV0d29y a1BrZyBQQVRDSCBWND8NCk1heSBJIGFkZCB5b3UgdG8gcmV2aWV3ZXKhpnMgbGlzdCBpbiBjb21t aXQgbWVzc2FnZT8NCg0KVGhhbmtzLA0KUmljaGFyZA0KDQpGcm9tOiBSaWNoYXJkIEhvICim86n6 qb4pDQpTZW50OiAyMDIzpn4ypOsyMaTpIDExOjAyIEFNDQpUbzogVGluaCBOZ3V5ZW4gT1MgPHRp bmhuZ3V5ZW5Ab3MuYW1wZXJlY29tcHV0aW5nLmNvbT47IGRldmVsQGVkazIuZ3JvdXBzLmlvDQpD YzogVG9ueSBMbyAow7mq96pRKSA8VG9ueUxvQGFtaS5jb20+OyBGZW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lIGluZm9ybWF0aW9uIGNvbnRhaW5l ZCBpbiB0aGlzIG1lc3NhZ2UgbWF5IGJlIGNvbmZpZGVudGlhbCBhbmQgcHJvcHJpZXRhcnkgdG8g QW1lcmljYW4gTWVnYXRyZW5kcyAoQU1JKS4gVGhpcyBjb21tdW5pY2F0aW9uIGlzIGludGVuZGVk IHRvIGJlIHJlYWQgb25seSBieSB0aGUgaW5kaXZpZHVhbCBvciBlbnRpdHkgdG8gd2hvbSBpdCBp cyBhZGRyZXNzZWQgb3IgYnkgdGhlaXIgZGVzaWduZWUuIElmIHRoZSByZWFkZXIgb2YgdGhpcyBt ZXNzYWdlIGlzIG5vdCB0aGUgaW50ZW5kZWQgcmVjaXBpZW50LCB5b3UgYXJlIG9uIG5vdGljZSB0 aGF0IGFueSBkaXN0cmlidXRpb24gb2YgdGhpcyBtZXNzYWdlLCBpbiBhbnkgZm9ybSwgaXMgc3Ry aWN0bHkgcHJvaGliaXRlZC4gUGxlYXNlIHByb21wdGx5IG5vdGlmeSB0aGUgc2VuZGVyIGJ5IHJl cGx5IGUtbWFpbCBvciBieSB0ZWxlcGhvbmUgYXQgNzcwLTI0Ni04NjAwLCBhbmQgdGhlbiBkZWxl dGUgb3IgZGVzdHJveSBhbGwgY29waWVzIG9mIHRoZSB0cmFuc21pc3Npb24uDQo= --_000_CY8PR10MB6441437CFBA8E1F9A3966CCBB0B39CY8PR10MB6441namp_ Content-Type: text/html; charset="big5" Content-Transfer-Encoding: quoted-printable

Hi Tinh/Rebecca/Michael,=

 =

Does other issue in UsbN= etworkPkg PATCH V4?

May I add you to reviewe= r=A1=A6s list in commit message?

 =

Thanks,

Richard

 =

From: Richard Ho (=A6=F3=A9=FA=A9=BE)
Sent: 2023
=A6~2=A4=EB21=A4=E9 11:02 AM
To: Tinh Nguyen OS <tinhnguyen@os.amperecomputing.com>; devel@= edk2.groups.io
Cc: Tony Lo (
=C3=B9=AA=F7=AAQ) <TonyLo@ami.co= m>; Felix Polyudov <Felixp@ami.com>; Srini Narayana <SriniN@ami.com>; Harikrishna= Doppalapudi <Harikrishnad@ami.com>; Dos Hsieh <doshsieh@ami.com&g= t;
Subject: RE: [EXTERNAL] Re: [edk2-devel] [PATCH v4 1/3] UsbNetworkPk= g/UsbRndis: Add USB RNDIS devices support

 

Hi Tinh,

 =

Our last RNDIS driver=A1= =A6s code has add that.

To see https://learn.microsoft.com/en-us/windows-hardware/drivers/network/control-= channel-characteristics,

It need to read the= Interrupt IN endpoint before response the RNDIS message.=

 

The host does not continuously poll = the USB Control endpoint for input control messages. Upon placing a control= message

on its Control endpoint, the device must retu= rn a notification on the Communication Class interface's Interrupt IN endpo= int,

which is polled by the host whenever= the device can return control messages. The transfer from the device's int= errupt IN endpoint

to the host is a standard USB Interr= upt IN transfer. The only defined device notification is the RESPONSE_AVAIL= ABLE notification,

defined in the following table.

 =

 =

 =

Thanks,

Richard

 =

From: Tinh Nguyen OS <tinhnguyen@os.amperecomputing.com>
Sent: 2023=A6~2=A4= =EB21=A4=E9 10:24 AM
To: devel@edk2.groups.io= ; Richard Ho (
=A6=F3=A9=FA=A9=BE) <RichardHo@ami.com>
Subject: [EXTERNAL] Re: [edk2-devel] [PATCH v4 1/3] UsbNetworkPkg/Us= bRndis: Add USB RNDIS devices support

 

 

**CAUTION: The e-mail below is from an external source. Please exerc= ise caution before opening attachments, clicking links, or following guidance.**

 

On 18/02/2023 16:47, RichardHo [= =A6=F3=A9=FA=A9=BE] via groups.io wrote:

 
+  PrintRndisMsg (RndisMsg);
+
+  Status =3D UsbIo->UsbControlTransfer (
+           &nb=
sp;        UsbIo,
+           &nb=
sp;        &DevReq,
+           &nb=
sp;        EfiUsbDataOut,
+           &nb=
sp;        USB_ETHERNET_TRANSFER_TIMEOUT=
,
+           &nb=
sp;        RndisMsg,
+           &nb=
sp;        RndisMsg->MessageLength,
+           &nb=
sp;        &UsbStatus
+           &nb=
sp;        );
+
+  DEBUG ((DEBUG_INFO, "RndisControlMsg: UsbStatus : %x Stat=
us : %r RndisMsgResponse : %lx\n", UsbStatus, Status, RndisMsgResponse=
));
+
+  // Error or no response expected
+  if ((EFI_ERROR (Status)) || (RndisMsgResponse =3D=3D NULL)) {<=
o:p>
+    DEBUG ((DEBUG_INFO, "RndisControlMsg: UsbStat=
us : %x Status : %r\n", UsbStatus, Status));
+    return Status;
+  }
+
+  for (Index =3D 0; Index < (RNDIS_CONTROL_TIMEOUT/100); Inde=
x++) {
+    ReadRndisResponseInterrupt (UsbRndisDevice);<=
/o:p>

Could you help review the ReadRndisResponseInterrupt function? (). While= using USB Rndis, the Jade platform crashes.

I found that AMI had published the same driver here OSF-Aptio-OpenEdition/UsbRndisFunction.c at main =A1P opencomputeproject/OS= F-Aptio-OpenEdition (github.com),

however the RndisControlMsg function does not call ReadRndisResponseInte= rrupt.

Jade platform (aarch64) works well with this (OSF-Aptio-OpenEdition/UsbRndis= Function.c at main =A1P opencomputeproject/OSF-Aptio-OpenEdition (github.com)). D= oes your x86 system work without this line ?

+    ZeroMem (&DevReq, sizeof (EFI_USB_DEVICE_REQUE=
ST));
+
+    DevReq.RequestType =3D USB_ENDPOINT_DIR_IN | USB_R=
EQ_TYPE_CLASS | USB_TARGET_INTERFACE;
+    DevReq.Request     =3D GET_ENC=
APSULATED_RESPONSE;
-The information contained in this message may be confidential and propriet= ary to American Megatrends (AMI). This communication is intended to be read= only by the individual or entity to whom it is addressed or by their desig= nee. If the reader of this message is not the intended recipient, you are on notice that any distribution of = this message, in any form, is strictly prohibited. Please promptly notify t= he sender by reply e-mail or by telephone at 770-246-8600, and then delete = or destroy all copies of the transmission. --_000_CY8PR10MB6441437CFBA8E1F9A3966CCBB0B39CY8PR10MB6441namp_--