[PATCH] arm64: Do not include __READ_ONCE() block in assembly files

Catalin Marinas catalin.marinas at arm.com
Wed Mar 9 14:35:13 PST 2022


On Wed, 9 Mar 2022 12:16:34 -0700, Nathan Chancellor wrote:
> When building arm64 defconfig + CONFIG_LTO_CLANG_{FULL,THIN}=y after
> commit 558c303c9734 ("arm64: Mitigate spectre style branch history side
> channels"), the following error occurs:
> 
>   <instantiation>:4:2: error: invalid fixup for movz/movk instruction
>    mov w0, #ARM_SMCCC_ARCH_WORKAROUND_3
>    ^
> 
> [...]

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

[1/1] arm64: Do not include __READ_ONCE() block in assembly files
      https://git.kernel.org/arm64/c/52c9f93a9c48

-- 
Catalin




More information about the linux-arm-kernel mailing list