* Re: [PATCH] arm64:uprobe fix the uprobe SWBP_INSN in big-endian
[not found] <202212021511106844809@zte.com.cn>
@ 2022-12-05 15:43 ` Will Deacon
0 siblings, 0 replies; only message in thread
From: Will Deacon @ 2022-12-05 15:43 UTC (permalink / raw)
To: catalin.marinas, guo.ziliang
Cc: kernel-team, Will Deacon, linux-arm-kernel, linux-kernel, huang.junhua
On Fri, 2 Dec 2022 15:11:10 +0800 (CST), guo.ziliang@zte.com.cn wrote:
> From: junhua huang <huang.junhua@zte.com.cn>
>
> 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-05 15:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <202212021511106844809@zte.com.cn>
2022-12-05 15:43 ` [PATCH] arm64:uprobe fix the uprobe SWBP_INSN in big-endian Will Deacon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®