Hi, Joseph

Abstracting the detect/enable operation on CPU SMM features is good idea on 
UefiCpuPkg.

Actually, we are planning to abstract as more as possible CPU features in one 
new library in UefiCpuPKg. It not only includes CPU SMM features, but also 
includes the non-SMM features.

We will work on it in the next a couple of months. We'd like to share some 
information here and I'd like to get the input from you. Does it make sense for 
you?

Thanks!
Jeff 

-----Original Message-----
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Joseph 
Shifflett
Sent: Thursday, September 08, 2016 12:30 PM
To: edk2-devel@lists.01.org
Cc: Kinney, Michael D; Justen, Jordan L; Fan, Jeff; Laszlo Ersek
Subject: [edk2] [PATCH v1 0/5] Abstract the detect/enable/disable of several 
x86 features

This series abstracts accesses to various x86 features.  Existing code used 
Intel specific MSR accesses to detect support and to enable/disable features.

Cc: Jeff Fan <jeff....@intel.com>
Cc: Michael D Kinney <michael.d.kin...@intel.com>
Cc: Kelly Steele <kelly.ste...@intel.com>
Cc: Jordan Justen <jordan.l.jus...@intel.com>
Cc: Laszlo Ersek <ler...@redhat.com>

Joseph Shifflett (5):
  UefiCpuPkg: SmmCpuFeaturesLib.h: Abstact processor features
  UefiCpuPkg/SmmCpuFeaturesLib: Abstact processor features
  QuarkSocPkg/SmmCpuFeaturesLib: Abstact processor features
  OvmfPkg/SmmCpuFeaturesLib: Abstact processor features
  UefiCpuPkg/PiSmmCpuDxeSmm: Abstact processor features

 UefiCpuPkg/Include/Library/SmmCpuFeaturesLib.h                              | 
37 ++++++++++
 OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c                       | 
44 +++++++++++
 QuarkSocPkg/QuarkNorthCluster/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c | 
44 +++++++++++
 UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c                    | 
78 ++++++++++++++++++++
 UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c                                       | 
13 +---
 UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.c                                      | 
18 +----
 6 files changed, 208 insertions(+), 26 deletions(-)

--
2.7.4

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to