From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3rQXsh07CTzDq68 for ; Fri, 10 Jun 2016 03:51:03 +1000 (AEST) Date: Thu, 9 Jun 2016 19:50:54 +0200 From: Peter Zijlstra To: Michael Ellerman Cc: Boqun Feng , linuxppc-dev@lists.ozlabs.org, Linux Kernel Mailing List , Benjamin Herrenschmidt , Paul Mackerras , "Paul E. McKenney" , Will Deacon Subject: Re: [PATCH v3] powerpc: spinlock: Fix spin_unlock_wait() Message-ID: <20160609175054.GY30154@twins.programming.kicks-ass.net> References: <1465213340.2658.1.camel@ellerman.id.au> <20160606115655.GD30909@twins.programming.kicks-ass.net> <1465215445.2658.4.camel@ellerman.id.au> <20160606144659.GG30909@twins.programming.kicks-ass.net> <1465384845.13854.7.camel@ellerman.id.au> <20160608123507.GR30154@twins.programming.kicks-ass.net> <1465393760.10567.4.camel@ellerman.id.au> <20160608135903.GT30154@twins.programming.kicks-ass.net> <1465475008.16363.1.camel@ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1465475008.16363.1.camel@ellerman.id.au> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Jun 09, 2016 at 10:23:28PM +1000, Michael Ellerman wrote: > Unfortunately the patch isn't 100%. So what I'll do; since my patch is trying to ensure all implementations of spin_unlock_wait() provide ACQUIRE semantics, and this patch does indeed do so, is skip touching PPC entirely and hope this patch lands before 4.8.