public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Eric Dong <eric.dong@intel.com>
To: edk2-devel@lists.01.org
Cc: Ray Ni <Ray.ni@intel.com>, Laszlo Ersek <lersek@redhat.com>
Subject: [Patch v2 0/4] Simplify CPU Features solution.
Date: Fri,  1 Mar 2019 13:39:53 +0800	[thread overview]
Message-ID: <20190301053957.3572-1-eric.dong@intel.com> (raw)

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



             reply	other threads:[~2019-03-01  5:40 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-01  5:39 Eric Dong [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190301053957.3572-1-eric.dong@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox