On 5/1/24 09:16, Peter Hoyes wrote:
From: Peter Hoyes <peter.ho...@arm.com>

The sev() and wfe() asm macros are currently defined only for
mach-exynos. As these are common Arm instructions, move them to the
common asm/system.h header file, for both Armv7 and Armv8, so they
can be used by other machines.

wfe may theoretically trigger a context switch if an interrupt occurs
so add a memory barrier to this call.

Signed-off-by: Peter Hoyes <peter.ho...@arm.com>

This patch version should have included:

Reviewed-by: Andre Przywara<andre.przyw...@arm.com>

Reply via email to