From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web11.6862.1589177155879729307 for ; Sun, 10 May 2020 23:05:55 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=MBJ+7YZL; spf=pass (domain: intel.com, ip: 192.55.52.120, mailfrom: zhiguang.liu@intel.com) IronPort-SDR: Pdn94Azkk5r6CxcXiDf0/hqKAnPRBz9oaNMm18eWlnwQZV4eSC8IfPiY9svioVvk1EPHvCYtio jsHadfSP06gg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2020 23:05:55 -0700 IronPort-SDR: ZdccULan/qOcTaO3RTtQBfpuc5jLK3K4MDImwvrqgehmqm7rzkvEajBHKwIH58t//uO3m5bgK0 G9yKIV3FfLfg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,378,1583222400"; d="scan'208";a="279682156" Received: from orsmsx110.amr.corp.intel.com ([10.22.240.8]) by orsmga002.jf.intel.com with ESMTP; 10 May 2020 23:05:55 -0700 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by ORSMSX110.amr.corp.intel.com (10.22.240.8) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 10 May 2020 23:05:54 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.169) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 10 May 2020 23:05:54 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jLFFUz9lw07UMN7QSO4m86LuSXeBDudfnp1nAFybYSI4fLB4sMNEMyit5i7OHURYm6EWR+bXCHbxQrZhdCogsxL/lQrX0oCSng6Q1GYdte/KwNs6hDRkjWGDNqGlnw0Qel4H8PSr9O7lgNkAaWAUJksWu2HR6QT3cV50EAL8pYZzFrXL93uEbnJXfJMysC6rCwuTe1jXBJVPi8fPRq9D17KwQPuQXbO0ozwV371reUiefRdjngYY+UsTidGYGSCeyzQOpwoGlBvf7/nZtYV3z9e8Ra6Q7J0Z9IW0lq0WSCrdlabrAkw+dDJBzV/1LTfuK7SVEORLcR42YZQRmgFiVQ== 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=SGNu5SMD6reoEml4i/9oIaak5AAEs54TFXJVnFNXKFo=; b=cXICMySHM3i5uH3E/akvHMpUC/eh+Nlm1AZKvpAw02nNWK4gg3Pu46B6CCsiwY+zcG+dgLseiqzFzrtPwIGcHriLPBRClsSXfHwxcGKFUNsTs0KTzqsKdlil9udPxerepL9Mu7q82TIjARhBBuCEGQ4umVNH7bysWkxLSaGwQMfdyEltx4oDHouyib9p+8XK3Tq8wBf01yp6XzKa4cd2QMyyqYno8u/hCcchEvoy9hhQYl39u2eE3chG6HbHSK+WGIUifuRZ2c9+9l/IjfVTTsK7cOvfntTNAYcpF1ZRj7IuPSD81Tvx65Qihj1CwWPyvknRTfSljBW/Hi4gm6GyJg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SGNu5SMD6reoEml4i/9oIaak5AAEs54TFXJVnFNXKFo=; b=MBJ+7YZLW/VN7aTXBP664LYf6zr0Id+3O1VSyU3t2WpSUKx2muhlggzGUGrE7lAnBN9fqZCC1ZABe2Yqeyknhj4+o8dBE9xCvDxlhDP+u6GlTCVvsBzoYrHmasEvutEQbNY7kbb+wMVo8J4/5UeybIqQHv250Bz2yBPiltpKP+4= Received: from BN7PR11MB2804.namprd11.prod.outlook.com (2603:10b6:406:ac::12) by BN7PR11MB2580.namprd11.prod.outlook.com (2603:10b6:406:b5::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.34; Mon, 11 May 2020 06:05:52 +0000 Received: from BN7PR11MB2804.namprd11.prod.outlook.com ([fe80::79e2:ed1f:4d6b:532c]) by BN7PR11MB2804.namprd11.prod.outlook.com ([fe80::79e2:ed1f:4d6b:532c%7]) with mapi id 15.20.2979.033; Mon, 11 May 2020 06:05:52 +0000 From: "Zhiguang Liu" To: "devel@edk2.groups.io" , "oleksiyy@ami.com" CC: "Gao, Liming" , "Kinney, Michael D" , "Felixp@ami.com" , "robert@ami.com" Subject: Re: [edk2-devel] [PATCH 5/5] MdePkg: Update structures for MpServices Protocol Thread-Topic: [edk2-devel] [PATCH 5/5] MdePkg: Update structures for MpServices Protocol Thread-Index: AQHWJKKDSRcW+x9yOkKiJVyJ+DwITaiiayZg Date: Mon, 11 May 2020 06:05:52 +0000 Message-ID: References: <20200507190310.38968-1-oleksiyy@ami.com> <20200507190310.38968-6-oleksiyy@ami.com> In-Reply-To: <20200507190310.38968-6-oleksiyy@ami.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.2.0.6 dlp-product: dlpe-windows authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.45] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d8290991-7cea-4a12-d758-08d7f5715c32 x-ms-traffictypediagnostic: BN7PR11MB2580: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2201; x-forefront-prvs: 04004D94E2 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: qI5igndluM9KL/ZLRE+msvTgfnEI3IU2ak4YjiMkPy3gwjLLMuiQVgfKQjSZdOKLhBZXUliSEgRWMDIyTcvlSG1eH3+mbrmOFb45MDcsSSXnJCsLcgqFNbf8eGseHqhtm0fP4A1qUZlFt50G4WdhWfqsiCZEYy4IEKEukAfUF/lARui1HdNztVRBvcfiQqoaV+Lp5SU7HAYZtCETp2fy8H6lSi4kBLt0UCsWF12wlUm8wgNzFknk5nznloXVJ1/+ks0IibzNM0f55YyTQYPy5cA62QCo5WCkJKzD02EKPaoGdvMcM1RIOf8pQoP9CU+2G+38H1HHoJ4xxkBnpPEjUuG5TZvG905GdSkXStuGrjqHjJAZ3jJo3A6amYNJnKatRje1/7pfMrC1tZdcj1uZ8IdeD7MX/OlyyibPIQ6d0Ymu+zjowcca4o6HtGjIB+R2YWXzVAGfjs1mlTEkljL64QIloxgGTBZDNIh62wj4tbyMONgiLdCd6hq2d1ETL7GzU529wsr/qhd/qFLLAugrPhIaIKzdCXwzbhtzzgwUcUrVcQu7JOTroW3LT0NVllbP5CAbSe20Nt0iFYer1R62L/NJmrVs7FKTwGJvCbK/rrg= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN7PR11MB2804.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(6029001)(39860400002)(376002)(346002)(396003)(366004)(136003)(33430700001)(54906003)(110136005)(478600001)(66476007)(66556008)(64756008)(66446008)(316002)(66946007)(966005)(9686003)(55016002)(4326008)(71200400001)(8936002)(26005)(8676002)(186003)(7696005)(6506007)(53546011)(5660300002)(76116006)(33656002)(2906002)(52536014)(15650500001)(86362001)(33440700001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: oXSsMMMzvy0cKUV19TFyc8UtPGHA8RMEGwq55/Fou4bcj2D0UaOMrO+Oz/Y8yYPPhS0veGfgSHz78s1AQnn5PZxSyHzHtP2YzCtn9vPR/SMTy4Sgy4W137t1oEqEMEE+mCp/PL3sFi/hIeMoomohc04mDuMG8OMSEKK7q8r5sU6eSxNWiwzp4sfuOev/qwc6Y+2s8OHEun3cBj2FU7ThyHJEW7Cbpjezz3zqp2iYH6X57TtpAbQjWWksSF/oszqreWoQuVTGYFUdl2xKt+vhcRGwkbeI0wIaNmiyVjALQwFUd0eb1PX/WrxSjA/edculgDrH6T1cGCjWo+UlM0Ypu2VsHDGMMJbMfZ9Zp/9HerMdw1DuXDCNk88+f5Svu8HjWmBlGjudlioSHubAZgJh91PBbSmjEyno9R27/8dP/WgpG+94iYa4Zp7dXTL5IWWW+oBT2gA2XqWCS6lIytvaHpqwvZO3/Yppqra5tb1s4pC92m8QeoTC1ksZ3bLy1Pul MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: d8290991-7cea-4a12-d758-08d7f5715c32 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2020 06:05:52.0551 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: wkInSS+XYyy7y8AMp9zM83VVQtn232TELPfmO7PRvZ9r2lwwSQTyJxbpxa50AK0rKU0slLxDeWFCtb0XLkkK7g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR11MB2580 Return-Path: zhiguang.liu@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Zhiguang Liu > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Oleksiy > Yakovlev > Sent: Friday, May 8, 2020 3:03 AM > To: devel@edk2.groups.io > Cc: Gao, Liming ; Kinney, Michael D > ; Felixp@ami.com; oleksiyy@ami.com; > robert@ami.com > Subject: [edk2-devel] [PATCH 5/5] MdePkg: Update structures for > MpServices Protocol >=20 > From: Robert Phelps >=20 > Added EXTENDED_PROCESSOR_INFORMATION structure and supporting > structures and definitions. The intent is to support updated topology l= ayout > for CPUs. (PI 1.7a Mantis 2071) >=20 > Signed-off-by: Robert Phelps > --- > MdePkg/Include/Protocol/MpService.h | 50 > +++++++++++++++++++++++++++++ > 1 file changed, 50 insertions(+) >=20 > diff --git a/MdePkg/Include/Protocol/MpService.h > b/MdePkg/Include/Protocol/MpService.h > index 10e2405daf..d7d0a115f3 100644 > --- a/MdePkg/Include/Protocol/MpService.h > +++ b/MdePkg/Include/Protocol/MpService.h > @@ -47,6 +47,11 @@ SPDX-License-Identifier: BSD-2-Clause-Patent > 0x3fdda605, 0xa76e, 0x4f46, {0xad, 0x29, 0x12, 0xf4, 0x53, 0x1b, 0x= 3d, 0x08} > \ > } >=20 > +/// > +/// Value used in the NumberProcessors parameter of the > +GetProcessorInfo function /// #define CPU_V2_EXTENDED_TOPOLOGY > BIT24 > + > /// > /// Forward declaration for the EFI_MP_SERVICES_PROTOCOL. > /// > @@ -96,6 +101,47 @@ typedef struct { > UINT32 Thread; > } EFI_CPU_PHYSICAL_LOCATION; >=20 > +/// > +/// Structure that defines the 6-level physical location of the > +processor /// typedef struct { /// > +/// Package Zero-based physical package number that identifies t= he > cartridge of the processor. > +/// > +UINT32 Package; > +/// > +/// Module Zero-based physical module number within package of = the > processor. > +/// > +UINT32 Module; > +/// > +/// Tile Zero-based physical tile number within module of the > processor. > +/// > +UINT32 Tile; > +/// > +/// Die Zero-based physical die number within tile of the pr= ocessor. > +/// > +UINT32 Die; > +/// > +/// Core Zero-based physical core number within die of the p= rocessor. > +/// > +UINT32 Core; > +/// > +/// Thread Zero-based logical thread number within core of the > processor. > +/// > +UINT32 Thread; > +} EFI_CPU_PHYSICAL_LOCATION2; > + > + > +/// Location2 The 6-level physical location of the processor, includi= ng the > +/// physical package number that identifies the cartridge, the phys= ical > +/// module number within package, the physical tile number within t= he > module, > +/// the physical die number within the tile, the physical core numb= er > within > +/// package, and logical thread number within core. > +typedef union { > + EFI_CPU_PHYSICAL_LOCATION2 Location2; } > +EXTENDED_PROCESSOR_INFORMATION; > + > + > /// > /// Structure that describes information about a logical CPU. > /// > @@ -132,6 +178,10 @@ typedef struct { > /// logical thread number within core. > /// > EFI_CPU_PHYSICAL_LOCATION Location; > + /// > + /// The extended information of the processor. This field is filled > + only when /// CPU_V2_EXTENDED_TOPOLOGY is set in parameter > ProcessorNumber. > + EXTENDED_PROCESSOR_INFORMATION ExtendedInformation; > } EFI_PROCESSOR_INFORMATION; >=20 > /** > -- > 2.24.1.windows.2 >=20 >=20 > Please consider the environment before printing this email. >=20 > The information contained in this message may be confidential and > proprietary to American Megatrends (AMI). This communication is intende= d > to be read only by the individual or entity to whom it is addressed or b= y their > designee. If the reader of this message is not the intended recipient, y= ou are > on notice that any distribution of this message, in any form, is strictl= y > prohibited. Please promptly notify the sender by reply e-mail or by > telephone at 770-246-8600, and then delete or destroy all copies of the > transmission. >=20 >=20