From: Catalin Marinas <catalin.marinas@arm.com>
To: Nathan Chancellor <nathan@kernel.org>, Will Deacon <will@kernel.org>
Cc: linux-kernel@vger.kernel.org, llvm@lists.linux.dev,
James Morse <james.morse@arm.com>, Marc Zyngier <maz@kernel.org>,
stable@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
Nick Desaulniers <ndesaulniers@google.com>
Subject: Re: [PATCH] arm64: Do not include __READ_ONCE() block in assembly files
Date: Wed, 9 Mar 2022 22:35:13 +0000 [thread overview]
Message-ID: <164686530868.2021143.5226596562469342998.b4-ty@arm.com> (raw)
In-Reply-To: <20220309191633.2307110-1-nathan@kernel.org>
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
WARNING: multiple messages have this Message-ID (diff)
From: Catalin Marinas <catalin.marinas@arm.com>
To: Nathan Chancellor <nathan@kernel.org>, Will Deacon <will@kernel.org>
Cc: linux-kernel@vger.kernel.org, llvm@lists.linux.dev,
James Morse <james.morse@arm.com>, Marc Zyngier <maz@kernel.org>,
stable@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
Nick Desaulniers <ndesaulniers@google.com>
Subject: Re: [PATCH] arm64: Do not include __READ_ONCE() block in assembly files
Date: Wed, 9 Mar 2022 22:35:13 +0000 [thread overview]
Message-ID: <164686530868.2021143.5226596562469342998.b4-ty@arm.com> (raw)
In-Reply-To: <20220309191633.2307110-1-nathan@kernel.org>
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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-03-09 22:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-09 19:16 [PATCH] arm64: Do not include __READ_ONCE() block in assembly files Nathan Chancellor
2022-03-09 19:16 ` Nathan Chancellor
2022-03-09 21:53 ` Nick Desaulniers
2022-03-09 21:53 ` Nick Desaulniers
2022-03-09 22:31 ` Catalin Marinas
2022-03-09 22:31 ` Catalin Marinas
2022-03-09 22:35 ` Catalin Marinas [this message]
2022-03-09 22:35 ` Catalin Marinas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=164686530868.2021143.5226596562469342998.b4-ty@arm.com \
--to=catalin.marinas@arm.com \
--cc=james.morse@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=maz@kernel.org \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.com \
--cc=stable@vger.kernel.org \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.