From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 242032095D2AC for ; Sun, 9 Jul 2017 21:48:42 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jul 2017 21:50:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,338,1496127600"; d="scan'208";a="1149870121" Received: from ydong10-win10.ccr.corp.intel.com ([10.239.158.51]) by orsmga001.jf.intel.com with ESMTP; 09 Jul 2017 21:50:23 -0700 From: Eric Dong To: edk2-devel@lists.01.org Date: Mon, 10 Jul 2017 12:50:19 +0800 Message-Id: <1499662221-21760-1-git-send-email-eric.dong@intel.com> X-Mailer: git-send-email 2.7.0.windows.1 Subject: [Patch 0/2] Fix enable Smx/Vmx error. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jul 2017 04:48:42 -0000 Patch also add error handling code when enable feature failed. 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 | 100 ++++++++------------- .../RegisterCpuFeaturesLib/CpuFeaturesInitialize.c | 38 +++++++- 4 files changed, 87 insertions(+), 117 deletions(-) -- 2.7.0.windows.1