[PATCH v2 1/2] arm: Move sev() and wfe() definitions to common Arm header file

Tom Rini trini at konsulko.com
Tue May 14 18:15:18 CEST 2024


On Wed, May 01, 2024 at 09:16:32AM +0100, Peter Hoyes wrote:

> From: Peter Hoyes <Peter.Hoyes at 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.Hoyes at arm.com>
> Reviewed-by: Andre Przywara<andre.przywara at arm.com>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240514/1a73c266/attachment.sig>


More information about the U-Boot mailing list