arm64: Add wfet()/wfit() helpers
authorMarc Zyngier <maz@kernel.org>
Tue, 19 Apr 2022 18:27:54 +0000 (19:27 +0100)
committerMarc Zyngier <maz@kernel.org>
Wed, 20 Apr 2022 12:24:44 +0000 (13:24 +0100)
commit9eae588529751f95834bca775b30b66291def7f6
treeff97158fb3809f33281a50117cb446f6b66c906a
parent69bb02ebc38ace438c9cd7c5315cfe43862b51fe
arm64: Add wfet()/wfit() helpers

Just like we have helpers for WFI and WFE, add the WFxT versions.
Note that the encoding is that reported by objdump, as no currrent
toolchain knows about these instructions yet.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20220419182755.601427-10-maz@kernel.org
arch/arm64/include/asm/barrier.h