Skip to content
Commit 8dfe804a authored by Jiping Ma's avatar Jiping Ma Committed by Will Deacon
Browse files

arm64: perf: Report the PC value in REGS_ABI_32 mode



A 32-bit perf querying the registers of a compat task using REGS_ABI_32
will receive zeroes from w15, when it expects to find the PC.

Return the PC value for register dwarf register 15 when returning register
values for a compat task to perf.

Cc: <stable@vger.kernel.org>
Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
Signed-off-by: default avatarJiping Ma <jiping.ma2@windriver.com>
Link: https://lore.kernel.org/r/1589165527-188401-1-git-send-email-jiping.ma2@windriver.com


[will: Shuffled code and added a comment]
Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent cb944f02
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment