On 24.06.15 at 07:18, feng...@intel.com wrote:
--- a/xen/include/xen/types.h
+++ b/xen/include/xen/types.h
@@ -47,6 +47,11 @@ typedef __u64 uint64_t;
typedef __u64 u_int64_t;
typedef __s64 int64_t;
+typedef struct {
+
-Original Message-
From: Jan Beulich [mailto:jbeul...@suse.com]
Sent: Wednesday, July 08, 2015 4:44 PM
To: Wu, Feng
Cc: Andrew Cooper; george.dun...@eu.citrix.com; Tian, Kevin; Zhang, Yang Z;
xen-devel@lists.xen.org; k...@xen.org
Subject: RE: [Xen-devel] [v3 03/15] Add cmpxchg16b
On 08/07/2015 09:12, Jan Beulich wrote:
+{
+uint128_t prev;
+
+ASSERT(cpu_has_cx16);
Given that if this assertion were to fail, cmpxchg16b would fail with
#UD, I would hand-code a asm_fixup section which in turn panics. This
avoids a situation where non-debug builds could die
: george.dun...@eu.citrix.com; Zhang, Yang Z; Tian, Kevin; k...@xen.org;
jbeul...@suse.com
Subject: Re: [Xen-devel] [v3 03/15] Add cmpxchg16b support for x86-64
On 24/06/15 06:18, Feng Wu wrote:
This patch adds cmpxchg16b support for x86-64, so software
can perform 128-bit atomic write
On 08.07.15 at 10:33, feng...@intel.com wrote:
From: Jan Beulich [mailto:jbeul...@suse.com]
Sent: Wednesday, July 08, 2015 4:13 PM
On 08.07.15 at 09:06, feng...@intel.com wrote:
From: xen-devel-boun...@lists.xen.org
[mailto:xen-devel-boun...@lists.xen.org] On Behalf Of Andrew Cooper
...@suse.com
Subject: Re: [Xen-devel] [v3 03/15] Add cmpxchg16b support for x86-64
On 24/06/15 06:18, Feng Wu wrote:
This patch adds cmpxchg16b support for x86-64, so software
can perform 128-bit atomic write/read.
Signed-off-by: Feng Wu feng...@intel.com
---
v3:
Newly added
On 24/06/15 06:18, Feng Wu wrote:
This patch adds cmpxchg16b support for x86-64, so software
can perform 128-bit atomic write/read.
Signed-off-by: Feng Wu feng...@intel.com
---
v3:
Newly added.
xen/include/asm-x86/x86_64/system.h | 28
This patch adds cmpxchg16b support for x86-64, so software
can perform 128-bit atomic write/read.
Signed-off-by: Feng Wu feng...@intel.com
---
v3:
Newly added.
xen/include/asm-x86/x86_64/system.h | 28
xen/include/xen/types.h | 5 +
2 files changed,