]> Pileus Git - ~andy/linux/commit
ARM: mcpm: use -st dsb option prior to sev instructions
authorWill Deacon <will.deacon@arm.com>
Tue, 14 May 2013 09:08:07 +0000 (10:08 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 12 Aug 2013 11:25:45 +0000 (12:25 +0100)
commit40a5c0b415f080638a744177653aac4527002bbf
treee789ba4420cf5dc77a8ce6466c31e2a3af4b5858
parente3ab547f57bd626201d4b715b696c80ad1ef4ba2
ARM: mcpm: use -st dsb option prior to sev instructions

In a similar manner to our spinlock implementation, mcpm uses sev to
wake up cores waiting on a lock when the lock is unlocked. In order to
ensure that the final write unlocking the lock is visible, a dsb
instruction is executed immediately prior to the sev.

This patch changes these dsbs to use the -st option, since we only
require that the store unlocking the lock is made visible.

Acked-by: Nicolas Pitre <nico@linaro.org>
Reviewed-by: Dave Martin <dave.martin@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/common/mcpm_head.S
arch/arm/common/vlock.S