public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch v2 0/4] Simplify CPU Features solution.
@ 2019-03-01  5:39 Eric Dong
  2019-03-01  5:39 ` [Patch v2 1/4] UefiCpuPkg/RegisterCpuFeaturesLib: Remove useless functions Eric Dong
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Eric Dong @ 2019-03-01  5:39 UTC (permalink / raw)
  To: edk2-devel; +Cc: Ray Ni, Laszlo Ersek

V2 Changes include:
1. Add ASSERT to make sure PcdCpuFeaturesSetting and
   PcdCpuFeaturesCapability have equal size.
2. Correct comment block on IsCpuFeatureSetInCpuPcd() references
   "PcdCpuFeaturesSupport". It should reference "CpuBitMask".

V1 Changes includes:
1. Optimize PCD PcdCpuFeaturesUserConfiguration 
2. Limit useage of PcdCpuFeaturesSupport 
3. Remove some useless APIs.
Detail explanation please check each patch's introduction.

Cc: Ray Ni <Ray.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Eric Dong (4):
  UefiCpuPkg/RegisterCpuFeaturesLib: Remove useless functions.
  UefiCpuPkg/RegisterCpuFeaturesLib: Optimize PCD 
    PcdCpuFeaturesUserConfiguration.
  UefiCpuPkg/RegisterCpuFeaturesLib: Simplify PcdCpuFeaturesSupport.
  UefiCpuPkg/RegisterCpuFeaturesLib: Correct comments.

 .../Include/Library/RegisterCpuFeaturesLib.h       |  34 ------
 .../RegisterCpuFeaturesLib/CpuFeaturesInitialize.c | 114 ++++++---------------
 .../DxeRegisterCpuFeaturesLib.inf                  |   3 +-
 .../PeiRegisterCpuFeaturesLib.inf                  |   3 +-
 .../RegisterCpuFeaturesLib/RegisterCpuFeatures.h   |   2 -
 .../RegisterCpuFeaturesLib.c                       |  64 ++----------
 UefiCpuPkg/UefiCpuPkg.dec                          |   9 +-
 7 files changed, 45 insertions(+), 184 deletions(-)

-- 
2.15.0.windows.1



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2019-04-02  7:26 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-01  5:39 [Patch v2 0/4] Simplify CPU Features solution Eric Dong
2019-03-01  5:39 ` [Patch v2 1/4] UefiCpuPkg/RegisterCpuFeaturesLib: Remove useless functions Eric Dong
2019-04-02  7:07   ` Ni, Ray
2019-03-01  5:39 ` [Patch v2 2/4] UefiCpuPkg/RegisterCpuFeaturesLib: Optimize PCD PcdCpuFeaturesUserConfiguration Eric Dong
2019-03-05  9:55   ` Zeng, Star
2019-03-05  9:56     ` Zeng, Star
2019-03-07  2:48       ` Dong, Eric
2019-04-02  7:15   ` Ni, Ray
2019-03-01  5:39 ` [Patch v2 3/4] UefiCpuPkg/RegisterCpuFeaturesLib: Simplify PcdCpuFeaturesSupport Eric Dong
2019-04-02  7:22   ` Ni, Ray
2019-03-01  5:39 ` [Patch v2 4/4] UefiCpuPkg/RegisterCpuFeaturesLib: Correct comments Eric Dong
2019-03-01 15:32   ` Laszlo Ersek
2019-04-02  7:22   ` Ni, Ray
2019-03-01 15:30 ` [Patch v2 0/4] Simplify CPU Features solution Laszlo Ersek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox