From nobody Mon May 6 13:10:50 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62916+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62916+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1595291722; cv=none; d=zohomail.com; s=zohoarc; b=TR6nqyEDrWg+VZd5P0lUNQ20Lq8Zql0vwknGdvcjg9lpDsWC0XDeJ8CAWyjwCLQHSRH1CNdbgVyHYUbxiuag82ri4pA/zU+ggrO979s85IU3R4FFXWUJabzMuX2M4SkjNh0uUEN5Rg1GN3EwzfyRkdEvaaTcyr+wlj1DhXEHG9I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595291722; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=8KlxsU5kzvLypfGjhDNrtg+/hPCehozGps86jEd9AmQ=; b=cHgn6r0ynk0NWwaW3KptjFGKMEvVHr1EspyhpMzlyMUWieCLhcF9ZlZHVbCf95Md0mblhtHFmV3DoeCT6haXuLG+06Zql/Kuc7V5fopclgln22PJBmEgVGGqYq30+YYtn4ht95/fju6Re3ljVs5cuYiG0O32+bTEL+YwHoldzks= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62916+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1595291722588182.59260577520263; Mon, 20 Jul 2020 17:35:22 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id Lp8DYY1788612xRQpIeuGVAo; Mon, 20 Jul 2020 17:35:22 -0700 X-Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web12.9270.1595291721807232042 for ; Mon, 20 Jul 2020 17:35:21 -0700 IronPort-SDR: 5JnEixTpmHlI1bjyHmvl5sdp3BxVDDVnQFC/G1ECESnwRL/mOTPlXCe/IfJFb4shBpifnCtYa+ voCBdg/oZi0w== X-IronPort-AV: E=McAfee;i="6000,8403,9688"; a="130113460" X-IronPort-AV: E=Sophos;i="5.75,375,1589266800"; d="scan'208";a="130113460" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 17:35:20 -0700 IronPort-SDR: uu63J6h80u8oGUjgU3V26Bmg5r2CNVTVoqxg3JNtSGIcU4tWrCucRxdyZ27WFI/s20IJcwsMri LrJO97EbbHSQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,375,1589266800"; d="scan'208";a="287733202" X-Received: from unknown (HELO ikuox-MOBL1.gar.corp.intel.com) ([10.5.244.14]) by orsmga006.jf.intel.com with ESMTP; 20 Jul 2020 17:35:18 -0700 From: "IanX Kuo" To: devel@edk2.groups.io Cc: james.lu@intel.com, chandana.c.kumar@intel.com, varalakshmi.a.prabhala@intel.com, IanX Kuo , Sai Chaganty , Chasel Chiu Subject: [edk2-devel] [edk2-platforms] [PATCH v6 1/6] Platform/Intel/MinPlatformPkg: Fix build error Date: Tue, 21 Jul 2020 08:35:15 +0800 Message-Id: <82e226162a72f62a6a46e3a4733d1752908bcabc.1595291556.git.ianx.kuo@intel.com> In-Reply-To: References: MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ianx.kuo@intel.com X-Gm-Message-State: OfN81Ao31lj3hSM2qU1aDdoUx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1595291722; bh=Ltc23f4VdlE+qNUCsapqToARL5dBkSMkERcjV3aPrpQ=; h=Cc:Date:From:Reply-To:Subject:To; b=GP2iHDyYGO56NGoNRcgoZbzpJ8JCHCn97z+WMz4/58NzXdGuq2w4cqI7annV757/Dyp JVZkbZzg3wf8vwwUkcr8ctF0CyQi83oJ4Lhv2KoFD7HfW9K9NKcYZsaVVpk25B3OwgHjJ maxf8mTjz1xHppWSkS7sj3U2gvsWiVIK8BM= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Fix ReportCpuHobLib build error Create a Library instance of ReportCpuHobLib from PlatformInitPei driver. PA bits reported can be overridden by Library instance in Platform. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2674 Change-Id: I0cd6ba4eb7231a3a84f080fdce85bbe74eb29eeb Signed-off-by: IanX Kuo Cc: Sai Chaganty Cc: Chasel Chiu Reviewed-by: Chasel Chiu --- .../PlatformInit/Library/ReportCpuHobLib/ReportCpuHobLib.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Platform/Intel/MinPlatformPkg/PlatformInit/Library/ReportCpuHo= bLib/ReportCpuHobLib.c b/Platform/Intel/MinPlatformPkg/PlatformInit/Library= /ReportCpuHobLib/ReportCpuHobLib.c index aa256534..83fc5249 100644 --- a/Platform/Intel/MinPlatformPkg/PlatformInit/Library/ReportCpuHobLib/Re= portCpuHobLib.c +++ b/Platform/Intel/MinPlatformPkg/PlatformInit/Library/ReportCpuHobLib/Re= portCpuHobLib.c @@ -6,7 +6,10 @@ SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ =20 -#include +#include +#include +#include +#include #include =20 VOID --=20 2.26.2.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62916): https://edk2.groups.io/g/devel/message/62916 Mute This Topic: https://groups.io/mt/75695055/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Mon May 6 13:10:50 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62917+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62917+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1595291736; cv=none; d=zohomail.com; s=zohoarc; b=I0DvUjAgb+uK6arPOPIKGMZ6hUrlrUw4cgTyX/7svrcwWJkCVK3iPN8sOb+Ket+uCsD8lUJMa5WNXNwGSgQ/2QVLJl+DbijVwQKlQVLldX/Qjjnltvf6AkMbf+3RQYHfIpasbS7toMuZ7yvE9Qi+Ra1rLreDtkVoXc8M7OawGEw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595291736; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=nNn9yfKnDiaYD6yb6w3tygi3xfSTAYqL2yJsG17Rxzc=; b=YqTNeDUffuPQck+wNF7OvsAt6KZyr6EeRTIhAJ3IWCfUaS+vIno8tcbl95OhsvDfkJjzJZvYNGZY/Jx8mptSKmaHlnyG5n/OltISC8B4rX+YBme33yfXySm4LCGcuQJQpOvHcw11CNGpr2zdQN3MkPIAYTWi3OEQrCFQpUtwsyU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62917+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1595291736460687.9283465669611; Mon, 20 Jul 2020 17:35:36 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id tJNwYY1788612xjsC7xkHpBP; Mon, 20 Jul 2020 17:35:36 -0700 X-Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web11.9150.1595291735525654568 for ; Mon, 20 Jul 2020 17:35:35 -0700 IronPort-SDR: L698rzn8jCAJlG6zJiOOoEiyehpM0Ze8Cl1pLzzKY1cQXg4GQ8YlQN6mogawW85XNzmRQ2kUDG LkwqDrViV0iw== X-IronPort-AV: E=McAfee;i="6000,8403,9688"; a="214699293" X-IronPort-AV: E=Sophos;i="5.75,375,1589266800"; d="scan'208";a="214699293" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 17:35:35 -0700 IronPort-SDR: BJZ5TkwbpM9b6VpWHjH5q9NGL6rOFoc7ntqXX3aNaFIVyN/1326upe5P8A42w7KQokBmmwbYDt wIfCCBvObBRA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,375,1589266800"; d="scan'208";a="287733267" X-Received: from unknown (HELO ikuox-MOBL1.gar.corp.intel.com) ([10.5.244.14]) by orsmga006.jf.intel.com with ESMTP; 20 Jul 2020 17:35:33 -0700 From: "IanX Kuo" To: devel@edk2.groups.io Cc: james.lu@intel.com, chandana.c.kumar@intel.com, varalakshmi.a.prabhala@intel.com, IanX Kuo , Sai Chaganty , Chasel Chiu Subject: [edk2-devel] [edk2-platforms] [PATCH v6 2/6] Platform/Intel/CometlakeOpenBoardPkg: Add ReportCpuHobLib. Date: Tue, 21 Jul 2020 08:35:31 +0800 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ianx.kuo@intel.com X-Gm-Message-State: N1PsmZ3JdhBhdwfxbGDogIh9x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1595291736; bh=AHqNB3jKXXWETM+sYBmTNiXxPzQXkShQMT6+GDgQYqc=; h=Cc:Date:From:Reply-To:Subject:To; b=Oc33xe7UepWC8n6GOtpEdLtkLKXDQb9PO0at8ZYsFZLYLMQqy8cdP9bw3PSIaLcDbM3 JtZ+9fBTSC8i+oC6k3o8LXL/18WbvlP5Z8pMsmJlGP2++U6djtVb6LVFDeHJGYQ67ISbY EzMKiOLFGLEUZXQ3P82oO64w19+KyRHcAtw= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Create a Library instance of ReportCpuHobLib from PlatformInitPei driver. PA bits reported can be overridden by Library instance in Platform. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2674 Change-Id: I1097057046aa021dc2ff193fea335790513c10c4 Signed-off-by: IanX Kuo Cc: Sai Chaganty Cc: Chasel Chiu Reviewed-by: Chasel Chiu --- .../CometlakeOpenBoardPkg/CometlakeURvp/OpenBoardPkg.dsc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Platform/Intel/CometlakeOpenBoardPkg/CometlakeURvp/OpenBoardPk= g.dsc b/Platform/Intel/CometlakeOpenBoardPkg/CometlakeURvp/OpenBoardPkg.dsc index 136e5309..74943352 100644 --- a/Platform/Intel/CometlakeOpenBoardPkg/CometlakeURvp/OpenBoardPkg.dsc +++ b/Platform/Intel/CometlakeOpenBoardPkg/CometlakeURvp/OpenBoardPkg.dsc @@ -39,7 +39,8 @@ # # Include PCD configuration for this board. # - !include AdvancedFeaturePkg/Include/AdvancedFeaturesPcd.dsc + !include AdvancedFeaturePkg/Include/AdvancedFeaturesPcd.dsc + !include OpenBoardPkgPcd.dsc !include AdvancedFeaturePkg/Include/AdvancedFeatures.dsc =20 @@ -121,6 +122,7 @@ PeiLib|$(PLATFORM_PACKAGE)/Library/PeiLib/PeiLib.inf PlatformBootManagerLib|$(PLATFORM_PACKAGE)/Bds/Library/DxePlatformBootMa= nagerLib/DxePlatformBootManagerLib.inf ReportFvLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/PeiReportFvLib/PeiR= eportFvLib.inf + ReportCpuHobLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/ReportCpuHobLib= /ReportCpuHobLib.inf TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLibNull= /TestPointCheckLibNull.inf =20 ####################################### --=20 2.26.2.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62917): https://edk2.groups.io/g/devel/message/62917 Mute This Topic: https://groups.io/mt/75695061/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Mon May 6 13:10:50 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62918+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62918+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1595291750; cv=none; d=zohomail.com; s=zohoarc; b=M/ovN+uwpFkaQGp+ily96M9xZbU/QKuKTvLdr9QkSCJHool2MGTdDSWQthLNzBvct4zfO7ri5CA28J2CPKfU9Y9PF2O9crUDeLr6D2aJzaROeA8WZaHRzl5tKbNqpFjEM7po204Jagi9+dwwwBfz8sOzJw1pEzm4do7Bz5rM7h8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595291750; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=lNCtF8PruX/xM04EnsozOeqT8tcTUwYPh7KpGs0toUQ=; b=Nr8jwYS/hA2FafQrxCRVfDZgeqiily8eSTISZD/PZULv6riBMnZukt6GpZRzvoMOFzC8f3UgKrwE+D/b20SqA6My2iTnabg1ocKWrmvDUBkiU3nMRdnASTwxuQYC78lIsGqbJZH0oDbiA195VU+jFU43iCBrRmGE6SToQ5Zpgwc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62918+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1595291750334714.292360443516; Mon, 20 Jul 2020 17:35:50 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id YOqqYY1788612xQiobTAszGO; Mon, 20 Jul 2020 17:35:50 -0700 X-Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web11.9156.1595291749450823470 for ; Mon, 20 Jul 2020 17:35:49 -0700 IronPort-SDR: so2XNmvGgIVgg2xkRMbEr2yp2habFQ5cRhw8z8jYT45KJ9gdEiMCsIjLEiBL2s+lmgZmvRjKz+ z0X8M8eBgl5g== X-IronPort-AV: E=McAfee;i="6000,8403,9688"; a="138132926" X-IronPort-AV: E=Sophos;i="5.75,375,1589266800"; d="scan'208";a="138132926" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 17:35:48 -0700 IronPort-SDR: acT1ZUNyQvDvchHzl5qIqwRL/WX0ZVBD5YgnjlLO8cCHgcb1iVF9v3HwtGTcglyQLKnvhwxOIe IIxxUXlvfIoA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,375,1589266800"; d="scan'208";a="287733313" X-Received: from unknown (HELO ikuox-MOBL1.gar.corp.intel.com) ([10.5.244.14]) by orsmga006.jf.intel.com with ESMTP; 20 Jul 2020 17:35:47 -0700 From: "IanX Kuo" To: devel@edk2.groups.io Cc: james.lu@intel.com, chandana.c.kumar@intel.com, varalakshmi.a.prabhala@intel.com, IanX Kuo , Sai Chaganty , Chasel Chiu Subject: [edk2-devel] [edk2-platforms] [PATCH v6 3/6] Platform/Intel/KabylakeOpenBoardPkg: Add ReportCpuHobLib. Date: Tue, 21 Jul 2020 08:35:45 +0800 Message-Id: <13c4371d32fac330d3469bbde483e255c7d28977.1595291556.git.ianx.kuo@intel.com> In-Reply-To: References: MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ianx.kuo@intel.com X-Gm-Message-State: 2gCT6y6yS0YbbuLWvSvNYI3Px1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1595291750; bh=Rl0l4j+q/ojeoajK/It2Nd/dOxjoqw7jST6PBUG3Hag=; h=Cc:Date:From:Reply-To:Subject:To; b=LTad+w1bxNlGqea4DWRXjVgg/+v+2y1xmb8dyVvfLGttLDLKCnEAaibJzLCeKZLRDwL qsMFxWViMVWb5RoRoKfhYsox1a2ZVyeCgE5WWeCMdL6V0G/cnLwV6ls4NvyqOIaYAv1oq 9Eg9hQ3Up+M+xm3/gWQ2ETqTO1+jRLck+4c= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Create a Library instance of ReportCpuHobLib from PlatformInitPei driver. PA bits reported can be overridden by Library instance in Platform. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2674 Change-Id: Ic312ec307b3bcd84051e48505038d9ca47d467e2 Signed-off-by: IanX Kuo Cc: Sai Chaganty Cc: Chasel Chiu Reviewed-by: Chasel Chiu --- .../Intel/KabylakeOpenBoardPkg/GalagoPro3/OpenBoardPkg.dsc | 6 ++++-- .../KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkg.dsc | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Platform/Intel/KabylakeOpenBoardPkg/GalagoPro3/OpenBoardPkg.ds= c b/Platform/Intel/KabylakeOpenBoardPkg/GalagoPro3/OpenBoardPkg.dsc index 6e35495a..55ff33ec 100644 --- a/Platform/Intel/KabylakeOpenBoardPkg/GalagoPro3/OpenBoardPkg.dsc +++ b/Platform/Intel/KabylakeOpenBoardPkg/GalagoPro3/OpenBoardPkg.dsc @@ -1,7 +1,7 @@ ## @file # The main build description file for the GalagoPro3 board. # -# Copyright (c) 2019, Intel Corporation. All rights reserved.
+# Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -38,7 +38,8 @@ # # Include PCD configuration for this board. # - !include AdvancedFeaturePkg/Include/AdvancedFeaturesPcd.dsc + !include AdvancedFeaturePkg/Include/AdvancedFeaturesPcd.dsc + !include OpenBoardPkgPcd.dsc !include AdvancedFeaturePkg/Include/AdvancedFeatures.dsc =20 @@ -119,6 +120,7 @@ PeiLib|$(PLATFORM_PACKAGE)/Library/PeiLib/PeiLib.inf PlatformBootManagerLib|$(PLATFORM_PACKAGE)/Bds/Library/DxePlatformBootMa= nagerLib/DxePlatformBootManagerLib.inf ReportFvLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/PeiReportFvLib/PeiR= eportFvLib.inf + ReportCpuHobLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/ReportCpuHobLib= /ReportCpuHobLib.inf TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLibNull= /TestPointCheckLibNull.inf =20 ####################################### diff --git a/Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkg.= dsc b/Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkg.dsc index 2a086cd9..0d6d5f21 100644 --- a/Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkg.dsc +++ b/Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkg.dsc @@ -1,7 +1,7 @@ ## @file # The main build description file for the KabylakeRvp3 board. # -# Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.
+# Copyright (c) 2017 - 2020, Intel Corporation. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -37,7 +37,8 @@ # # Include PCD configuration for this board. # - !include AdvancedFeaturePkg/Include/AdvancedFeaturesPcd.dsc + !include AdvancedFeaturePkg/Include/AdvancedFeaturesPcd.dsc + !include OpenBoardPkgPcd.dsc !include AdvancedFeaturePkg/Include/AdvancedFeatures.dsc =20 @@ -161,6 +162,7 @@ PeiLib|$(PLATFORM_PACKAGE)/Library/PeiLib/PeiLib.inf PlatformBootManagerLib|$(PLATFORM_PACKAGE)/Bds/Library/DxePlatformBootMa= nagerLib/DxePlatformBootManagerLib.inf ReportFvLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/PeiReportFvLib/PeiR= eportFvLib.inf + ReportCpuHobLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/ReportCpuHobLib= /ReportCpuHobLib.inf TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLibNull= /TestPointCheckLibNull.inf =20 ####################################### --=20 2.26.2.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62918): https://edk2.groups.io/g/devel/message/62918 Mute This Topic: https://groups.io/mt/75695066/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Mon May 6 13:10:50 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62919+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62919+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1595291769; cv=none; d=zohomail.com; s=zohoarc; b=hoadz2aFMo2x+RoaiGnBSXYzvYSvglpfZTTjgjVEDdoNgGy0J3ZSXpiomL193V3G4bMrSzGJXQ7Nw2oaz5+yq4GDV2RnQ0CqGO2BgXT5yfVO01pkLLzBtKl2cKwWaIuMux/O/3iYMpysVQdcgrJoJhpIWrPzq1F/UQmXHfOK86M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595291769; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=3+R5JWlZyuMzr2aKaHIP21hKCxPIoCaAQRaSM3etfTQ=; b=bX1hEzfX9BIA2my0jI5y6y9XGTiSnlaKCxVEbZJohKJS2LPOCcbLmBHDhkH9LqMuPLdx/6lThVeTTPbYp5HLPcKXO0ntIUS2pGF+H9hk3uqiztNmP7N/ResN12io3fRdkWpYaut0jfNF6VrXM+QU0vUSXV+ApysaP8SjFwtk5HI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62919+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1595291769926404.4372166515716; Mon, 20 Jul 2020 17:36:09 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id O3z2YY1788612xzHOQUQcKHl; Mon, 20 Jul 2020 17:36:09 -0700 X-Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web12.9281.1595291769066975561 for ; Mon, 20 Jul 2020 17:36:09 -0700 IronPort-SDR: MVS3tcEMU53bGPMsoWcW7at6dJjY7rIDswZFjZvwT3CYUNTP8+1ybOb70+Ohavg0hrOBgS/ja/ 0p+1rY8GT9bg== X-IronPort-AV: E=McAfee;i="6000,8403,9688"; a="214699456" X-IronPort-AV: E=Sophos;i="5.75,375,1589266800"; d="scan'208";a="214699456" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 17:36:08 -0700 IronPort-SDR: JqW8epgoXVSTZRSzoQnw1O4r+M8DE9TW+rt8c1xhwkJHrAevxVaimUQixym3E1TC0EzAtUNZE2 mI4alS+uH20A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,375,1589266800"; d="scan'208";a="287733422" X-Received: from unknown (HELO ikuox-MOBL1.gar.corp.intel.com) ([10.5.244.14]) by orsmga006.jf.intel.com with ESMTP; 20 Jul 2020 17:36:06 -0700 From: "IanX Kuo" To: devel@edk2.groups.io Cc: james.lu@intel.com, chandana.c.kumar@intel.com, varalakshmi.a.prabhala@intel.com, IanX Kuo , Sai Chaganty , Chasel Chiu Subject: [edk2-devel] [edk2-platforms] [PATCH v6 4/6] Platform/Intel/SimicsOpenBoardPkg: Add ReportCpuHobLib. Date: Tue, 21 Jul 2020 08:36:03 +0800 Message-Id: <0c022cb661f475c65f2f340b4f554baa9cff32f4.1595291556.git.ianx.kuo@intel.com> In-Reply-To: References: MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ianx.kuo@intel.com X-Gm-Message-State: kkiy7Grfbe7kXvgSOOE1lCRpx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1595291769; bh=0/lKW4e3i238LmDs+HpkLDBbB2JAQU059E2CM8bLbis=; h=Cc:Date:From:Reply-To:Subject:To; b=xaNnO8sVCIBPDa6d2huemIDFbZM0y4RDb/SKKjCZN2LpFrdHgmc2dM3ZW0Nw8gQjZO8 h4hHx3OFDZ/l6p02CYzR89HNF25zgGmb2TZFC30TGXXZpW2r5yPR+pQynwucrF6iKBNP4 L9EbhWNLzcQk7M3GqgYeGSzxRFde8gEzqWo= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Create a Library instance of ReportCpuHobLib from PlatformInitPei driver. PA bits reported can be overridden by Library instance in Platform. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2674 Change-Id: I673f8fcd2d97bbd60229a60f53875e92826a7179 Signed-off-by: IanX Kuo Cc: Sai Chaganty Cc: Chasel Chiu Reviewed-by: Chasel Chiu --- .../Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.dsc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.d= sc b/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.dsc index 8a826009..68a8f844 100644 --- a/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.dsc +++ b/Platform/Intel/SimicsOpenBoardPkg/BoardX58Ich10/OpenBoardPkg.dsc @@ -1,7 +1,7 @@ ## @file # The main build description file for the X58Ich10 board. # -# Copyright (c) 2019, Intel Corporation. All rights reserved.
+# Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -42,7 +42,8 @@ DEFINE NETWORK_ISCSI_ENABLE =3D FALSE DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS =3D TRUE =20 - !include AdvancedFeaturePkg/Include/AdvancedFeaturesPcd.dsc + !include AdvancedFeaturePkg/Include/AdvancedFeaturesPcd.dsc + !include $(PROJECT)/OpenBoardPkgPcd.dsc !include AdvancedFeaturePkg/Include/AdvancedFeatures.dsc =20 @@ -117,6 +118,7 @@ LogoLib|$(BOARD_PKG)/Library/DxeLogoLib/DxeLogoLib.inf NvVarsFileLib|$(BOARD_PKG)/Library/NvVarsFileLib/NvVarsFileLib.inf ReportFvLib|$(BOARD_PKG)/Library/PeiReportFvLib/PeiReportFvLib.inf + ReportCpuHobLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/ReportCpuHobLib= /ReportCpuHobLib.inf SerializeVariablesLib|$(BOARD_PKG)/Library/SerializeVariablesLib/Seriali= zeVariablesLib.inf SiliconPolicyInitLib|$(BOARD_PKG)/Policy/Library/SiliconPolicyInitLib/Si= liconPolicyInitLib.inf SiliconPolicyUpdateLib|$(BOARD_PKG)/Policy/Library/SiliconPolicyUpdateLi= b/SiliconPolicyUpdateLib.inf --=20 2.26.2.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62919): https://edk2.groups.io/g/devel/message/62919 Mute This Topic: https://groups.io/mt/75695070/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Mon May 6 13:10:50 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62920+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62920+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1595291784; cv=none; d=zohomail.com; s=zohoarc; b=ixurfjWzOBIR99TnzH8a/shmgjIxZJdFqps+3e+xKSf2G+SyY/RdQx/OKH9wZV1CgBFztbP/InrMBGAKX6HPhzlKlerPQ6D7+5dBtEYKXih8IG5/b4EVqS/3BqTZRPORNUaYacA/GTbvi0iZpZzb2Nx0EaF2oHNnPLWuIZgWPlM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595291784; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=kt2c4xHy2yDtqIzxvzyJ7DMXa6Q2VLhWuOyR8O3H5Bw=; b=Y7fDLpfRtemJ4ofQQaJau/2IPtFy1abFhLOpBKRByVqgc/E3Blyo6M4rOCuMG7sCUe3Y++dvk1nu1FVHjBFKor6/vho3htyZXhXshkUC5ogtMuP6S1dNnNYdIFT43N/BqdyZ9GiyZ6W7SsXnbu/p4J9Sjpb0Hel95oBYuCZsI9A= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62920+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 159529178410745.35645188415958; Mon, 20 Jul 2020 17:36:24 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 4WxcYY1788612xrEEcqRhQxQ; Mon, 20 Jul 2020 17:36:23 -0700 X-Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web10.9358.1595291783260902168 for ; Mon, 20 Jul 2020 17:36:23 -0700 IronPort-SDR: kN8Rnx99UKN+bXum274DY++ad08FIFyxOdAYUx8zcZJcxi+Y+kFrp9nMCQi/zBmw2FChmfl/cg g6vEf4NVT9vA== X-IronPort-AV: E=McAfee;i="6000,8403,9688"; a="130113579" X-IronPort-AV: E=Sophos;i="5.75,375,1589266800"; d="scan'208";a="130113579" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 17:36:23 -0700 IronPort-SDR: 9T4dXktfcAOrfa01oCN+vqHjomoc2Qlei5R0h7F5kvGgUJlMw55BP94u2ppCXNqy+mDBom7bYL w/JqAUq11o+w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,375,1589266800"; d="scan'208";a="287733474" X-Received: from unknown (HELO ikuox-MOBL1.gar.corp.intel.com) ([10.5.244.14]) by orsmga006.jf.intel.com with ESMTP; 20 Jul 2020 17:36:21 -0700 From: "IanX Kuo" To: devel@edk2.groups.io Cc: james.lu@intel.com, chandana.c.kumar@intel.com, varalakshmi.a.prabhala@intel.com, IanX Kuo , Sai Chaganty , Chasel Chiu Subject: [edk2-devel] [edk2-platforms] [PATCH v6 5/6] Platform/Intel/WhiskeylakeOpenBoardPkg: Add ReportCpuHobLib. Date: Tue, 21 Jul 2020 08:36:19 +0800 Message-Id: <69e1d53bfdd22ccf030eec040a9258d90e4a801a.1595291556.git.ianx.kuo@intel.com> In-Reply-To: References: MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ianx.kuo@intel.com X-Gm-Message-State: mRrZiCW0fDjmplBsDYwaMIXsx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1595291783; bh=alXKgMeoknS/dkB0knF5UAm1sLubTkRWrnxe0JXnNws=; h=Cc:Date:From:Reply-To:Subject:To; b=Ey7cyuXmiGJTAHSZqpx2+AuffQMSHdvMhvoRdWAn4lH/q28mDcYz0keJjWFJpVOm3S7 X/k4r9sfuWD5NsyTrRvzaaRv6QDNL9mpqJfjR7MnKjaaWIZyX4uRqHD1vg2Wcg+7tbtB7 XNKr97xKmcX03JdjrLlY9WiG6V4ke1lS1cY= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Create a Library instance of ReportCpuHobLib from PlatformInitPei driver. PA bits reported can be overridden by Library instance in Platform. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2674 Change-Id: I999b29c30993c397f918a1f7b4ea19c61c0a460d Signed-off-by: IanX Kuo Cc: Sai Chaganty Cc: Chasel Chiu Reviewed-by: Chasel Chiu --- .../Intel/WhiskeylakeOpenBoardPkg/UpXtreme/OpenBoardPkg.dsc | 4 +++- .../WhiskeylakeURvp/OpenBoardPkg.dsc | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/OpenBoardPkg.d= sc b/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/OpenBoardPkg.dsc index fdf85b43..f78dba87 100644 --- a/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/OpenBoardPkg.dsc +++ b/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/OpenBoardPkg.dsc @@ -39,7 +39,8 @@ # # Include PCD configuration for this board. # - !include AdvancedFeaturePkg/Include/AdvancedFeaturesPcd.dsc + !include AdvancedFeaturePkg/Include/AdvancedFeaturesPcd.dsc + !include OpenBoardPkgPcd.dsc !include AdvancedFeaturePkg/Include/AdvancedFeatures.dsc =20 @@ -121,6 +122,7 @@ PeiLib|$(PLATFORM_PACKAGE)/Library/PeiLib/PeiLib.inf PlatformBootManagerLib|$(PLATFORM_PACKAGE)/Bds/Library/DxePlatformBootMa= nagerLib/DxePlatformBootManagerLib.inf ReportFvLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/PeiReportFvLib/PeiR= eportFvLib.inf + ReportCpuHobLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/ReportCpuHobLib= /ReportCpuHobLib.inf TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLibNull= /TestPointCheckLibNull.inf =20 ####################################### diff --git a/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/OpenBoa= rdPkg.dsc b/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/OpenBoar= dPkg.dsc index 11dffb08..9ee4030a 100644 --- a/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/OpenBoardPkg.d= sc +++ b/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/OpenBoardPkg.d= sc @@ -1,7 +1,7 @@ ## @file # The main build description file for the WhiskeylakeURvp board. # -# Copyright (c) 2019, Intel Corporation. All rights reserved.
+# Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -39,7 +39,8 @@ # # Include PCD configuration for this board. # - !include AdvancedFeaturePkg/Include/AdvancedFeaturesPcd.dsc + !include AdvancedFeaturePkg/Include/AdvancedFeaturesPcd.dsc + !include OpenBoardPkgPcd.dsc !include AdvancedFeaturePkg/Include/AdvancedFeatures.dsc =20 @@ -121,6 +122,7 @@ PeiLib|$(PLATFORM_PACKAGE)/Library/PeiLib/PeiLib.inf PlatformBootManagerLib|$(PLATFORM_PACKAGE)/Bds/Library/DxePlatformBootMa= nagerLib/DxePlatformBootManagerLib.inf ReportFvLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/PeiReportFvLib/PeiR= eportFvLib.inf + ReportCpuHobLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/ReportCpuHobLib= /ReportCpuHobLib.inf TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLibNull= /TestPointCheckLibNull.inf =20 ####################################### --=20 2.26.2.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62920): https://edk2.groups.io/g/devel/message/62920 Mute This Topic: https://groups.io/mt/75695075/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Mon May 6 13:10:50 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62921+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62921+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1595291801; cv=none; d=zohomail.com; s=zohoarc; b=QQKOoJzZO7NJix4fAynm421ZOBL9myY8h8fo3Fc/eLsU5rMeypV1en4tgTvHSiyGTBfrPeoA1QWz0cSEtPuigC1rwKqx0L8gjNKxfO5KNbIaZnIXWgGARPJf8t6pyb+lDrnxzLZMDoNH+bxPxq/K+JGrHtmsEgl0+jE0UwyuBlg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595291801; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=dDkIYr9maFbWrmOGU+b8m1gVY9VkxJUOPU4m+eIhQgM=; b=jFgCT6QVpaVe2uc3Gs8WF2I5D1ZpLpAVeNl04tUy7h+2OlTdc4tcsYcJ6Iva8dk8L85L5h4Sa2p4thf7EbBfPlS+gF//r7WT7u33F3s4cX5ayVnhFvmQ3UtPsNa1/q2ouoWe6QjmQx55ThnP38jOwSHanrGI/h62WFh9/sVl6DI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62921+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1595291801728684.803719439224; Mon, 20 Jul 2020 17:36:41 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id uUX0YY1788612xmLp8gPLYet; Mon, 20 Jul 2020 17:36:41 -0700 X-Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web10.9361.1595291800947658308 for ; Mon, 20 Jul 2020 17:36:41 -0700 IronPort-SDR: oWAxPe4lpuV2EV9yeh5HDzM1M8MENjOefnDn1RDtLOP8K4p5QpTvrubLnQ0KzcrSnl3Hby9+YE BWPlmPqAvOTw== X-IronPort-AV: E=McAfee;i="6000,8403,9688"; a="168178029" X-IronPort-AV: E=Sophos;i="5.75,375,1589266800"; d="scan'208";a="168178029" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 17:36:39 -0700 IronPort-SDR: 9Q3RsR52VO7CE/2W9XI6VAqu9WJbtvnoR9cPWhJVJeLsLYhRlyIPbz3dhrtIy7r1ovt3W7+urN 9LCEow8mE8PA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,375,1589266800"; d="scan'208";a="287733544" X-Received: from unknown (HELO ikuox-MOBL1.gar.corp.intel.com) ([10.5.244.14]) by orsmga006.jf.intel.com with ESMTP; 20 Jul 2020 17:36:37 -0700 From: "IanX Kuo" To: devel@edk2.groups.io Cc: james.lu@intel.com, chandana.c.kumar@intel.com, varalakshmi.a.prabhala@intel.com, IanX Kuo , Sai Chaganty , Chasel Chiu Subject: [edk2-devel] [edk2-platforms] [PATCH v6 6/6] Platform/Intel/MinPlatformPkg: Add ReportCpuHobLib. Date: Tue, 21 Jul 2020 08:36:35 +0800 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ianx.kuo@intel.com X-Gm-Message-State: 14OBMY5PFpis1RTx0tzzAv71x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1595291801; bh=K46QHYEBF5Tu+bYSIf+CIrNjAyIquETaMnGFUNQmNCc=; h=Cc:Date:From:Reply-To:Subject:To; b=olALmAOQ3RqfuUey09GTZT8kpiLrnODE0ckfBKVs5CmvLdO7Jtbopywo7lxiYmDlQsJ OFBurnVKEfax9M5yrutI/Vre5jlb1LVPczFKl1FHYuBhorgnIVqdsBCD2vQTRrijR6zlM GFLux1zT+U23RLGKnxV6tfM8J+yzv+zGpXY= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Create a Library instance of ReportCpuHobLib from PlatformInitPei driver. PA bits reported can be overridden by Library instance in Platform. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2674 Change-Id: I1c14aece3b229c194960e91dc9505dd8120bbe30 Signed-off-by: IanX Kuo Cc: Sai Chaganty Cc: Chasel Chiu Reviewed-by: Chasel Chiu --- .../Intel/MinPlatformPkg/MinPlatformPkg.dsc | 3 ++- .../PlatformInitPei/PlatformInitPreMem.c | 25 ++----------------- .../PlatformInitPei/PlatformInitPreMem.inf | 3 ++- 3 files changed, 6 insertions(+), 25 deletions(-) diff --git a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc b/Platform/In= tel/MinPlatformPkg/MinPlatformPkg.dsc index 13a0fda2..b62351da 100644 --- a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc +++ b/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc @@ -1,7 +1,7 @@ ## @file # Platform description. # -# Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.
+# Copyright (c) 2017 - 2020, Intel Corporation. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -92,6 +92,7 @@ # FspWrapperPlatformLib|MinPlatformPkg/FspWrapper/Library/PeiFspWrapperPla= tformLib/PeiFspWrapperPlatformLib.inf ReportFvLib|MinPlatformPkg/PlatformInit/Library/PeiReportFvLib/PeiReport= FvLib.inf + ReportCpuHobLib|MinPlatformPkg/PlatformInit/Library/ReportCpuHobLib/Repo= rtCpuHobLib.inf TestPointCheckLib|MinPlatformPkg/Test/Library/TestPointCheckLib/PeiTestP= ointCheckLib.inf TestPointLib|MinPlatformPkg/Test/Library/TestPointLib/PeiTestPointLib.inf SetCacheMtrrLib|MinPlatformPkg/Library/SetCacheMtrrLib/SetCacheMtrrLibNu= ll.inf diff --git a/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/Pla= tformInitPreMem.c b/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInit= Pei/PlatformInitPreMem.c index efdeb6a9..48cbe0df 100644 --- a/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformIn= itPreMem.c +++ b/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformIn= itPreMem.c @@ -1,7 +1,7 @@ /** @file Source code file for Platform Init Pre-Memory PEI module =20 -Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.
+Copyright (c) 2017 - 2020, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -26,6 +26,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #include #include #include +#include #include #include #include @@ -355,28 +356,6 @@ Done: return EFI_SUCCESS; } =20 -VOID -ReportCpuHob ( - VOID - ) -{ - UINT8 PhysicalAddressBits; - UINT32 RegEax; - - AsmCpuid (0x80000000, &RegEax, NULL, NULL, NULL); - if (RegEax >=3D 0x80000008) { - AsmCpuid (0x80000008, &RegEax, NULL, NULL, NULL); - PhysicalAddressBits =3D (UINT8) RegEax; - } else { - PhysicalAddressBits =3D 36; - } - - /// - /// Create a CPU hand-off information - /// - BuildCpuHob (PhysicalAddressBits, 16); -} - /** Install Firmware Volume Hob's once there is main memory =20 diff --git a/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/Pla= tformInitPreMem.inf b/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformIn= itPei/PlatformInitPreMem.inf index 7ee18eb6..8e828ff2 100644 --- a/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformIn= itPreMem.inf +++ b/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformIn= itPreMem.inf @@ -1,7 +1,7 @@ ### @file # Component information file for the Platform Init Pre-Memory PEI module. # -# Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.
+# Copyright (c) 2017 - 2020, Intel Corporation. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -28,6 +28,7 @@ TestPointCheckLib TimerLib SetCacheMtrrLib + ReportCpuHobLib =20 [Packages] MinPlatformPkg/MinPlatformPkg.dec --=20 2.26.2.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62921): https://edk2.groups.io/g/devel/message/62921 Mute This Topic: https://groups.io/mt/75695077/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-