From nobody Mon Apr 29 20:02:33 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+62951+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+62951+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1595309362; cv=none; d=zohomail.com; s=zohoarc; b=EE8J2GzfVkpy3P3NOCr3I614ppnZkT7156uO8SjtB02kSeaD7UqWjqpT2IavSztx14bp4YgosHX8a90+WGL4CQQM7axsmiYVXS9abrNgRoxXZjx/IvBpMDFpoUI1Xq7ev5AZueRzm+Nkc1mWDfofhwwI08Le5B6TvuEAYaNO4BA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595309362; 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=sfrpuQxQaVrXJ5Hc5Vazd1PBjWKnkFmgWKXBmWXD3hs=; b=RqJfRXesd4wpmocbOH3yvYaQNYioN/mJVPaKWq4hSSvOyI+UCM4SHt3mU3uZKt1UsQLISFzHeg9qNDqMRPrAXLQuyr4bJi3O7LK2sIhQwqMnfdAGaPKk6Idh5ekt4UQHyAUPCfYqCyOfmjIjoNTtQZspfHxiS9KnZ3EUUV5OOCw= 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+62951+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 1595309362542600.1371861035474; Mon, 20 Jul 2020 22:29:22 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 15bwYY1788612xSYz9v8TFQf; Mon, 20 Jul 2020 22:29:22 -0700 X-Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web11.12895.1595309361730213608 for ; Mon, 20 Jul 2020 22:29:21 -0700 IronPort-SDR: zJ3pkHeBsNYYnFrj/pcBzlGksynxTUQkCH4/5WvKF6+BEX4a2lonV3gW0yWHeRDqGyy3VGP71b 18aS64eZPkTw== X-IronPort-AV: E=McAfee;i="6000,8403,9688"; a="168205452" X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="168205452" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 22:29:21 -0700 IronPort-SDR: yGr/aH2Z0/qV5/f+vqELBrQv1GuLfQwnkyjcqH/+BCq7TLTGDbk8RLmNjrTE1uRsGfl1hivbGf 2hfjUS6aV/Yg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="301497229" X-Received: from ikuox-mobl1.gar.corp.intel.com ([10.5.244.14]) by orsmga002.jf.intel.com with ESMTP; 20 Jul 2020 22:29:19 -0700 From: "IanX Kuo" To: devel@edk2.groups.io Cc: james.lu@intel.com, chandana.c.kumar@intel.com, varalakshmi.a.prabhala@intel.com, liming.gao@intel.com, IanX Kuo , Sai Chaganty , Chasel Chiu Subject: [edk2-devel] [edk2-platforms] [PATCH v7 1/6] Platform/Intel/MinPlatformPkg: Fix build error Date: Tue, 21 Jul 2020 13:29:17 +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: RNu2TBv6yMWwcObpa3dYQkQzx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1595309362; bh=vlpWaYVHH5tXPUPmjS6vGb2JTAO5PTj1+eOgg8qRXX8=; h=Cc:Date:From:Reply-To:Subject:To; b=LPzTBzxZa4ziY4JULCEdAs9CXgcjDolWu6O+Avt7WE6ChCAA2nbsgBwz7dF3ApwgAxO zmZgD32lt4tZuYLa9K/llfgek5RkNtZfv295Kj3iyuTY2UsMFdCGsxRCQn0XC3KUCqhDg qx7iMgG4GRsBoDsPSonLdW25h5/6L3aqcDo= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" 1. Fix ReportCpuHobLib build error 2. Change MODULE from BASE to PEIM 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: Liming Gao --- .../PlatformInit/Library/ReportCpuHobLib/ReportCpuHobLib.c | 3 ++- .../PlatformInit/Library/ReportCpuHobLib/ReportCpuHobLib.inf | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Platform/Intel/MinPlatformPkg/PlatformInit/Library/ReportCpuHo= bLib/ReportCpuHobLib.c b/Platform/Intel/MinPlatformPkg/PlatformInit/Library= /ReportCpuHobLib/ReportCpuHobLib.c index aa256534..7eb29152 100644 --- a/Platform/Intel/MinPlatformPkg/PlatformInit/Library/ReportCpuHobLib/Re= portCpuHobLib.c +++ b/Platform/Intel/MinPlatformPkg/PlatformInit/Library/ReportCpuHobLib/Re= portCpuHobLib.c @@ -6,7 +6,8 @@ SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ =20 -#include +#include +#include #include =20 VOID diff --git a/Platform/Intel/MinPlatformPkg/PlatformInit/Library/ReportCpuHo= bLib/ReportCpuHobLib.inf b/Platform/Intel/MinPlatformPkg/PlatformInit/Libra= ry/ReportCpuHobLib/ReportCpuHobLib.inf index a1830d43..df1d780e 100644 --- a/Platform/Intel/MinPlatformPkg/PlatformInit/Library/ReportCpuHobLib/Re= portCpuHobLib.inf +++ b/Platform/Intel/MinPlatformPkg/PlatformInit/Library/ReportCpuHobLib/Re= portCpuHobLib.inf @@ -12,7 +12,7 @@ BASE_NAME =3D ReportCpuHobLib FILE_GUID =3D F19AA754-CE24-448D-B755-1F939B00C25D VERSION_STRING =3D 1.0 - MODULE_TYPE =3D BASE + MODULE_TYPE =3D PEIM LIBRARY_CLASS =3D ReportCpuHobLib =20 [LibraryClasses] --=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 (#62951): https://edk2.groups.io/g/devel/message/62951 Mute This Topic: https://groups.io/mt/75698469/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 Apr 29 20:02:33 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+62952+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+62952+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1595309384; cv=none; d=zohomail.com; s=zohoarc; b=frDZCL7uvp+UOz8Y/dZ51yMDPj9CISBEmO828V1lB2tkXgslRTFMKapTc4OK2a+gVZYPLV73rm/nKillbzLze5z+xZvvGPjzvQEf0oMn0//rwoVjVZ9hbR1EXJGPvNTtPSAx5dJmQXkQaSW0Uf1a2fOPmZ8oGofGIX8t4ptgPz4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595309384; 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=ZFwGZ886cBMH0MXPYRS0QmgRYhfERCXJR+MspebSCmo=; b=TLf9GpegF+qtWeErDYVBLaNIIeRsOEVvOK5FuwwSnFgi36/GbodFT6gvUMOk2Jf3QbFOyXxJBmaplqqB8xA07J7DRzOfnVPlokAX+jKyYKGKlzJx0Xu+LpWF3ILRGRwlTdhZrTJx/VfPe15qEpF8tN5YlQY/34xwia5DVchmnGA= 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+62952+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 1595309384015148.8969599918297; Mon, 20 Jul 2020 22:29:44 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id PETqYY1788612x6nilOOQP9L; Mon, 20 Jul 2020 22:29:43 -0700 X-Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web11.12900.1595309383278833717 for ; Mon, 20 Jul 2020 22:29:43 -0700 IronPort-SDR: wTmEvRDR4vkV5jVHEkyaK7kjxCZiptPB2p7U3tl7ClJDeTT6TAT/dKxE9kAyGkY+BmRG1VPGKx 3gNhZkqViH/g== X-IronPort-AV: E=McAfee;i="6000,8403,9688"; a="148008661" X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="148008661" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 22:29:39 -0700 IronPort-SDR: Pz/A2QMbuiUwcllM965ZAXWuOWm2DON/e1jjp+eILH4ywW0fFjIVPT9i2jHDe6u7boS6vip9Hp He8RLBWb+84Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="301497295" X-Received: from ikuox-mobl1.gar.corp.intel.com ([10.5.244.14]) by orsmga002.jf.intel.com with ESMTP; 20 Jul 2020 22:29:36 -0700 From: "IanX Kuo" To: devel@edk2.groups.io Cc: james.lu@intel.com, chandana.c.kumar@intel.com, varalakshmi.a.prabhala@intel.com, liming.gao@intel.com, IanX Kuo , Sai Chaganty , Chasel Chiu Subject: [edk2-devel] [edk2-platforms] [PATCH v7 2/6] Platform/Intel/CometlakeOpenBoardPkg: Add ReportCpuHobLib. Date: Tue, 21 Jul 2020 13:29:31 +0800 Message-Id: <23a8724d8993fb3a5d82fbf24d072669ad124334.1595309109.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: HVIYqHxuW4PkhPvR8s9axP8qx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1595309383; bh=Vn/1IrdC3HGLU1Q9er5Qs9Qmml8awlk5D2ke6k9tGbk=; h=Cc:Date:From:Reply-To:Subject:To; b=PMY6JKZt38W/d0TmmkgUoyONTr9tGXf1c+nu0OLQqQl8wfaRfCwNg6hqri0AVgXnFG1 qc2Y1lTezxzkKTBbtTPEMyaS9d9jfFggySyMOSs0gVDNrGiyRmofmK10xFEgAW0zluJJa X1gFHGL4kPtL71V/FBD1zYFNoWiRXMv3hTA= 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 --- .../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..6a5c993b 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 @@ -172,6 +173,7 @@ TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/Pei= TestPointCheckLib.inf !endif SetCacheMtrrLib|$(PLATFORM_PACKAGE)/Library/SetCacheMtrrLib/SetCacheMtrr= LibNull.inf + ReportCpuHobLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/ReportCpuHobLib= /ReportCpuHobLib.inf =20 ####################################### # Board Package --=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 (#62952): https://edk2.groups.io/g/devel/message/62952 Mute This Topic: https://groups.io/mt/75698470/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 Apr 29 20:02:33 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+62953+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+62953+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1595309394; cv=none; d=zohomail.com; s=zohoarc; b=mdGqwqkJwGjoI2UuUscL0abyG43fPb/PxGHa5q7+/Q8InTs2XufNAMdd/V60vMOZyPqBSzAsQNBqA+pvbVkkhO/MiM2a7kR7Xb8ABZiX1sNrvHg3e+esh56FfhuG4c7fCsGiLY0IFyVvUUT7g3CPF44Ebn/b5LeeI3/dW8RclC4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595309394; 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=6MZzpdtrfsaJT6nIMunu7NUDO/0O6r4d6HCndRT1pds=; b=I5gXPfj8sxHX/mNmJVFK7VkceC487iqgMyxlKz7U0hymc3CWjwXk8ywCwBfNgC7tTIWNjwIqkbOf4155yw1cxj+Rqh581yfrrg2D+txF1ZQ7I9rRwDWUSFJcZcLH15aUEGAYJnf5fsl5rt7VESJrAvMeEnQWLlRstB+Y47Ngp48= 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+62953+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 1595309394644153.06762954600106; Mon, 20 Jul 2020 22:29:54 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id qyyMYY1788612xJOVOZS38wQ; Mon, 20 Jul 2020 22:29:54 -0700 X-Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web11.12902.1595309393804326012 for ; Mon, 20 Jul 2020 22:29:53 -0700 IronPort-SDR: aPz5QyRB2Z23ScnQGQ3ToP6IVC3VnqoFKjvFIcFXTzdw/7b68sZt1HV4q7FGNx4YwWJBqisyIA za015yaE6lBA== X-IronPort-AV: E=McAfee;i="6000,8403,9688"; a="130142374" X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="130142374" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 22:29:53 -0700 IronPort-SDR: ItTSG5Uu3u4XCk1TDOkJ1AKftBNLfHulcCgP952nTjJk0DoN9nfeAQ9NDIBykLlMgdxzayFtC4 zg7nzYAi1bVA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="301497358" X-Received: from ikuox-mobl1.gar.corp.intel.com ([10.5.244.14]) by orsmga002.jf.intel.com with ESMTP; 20 Jul 2020 22:29:51 -0700 From: "IanX Kuo" To: devel@edk2.groups.io Cc: james.lu@intel.com, chandana.c.kumar@intel.com, varalakshmi.a.prabhala@intel.com, liming.gao@intel.com, IanX Kuo , Sai Chaganty , Chasel Chiu Subject: [edk2-devel] [edk2-platforms] [PATCH v7 3/6] Platform/Intel/KabylakeOpenBoardPkg: Add ReportCpuHobLib. Date: Tue, 21 Jul 2020 13:29:48 +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: KGe5MB1fBJR1AfI92UBiEbB0x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1595309394; bh=A7JX4cOdjfdSP0tmnLFrqft4Y1HFAKNWolPSXyxWbGA=; h=Cc:Date:From:Reply-To:Subject:To; b=BDCvRRZFU3qffQnOK0gQypIloEGATaDs+JsBaFKw6ya3BSY2i03oUPc0q3d2Q7Zv/SB X9mkmOgjokztOx9qzYqfnO2dS8yy/KiE8Oc+swwfMZ7QJA1b1uCYfVo49rbneF45AHtI0 svV/0m3MXp5GLIuExqan5Aw9VnQ5h7nCGAs= 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 --- .../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..54f10ff0 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 @@ -160,6 +161,7 @@ DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebug= LibReportStatusCode.inf SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull= .inf SetCacheMtrrLib|$(PLATFORM_PACKAGE)/Library/SetCacheMtrrLib/SetCacheMtrr= LibNull.inf + ReportCpuHobLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/ReportCpuHobLib= /ReportCpuHobLib.inf =20 ####################################### # Platform Package diff --git a/Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkg.= dsc b/Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/OpenBoardPkg.dsc index 2a086cd9..bba3510c 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 @@ -212,6 +213,7 @@ TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/Pei= TestPointCheckLib.inf !endif SetCacheMtrrLib|$(PLATFORM_PACKAGE)/Library/SetCacheMtrrLib/SetCacheMtrr= LibNull.inf + ReportCpuHobLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/ReportCpuHobLib= /ReportCpuHobLib.inf =20 ####################################### # Board Package --=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 (#62953): https://edk2.groups.io/g/devel/message/62953 Mute This Topic: https://groups.io/mt/75698475/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 Apr 29 20:02:33 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+62954+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+62954+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1595309411; cv=none; d=zohomail.com; s=zohoarc; b=MyQk00CKf0pAWuyq0izVfI/ezLmxyVUh/xLqUUzdeHapITYKtkMP+tZ+IOYvnGVF6xA5SsR/U4Sb70gNPEIUTXKcCGN2HD7FZQfET+ZoeqqGBMqjRHqRgOemodAlxvz9kI4LexDulG7uGoPU7U37FNxhXBlZ4mrbyU1/BIV3sd0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595309411; 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=JnxITDG25bZ700PNM+STHKZ7p46suLb0wDHhBVSAV6w=; b=kuKGA+Og3AS2jUg2VRquhMBNqAcS85SdOEotcmrEYO8VcrfvqypTM546g3oh3xHXi1Nh0Fhw95iLGxUFRsq6KxU3L030bowu6zbRAwm9nrMF294bN1d8ns0RUep+OtEaR70RyMDvS8sokTCoetg2vVe1G47iQbJ/ptZ5CxFsKOY= 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+62954+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 1595309411216497.54401450087585; Mon, 20 Jul 2020 22:30:11 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id LP9EYY1788612xkAOwP4HEsC; Mon, 20 Jul 2020 22:30:10 -0700 X-Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web10.13081.1595309410354103363 for ; Mon, 20 Jul 2020 22:30:10 -0700 IronPort-SDR: 9FTHFivR7OYPa5TgiQ6N9GHfolQ8E4HQCuTHM/I0pSgYm61TzlJzn0uniIiY/2c3gsYwEFKjRz qr4jW/qmHAlA== X-IronPort-AV: E=McAfee;i="6000,8403,9688"; a="130142410" X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="130142410" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 22:30:10 -0700 IronPort-SDR: uoG0WRD0c71dEN9laQOPaxh9Zc4zzLUlCPM5nDqPxWh3fWCX7AsiDumccLf55k4ZwaE65yvvTI ze6/DkViAVkw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="301497521" X-Received: from ikuox-mobl1.gar.corp.intel.com ([10.5.244.14]) by orsmga002.jf.intel.com with ESMTP; 20 Jul 2020 22:30:07 -0700 From: "IanX Kuo" To: devel@edk2.groups.io Cc: james.lu@intel.com, chandana.c.kumar@intel.com, varalakshmi.a.prabhala@intel.com, liming.gao@intel.com, IanX Kuo , Sai Chaganty , Chasel Chiu Subject: [edk2-devel] [edk2-platforms] [PATCH v7 4/6] Platform/Intel/SimicsOpenBoardPkg: Add ReportCpuHobLib. Date: Tue, 21 Jul 2020 13:30:05 +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: 31FKZZ1BTlCXMcq50lzw58Ibx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1595309410; bh=MC9O0zMuSO6LKDicOigGCPv6myr/45fHVJ+4jIlDhv4=; h=Cc:Date:From:Reply-To:Subject:To; b=v9Mv+6+bymfZXEUmA5HwsVMhnKgekeTKSWLyXTMMwSdVElpD1S0mV8TJ/PTQXdD2gaf 6yUmSwWrQ9sjLIVx0odHYDjTLX1r096zdBoF60FciOEcr98qXnPI27F5RZlU1AYMQ1Rc9 XeZvsG8lhXmlvYIeQQWAZ3G+hDb0wjIPGJE= 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 --- .../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..a2d35582 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 @@ -144,6 +145,7 @@ !endif TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/PeiTestPointL= ib.inf SetCacheMtrrLib|$(PLATFORM_PACKAGE)/Library/SetCacheMtrrLib/SetCacheMtrr= Lib.inf + ReportCpuHobLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/ReportCpuHobLib= /ReportCpuHobLib.inf =20 [LibraryClasses.common.DXE_DRIVER] =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 (#62954): https://edk2.groups.io/g/devel/message/62954 Mute This Topic: https://groups.io/mt/75698478/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 Apr 29 20:02:33 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+62955+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+62955+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1595309431; cv=none; d=zohomail.com; s=zohoarc; b=EVvtgKqyr44Bew44SFrlo/akKfEFfFphPW78T/NpA9lQbNzFpGumqVyWM/9dbsDFqR0R2IqiAVMUP/DmDThQESnCz2lRGe0EFyqKr1zhlivkYDekbYjDtPbV4vBBSPfp1asUPQCc0+zEo5lA8ajwO6nc6nYGf9kPJd/KqpkCkyo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595309431; 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=OJrAm4oYnUNq+K9xXXf+YzJCbcXT+vqOqUKflzAkpZo=; b=czPSvA+pqvB5aSDOkyreW6IhtB2YNV/5FY6r/vAiKsEwUKv3qleFKcUj3cJXho4zUSm+6UmzR9TsVpwqu0A4EvKi7z5adb6QU1chACFrWH2Ax15HvB0C3CLpnu5J/cJoPSJSawlEPKQLEiu9HuytQ+lE+cTFi0vJR84tjA0UtL0= 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+62955+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 1595309431626583.5950937836678; Mon, 20 Jul 2020 22:30:31 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id bkUwYY1788612xZj25b6g5Bd; Mon, 20 Jul 2020 22:30:31 -0700 X-Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web11.12908.1595309430643251102 for ; Mon, 20 Jul 2020 22:30:30 -0700 IronPort-SDR: q35fkibyxyAtjaXKEt0+3ofrFPNlEgae1AOqA4z+USgG3nS1cKFvqt2ZGeIhroaPGO7rAq+jvg 9twhkYNiQdXw== X-IronPort-AV: E=McAfee;i="6000,8403,9688"; a="214729692" X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="214729692" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 22:30:30 -0700 IronPort-SDR: W2e6Ihg7gun47n2ds9pZinVL9b3wLhm6GMhrSBycobGGDQyJElpG/Mph9BrdyWi7hCXq9/k2QC EPXd1vVTuohw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="301497607" X-Received: from ikuox-mobl1.gar.corp.intel.com ([10.5.244.14]) by orsmga002.jf.intel.com with ESMTP; 20 Jul 2020 22:30:28 -0700 From: "IanX Kuo" To: devel@edk2.groups.io Cc: james.lu@intel.com, chandana.c.kumar@intel.com, varalakshmi.a.prabhala@intel.com, liming.gao@intel.com, IanX Kuo , Sai Chaganty , Chasel Chiu Subject: [edk2-devel] [edk2-platforms] [PATCH v7 5/6] Platform/Intel/WhiskeylakeOpenBoardPkg: Add ReportCpuHobLib. Date: Tue, 21 Jul 2020 13:30:26 +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: mfNNSSFX4l0mehKKDXhMkqfOx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1595309431; bh=iD+Q+vF1l/as8OqJIk6RbTcbcRYYvLU6+Cd3Eptp4TY=; h=Cc:Date:From:Reply-To:Subject:To; b=bsUxueHxNjx+0zM0Jl4zgBzDgUhkfTIrFBk1or5/E2n/kQsHmmp+Ng4+rf3sDhD+4HW qcs5lh/ggD5EgLl65gg1GW75AqNcsTvUPxwwpXDcPFQYCxO3fyG7lsKXgdXEj0Zb7UNJ0 hQecIZg3FOtcjx260d4Wu2LTsCc3Irq/V1Q= 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 --- .../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..1e6bd7fd 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 @@ -172,6 +173,7 @@ TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/Pei= TestPointCheckLib.inf !endif SetCacheMtrrLib|$(PLATFORM_PACKAGE)/Library/SetCacheMtrrLib/SetCacheMtrr= LibNull.inf + ReportCpuHobLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/ReportCpuHobLib= /ReportCpuHobLib.inf =20 ####################################### # Board Package diff --git a/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/OpenBoa= rdPkg.dsc b/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/OpenBoar= dPkg.dsc index 11dffb08..502e015e 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 @@ -172,6 +173,7 @@ TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/Pei= TestPointCheckLib.inf !endif SetCacheMtrrLib|$(PLATFORM_PACKAGE)/Library/SetCacheMtrrLib/SetCacheMtrr= LibNull.inf + ReportCpuHobLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/ReportCpuHobLib= /ReportCpuHobLib.inf =20 ####################################### # Board Package --=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 (#62955): https://edk2.groups.io/g/devel/message/62955 Mute This Topic: https://groups.io/mt/75698479/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 Apr 29 20:02:33 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+62956+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+62956+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1595309448; cv=none; d=zohomail.com; s=zohoarc; b=FK4BTYoOuRPR/m0hUPLyspCcjlOBg0pQyxfu2RPHa1DTGHJcjhxw7LhSGKzAPCExgO39dCIv3vAfDdoVFoWyzzSUf7OPaU5g6smArpYfeS+HkOSaMSYVZ8PK+vyU06gyqM1Ea2Y83RHxDvfIlZ5DBGMgi0aX7RLEdbPIh0go+Cw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595309448; 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=TgRniq6UVFCTsW7NDQuSMDvclds1+LfNtL8NSHQqQtA=; b=WjWzW2YmmQE3zPfhH0iiLRg3ya/5Z1t44dvuptlXFU8GIHXOo405GyM2+hpaVOonmSVfKqWg0KjS3gqaQ5oQ4nMiWs3iykuPxMS54sAK6bdxi4i3Z/A36w3CLgl5qS98sB6AlS79l5QALLLzgk3eqVZ+8/QGWEbpSZGKehBkLi4= 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+62956+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 1595309448980800.9132886891969; Mon, 20 Jul 2020 22:30:48 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id I3h7YY1788612xv8vlvRABEn; Mon, 20 Jul 2020 22:30:48 -0700 X-Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web12.13076.1595309448144146397 for ; Mon, 20 Jul 2020 22:30:48 -0700 IronPort-SDR: diWT+ZiECxrmPMBw9iK14/+wwnXfCvxys780kYNYeT4rloe1juBT3SC9kIeMYrqZqMXY61lBf8 ZoLDfcsIf3Og== X-IronPort-AV: E=McAfee;i="6000,8403,9688"; a="214729720" X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="214729720" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 22:30:47 -0700 IronPort-SDR: A38++d6bBeUffJfrNgqbgfTWgeebqS7gY3AcIj0fdQXu5js3buq1Tpqi8tvX9O3luU734s9WVe mq4YeFl4ZvaA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="301497649" X-Received: from ikuox-mobl1.gar.corp.intel.com ([10.5.244.14]) by orsmga002.jf.intel.com with ESMTP; 20 Jul 2020 22:30:45 -0700 From: "IanX Kuo" To: devel@edk2.groups.io Cc: james.lu@intel.com, chandana.c.kumar@intel.com, varalakshmi.a.prabhala@intel.com, liming.gao@intel.com, IanX Kuo , Sai Chaganty , Chasel Chiu Subject: [edk2-devel] [edk2-platforms] [PATCH v7 6/6] Platform/Intel/MinPlatformPkg: Add ReportCpuHobLib. Date: Tue, 21 Jul 2020 13:30:43 +0800 Message-Id: <5eca72d86fb0d2a2f2242ef8d082febda563e4e6.1595309109.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: ut8bP1OI6RC0FDABOSE3Dx5qx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1595309448; bh=dYCtfxlHOsIQ/wPD3tdrhuyHigw903gQiOrEsuTpvcM=; h=Cc:Date:From:Reply-To:Subject:To; b=Mw74YmIxgtELkm1iOfyjtZNpb1JQHQNxk0rPfae/Sv2S+IfDAEr2RwSAxfMoXYTnoIf vaY3qNNc16yCnX46a4FlB+01opyYK+Z4nrG9ruz0v80dMbr3QcSzbbQajOqbKPSXH4qmg vH83lm3K8jBjDT2NCGDlrnnPMLvkVL+Y4AE= 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 --- .../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 (#62956): https://edk2.groups.io/g/devel/message/62956 Mute This Topic: https://groups.io/mt/75698482/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-