summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorRay Ni <ray.ni@intel.com>2020-12-02 09:51:31 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-12-04 01:18:56 +0000
commit6af76adbbfccd31f4f8753fb0ddbbd9f4372f572 (patch)
tree11bb7d4e12bfbeddb5af61cf744d727563b4057c /MdeModulePkg
parent126115a9fb3f89f8609336c87aa82fe7da19a9aa (diff)
downloadedk2-6af76adbbfccd31f4f8753fb0ddbbd9f4372f572.tar.gz
edk2-6af76adbbfccd31f4f8753fb0ddbbd9f4372f572.tar.bz2
edk2-6af76adbbfccd31f4f8753fb0ddbbd9f4372f572.zip
UefiCpuPkg/Feature: Support different thread count per core
Today's code assumes every core contains the same number of threads. It's not always TRUE for certain model. Such assumption causes system hang when thread count per core is different and there is core or package dependency between CPU features (using CPU_FEATURE_CORE_BEFORE/AFTER, CPU_FEATURE_PACKAGE_BEFORE/AFTER). The change removes such assumption by calculating the actual thread count per package and per core. Signed-off-by: Ray Ni <ray.ni@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> Cc: Yun Lou <yun.lou@intel.com> Acked-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'MdeModulePkg')
0 files changed, 0 insertions, 0 deletions