From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web11.3440.1610510074249160009 for ; Tue, 12 Jan 2021 19:54:34 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=GJhnVg8E; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: ray.ni@intel.com) IronPort-SDR: h6BZLnwKSb4FZ9a1H7yg9O3UO1rPw9qvbr4DXjkuWEyXknOxmUO63PJzdve0MrFlP6ywvjFDV2 2nsmubJciK2g== X-IronPort-AV: E=McAfee;i="6000,8403,9862"; a="165233246" X-IronPort-AV: E=Sophos;i="5.79,343,1602572400"; d="scan'208";a="165233246" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2021 19:54:31 -0800 IronPort-SDR: l+VprOBCWe56SDQ0RRF/szt8HoJTpcUDi6gcR0ryDuj1GXfUbZ/WVOh6qhuAyBiLQx+zskS4mv gJ95DvtSiFCw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,343,1602572400"; d="scan'208";a="345413123" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga007.fm.intel.com with ESMTP; 12 Jan 2021 19:54:31 -0800 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 12 Jan 2021 19:54:30 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 12 Jan 2021 19:54:30 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.176) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Tue, 12 Jan 2021 19:54:30 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e0HdR0HvhoHYk9LlE6KHk0dOzuc/gPpgtamBqlEpAWWyCOLl6yl/Id7kPn6TrmL3VWNjBwVuQDgyxkBLBjZOVfx20rSYird9pmmzPUyAMhingb9e1nads/tpbIVEYeSslXojX/m3QBVSj/sRkogxydLZv/YvhCFexGKItlTwu1NsjI7SQ9y8iw896/kQcl2cTvr5vl0ZeJvp1QmV5YsGyIhsU9wYfQfICevCxsMqljUva1BfFch1thPPOLHOdnJRcw7GNXahJ5FnFTIPFz5dhw3qo0GgFRcEhkU6iwHM1nEKcfap/hrfkFbgS5jueBXumOFnbF8XU6yZo6MIQ9NpFw== 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=CC3Czgjrl2Ziuf15pdxQtL5Vdy5YMV6+KHyjGRuLCTA=; b=E6j1CrtmXt2+j1ICpXxmaVJp2nCHdG7Riy4GH52cKQBc0mhXEZQIiyO5why0KP2s9mB/a3lIHkMiMAhIuxa/x41zF9bPRMGrkPzYJ0P2LX3vb6IrCt007onCxQZ08P3viWVMmXxRFnE/WBOX32vCEY2vTmHeABWp472WgS8QDc+T/UnQyKP3qPwoXkUG2aobJKwGodyjyYeiVHvpgJf9b/a/6YlYyMUoviH8wECYSPHmXfyqGNrYjA+GYvX+VAHWKCcm9LPu4HG6ADIVMt1v8StFfjl8Sybn69dRiE6olX995G4w8QkayyZnW59N6iD7WTjIO19hny0FvwGntJ9JnA== 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=CC3Czgjrl2Ziuf15pdxQtL5Vdy5YMV6+KHyjGRuLCTA=; b=GJhnVg8E5ONQcBM/69GzpMJ5fO62FYQC27QzGw32GOi8Q+Tn7U50+GMC5fRxp0+U2wIEPTM4nxpf5GcmZXGr7dI21uhpo4YXQoFHLsHrQTf6ihiDwT5sKKevTELpD81oHfx1+KiaWNA0E12EjUsyK4uSODp2Sm8KIRJJTOj5nBw= Received: from CO1PR11MB4930.namprd11.prod.outlook.com (2603:10b6:303:9b::11) by MWHPR1101MB2125.namprd11.prod.outlook.com (2603:10b6:301:4d::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6; Wed, 13 Jan 2021 03:54:26 +0000 Received: from CO1PR11MB4930.namprd11.prod.outlook.com ([fe80::d18:1234:c1d6:5936]) by CO1PR11MB4930.namprd11.prod.outlook.com ([fe80::d18:1234:c1d6:5936%7]) with mapi id 15.20.3742.012; Wed, 13 Jan 2021 03:54:26 +0000 From: "Ni, Ray" To: "devel@edk2.groups.io" , "Lou, Yun" CC: "Kinney, Michael D" , Liming Gao , "Liu, Zhiguang" Subject: Re: [edk2-devel] [PATCH v5 1/2] MdePkg/Cpuid.h: Add CPUID_HYBRID_INFORMATION Leaf(1Ah). Thread-Topic: [edk2-devel] [PATCH v5 1/2] MdePkg/Cpuid.h: Add CPUID_HYBRID_INFORMATION Leaf(1Ah). Thread-Index: AQHW5KRw/yKfn3PzEkC6hQblyCP0ZKok9Yaw Date: Wed, 13 Jan 2021 03:54:26 +0000 Message-ID: References: <20210107032246.3101-1-yun.lou@intel.com> In-Reply-To: <20210107032246.3101-1-yun.lou@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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.198.147.194] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 927feef3-c5b4-434f-86bb-08d8b776ebf2 x-ms-traffictypediagnostic: MWHPR1101MB2125: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: cSY233bGz2nkc0+7CxyZmM7enPeWcqxeKWLV7HEtl+yNpqOhmTlK9MUP6ftT5l4fVGYWqkpFRXQ61haXap17lpLFcLiHzULPZxX/0HNq1AbTclUPqCGamRW+tD6kZ6yjTiwdy1LuqQCoC0pdcXCLrdw+fqnsO5bq1N7rS0rsGsSsx25glYCTWk46PFQWH7tQqxFc1jTniU20wPWUCbHSj1w8IbqrNo7m7vcSAkhXDgZBXBRNNU50FZLGQjhu5YYWLJV5dUjDUXKzXfbFFCDZQWJx3Pbu2qNqfBeJpQy32PzOkxUXLOmj55il1vx+GGkba4B+Yr42eOXIaCGNVsUf6uWG8h5UpcLq7H3KbEyetVA5sqLcFl4bzIZ7BgsKnxu23Ry2PAnXRxWu28CN6zjlBNqzNV43KWukjJoQh7IcI69T/J9pLsnH4+uu51D7N109pHhIQeSXAh1wGMULdfsiRA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO1PR11MB4930.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(376002)(396003)(136003)(366004)(346002)(39860400002)(6636002)(66556008)(83380400001)(86362001)(54906003)(8936002)(4326008)(186003)(6506007)(66946007)(52536014)(966005)(33656002)(2906002)(66476007)(71200400001)(64756008)(55016002)(66446008)(107886003)(76116006)(7696005)(8676002)(26005)(5660300002)(316002)(9686003)(110136005)(53546011)(478600001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?uYGTjWeVZMNUtvRVhU+wM5U4PGhrj7EBNzaOPdWNP3OhWDs/bp2R0CChaV9q?= =?us-ascii?Q?SlTTXCaEghDpS1kvlSVjUdFN8mW43qJN/6qoZj8AcVtkDa9Pi+mfDBO7/M12?= =?us-ascii?Q?z+VC5BygEqU2VKDFXk2V22qrHrUgMcdMnz6/SwQEuT86W4bMo3TT7bbGG8R2?= =?us-ascii?Q?FJi7cjX0ikmhyZCkmb09Z7gA91KQlE4bNxzXYnF6lLU/6QdcVA0IYVwHAuRm?= =?us-ascii?Q?CtqKwZ/yQhfDArqwIo5+DJab2d4Mgn+xm1wyDzgWZ3RFvaM8/uTvGHuJv7oi?= =?us-ascii?Q?TiTHpn5FxHK7CCW83POGdexJHN6Rdtx5JwzfzvByp3xsS3/HOqJKa71A2qXa?= =?us-ascii?Q?e8TFW1smPo6nbkGOZP0EMpBKpM+FiXDwV0tBbWyZKgtwlKhPR6agFWL+uk7a?= =?us-ascii?Q?gPCpy2sHFWx0dgWEc8vjXXaXgvsX1GDUjMVh1iZ4zq6btaxonu7IdX17M2GD?= =?us-ascii?Q?ecbp3WaR5ql3Mnnmq+KSX4iA3Bqad+2/yRnVoLjewoX6d/Lbys1fxpmnSv39?= =?us-ascii?Q?IGDIxvtlmGBiwnViscQxB9KQoGJbr5JNpvcZpJCrfac6NDg4N3W+qxetlKyd?= =?us-ascii?Q?zyXaWmCRDsHonPj9mdfUnhMdnCloAPBIJhiW0VPNb9e4K93RS5MzbtSkUtFE?= =?us-ascii?Q?bOU6qXhrIC9KLYaFAVbXVr5/+VL6WMSxdEr8lGNUJx939P5+JNJt7E+AKEQC?= =?us-ascii?Q?rtEQgD7vhkjDCVc2MZeYXD0w02GMVN5JNxamxViyhcsAa0qgCCboaEI3BGrF?= =?us-ascii?Q?talhvq/Yj2QlCdh/HXJsM6ychosdO7oJygN4m8GNEx7Iwr/0rtoG7VnGCngd?= =?us-ascii?Q?lLycH8CeXmkpLafRIblJp8JrTIkTxLibfARosNXASsol9mTIrLTkUWh6O3aL?= =?us-ascii?Q?juzKfyIYTOdlLsPjT+6xJ3bVM5Lg4MDVZ5w+m7Ayx/ippyK0LL7rqki8z9+B?= =?us-ascii?Q?+IyQVGONoLbtLkMZkEWW10Uj/xIIe/wnLbVZXbyTKr/FU4UL9wpGuZZuD9EJ?= =?us-ascii?Q?WFLp?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB4930.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 927feef3-c5b4-434f-86bb-08d8b776ebf2 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jan 2021 03:54:26.3945 (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: UZevwDR94YlY4oBpTJXplx7rhHu5yirAGfhMWIobvXV7+kgbQlN+ikrEFbqShiLrMWAmfb22dmnC2vY14c1K8g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1101MB2125 Return-Path: ray.ni@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ray Ni I remember that I have given Reviewed-by before. Can you please include the "Reviewed-by: Ray Ni " when se= nding new version of patches if the patch is not changed? Thanks, Ray > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Jason Lou > Sent: Thursday, January 7, 2021 11:23 AM > To: devel@edk2.groups.io > Cc: Lou, Yun ; Kinney, Michael D > ; Liming Gao ; Liu, > Zhiguang > Subject: [edk2-devel] [PATCH v5 1/2] MdePkg/Cpuid.h: Add > CPUID_HYBRID_INFORMATION Leaf(1Ah). >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3105 >=20 > The UefiCpuPkg/CpuCacheInfoLib will reference new definition > about CPUID_HYBRID_INFORMATION Leaf(1Ah). >=20 > Signed-off-by: Jason Lou > Cc: Michael D Kinney > Cc: Liming Gao > Cc: Zhiguang Liu > --- > MdePkg/Include/Register/Intel/Cpuid.h | 63 +++++++++++++++++++- > 1 file changed, 62 insertions(+), 1 deletion(-) >=20 > diff --git a/MdePkg/Include/Register/Intel/Cpuid.h > b/MdePkg/Include/Register/Intel/Cpuid.h > index d4496079570d..dd1b64a1e50b 100644 > --- a/MdePkg/Include/Register/Intel/Cpuid.h > +++ b/MdePkg/Include/Register/Intel/Cpuid.h > @@ -1278,7 +1278,7 @@ typedef union { > @retval EAX The maximum input value for ECX to retrieve sub-leaf > information. >=20 > @retval EBX Structured Extended Feature Flags described by the type >=20 > CPUID_STRUCTURED_EXTENDED_FEATURE_FLAGS_EBX. >=20 > - @retval EBX Structured Extended Feature Flags described by the type >=20 > + @retval ECX Structured Extended Feature Flags described by the type >=20 > CPUID_STRUCTURED_EXTENDED_FEATURE_FLAGS_ECX. >=20 > @retval EDX Reserved. >=20 >=20 >=20 > @@ -3597,6 +3597,67 @@ typedef union { > /// >=20 >=20 >=20 >=20 >=20 > +/** >=20 > + CPUID Hybrid Information Enumeration Leaf >=20 > + >=20 > + @param EAX CPUID_HYBRID_INFORMATION (0x1A) >=20 > + @param ECX CPUID_HYBRID_INFORMATION_SUB_LEAF (0x00). >=20 > + >=20 > + @retval EAX Enumerates the native model ID and core type described >=20 > + by the type CPUID_NATIVE_MODEL_ID_AND_CORE_TYPE_EAX >=20 > + @retval EBX Reserved. >=20 > + @retval ECX Reserved. >=20 > + @retval EDX Reserved. >=20 > + >=20 > + Example usage >=20 > + @code >=20 > + CPUID_NATIVE_MODEL_ID_AND_CORE_TYPE_EAX Eax; >=20 > + >=20 > + AsmCpuidEx ( >=20 > + CPUID_HYBRID_INFORMATION, >=20 > + CPUID_HYBRID_INFORMATION_SUB_LEAF, >=20 > + &Eax, NULL, NULL, NULL >=20 > + ); >=20 > + @endcode >=20 > + >=20 > +**/ >=20 > +#define CPUID_HYBRID_INFORMATION 0= x1A >=20 > + >=20 > +/// >=20 > +/// CPUID Hybrid Information Enumeration sub-leaf >=20 > +/// >=20 > +#define CPUID_HYBRID_INFORMATION_SUB_LEAF = 0x00 >=20 > + >=20 > +/** >=20 > + CPUID Hybrid Information EAX for CPUID leaf > #CPUID_HYBRID_INFORMATION, >=20 > + sub-leaf #CPUID_HYBRID_INFORMATION_SUB_LEAF. >=20 > +**/ >=20 > +typedef union { >=20 > + /// >=20 > + /// Individual bit fields >=20 > + /// >=20 > + struct { >=20 > + /// >=20 > + /// [Bit 23:0] Native model ID of the core. >=20 > + /// >=20 > + /// The core-type and native mode ID can be used to uniquely identif= y >=20 > + /// the microarchitecture of the core.This native model ID is not un= ique >=20 > + /// across core types, and not related to the model ID reported in C= PUID >=20 > + /// leaf 01H, and does not identify the SOC. >=20 > + /// >=20 > + UINT32 NativeModelId:24; >=20 > + /// >=20 > + /// [Bit 31:24] Core type >=20 > + /// >=20 > + UINT32 CoreType:8; >=20 > + } Bits; >=20 > + /// >=20 > + /// All bit fields as a 32-bit value >=20 > + /// >=20 > + UINT32 Uint32; >=20 > +} CPUID_NATIVE_MODEL_ID_AND_CORE_TYPE_EAX; >=20 > + >=20 > + >=20 > /** >=20 > CPUID V2 Extended Topology Enumeration Leaf >=20 >=20 >=20 > -- > 2.28.0.windows.1 >=20 >=20 >=20 > -=3D-=3D-=3D-=3D-=3D-=3D > Groups.io Links: You receive all messages sent to this group. > View/Reply Online (#69890): https://edk2.groups.io/g/devel/message/69890 > Mute This Topic: https://groups.io/mt/79491810/1712937 > Group Owner: devel+owner@edk2.groups.io > Unsubscribe: https://edk2.groups.io/g/devel/unsub [ray.ni@intel.com] > -=3D-=3D-=3D-=3D-=3D-=3D >=20