linux/arch/arm64
Jiping Ma 77d09ad32d arm64: perf: Report the PC value in REGS_ABI_32 mode
commit 8dfe804a40 upstream.

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: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Jiping 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: Will Deacon <will@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-30 23:17:17 -04:00
..
boot arm64: tegra: Fix ethernet phy-mode for Jetson Xavier 2020-06-25 15:32:58 +02:00
configs arm64: defconfig: Re-enable bcm2835-thermal driver 2020-01-27 14:50:10 +01:00
crypto crypto: arm64/sha2-ce - correct digest for empty data in finup 2019-07-26 09:14:19 +02:00
include arm64: cacheflush: Fix KGDB trap detection 2020-06-22 09:05:10 +02:00
kernel arm64: perf: Report the PC value in REGS_ABI_32 mode 2020-06-30 23:17:17 -04:00
kvm KVM: arm64: Fix 32bit PC wrap-around 2020-05-14 07:57:20 +02:00
lib arm64: lib: use C string functions with KASAN enabled 2019-12-01 09:17:01 +01:00
mm arm64: hugetlb: avoid potential NULL dereference 2020-05-14 07:57:21 +02:00
net bpf, arm64: use more scalable stadd over ldxr / stxr loop in xadd 2019-07-03 13:14:49 +02:00
xen
Kconfig arm64: errata: Hide CTR_EL0.DIC on systems affected by Neoverse-N1 #1542419 2020-04-29 16:31:08 +02:00
Kconfig.debug Kconfig: consolidate the "Kernel hacking" menu 2018-08-02 08:06:48 +09:00
Kconfig.platforms ARM: SoC: late updates 2018-08-25 14:12:36 -07:00
Makefile arm64: makefile fix build of .i file in external module case 2019-12-01 09:17:14 +01:00