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

2024-04-29 Thread Andre Przywara
On Tue, 23 Apr 2024 09:10:04 +0100 Peter Hoyes wrote: Hi, > From: Peter Hoyes > > 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 us

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

2024-04-23 Thread Peter Hoyes
From: Peter Hoyes 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