From mboxrd@z Thu Jan 1 00:00:00 1970 From: punit.agrawal@arm.com (Punit Agrawal) Date: Wed, 27 Aug 2014 18:05:24 +0100 Subject: [PATCH 1/6] arm: Fix in-correct barrier usage in SWP{B} emulation In-Reply-To: <20140827164016.GE13850@arm.com> (Catalin Marinas's message of "Wed, 27 Aug 2014 17:40:17 +0100") References: <1409048930-21598-1-git-send-email-punit.agrawal@arm.com> <1409048930-21598-2-git-send-email-punit.agrawal@arm.com> <20140827164016.GE13850@arm.com> Message-ID: <9hh8um9eucr.fsf@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Catalin Marinas writes: > On Tue, Aug 26, 2014 at 11:28:45AM +0100, Punit Agrawal wrote: >> According to the ARM ARMv7, explicit barriers are necessary when using >> synchronisation primitives such as SWP{B}. The use of these >> instructions does not automatically imply a barrier and any ordering >> requirements by the software must be explicitly expressed with the use >> of suitable barriers. >> >> Based on this, remove the barriers from SWP{B} emulation. >> >> Cc: Russell King >> Signed-off-by: Punit Agrawal > > This patch is independent to the SWP emulation for arm64 series. Unless > Russell has any objections, you should send it to his patch system (git > send-email to patches at arm.linux.org.uk with "KernelVersion: v3..." after > the commit log; I hope Russell drops the KernelVersion requirement some > day ;)). OK. Unless I hear any objections, I'll send the patch to Russell's system tomorrow.