2022-12-05 16:17:24

by Will Deacon

[permalink] [raw]
Subject: Re: [PATCH] arm64:uprobe fix the uprobe SWBP_INSN in big-endian

On Fri, 2 Dec 2022 15:11:10 +0800 (CST), [email protected] wrote:
> From: junhua huang <[email protected]>
>
> We use uprobe in aarch64_be, which we found the tracee task would exit
> due to SIGILL when we enable the uprobe trace.
> We can see the replace inst from uprobe is not correct in aarch big-endian.
> As in Armv8-A, instruction fetches are always treated as little-endian,
> we should treat the UPROBE_SWBP_INSN as little-endian。
>
> [...]

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

[1/1] arm64:uprobe fix the uprobe SWBP_INSN in big-endian
https://git.kernel.org/arm64/c/60f07e22a73d

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev