public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch V2 0/2] Fix enable Smx/Vmx error.
@ 2017-07-11  2:19 Eric Dong
  2017-07-11  2:19 ` [Patch V2 1/2] UefiCpuPkg RegisterCpuFeaturesLib: Add error handling code Eric Dong
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Eric Dong @ 2017-07-11  2:19 UTC (permalink / raw)
  To: edk2-devel

Patch also add error handling code when enable feature failed.

V2 changes:
  If can't enable the feature, then disable it. V1 patch missed it.

Eric Dong (2):
  UefiCpuPkg RegisterCpuFeaturesLib: Add error handling code.
  UefiCpuPkg CpuCommonFeaturesLib: Fix smx/vmx enable logic error.

 .../CpuCommonFeaturesLib/CpuCommonFeatures.h       |  47 +++------
 .../CpuCommonFeaturesLib/CpuCommonFeaturesLib.c    |  19 +---
 .../Library/CpuCommonFeaturesLib/FeatureControl.c  | 106 ++++++++-------------
 .../RegisterCpuFeaturesLib/CpuFeaturesInitialize.c |  47 ++++++++-
 4 files changed, 101 insertions(+), 118 deletions(-)

-- 
2.7.0.windows.1



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

end of thread, other threads:[~2017-07-11  6:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-11  2:19 [Patch V2 0/2] Fix enable Smx/Vmx error Eric Dong
2017-07-11  2:19 ` [Patch V2 1/2] UefiCpuPkg RegisterCpuFeaturesLib: Add error handling code Eric Dong
2017-07-11  2:19 ` [Patch V2 2/2] UefiCpuPkg CpuCommonFeaturesLib: Fix smx/vmx enable logic error Eric Dong
2017-07-11  6:25 ` [Patch V2 0/2] Fix enable Smx/Vmx error Fan, Jeff

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