From nobody Mon May 6 05:35:24 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+62881+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+62881+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1595288292; cv=none; d=zohomail.com; s=zohoarc; b=FDiOP47afp2Oak/eCcPEc2X715gXWufkq5ANfwyqd1b9Ll2Bp3W9eoI3qBplZXjHhIMV/2hvNyI1JEGujJD8YASSdXEdyvuS3mbfr0KDPfMeunrrAlONPOj9ZG7q0ojsuzjLTLsEMcC2YN66GxCprcpn6wMWIYGJP9W2OZc4i7w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595288292; 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=LGBxBnUMRyNZGOt4pLcSM8aM0E1UOJtKN0MoPr/5Xfg=; b=RASTMpQPsu18NpE0hislvEe/oW14vK0GIMgmBwrt/0VLvCoy/uHHKACR2DVAwTteUc9EwcBVAttkOrjMgpebvwXfQp1i5o3PGyP7UUHRQOeC053cJCm3r1xDb4O4emzxVz4tLQU0SVh1APoeLOtHVkblkJ9KkTWU0WjcBxv252w= 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+62881+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 159528829237754.383928444310754; Mon, 20 Jul 2020 16:38:12 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id DJXYYY1788612x3GcZjsmvQY; Mon, 20 Jul 2020 16:38:12 -0700 X-Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web11.31671.1595222272701798052 for ; Sun, 19 Jul 2020 22:17:53 -0700 IronPort-SDR: RB5iBOB+0R/yAo+MTy2RZfQ81PN3u5xwwhcImKZ4ANXzBqv2CsjJpARCCtSo1DvNdER7vdXWDZ 3Aq5+wNu12Fg== X-IronPort-AV: E=McAfee;i="6000,8403,9687"; a="151200040" X-IronPort-AV: E=Sophos;i="5.75,373,1589266800"; d="scan'208";a="151200040" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jul 2020 22:17:51 -0700 IronPort-SDR: KNPO+r0bx+mUo7VyKA8ziPGDVNYtgMcHlfFdfZykxnDdZtqzJOpOU72++ZbSxitlomesav5o8K WF/ZN9rKO/3w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,373,1589266800"; d="scan'208";a="319412883" X-Received: from ikuox-mobl1.gar.corp.intel.com ([10.5.244.73]) by fmsmga002.fm.intel.com with ESMTP; 19 Jul 2020 22:17:50 -0700 From: IanX Kuo To: devel@edk2.groups.io Cc: IanX Kuo Subject: [edk2-devel] [PATCH v4 1/6] Platform/Intel/MinPlatformPkg: Fix build error Date: Mon, 20 Jul 2020 13:17: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: GZwJjZmzPbR0OwnJjXF0tDfgx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1595288292; bh=0wwMMEhcCDdhRv7dzKCh3iAFug5KqitMgp+yYLnCr24=; h=Cc:Date:From:Reply-To:Subject:To; b=qNmy7K5CZKuUM8gz/0uSdpYkZU1zIsGp7exBX9DVMM+rYU+PUh/MHuf0sMec82Eo5Lf v0Cc098ZFZ0ZhaVlYpwX+kmVx+hisU3UbzELQrQHI6mb4FW+m0GcdtmwMwBycRvt+I1wp Fks8w2qecVdUnjqj85xq1R4dHaK6ELXypQs= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Fix ReportCpuHobLib build error Create an Library instance of ReportCpuHobLib from PlatformInitPei driver. PA bits reported can be overriden using Library instance in Platform. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2674 Change-Id: I0cd6ba4eb7231a3a84f080fdce85bbe74eb29eeb Signed-off-by: IanX Kuo --- .../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 (#62881): https://edk2.groups.io/g/devel/message/62881 Mute This Topic: https://groups.io/mt/75694137/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 05:35:24 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+62887+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+62887+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1595288293; cv=none; d=zohomail.com; s=zohoarc; b=gljPqKPRPGXpWe7KtB4Sqm8DiXIUgbBYIE5Hj9mKX2fTaIkgvblb1DKKsET498nKxCD65Cc6Ovoq64yGzh/KQB1gd6IJt1Pz88hgfmFEwj1EVBHsTGvhh4Ftxmhaa9dwmueRH1UMQsarovYqybXX7HJfjSQ40deJonn4LGuLaTw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595288293; 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=K7izaDnCQE3DIFWSFM5ednItWKsGH+GCv2zxFSrE4x4=; b=YQeW+Ih0xk/cGZDr3T+CYpVyWufDykTo5t5g7uWNZCiENFtQq4wgRXpB1+CviDZ04vIZglFil85Xiu4VAU/PIFgIrCtyAQxAZlsQUu4fKthY+yQg1EWYsgLXiJDt9/4q1HD8wtYSJotI16lX98CC+gWWDpy0JZcdThUvTF9zHm4= 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+62887+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 1595288293215176.91917215675153; Mon, 20 Jul 2020 16:38:13 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id Ug5AYY1788612xjrpbs04s4m; Mon, 20 Jul 2020 16:38:12 -0700 X-Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web12.31730.1595222288734731759 for ; Sun, 19 Jul 2020 22:18:08 -0700 IronPort-SDR: GE+ff/5ZF+vfj2bqxvbNfgZJXdsNS3J33eKzbp8amJAePZ3sE4WVBNdh2VXfHoXd4NObti2U5+ HiwzAd/EKZhw== X-IronPort-AV: E=McAfee;i="6000,8403,9687"; a="234706048" X-IronPort-AV: E=Sophos;i="5.75,373,1589266800"; d="scan'208";a="234706048" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jul 2020 22:18:07 -0700 IronPort-SDR: TEWl4o3dcY2B1zhEpvCb7B8nGcYpKHtqxg5IM8xIeG+fAltn6vpuVvzp/szmyvOtNvDmr19nai +dJXEiKUHFcw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,373,1589266800"; d="scan'208";a="319412939" X-Received: from ikuox-mobl1.gar.corp.intel.com ([10.5.244.73]) by fmsmga002.fm.intel.com with ESMTP; 19 Jul 2020 22:18:06 -0700 From: IanX Kuo To: devel@edk2.groups.io Cc: IanX Kuo Subject: [edk2-devel] [PATCH v4 2/6] Platform/Intel/CometlakeOpenBoardPkg: Add ReportCpuHobLib. Date: Mon, 20 Jul 2020 13:18:04 +0800 Message-Id: <024cf9ecb4d303f90bfb2fcc7e6fe64587a6ec3c.1595221795.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: 0aBro4cB4ZyLELc8YrWsUJQGx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1595288292; bh=7DtnB3M9W0EjpbJKOZk8+TsCpinNqZtmA1hJNtX9IOw=; h=Cc:Date:From:Reply-To:Subject:To; b=Q5AIyJnaXu0EKLsLFcO9yu7aa8I32fMgwaXwv9p+aqSdIeF4ZO4DRvFTrwRGfEVejHe Uy67iLP7IBaL5X6mwhbczlvLD+iugcRNrOFzg1PPwEB+JOtCCcfuk/NXYxJxLpmCO33tf /4+l0wbnfO93hXTYxSefds575Ks2ZR6KQNU= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Create an Library instance of ReportCpuHobLib from PlatformInitPei driver. PA bits reported can be overriden using Library instance in Platform. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2674 Change-Id: I1097057046aa021dc2ff193fea335790513c10c4 Signed-off-by: IanX Kuo --- .../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 (#62887): https://edk2.groups.io/g/devel/message/62887 Mute This Topic: https://groups.io/mt/75694145/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 05:35:24 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+62876+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+62876+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1595288287; cv=none; d=zohomail.com; s=zohoarc; b=ijN8A9K7J3tBV6QlwJnU8mZ9Hg7Iqpttq5Ls1RydLl1QC/74iPkf0dsImiF+0jQ3AFlSVwYU6GljdqNcisbX+1gmrSMMAypouJAswEjT9E3zAqQ5NDH0hpMDbKwQSCSkW7Pse4LctyxGSQNI3dq3rKMMsIWmMsEiNbGhS5AdXbM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595288287; 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=aNYd4RDyG3qh/NAkjOHNCpuX1krPnPLPXvPamP+gt/M=; b=VEz8aDv8v63DwzZ0wrKqwiOqSgXBzOtLvJcf8PB33ERrMhvm1Mqk3PFoUKRreXMfzCLMoGFvE61Fa8iBYp4ee2thPsYdoHBZaKF2gNJYFJFaSPIkdCO3+R3VCIUBCiGk0A7hlaNxQ4iNlDZpVtZXXUqFbYwQonwjgAs1YBH2Rts= 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+62876+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 1595288287056624.2094323317093; Mon, 20 Jul 2020 16:38:07 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id dKpAYY1788612xvFUTVhQfnu; Mon, 20 Jul 2020 16:38:06 -0700 X-Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web12.31735.1595222329052527503 for ; Sun, 19 Jul 2020 22:18:49 -0700 IronPort-SDR: AqQFm6+zW6omlJ4G9PA7qw91r7DAUAvBz63y4YiK8n5/1Vt+tWQICdzMcdzYI6W/9ahQvuiCRe keKVlgGDC0gg== X-IronPort-AV: E=McAfee;i="6000,8403,9687"; a="147353062" X-IronPort-AV: E=Sophos;i="5.75,373,1589266800"; d="scan'208";a="147353062" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jul 2020 22:18:48 -0700 IronPort-SDR: tGQKizPvDw878t+OLJiLtutUZzcXBo3GzHw3uwkin1N/ho61srbT4KJVcwmRqtF3dgt4eVshxB u9sjjaBLkISw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,373,1589266800"; d="scan'208";a="319413009" X-Received: from ikuox-mobl1.gar.corp.intel.com ([10.5.244.73]) by fmsmga002.fm.intel.com with ESMTP; 19 Jul 2020 22:18:47 -0700 From: IanX Kuo To: devel@edk2.groups.io Cc: IanX Kuo Subject: [edk2-devel] [PATCH v4 3/6] Platform/Intel/KabylakeOpenBoardPkg: Add ReportCpuHobLib. Date: Mon, 20 Jul 2020 13:18:45 +0800 Message-Id: <2d1155215bfb583c7afc53d478f5688ae01fc84c.1595221795.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: gXhlY7nr5bAsBTVa7vgxY7q5x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1595288286; bh=JdoH3ckJ54j0g1/bdpxws5iyEPu/LOL/983Bmt8TFAU=; h=Cc:Date:From:Reply-To:Subject:To; b=qEEV4axrxxPBYalzYLovwvUzSxQ1EtPmrdbiHa6CZt9Ox0FnEa5B7ve0M+xEqFjMMow vKevWDro3Iqg/hj09mLtmTXWWX/znAUY6o2vGa4VJInE2kEzVnBSUCQCWbLxQlGNDAUJB nC5Nnf916/A8rksP3OnKlddKw/J7UJ+CjSg= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Create an Library instance of ReportCpuHobLib from PlatformInitPei driver. PA bits reported can be overriden using Library instance in Platform. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2674 Change-Id: Ic312ec307b3bcd84051e48505038d9ca47d467e2 Signed-off-by: IanX Kuo --- .../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 (#62876): https://edk2.groups.io/g/devel/message/62876 Mute This Topic: https://groups.io/mt/75694132/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 05:35:24 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+62877+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+62877+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1595288288; cv=none; d=zohomail.com; s=zohoarc; b=Qq7IbtLcT1zYcZ+JQs7bBkMdiSIDj/siY0SrqTxALBoIQMh6FVGOAkE3BT4Av45TfBN9YRd0LwkYw3KOfmyX6RMyHgk95FzWllr2QVJKASY5IQ5AWPevx39tbSFkm8a66Sbv1z/4ObfyRk5Dr9vdoW5fTN1fuE3BJcOySERr10Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595288288; 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=mAbGKVMpRclVByOIQNnkrwF6XBGLrWSLQ3xban5mVYY=; b=k4kaiuqWTWq0SbvCICrV296eYdPGpkA1ZKl8Pzo9lQtTNLSqqGPHgzkJgxE13CoWrlzrWfBVOPqC8Bc6WrAJhwzY8EGjrguXNmQQz+Dzm58foKlZ6UliWOcsI0fR3/1EHqmXmyOAokLNBbDELDY0MPDt618u0QOFAAqRDCUMg1k= 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+62877+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 159528828831410.094620048520483; Mon, 20 Jul 2020 16:38:08 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 8qMVYY1788612xVZvmRb9HDs; Mon, 20 Jul 2020 16:38:08 -0700 X-Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web11.31683.1595222348967679771 for ; Sun, 19 Jul 2020 22:19:09 -0700 IronPort-SDR: aJSSftEd/bFYSskiYA6RkH9X0MUpbwcZAqpm2u150gJqfSuAbIWm6ycMF4+nGrMCO85x+HcQpw Izj6sq7fvCGw== X-IronPort-AV: E=McAfee;i="6000,8403,9687"; a="137954710" X-IronPort-AV: E=Sophos;i="5.75,373,1589266800"; d="scan'208";a="137954710" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jul 2020 22:19:08 -0700 IronPort-SDR: 6ycmEmpb5C6UKIHTLEMjV7Bwga16cR9cW6qScZxjQ5NQ47Oskvq+jaiBEaDktxDz7E6Pydsxar ZJPUKK0G59hg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,373,1589266800"; d="scan'208";a="319413058" X-Received: from ikuox-mobl1.gar.corp.intel.com ([10.5.244.73]) by fmsmga002.fm.intel.com with ESMTP; 19 Jul 2020 22:19:06 -0700 From: IanX Kuo To: devel@edk2.groups.io Cc: IanX Kuo Subject: [edk2-devel] [PATCH v4 4/6] Platform/Intel/SimicsOpenBoardPkg: Add ReportCpuHobLib. Date: Mon, 20 Jul 2020 13:19:03 +0800 Message-Id: <494bb4115eb4c70eab69140036bc30b0eee8db81.1595221795.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: 6dq5ZVRnCTj6TZGOOcvu82QDx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1595288288; bh=il1PJDkaPZ2ONMWWbnzjZFHkBekpg8PpZgfwDvdG2C8=; h=Cc:Date:From:Reply-To:Subject:To; b=UPREs5Ubo9tcnTka2GZjEnBZ4p/1au2rY7ax67nWmpPjfChz+lUcP+GlSNvtCl/dOkg HNO4ehr9HJij6SCsK5vWDl6UDPJcoX9BpFd68UGEK1TP/7Tiw68AZpFsd/7m3kekMlN1f iseRiht2wrL7zoVz8YhNQLSSKGblDjjuEbw= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Create an Library instance of ReportCpuHobLib from PlatformInitPei driver. PA bits reported can be overriden using Library instance in Platform. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2674 Change-Id: I673f8fcd2d97bbd60229a60f53875e92826a7179 Signed-off-by: IanX Kuo --- .../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 (#62877): https://edk2.groups.io/g/devel/message/62877 Mute This Topic: https://groups.io/mt/75694133/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 05:35:24 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+62883+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+62883+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1595288289; cv=none; d=zohomail.com; s=zohoarc; b=l9cDH9u+06luV+19qpvOjVxfbPuFrhBHXEF8nzLWRSJ9fKUKXNBCadqRf9LNdkSTe6xLMS1qam8Kuj40Sd/WTbZPn3dvqeVveY8PXf4zk9kLflKV7e5P3GIFyHXfh4FAFTpk3Nfrli1SFxstwTToNSv92rjfMQNv3QrUyfgb2WI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595288289; 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=7cdyc3Jx8KOrvCTpnhmI2Pd2CQZkPdy0bXug5tpM5kw=; b=Os1uGgX0XzG9yo6E7YXmIj2vO+0l0V05AxqROl2o4vsIx3eyP6JqwyTm1frqCtVWUjPbyHioO7bCRNlyxMHJVRuW8Lq1tlmQz3kDNXT1blHo5dQZLBlET5KDYBSqAJn/Ex8vNR47J4CVLAq9AeOPpTm9wZm+vL86UkXLHZ7Phc0= 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+62883+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 1595288289943789.2785654869343; Mon, 20 Jul 2020 16:38:09 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id PxiFYY1788612xPCiHD24dhe; Mon, 20 Jul 2020 16:38:09 -0700 X-Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web11.31685.1595222363249029943 for ; Sun, 19 Jul 2020 22:19:23 -0700 IronPort-SDR: 7qJai894y1OkugLaM2YY9mw+UYG0vnDuejwFsOK8PT8lKfih/greblh1NxF5I61GrylDJV56ZJ yg+qkTZQUxUA== X-IronPort-AV: E=McAfee;i="6000,8403,9687"; a="147811038" X-IronPort-AV: E=Sophos;i="5.75,373,1589266800"; d="scan'208";a="147811038" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jul 2020 22:19:22 -0700 IronPort-SDR: WwB5iDMaPaJZIYDK2Tkg/iKX1ItKhv9do02VjKKqwntn669k9k3yUzv7yWkptt2gWDURLKFMwQ li2V+kCE2wwQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,373,1589266800"; d="scan'208";a="319413160" X-Received: from ikuox-mobl1.gar.corp.intel.com ([10.5.244.73]) by fmsmga002.fm.intel.com with ESMTP; 19 Jul 2020 22:19:20 -0700 From: IanX Kuo To: devel@edk2.groups.io Cc: IanX Kuo Subject: [edk2-devel] [PATCH v4 5/6] Platform/Intel/WhiskeylakeOpenBoardPkg: Add ReportCpuHobLib. Date: Mon, 20 Jul 2020 13:19:18 +0800 Message-Id: <094559356baf16a6f82f946f8935dbc1b7928e41.1595221795.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: U7T1xlYq2nBTRLkJHl7PKebax1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1595288289; bh=/9ilrse+JRMi9OV+5aNr5JOkUCJlEmoyPGrYO0LdOPM=; h=Cc:Date:From:Reply-To:Subject:To; b=lHP8Lorw43t8hVWrLtjFV03jtDzXSEKQ9JmOzCpgOuDWhb9hWtqvpLLICZG+9ToIbuV sLTEM91cWTxmWhXQ+RuA29v2ef/kuDcm4VGgXXzLWmdhFOEAnYy1xCizxbQLg7CMwGdMH Fsm1oH/1qTLlR+8ZTMrPqWma6wgkekFpd58= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Create an Library instance of ReportCpuHobLib from PlatformInitPei driver. PA bits reported can be overriden using Library instance in Platform. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2674 Change-Id: I999b29c30993c397f918a1f7b4ea19c61c0a460d Signed-off-by: IanX Kuo --- .../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 (#62883): https://edk2.groups.io/g/devel/message/62883 Mute This Topic: https://groups.io/mt/75694141/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 05:35:24 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+62884+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+62884+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1595288290; cv=none; d=zohomail.com; s=zohoarc; b=iI5EHDCF9gRe4xiBniiN+0PRnYAk7udbkoNTXG+2KTHA+2a/8CnRbQKiP49bbm/PEe7QvN9UQa/2NwK/w3qY5F0M+4xpjA5L4khRwa17lmE7cnnc/qgcn08ke4Kxh4dIwLI7/GwRDGtAose57q7W0VhexKhxsaDB+hnI8VsIQ9c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595288290; 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=gHoThcXqRwEjsKrL4WIHrfGB3Kh3IKBnqHVgK6qYpwo=; b=QcDUrAa+WIEUz5S9mStBxcR2lNL2WEAG4WQWOoVuG6skfRJbYVfELLXgHMcPLvMgLYhG3w3P9qxiz/XHO8gjJl9Ve6hv5eVpKfGZbdEMBTpVI78Exx3sqRj/izYmbQI5X13MydVgNrAycN94nlmGqMht1ovpY8+m+eYWhzO2ko4= 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+62884+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 1595288290427316.52637026095033; Mon, 20 Jul 2020 16:38:10 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id AGe9YY1788612xXwKpXRorln; Mon, 20 Jul 2020 16:38:10 -0700 X-Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web12.31744.1595222379717471117 for ; Sun, 19 Jul 2020 22:19:39 -0700 IronPort-SDR: M7azj1/j59rCcmdYO+snWHFrUfoBFyNnhUd91qLM054SEzoWuvxX710KUzTgiKAJfTvGReqQ7t cKBu3xB5+eNA== X-IronPort-AV: E=McAfee;i="6000,8403,9687"; a="211395788" X-IronPort-AV: E=Sophos;i="5.75,373,1589266800"; d="scan'208";a="211395788" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jul 2020 22:19:39 -0700 IronPort-SDR: Oyb5trAe/ABM7m/qrfZ56wFlJOe+4TwaccJjt3No6MbdHwji2IHCQ0/QpGH059tVshUSEDrjlH Zm1F/WAlcRfg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,373,1589266800"; d="scan'208";a="319413207" X-Received: from ikuox-mobl1.gar.corp.intel.com ([10.5.244.73]) by fmsmga002.fm.intel.com with ESMTP; 19 Jul 2020 22:19:37 -0700 From: IanX Kuo To: devel@edk2.groups.io Cc: IanX Kuo Subject: [edk2-devel] [PATCH v4 6/6] Platform/Intel/MinPlatformPkg: Add ReportCpuHobLib. Date: Mon, 20 Jul 2020 13:19: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: vZzDxxZK0neiRlZNRNxurYinx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1595288290; bh=J3IW0D7OSL5ludOFyoLM42HorOVtMIL6Ga4mq1ZZ0Hs=; h=Cc:Date:From:Reply-To:Subject:To; b=DMxkaCz6nZUf9k99cVNu2SPBabjue4IP30/hHzMysGIzshmjd+c9A2bd5I6j/XaVl/T hp5eLnGCh3JL68KqORVaSP+XD7NbJhFDYjP8hupRSrogopRcd4Nw7l/JcnwKw8p2QmYwZ 40/ospKEw6szlc8ksnZaQX83UD7iPVbDve0= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Create an Library instance of ReportCpuHobLib from PlatformInitPei driver. PA bits reported can be overriden using Library instance in Platform. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2674 Change-Id: I1c14aece3b229c194960e91dc9505dd8120bbe30 Signed-off-by: IanX Kuo --- .../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 (#62884): https://edk2.groups.io/g/devel/message/62884 Mute This Topic: https://groups.io/mt/75694142/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-