From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.93; helo=mga11.intel.com; envelope-from=david.wei@intel.com; receiver=edk2-devel@lists.01.org Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 1CF5B21A04E2F for ; Wed, 29 Nov 2017 00:34:28 -0800 (PST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Nov 2017 00:38:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,472,1505804400"; d="scan'208";a="7507880" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga003.jf.intel.com with ESMTP; 29 Nov 2017 00:38:52 -0800 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 29 Nov 2017 00:38:52 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 29 Nov 2017 00:38:51 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.159]) by shsmsx102.ccr.corp.intel.com ([169.254.2.175]) with mapi id 14.03.0319.002; Wed, 29 Nov 2017 16:38:49 +0800 From: "Wei, David" To: "Ni, Ruiyu" , "edk2-devel@lists.01.org" Thread-Topic: [PATCH 1/2] Vlv2TbltDevicePkg: Use DpDynamicCommand to replace PerformancePkg/dp Thread-Index: AQHTaOoeBjJoGZ/97UyNFPv8HBVcy6MrCQQg Date: Wed, 29 Nov 2017 08:38:48 +0000 Message-ID: <89954A0B46707A448411A627AD4EEE3468FC4CBC@SHSMSX101.ccr.corp.intel.com> References: <20171129081439.278964-1-ruiyu.ni@intel.com> <20171129081439.278964-2-ruiyu.ni@intel.com> In-Reply-To: <20171129081439.278964-2-ruiyu.ni@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZTFkZTI3YjgtY2JhYi00MTczLTg0ZmMtMzVhZWNkZGMwN2M4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiI0ZWQwQlE5RFRpNmJhUHloc05LTjM1N0lFaTcxVjAyS3JQSEdzSmN6MjhEOEF0UHdGWW5XaUpqMGZYbWlpY1VMIn0= x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 1/2] Vlv2TbltDevicePkg: Use DpDynamicCommand to replace PerformancePkg/dp X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Nov 2017 08:34:29 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: zwei4 =20 Thanks, David Wei Intel SSG/STO/UEFI BIOS =20 > -----Original Message----- > From: Ni, Ruiyu > Sent: Wednesday, November 29, 2017 4:15 PM > To: edk2-devel@lists.01.org > Cc: Wei, David > Subject: [PATCH 1/2] Vlv2TbltDevicePkg: Use DpDynamicCommand to > replace PerformancePkg/dp >=20 > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Ruiyu Ni > Cc: David David > --- > Vlv2TbltDevicePkg/PlatformPkg.fdf | 9 +++++++-- > Vlv2TbltDevicePkg/PlatformPkgGcc.fdf | 9 +++++++-- > Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc | 18 +++++++++++------- > Vlv2TbltDevicePkg/PlatformPkgIA32.dsc | 18 +++++++++++------- > Vlv2TbltDevicePkg/PlatformPkgX64.dsc | 18 +++++++++++------- > 5 files changed, 47 insertions(+), 25 deletions(-) >=20 > diff --git a/Vlv2TbltDevicePkg/PlatformPkg.fdf > b/Vlv2TbltDevicePkg/PlatformPkg.fdf > index cb5b6b7cc3..5ed85f4dee 100644 > --- a/Vlv2TbltDevicePkg/PlatformPkg.fdf > +++ b/Vlv2TbltDevicePkg/PlatformPkg.fdf > @@ -1,7 +1,7 @@ > #/** @file > # FDF file of Platform. > # > -# Copyright (c) 2008 - 2016, Intel Corporation. All rights reserved.
> +# Copyright (c) 2008 - 2017, Intel Corporation. All rights reserved.
> # > # This program and the accompanying materials are licensed and made > available under > # the terms and conditions of the BSD License that accompanies this > distribution. > @@ -716,7 +716,12 @@ [FV.FVMAIN] > SECTION PE32 =3D > ShellBinPkg/UefiShell/$(EDK_DXE_ARCHITECTURE)/Shell.efi > } >=20 > - > +# > +# dp command > +# > +!if $(PERFORMANCE_ENABLE) =3D=3D TRUE > +INF > ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf > +!endif >=20 > !if $(GOP_DRIVER_ENABLE) =3D=3D TRUE > FILE FREEFORM =3D 878AC2CC-5343-46F2-B563-51F89DAF56BA { > diff --git a/Vlv2TbltDevicePkg/PlatformPkgGcc.fdf > b/Vlv2TbltDevicePkg/PlatformPkgGcc.fdf > index 4243b0797b..a02a4f6286 100644 > --- a/Vlv2TbltDevicePkg/PlatformPkgGcc.fdf > +++ b/Vlv2TbltDevicePkg/PlatformPkgGcc.fdf > @@ -1,7 +1,7 @@ > #/** @file > # FDF file of Platform. > # > -# Copyright (c) 2008 - 2016, Intel Corporation. All rights reserved.
> +# Copyright (c) 2008 - 2017, Intel Corporation. All rights reserved.
> # > # This program and the accompanying materials are licensed and made > available under > # the terms and conditions of the BSD License that accompanies this > distribution. > @@ -673,7 +673,12 @@ [FV.FVMAIN] > SECTION PE32 =3D > EdkShellBinPkg/MinimumShell/$(EDK_DXE_ARCHITECTURE)/Shell.efi > } >=20 > - > +# > +# dp command > +# > +!if $(PERFORMANCE_ENABLE) =3D=3D TRUE > +INF > ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf > +!endif >=20 > !if $(GOP_DRIVER_ENABLE) =3D=3D TRUE > FILE FREEFORM =3D 878AC2CC-5343-46F2-B563-51F89DAF56BA { > diff --git a/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc > b/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc > index d773cbd726..f98263d8a5 100644 > --- a/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc > +++ b/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc > @@ -1,7 +1,7 @@ > #/** @file > # Platform description. > # > -# Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved. > +# Copyright (c) 2012 - 2017, Intel Corporation. All rights reserved. > # > # This program and the accompanying materials are licensed and made > available under > # the terms and conditions of the BSD License that accompanies this > distribution. > @@ -1279,13 +1279,17 @@ [Components.X64] >=20 >=20 > IntelFrameworkModulePkg/Universal/LegacyRegionDxe/LegacyRegionDxe.i > nf >=20 > - PerformancePkg/Dp_App/Dp.inf { > - > - !if $(PERFORMANCE_ENABLE) =3D=3D TRUE > - > PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerforma > nceLib.inf > - > TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAc > piTimerLib.inf > - !endif > + # > + # Performance Application; Set PERFORMANCE_ENABLE=3DTRUE for normal > boot performance and smm performance data > + # > +!if $(PERFORMANCE_ENABLE) =3D=3D TRUE > + > ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf > { > + > + gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE > + > + > PerformanceLib|MdeModulePkg/Library/DxeSmmPerformanceLib/DxeSmm > PerformanceLib.inf > } > +!endif >=20 > Vlv2TbltDevicePkg/VlvPlatformInitDxe/VlvPlatformInitDxe.inf{ > > diff --git a/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc > b/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc > index ac52340079..c755df2fe2 100644 > --- a/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc > +++ b/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc > @@ -1,7 +1,7 @@ > #/** @file > # Platform description. > # > -# Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved. > +# Copyright (c) 2012 - 2017, Intel Corporation. All rights reserved. > # > # This program and the accompanying materials are licensed and made > available under > # the terms and conditions of the BSD License that accompanies this > distribution. > @@ -1267,13 +1267,17 @@ [Components.IA32] >=20 >=20 > IntelFrameworkModulePkg/Universal/LegacyRegionDxe/LegacyRegionDxe.i > nf >=20 > - PerformancePkg/Dp_App/Dp.inf { > - > - !if $(PERFORMANCE_ENABLE) =3D=3D TRUE > - > PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerforma > nceLib.inf > - > TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAc > piTimerLib.inf > - !endif > + # > + # Performance Application; Set PERFORMANCE_ENABLE=3DTRUE for normal > boot performance and smm performance data > + # > +!if $(PERFORMANCE_ENABLE) =3D=3D TRUE > + > ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf > { > + > + gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE > + > + > PerformanceLib|MdeModulePkg/Library/DxeSmmPerformanceLib/DxeSmm > PerformanceLib.inf > } > +!endif >=20 > Vlv2TbltDevicePkg/VlvPlatformInitDxe/VlvPlatformInitDxe.inf{ > > diff --git a/Vlv2TbltDevicePkg/PlatformPkgX64.dsc > b/Vlv2TbltDevicePkg/PlatformPkgX64.dsc > index 0f0eaaba6c..dda8216e6a 100644 > --- a/Vlv2TbltDevicePkg/PlatformPkgX64.dsc > +++ b/Vlv2TbltDevicePkg/PlatformPkgX64.dsc > @@ -1,7 +1,7 @@ > #/** @file > # Platform description. > # > -# Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved. > +# Copyright (c) 2012 - 2017, Intel Corporation. All rights reserved. > # > # This program and the accompanying materials are licensed and made > available under > # the terms and conditions of the BSD License that accompanies this > distribution. > @@ -1279,13 +1279,17 @@ [Components.X64] >=20 >=20 > IntelFrameworkModulePkg/Universal/LegacyRegionDxe/LegacyRegionDxe.i > nf >=20 > - PerformancePkg/Dp_App/Dp.inf { > - > - !if $(PERFORMANCE_ENABLE) =3D=3D TRUE > - > PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerforma > nceLib.inf > - > TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAc > piTimerLib.inf > - !endif > + # > + # Performance Application; Set PERFORMANCE_ENABLE=3DTRUE for normal > boot performance and smm performance data > + # > +!if $(PERFORMANCE_ENABLE) =3D=3D TRUE > + > ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf > { > + > + gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE > + > + > PerformanceLib|MdeModulePkg/Library/DxeSmmPerformanceLib/DxeSmm > PerformanceLib.inf > } > +!endif >=20 > Vlv2TbltDevicePkg/VlvPlatformInitDxe/VlvPlatformInitDxe.inf{ > > -- > 2.15.0.gvfs.1.preview.4