From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161210AbcFQPg2 (ORCPT ); Fri, 17 Jun 2016 11:36:28 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.47.9]:43919 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755700AbcFQPgY (ORCPT ); Fri, 17 Jun 2016 11:36:24 -0400 Subject: Re: Build failures in -next due to 'locking/atomic, arch/arc: Implement atomic_fetch_{add,sub,and,andnot,or,xor}()' To: Peter Zijlstra References: <57640B08.4090007@roeck-us.net> <20160617143942.GV30154@twins.programming.kicks-ass.net> <20160617144136.GK30927@twins.programming.kicks-ass.net> <57640EB5.8090604@roeck-us.net> <576410AB.6050204@synopsys.com> <20160617152208.GX30154@twins.programming.kicks-ass.net> CC: Noam Camus , Guenter Roeck , "linux-kernel@vger.kernel.org" , , Ingo Molnar , "Will Deacon" , Gilad Ben Yossef Newsgroups: gmane.linux.kernel From: Vineet Gupta Message-ID: <576418EB.5090607@synopsys.com> Date: Fri, 17 Jun 2016 17:36:11 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <20160617152208.GX30154@twins.programming.kicks-ass.net> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.100.21.13] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday 17 June 2016 05:22 PM, Peter Zijlstra wrote: > Question; why does atomic_read() have a full memory clobber on arc? > > Will thinks its because you don't use a memory constraint for *v. So that is only for CONFIG_ARC_PLAT_EZNPS and very liekly not needed. Although NPS has some design constraints which Noam knows of better !