Star Zeng
e85cfa2fa4
UefiCpuPkg RegisterCpuFeaturesLib.h: Fix typo 'STRICK' to 'STRIKE'
...
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1642
This patch fixes typo in CPU_FEATURE_THREE_STRICK_COUNTER.
CPU_FEATURE_THREE_STRICK_COUNTER
->
CPU_FEATURE_THREE_STRIKE_COUNTER
Cc: Laszlo Ersek <lersek@redhat.com >
Cc: Eric Dong <eric.dong@intel.com >
Cc: Ray Ni <ray.ni@intel.com >
Cc: Chandana Kumar <chandana.c.kumar@intel.com >
Cc: Kevin Li <kevin.y.li@intel.com >
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Eric Dong <eric.dong@intel.com >
Reviewed-by: Ray Ni <ray.ni@intel.com >
2019-06-13 09:35:58 +08:00
Michael D Kinney
0acd869796
UefiCpuPkg: Replace BSD License with BSD+Patent License
...
https://bugzilla.tianocore.org/show_bug.cgi?id=1373
Replace BSD 2-Clause License with BSD+Patent License. This change is
based on the following emails:
https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html
https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html
RFCs with detailed process for the license change:
V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html
V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html
V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Eric Dong <eric.dong@intel.com >
Reviewed-by: Ray Ni <ray.ni@intel.com >
2019-04-09 10:58:28 -07:00
Eric Dong
79be3d2751
UefiCpuPkg/RegisterCpuFeaturesLib: Remove useless functions.
...
Remove useless APIs, simplify the code logic.
BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=1375
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Eric Dong <eric.dong@intel.com >
Reviewed-by: Ray Ni <ray.ni@intel.com >
2019-04-04 14:07:37 +08:00
Eric Dong
87e9395109
UefiCpuPkg/RegisterCpuFeaturesLib.h: Add new dependence types.
...
V4 changes:
1. Update comments.
v3 changes:
1. Move CPU_FEATURE_DEPENDENCE_TYPE definition to AcpiCpuData.h.
2. Add comments for CPU_FEATURE_BEFORE/CPU_FEATURE_AFTER.
v1 changes:
Add new core/package dependence types which consumed by different MSRs.
Cc: Ruiyu Ni <ruiyu.ni@intel.com >
Cc: Laszlo Ersek <lersek@redhat.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Eric Dong <eric.dong@intel.com >
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com >
2018-10-22 11:19:47 +08:00
Eric Dong
8766d3a3e8
Revert "UefiCpuPkg: Check invalid RegisterCpuFeature parameter"
...
This reverts commit 5c59537c10
.
Current code already has function IsCpuFeatureSupported to do
the feature validation, not need this check logic anymore.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Bell Song <binx.song@intel.com >
Reviewed-by: Eric Dong <eric.dong@intel.com >
2017-12-27 15:31:33 +08:00
Song, BinX
5c59537c10
UefiCpuPkg: Check invalid RegisterCpuFeature parameter
...
V2:
Update function name, add more detail description.
V1:
Check and assert invalid RegisterCpuFeature function parameter
Cc: Eric Dong <eric.dong@intel.com >
Cc: Laszlo Ersek <lersek@redhat.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Bell Song <binx.song@intel.com >
Reviewed-by: Eric Dong <eric.dong@intel.com >
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com >
2017-12-13 16:40:25 +08:00
Eric Dong
a7e2a25377
UefiCpuPkg: Add Processor Trace feature definition.
...
Cc: Jeff Fan <jeff.fan@intel.com >
Cc: Ruiyu Ni <ruiyu.ni@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Eric Dong <eric.dong@intel.com >
Reviewed-by: Jeff Fan <jeff.fan@intel.com >
2017-08-04 12:26:44 +08:00
Eric Dong
ac36ef87d4
UefiCpuPkg: Add definition for LMCE feature.
...
Cc: Jeff Fan <jeff.fan@intel.com >
Cc: Ruiyu Ni <ruiyu.ni@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com >
Reviewed-by: Jeff Fan <jeff.fan@intel.com >
2017-08-04 08:49:05 +08:00
Eric Dong
79aac4dd75
UefiCpuPkg: Remove deprecated CPU feature.
...
Senter feature could not be a single feature,
it has been merge to Smx feature, so remove it.
Cc: Jeff Fan <jeff.fan@intel.com >
Cc: Ruiyu Ni <ruiyu.ni@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com >
Reviewed-by: Jeff Fan <jeff.fan@intel.com >
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com >
2017-07-20 14:11:15 +08:00
Eric Dong
f1a68ab2cc
UefiCpuPkg: Add feature definition for PPIN.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com >
Reviewed-by: Jeff Fan <jeff.fan@intel.com >
2017-07-20 14:11:14 +08:00
Jeff Fan
bea7af2788
UefiCpuPkg/CpuFeatures: Change CPU features name to follow IA32 SDM
...
Cc: Feng Tian <feng.tian@intel.com >
Cc: Michael Kinney <michael.d.kinney@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com >
Reviewed-by: Feng Tian <feng.tian@intel.com >
2017-04-07 12:55:21 +08:00
Jeff Fan
80c4b23638
UefiCpuPkg/CpuFeatures: Change files format to DOS
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
2017-04-05 16:33:16 +08:00
Jeff Fan
8d5df9d78f
UefiCpuPkg/RegisterCpuFeaturesLib: Fix the function header issues
...
Cc: Feng Tian <feng.tian@intel.com >
Cc: Michael Kinney <michael.d.kinney@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com >
Reviewed-by: Feng Tian <feng.tian@intel.com >
2017-03-28 08:59:53 +08:00
Jeff Fan
98387f54ae
UefiCpuPkg/RegisterCpuFeaturesLib: Define Index to UINT64
...
The input parameter Index of PreSmmCpuRegisterTableWrite() and
CpuRegisterTableWrite() is defined as UINT32. Index is MSR/MMIO address that
will be saved in CPU register table. UINT32 blocks the MMIO address > 4GB.
This fix is to define Index to UINT64 instead of UINT32.
Cc: Feng Tian <feng.tian@intel.com >
Cc: Michael Kinney <michael.d.kinney@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com >
Reviewed-by: Feng Tian <feng.tian@intel.com >
2017-03-27 16:18:00 +08:00
Jeff Fan
548013c07f
UefiCpuPkg/Include/Library: Add Register CPU Features Library
...
Register CPU Features Library is used to register/manage/program CPU features.
NULL CPU features library instance could consume it register CPU features
functions.
CPU Feature module could consume this library to detect/analysis/program CPU
features on BSP/APs.
v4:
Fix GCC build issue.
Cc: Feng Tian <feng.tian@intel.com >
Cc: Michael Kinney <michael.d.kinney@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com >
Reviewed-by: Feng Tian <feng.tian@intel.com >
2017-03-22 10:11:49 +08:00