]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: probes: Fix incorrect bl/blr address and register usage
authorJeremy Linton <jeremy.linton@arm.com>
Thu, 18 Sep 2025 17:54:24 +0000 (12:54 -0500)
committerWill Deacon <will@kernel.org>
Thu, 18 Sep 2025 20:06:59 +0000 (21:06 +0100)
commitea87c5536aa8c2b5bcd2fb482df6f11e5517df06
tree2d1cfefdc599616ef09e3590fad101b9a1cf057f
parentba1afc94deb849eab843a372b969444581add2c9
arm64: probes: Fix incorrect bl/blr address and register usage

The pt_regs registers are 64-bit on arm64, and should be u64 when
manipulated. Correct this so that we aren't truncating the address
during br/blr sequences.

Fixes: efb07ac534e2 ("arm64: probes: Add GCS support to bl/blr/ret")
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/probes/simulate-insn.c