From: "Jan Beulich" Subject: Re: [PATCH v5 05/10] Clear AC bit in RFLAGS to protect Xen itself by SMAP Date: Tue, 06 May 2014 11:45:07 +0100 Message-ID: <5368D953020000780000F4F8@mail.emea.novell.com> References: <1399370914-5434-1-git-send-email-feng.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1399370914-5434-1-git-send-email-feng.wu@intel.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Feng Wu Cc: kevin.tian@intel.com, ian.campbell@citrix.com, andrew.cooper3@citrix.com, eddie.dong@intel.com, xen-devel@lists.xen.org, jun.nakajima@intel.com List-Id: xen-devel@lists.xenproject.org >>> On 06.05.14 at 12:08, wrote: > --- a/xen/arch/x86/boot/x86_64.S > +++ b/xen/arch/x86/boot/x86_64.S > @@ -60,7 +60,7 @@ start_bsp: > > /* This is the default interrupt handler. */ > ignore_int: > - SAVE_ALL > + SAVE_ALL 0 I'm afraid Andrew's moving of this to .init.text was wrong, and hence we ought to treat this as a normal exception entry point and have CLAC done here (it would continue to be skipped when invoked before the feature masks got set up). Jan