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

From: Catalin Marinas
Date: Wed Mar 09 2022 - 17:35:24 EST


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