From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: [PATCH 3/4] x86,asm: Re-work smp_store_mb() Date: Wed, 13 Jan 2016 18:42:48 +0200 Message-ID: <20160113184003-mutt-send-email-mst@redhat.com> References: <56956276.1090705@kernel.org> <20160113001824-mutt-send-email-mst@redhat.com> <56958467.6010808@zytor.com> <20160113161704.GA13146@pd.tnic> <20160113182505-mutt-send-email-mst@redhat.com> <20160113163331.GG12897@pd.tnic> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20160113163331.GG12897@pd.tnic> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Borislav Petkov Cc: Davidlohr Bueso , Davidlohr Bueso , Peter Zijlstra , the arch/x86 maintainers , Linux Kernel Mailing List , Andy Lutomirski , Andy Lutomirski , "H. Peter Anvin" , "Paul E. McKenney" , Thomas Gleixner , virtualization , Linus Torvalds , Ingo Molnar List-Id: virtualization@lists.linuxfoundation.org On Wed, Jan 13, 2016 at 05:33:31PM +0100, Borislav Petkov wrote: > On Wed, Jan 13, 2016 at 06:25:21PM +0200, Michael S. Tsirkin wrote: > > Which flag do you refer to, exactly? > > All the flags in rFLAGS which ADD modifies: OF,SF,ZF,AF,PF,CF Oh, I think this means we need a "cc" clobber. This also seems to be a bug on !XMM CPUs. cmpxchg.h gets it right. I'll send a patch. > -- > Regards/Gruss, > Boris. > > ECO tip #101: Trim your mails when you reply.