Thread (21 messages) flat view 21 messages, 5 authors, 2014-08-27
STALE4407d

Revision v1 of 3 in this series.

Revisions (3)
  1. v1 [diff vs current]
  2. v1 [diff vs current]
  3. v1 current

[PATCH 1/6] arm: Fix in-correct barrier usage in SWP{B} emulation

From: catalin.marinas@arm.com (Catalin Marinas)
Date: 2014-08-27 16:40:17

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 <redacted>
Signed-off-by: Punit Agrawal <redacted>
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 ;)).

-- 
Catalin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help