From: "Zhiguang Liu" <zhiguang.liu@intel.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
"oleksiyy@ami.com" <oleksiyy@ami.com>
Cc: "Gao, Liming" <liming.gao@intel.com>,
"Kinney, Michael D" <michael.d.kinney@intel.com>,
"Felixp@ami.com" <Felixp@ami.com>,
"robert@ami.com" <robert@ami.com>
Subject: Re: [edk2-devel] [PATCH 5/5] MdePkg: Update structures for MpServices Protocol
Date: Mon, 11 May 2020 06:05:52 +0000 [thread overview]
Message-ID: <BN7PR11MB28042F4721C13EFD0CD21E9E90A10@BN7PR11MB2804.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20200507190310.38968-6-oleksiyy@ami.com>
Reviewed-by: Zhiguang Liu <zhiguang.liu@intel.com>
> -----Original Message-----
> From: devel@edk2.groups.io <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 <liming.gao@intel.com>; Kinney, Michael D
> <michael.d.kinney@intel.com>; Felixp@ami.com; oleksiyy@ami.com;
> robert@ami.com
> Subject: [edk2-devel] [PATCH 5/5] MdePkg: Update structures for
> MpServices Protocol
>
> From: Robert Phelps <robert@ami.com>
>
> Added EXTENDED_PROCESSOR_INFORMATION structure and supporting
> structures and definitions. The intent is to support updated topology layout
> for CPUs. (PI 1.7a Mantis 2071)
>
> Signed-off-by: Robert Phelps <robert@ami.com>
> ---
> MdePkg/Include/Protocol/MpService.h | 50
> +++++++++++++++++++++++++++++
> 1 file changed, 50 insertions(+)
>
> 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, 0x3d, 0x08}
> \
> }
>
> +///
> +/// 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;
>
> +///
> +/// Structure that defines the 6-level physical location of the
> +processor /// typedef struct { ///
> +/// Package Zero-based physical package number that identifies the
> 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 processor.
> +///
> +UINT32 Die;
> +///
> +/// Core Zero-based physical core number within die of the processor.
> +///
> +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, including the
> +/// physical package number that identifies the cartridge, the physical
> +/// module number within package, the physical tile number within the
> module,
> +/// the physical die number within the tile, the physical core number
> 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;
>
> /**
> --
> 2.24.1.windows.2
>
>
> Please consider the environment before printing this email.
>
> The information contained in this message may be confidential and
> proprietary 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
> designee. 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 the sender by reply e-mail or by
> telephone at 770-246-8600, and then delete or destroy all copies of the
> transmission.
>
>
next prev parent reply other threads:[~2020-05-11 6:05 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-07 19:03 [PATCH 0/5] Add Definitions introduced in PI 1.7 and PI 1.7a Oleksiy Yakovlev
2020-05-07 19:03 ` [PATCH 1/5] MdePkg: New Status Codes Oleksiy Yakovlev
2020-05-11 5:13 ` [edk2-devel] " Zhiguang Liu
2020-05-07 19:03 ` [PATCH 2/5] MdePkg: Updates to PI 1.7 Revision numbers for Oleksiy Yakovlev
2020-05-11 5:20 ` [edk2-devel] " Zhiguang Liu
[not found] ` <160DE1B9669AE9D0.7726@groups.io>
2020-05-11 5:22 ` Zhiguang Liu
2020-05-07 19:03 ` [PATCH 3/5] MdePkg: EFI_MM_COMUNICATION2_PROTOCOL Oleksiy Yakovlev
2020-05-11 5:31 ` [edk2-devel] " Zhiguang Liu
2020-05-07 19:03 ` [PATCH 4/5] MdePkg: Added header file for Delayed Dispatch PPI Oleksiy Yakovlev
2020-05-11 5:43 ` [edk2-devel] " Zhiguang Liu
2020-05-07 19:03 ` [PATCH 5/5] MdePkg: Update structures for MpServices Protocol Oleksiy Yakovlev
2020-05-11 5:00 ` [edk2-devel] " Ni, Ray
2020-05-15 4:56 ` Liming Gao
2020-05-15 5:33 ` Ni, Ray
[not found] ` <160F1CC8B9ACB17A.23170@groups.io>
2020-05-15 7:48 ` Ni, Ray
2020-05-15 7:50 ` Liming Gao
2020-05-11 6:05 ` Zhiguang Liu [this message]
2020-05-11 14:29 ` [edk2-devel] [PATCH 0/5] Add Definitions introduced in PI 1.7 and PI 1.7a Liming Gao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BN7PR11MB28042F4721C13EFD0CD21E9E90A10@BN7PR11MB2804.namprd11.prod.outlook.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox