From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Thibault Subject: Re: [PATCH] x86/minios: Remove more vestigial remnants of SUPERVISOR_MODE_KERNEL Date: Thu, 15 Jan 2015 20:31:00 +0100 Message-ID: <20150115193100.GI2981@type> References: <1421348867-2660-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <1421348867-2660-1-git-send-email-andrew.cooper3@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Tim Deegan , Stefano Stabellini , Keir Fraser , Jan Beulich , Xen-devel List-Id: xen-devel@lists.xenproject.org Andrew Cooper, le Thu 15 Jan 2015 19:07:47 +0000, a =E9crit : > MiniOS has never advertised support for supervisor_mode_kernel, and the > feature was only ever implemented for 32bit Xen. > = > Signed-off-by: Andrew Cooper > CC: Keir Fraser > CC: Jan Beulich > CC: Tim Deegan > CC: Stefano Stabellini > CC: Samuel Thibault Acked-by: Samuel Thibault > --- > extras/mini-os/arch/x86/x86_64.S | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) > = > diff --git a/extras/mini-os/arch/x86/x86_64.S b/extras/mini-os/arch/x86/x= 86_64.S > index df3469e..72921b1 100644 > --- a/extras/mini-os/arch/x86/x86_64.S > +++ b/extras/mini-os/arch/x86/x86_64.S > @@ -125,13 +125,10 @@ KERNEL_CS_MASK =3D 0xfc > testl $NMI_MASK,2*8(%rsp) > jnz 2f > = > - testb $1,(xen_features+XENFEAT_supervisor_mode_kernel) > - jnz 1f > - > /* Direct iret to kernel space. Correct CS and SS. */ > orb $3,1*8(%rsp) > orb $3,4*8(%rsp) > -1: iretq > + iretq > = > 2: /* Slow iret via hypervisor. */ > andl $~NMI_MASK, 16(%rsp) > -- = > 1.7.10.4 > = -- = Samuel > dvips -o $@ $< = Faut faire gffe de pas te couper avec ton truc, t'as mis des ciseaux ($<) partout :)) -+- Dom in Guide du linuxien pervers - "J'aime pas les Makefile !" -+-