]> www.infradead.org Git - users/hch/block.git/commit
arm64: barrier: Restore spec_bar() macro
authorMark Rutland <mark.rutland@arm.com>
Wed, 8 May 2024 08:13:57 +0000 (09:13 +0100)
committerWill Deacon <will@kernel.org>
Fri, 10 May 2024 11:21:56 +0000 (12:21 +0100)
commitebfc726eae3f31bdb5fae1bbd74ef235d71046ca
treec7a09559e66d9bc0801b7e6dcd2864cfbed28bdf
parentfec50db7033ea478773b159e0e2efb135270e3b7
arm64: barrier: Restore spec_bar() macro

Upcoming errata workarounds will need to use SB from C code. Restore the
spec_bar() macro so that we can use SB.

This is effectively a revert of commit:

  4f30ba1cce36d413 ("arm64: barrier: Remove spec_bar() macro")

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: James Morse <james.morse@arm.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20240508081400.235362-2-mark.rutland@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/barrier.h