[PATCH] arm64/alternatives: don't patch up internal branches
Will Deacon
will at kernel.org
Thu Jul 9 11:49:42 EDT 2020
On Thu, 9 Jul 2020 15:59:53 +0300, Ard Biesheuvel wrote:
> Commit f7b93d429 ("arm64/alternatives: use subsections for replacement
> sequences") moved the alternatives replacement sequences into subsections,
> in order to keep the as close as possible to the code that they replace.
>
> Unfortunately, this broke the logic in branch_insn_requires_update,
> which assumed that any branch into kernel executable code was a branch
> that required updating, which is no longer the case now that the code
> sequences that are patched in are in the same section as the patch site
> itself.
>
> [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64/alternatives: don't patch up internal branches
https://git.kernel.org/arm64/c/5679b2814219
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list