From: "Jan Beulich" Subject: Re: [PATCH v3 4/9] Clear AC bit in RFLAGS to protect Xen itself by SMAP Date: Tue, 29 Apr 2014 10:47:52 +0100 Message-ID: <535F9168020000780000D43C@nat28.tlf.novell.com> References: <1398654944-6020-1-git-send-email-feng.wu@intel.com> <535E3AC6020000780000CBF4@nat28.tlf.novell.com> <535E424A020000780000CCB3@nat28.tlf.novell.com> <535F6F07020000780000D2FD@nat28.tlf.novell.com> <535F85DB020000780000D3C0@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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 , "ian.campbell@citrix.com" , "andrew.cooper3@citrix.com" , Eddie Dong , "xen-devel@lists.xen.org" , Jun Nakajima List-Id: xen-devel@lists.xenproject.org >>> On 29.04.14 at 11:27, wrote: > May I move the definition of SAVE_ALL (or more related code, such as, > SAVE_VOLATILE, etc.) from " xen/include/asm-x86/x86_64/asm_defns.h " to " > xen/include/asm-x86/asm_defns.h ", since I got an build error after adding a > parameter to marco SAVE_ALL like this, which makes me think it should be > defined after ASM_CLAC? No problem (and in fact I wouldn't mind you merging all of x86_64/asm_defns.h into the other file - that due at some point anyway), but I'm afraid we'd want this to be yet another separate prerequisite patch - not sure if you're up to that, or if you wouldn't find it simpler to keep SAVE_ALL being a C macro then. Jan