From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web11.5867.1667191637484711528 for ; Sun, 30 Oct 2022 21:47:18 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=ZBXzRU7O; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: ray.ni@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1667191637; x=1698727637; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=h5OZT2k2ur80jBVtyi+46ckselJ5V4u6uVk/sklaBAg=; b=ZBXzRU7OnVy/AS1TFJfLBjIrb6faK1JtevthJple8Uo2xv25iSfLozli vNqxocr88R8a9v+xG5C2wrfAT8qeU9B5Mcdt4AJvLFStwWVg0pFW7eexV cKuAcLK1W/VGmhZkz+GohKZhPAoSdLjAbMZ888ifcJCCAZ32zvJ7VymmR wR9Wdl0cjuyLvWnkELJFNelaysq7I6W8qVKMDV3kilFfcMCZy8OwOp5fs YELxyg410zIsQKqh966VYv+Zt1DxjeXGGWP6ogMOMQGkRjwtvb7JGoNI+ NM7lLnbBUBdttF730VztqZ/V5qbEnAY9H5RPN4jJ5Ysv/yqvT+NCvvZpX A==; X-IronPort-AV: E=McAfee;i="6500,9779,10516"; a="292108135" X-IronPort-AV: E=Sophos;i="5.95,227,1661842800"; d="scan'208";a="292108135" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Oct 2022 21:47:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10516"; a="633399208" X-IronPort-AV: E=Sophos;i="5.95,227,1661842800"; d="scan'208";a="633399208" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga002.jf.intel.com with ESMTP; 30 Oct 2022 21:47:16 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sun, 30 Oct 2022 21:47:16 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Sun, 30 Oct 2022 21:47:16 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.175) 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.2375.31; Sun, 30 Oct 2022 21:47:15 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iFmUX2q6JiuvecLyAGZ2qNIyU8OURwGjWJ+JzP7egPFhsyiyyDOVQmwBC7sz9P2pI3mRGzqQxnUsdbpsKsEVLCuc/+S50mi1LPXONldX9fGZI1IIYikQkhbm89F/4RwtGnV+2wJI0jS+arJC5YUwDj+dN4vyhU2sJpIU1yPszpWCu6IQx2D90PkFV5L+eY44Jdhr6vKw5tJpgkAP4JDw09QffkKfHEg/Vg8/7xNcgvlIlSwWOrkx8PQnRo7To24LblF8lfsckf9nsRHJAQFCNpWAhd+o04cIGsEQb9LRxWPN2PYa/xf3DG3Fvm3bs77ljyMgrAA2JEdJJ182AG2NjA== 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=X3mcZH/0CG36EqaiHpfIZ3yloBFCFxNz99KRtqEg9Wk=; b=lEWtQ11caPazvbwp0M6BSF+7u0g/3VvN5QBsSwNSs2lMa5XHERcinghldVvyRE8Op4Dif1Dn3LF8gWVVQV/kOd/Tg+P8vryPpnYakqA5PDGcpean3omnvrVmAsKRsoqKh3KAyFhNp6uIjILtF4cU+zdVnbGnQqonKHlgzCiiZ0TU3HXkWrAF2vJ4NMEKytER66Sv9Y+CtWkdYk7VVabPfoBQlwc/7KzlWoVyMa/kY54CI1j4kssHVyqmJVkhmYsOScYMlt5pjKQHLyC0zFQommzcjXbdPTF0BhpPEoazuvt+il5PUx4o7WyQHG+P8Krhw4d44z3KqdB5B3gDLmdCxg== 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 Received: from MWHPR11MB1631.namprd11.prod.outlook.com (2603:10b6:301:10::10) by SJ0PR11MB4800.namprd11.prod.outlook.com (2603:10b6:a03:2af::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.19; Mon, 31 Oct 2022 04:47:14 +0000 Received: from MWHPR11MB1631.namprd11.prod.outlook.com ([fe80::5594:2220:fe1:50ad]) by MWHPR11MB1631.namprd11.prod.outlook.com ([fe80::5594:2220:fe1:50ad%11]) with mapi id 15.20.5769.019; Mon, 31 Oct 2022 04:47:14 +0000 From: "Ni, Ray" To: "devel@edk2.groups.io" , "abner.chang@amd.com" CC: Abdul Lateef Attar , Garrett Kirkendall , Paul Grimes , "Dong, Eric" , "Kumar, Rahul R" Subject: Re: [edk2-devel] [PATCH V3 1/3] UefiCpuPkg/SmmCpuFeaturesLib: Rename the common C file Thread-Topic: [edk2-devel] [PATCH V3 1/3] UefiCpuPkg/SmmCpuFeaturesLib: Rename the common C file Thread-Index: AQHY7NOnrBXP2jpTAkOZpcZ34jXM3a4n7fo2 Date: Mon, 31 Oct 2022 04:47:14 +0000 Message-ID: References: <20221031024912.60-1-abner.chang@amd.com> In-Reply-To: <20221031024912.60-1-abner.chang@amd.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MWHPR11MB1631:EE_|SJ0PR11MB4800:EE_ x-ms-office365-filtering-correlation-id: b94cd7de-93d9-4230-79b1-08dabafafb10 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bOfPDNkdxQP8IFheVr7gLEuiQ8z4eVfgg7XUC3xrTb5rcEzAp82HK5/6HX0w37+H8Q2OwU70Snu9b3azacvibXgo3ecQ7rISrwx71LusL1zTn0h2Cv7oQ8YPUe+LTX5sGIhGggarO8Mj1TJJ6BEBmTFPe3Zb3us6CfRUXW4nycRn/1akFvj8Sj9/91xe1e0P29eGxDyZNG8KJ/YXyeVknqs8kiwRieasgBFdkFzqGM1RFGIH1LKihMXgtdIMmHu9Akj1VZESCniWTID1P6wk9Fs7tPYGE9OPGcx0eKIETlWahZ/nbyWASSXJka1dJYrgNAYVFa2ysiu0i9MMLlOS1BJTEix8wreQbM732hb/Q5EiSESNByAyIAjylKJPdJqP8f2FIf1KqO6GsEMvzIWVY6sYKfBbOa+kVm2R9C1mGgU/L7WbLcZVDvUiC9sn75RtqB2IReEPiKRvZIOIUybOVenFMZVwvxoSlM4ZfHxnjwbVgDVkBtJfBoCKcaLkmjrqIk1dPaj6aGmWtNg2EXulh/fdVTAJyknRjVxnqKVO5R/wgLAysRoePjna5g2hIS3gHwQj0dhrL0c3XJw5mCy0Hq0ihtP9rQ1WfGtInkrvDtNTsF7xq+wSVWyyvTs0+/mp15+lhvN4Ucx5lbKKHMyWfZoyJqQoZEswkeV+BtpeOoshvyApm8TJX6PnAiTiZBENvPoIg5CIs/EDPH3ek9B0+Rg7yB0HxASt6sGq09mZDswHHUu4jaJhZGEi6hzFRXAbsyVLjocRfpU+Bu1tQEndOMvTkW6ZgL1ZfUU2mABHBeb+R4T9l1WFF3837rV9cPeFWFS+LqvjWErh5lFWVe5cDQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR11MB1631.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(396003)(136003)(376002)(346002)(366004)(39860400002)(451199015)(66899015)(33656002)(86362001)(122000001)(38070700005)(38100700002)(82960400001)(83380400001)(55016003)(2906002)(26005)(6506007)(53546011)(7696005)(478600001)(186003)(9686003)(107886003)(316002)(71200400001)(966005)(110136005)(54906003)(8676002)(66946007)(66556008)(66476007)(66446008)(41300700001)(4326008)(91956017)(76116006)(5660300002)(64756008)(8936002)(52536014);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?ARxaw+gWuw0HHOG+cmgIFQE72IKVtTks2ac93zT1W0rUX8J5OWTjRW3GsA?= =?iso-8859-1?Q?ka3dEqdzbOXDOPaQzGms+RonL1icvypkih7fUiTsA22OzUh7vzYjbZr/0u?= =?iso-8859-1?Q?g73ovVt1rqBzwIr3/4gOHiq5U9l6FQ9+05inCqnVVGVsrHIAqP84ciPiDf?= =?iso-8859-1?Q?hVWYqmREiWmyeOCIBnQXj9OLGRQXbnCUkdIyNlfI7VlxnL0ptdoJYdI/kc?= =?iso-8859-1?Q?5QncaxrAmMJaZ46N8BhIaKdQoDnr6VolvzSx7KdtDxRMhN2jcbOIyUBdI7?= =?iso-8859-1?Q?P1YeB1GBdAKPmuJN5IcoPxFBm8bPWZWsSjfYmKPCDc0QKQ/gmmOQPfthi4?= =?iso-8859-1?Q?s2MB9sE4k1z4Uh7YOsHCtur3bRjoWLVR/DETG8SlcWNUJ9dbre+zQ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HcE5Q3ttmoXUjxZhYqm7fNRGqTw9zan?= =?iso-8859-1?Q?fC9GoGC7jBfLbUBvTpGvwNgERMJDaXxPQWCjGnel8Z+vdMg8VpWIovUV1f?= =?iso-8859-1?Q?rEvrjTQPKp+wM1zucFAFxpbx7S2uEOh1TCdTKR5x/9ZNtS0qzlBlUzSosD?= =?iso-8859-1?Q?8arqBXFGB0lLRm3aLAI1tZVV5zY8W5OexQs8lXVjuJQbPbQBcWoo7MquXu?= =?iso-8859-1?Q?cdp3bnqtkNk7+eUJrfQeqd7xMm4JiN2qB4FXAtIpABYs0cwuQkgYfVB2oK?= =?iso-8859-1?Q?UPhKxAUVuFeQ5ENI7kmlMCxiCORevoB03Fu11EnL94xARzYxjsnmLfs4DW?= =?iso-8859-1?Q?8UzwBv1vq616o=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1631.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b94cd7de-93d9-4230-79b1-08dabafafb10 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Oct 2022 04:47:14.2472 (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: TNB/L7ngSR/7eypnQA84D4ft2Jx2UlxVIGc5NBAd6kBFwphCp0fyeg1KR9X+YokCfRhVSWKgsLCDbKZRPpNLbw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB4800 Return-Path: ray.ni@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ray Ni ________________________________________ From: devel@edk2.groups.io on behalf of Chang, Abner= via groups.io Sent: Monday, October 31, 2022 10:49 To: devel@edk2.groups.io Cc: Abdul Lateef Attar; Garrett Kirkendall; Paul Grimes; Dong, Eric; Ni, Ra= y; Kumar, Rahul R Subject: [edk2-devel] [PATCH V3 1/3] UefiCpuPkg/SmmCpuFeaturesLib: Rename t= he common C file From: Abner Chang BZ# 4093: Abstract SmmCpuFeaturesLib for sharing common code Rename SmmCpuFeaturesLiCommon.c to IntelSmmCpuFeaturesLib, because it was developed specifically for Intel implementation. The code that can be shared by other archs or vendors will be stripped away and put in the common file in the next patch. Signed-off-by: Abner Chang Cc: Abdul Lateef Attar Cc: Garrett Kirkendall Cc: Paul Grimes Cc: Eric Dong Cc: Ray Ni Cc: Rahul Kumar --- UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf | 2 +- UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf | 2 +- .../Library/SmmCpuFeaturesLib/StandaloneMmCpuFeaturesLib.inf | 2 +- .../{SmmCpuFeaturesLibCommon.c =3D> IntelSmmCpuFeaturesLib.c} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename UefiCpuPkg/Library/SmmCpuFeaturesLib/{SmmCpuFeaturesLibCommon.c =3D= > IntelSmmCpuFeaturesLib.c} (100%) diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf b/U= efiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf index 7b5cef97008..6254a14698a 100644 --- a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf +++ b/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf @@ -18,8 +18,8 @@ [Sources] CpuFeaturesLib.h + IntelSmmCpuFeaturesLib.c SmmCpuFeaturesLib.c - SmmCpuFeaturesLibCommon.c SmmCpuFeaturesLibNoStm.c TraditionalMmCpuFeaturesLib.c diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf = b/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf index 85214ee31cd..d64d8e66b38 100644 --- a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf +++ b/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf @@ -19,7 +19,7 @@ [Sources] CpuFeaturesLib.h - SmmCpuFeaturesLibCommon.c + IntelSmmCpuFeaturesLib.c SmmStm.c SmmStm.h TraditionalMmCpuFeaturesLib.c diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/StandaloneMmCpuFeaturesLi= b.inf b/UefiCpuPkg/Library/SmmCpuFeaturesLib/StandaloneMmCpuFeaturesLib.inf index 3eacab48db3..5935b3e1fd6 100644 --- a/UefiCpuPkg/Library/SmmCpuFeaturesLib/StandaloneMmCpuFeaturesLib.inf +++ b/UefiCpuPkg/Library/SmmCpuFeaturesLib/StandaloneMmCpuFeaturesLib.inf @@ -20,8 +20,8 @@ [Sources] CpuFeaturesLib.h + IntelSmmCpuFeaturesLib.c StandaloneMmCpuFeaturesLib.c - SmmCpuFeaturesLibCommon.c SmmCpuFeaturesLibNoStm.c [Packages] diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibCommon.c= b/UefiCpuPkg/Library/SmmCpuFeaturesLib/IntelSmmCpuFeaturesLib.c similarity index 100% rename from UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibCommon.c rename to UefiCpuPkg/Library/SmmCpuFeaturesLib/IntelSmmCpuFeaturesLib.c -- 2.37.1.windows.1