From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shuai Ruan Subject: [PATCH 0/2] use alternative asm on xsave side Date: Tue, 2 Feb 2016 15:11:02 +0800 Message-ID: <1454397064-29268-1-git-send-email-shuai.ruan@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: andrew.cooper3@citrix.com, keir@xen.org, jbeulich@suse.com List-Id: xen-devel@lists.xenproject.org This patch add alternative_io_2/3 to support alternative with 2/3 features. Also use alternavitive asm on xsave side. Shuai Ruan (2): x86: add alternavive_io_2/3 to support alternative with 2/3 features. x86/xsave: use alternative asm on xsave side. xen/arch/x86/xstate.c | 49 ++++++++++------------------- xen/include/asm-x86/alternative.h | 65 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+), 33 deletions(-) -- 1.9.1