From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755819Ab0JROdu (ORCPT ); Mon, 18 Oct 2010 10:33:50 -0400 Received: from canuck.infradead.org ([134.117.69.58]:39795 "EHLO canuck.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754311Ab0JROds convert rfc822-to-8bit (ORCPT ); Mon, 18 Oct 2010 10:33:48 -0400 Subject: Re: [PATCH 0/3] Add OMAP hardware spinlock misc driver From: Peter Zijlstra To: Ohad Ben-Cohen Cc: Russell King - ARM Linux , Hari Kanigeri , Suman Anna , Benoit Cousson , Tony Lindgren , Greg KH , linux-kernel@vger.kernel.org, Grant Likely , akpm@linux-foundation.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org In-Reply-To: References: <1287387875-14168-1-git-send-email-ohad@wizery.com> <1287406015.29097.1579.camel@twins> <20101018133502.GA12449@n2100.arm.linux.org.uk> <1287409417.29097.1598.camel@twins> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Date: Mon, 18 Oct 2010 16:33:03 +0200 Message-ID: <1287412383.29097.1603.camel@twins> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2010-10-18 at 16:28 +0200, Ohad Ben-Cohen wrote: > On Mon, Oct 18, 2010 at 3:43 PM, Peter Zijlstra wrote: > > Right, so the problem is that there simply is no way to do atomic memory > > access from these auxiliary processing units wrt the main CPU? > > Yes. There are a few relevant system-wide limitations, one of them is > that simply the system interconnect does not support those fancy > atomic operations. Does it support full memory coherency though? Otherwise I can see memory based message passing becoming rather interesting. Without coherency everybody needs to be damn sure to flush the relevant bits before unlocking and such.