[PATCH] arm64: barrier: Remove spec_bar() macro

Catalin Marinas catalin.marinas at arm.com
Fri Mar 26 11:06:09 GMT 2021


On Thu, 25 Mar 2021 15:13:04 +0100, Linus Walleij wrote:
> The spec_bar() macro was introduced in
> commit bd4fb6d270bc ("arm64: Add support for SB barrier and patch in over DSB; ISB sequences")
> as a way for C to insert a speculation barrier and was then
> used in one single place: set_fs().
> 
> Later on
> commit 3d2403fd10a1 ("arm64: uaccess: remove set_fs()")
> deleted set_fs() altogether and as noted in the commit
> on the new path the regular sb() assembly macro will
> be used.
> 
> [...]

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: barrier: Remove spec_bar() macro
      https://git.kernel.org/arm64/c/4f30ba1cce36

-- 
Catalin




More information about the linux-arm-kernel mailing list