linux/arch/arm64
He Zhe d47422d953 arm64: uprobe: Return EOPNOTSUPP for AARCH32 instruction probing
As stated in linux/errno.h, ENOTSUPP should never be seen by user programs.
When we set up uprobe with 32-bit perf and arm64 kernel, we would see the
following vague error without useful hint.

The sys_perf_event_open() syscall returned with 524 (INTERNAL ERROR:
strerror_r(524, [buf], 128)=22)

Use EOPNOTSUPP instead to indicate such cases.

Signed-off-by: He Zhe <zhe.he@windriver.com>
Link: https://lore.kernel.org/r/20210223082535.48730-1-zhe.he@windriver.com
Cc: <stable@vger.kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
2021-02-23 10:38:27 +00:00
..
boot ARM: SoC fixes for v5.11 2021-01-08 14:13:54 -08:00
configs ARM: device tree updates for 5.11 2020-12-16 16:27:35 -08:00
crypto crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
include arm64 module: set plt* section addresses to 0x0 2021-02-19 17:59:59 +00:00
kernel arm64: uprobe: Return EOPNOTSUPP for AARCH32 instruction probing 2021-02-23 10:38:27 +00:00
kvm arm64: Make kvm-arm.mode={nvhe, protected} an alias of id_aa64mmfr1.vh=0 2021-02-09 13:50:56 +00:00
lib arm64: mte: add in-kernel MTE helpers 2020-12-22 12:55:07 -08:00
mm Merge branch 'for-next/misc' into for-next/core 2021-02-12 15:07:34 +00:00
net
xen
Kbuild
Kconfig Merge branch 'for-next/misc' into for-next/core 2021-02-12 15:07:34 +00:00
Kconfig.debug
Kconfig.platforms ARM: device tree updates for 5.11 2020-12-16 16:27:35 -08:00
Makefile arm64: do not descend to vdso directories twice 2021-01-20 12:18:46 +00:00