From: Sander Eikelenboom Subject: Re: [PATCH v4 0/2] x86/HVM: Properly handle SMAP check in certain cases Date: Wed, 30 Jul 2014 15:14:28 +0200 Message-ID: <104921216.20140730151428@eikelenboom.it> References: <1406684152-16820-1-git-send-email-feng.wu@intel.com> <53D8C7E702000078000278C3@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <53D8C7E702000078000278C3@mail.emea.novell.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: Jan Beulich Cc: keir@xen.org, tim@xen.org, Feng Wu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Wednesday, July 30, 2014, 10:24:39 AM, you wrote: >>>> On 30.07.14 at 03:35, wrote: >> V4: >> - Adjust the branch handling in update_runstate_area(). >> - Remove the pointless initial value of smap_check_policy_t. >> - Using __packed__ attribute for smap_check_policy_t to make >> its size down to one byte. >> - Adjust the position of 'smap_check_policy' in struct arch_vcpu >> to use the current padding in this structure. >> - Coding style. >> >> Feng Wu (2): >> x86/hvm: Always do SMAP check when updating runstate_guest(v) >> x86/hvm: Always do SMAP check when updating secondary system time for >> guest >> >> xen/arch/x86/domain.c | 27 +++++++++++++++++++++++---- >> xen/arch/x86/mm/guest_walk.c | 39 ++++++++++++++++++++++++++------------- >> xen/arch/x86/time.c | 10 +++++++++- >> xen/include/asm-x86/domain.h | 19 +++++++++++++++++-- >> 4 files changed, 75 insertions(+), 20 deletions(-) > Sander, > can you confirm this addresses the issue you had? > Jan Hi Jan / Feng, It wasn't so much of an issue in the sense that i only got this warning (didn't notice any other adverse effects my self): (XEN) [2014-07-30 11:41:02] Segment register inaccessible for d1v0 (XEN) [2014-07-30 11:41:02] (If you see this outside of debugging activity, please report to xen-devel@lists.xenproject.org) But i just tested the v4 patches and the warning is gone ! Thanks, Sander