From: "Jan Beulich" Subject: Re: [PATCH v7 2/7] x86: Clear AC bit in RFLAGS to protect Xen itself by SMAP Date: Thu, 08 May 2014 10:56:24 +0100 Message-ID: <536B70E80200007800010646@mail.emea.novell.com> References: <1399540908-21802-1-git-send-email-feng.wu@intel.com> <1399540908-21802-3-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: <1399540908-21802-3-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 08.05.14 at 11:21, wrote: > ENTRY(early_page_fault) > - SAVE_ALL > + SAVE_ALL 2 I regret having asked for you doing this tristate conversion, because passing 2 (and 1 elsewhere) is making this completely meaningless. Either you use half-way sensible numbers (0 - nothing, 1 - clac, -1 - stac), or you make this use spelled out strings (so that on use sites this would look like e.g. "SAVE_ALL CLAC"). Jan