From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754674AbcAMQnH (ORCPT ); Wed, 13 Jan 2016 11:43:07 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45706 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754647AbcAMQmy (ORCPT ); Wed, 13 Jan 2016 11:42:54 -0500 Date: Wed, 13 Jan 2016 18:42:48 +0200 From: "Michael S. Tsirkin" To: Borislav Petkov Cc: Linus Torvalds , "H. Peter Anvin" , Andy Lutomirski , Andy Lutomirski , Davidlohr Bueso , Davidlohr Bueso , Peter Zijlstra , the arch/x86 maintainers , Linux Kernel Mailing List , virtualization , Thomas Gleixner , "Paul E. McKenney" , Ingo Molnar Subject: Re: [PATCH 3/4] x86,asm: Re-work smp_store_mb() 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-Disposition: inline In-Reply-To: <20160113163331.GG12897@pd.tnic> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.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.