[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <161407668452.1401335.3864455032595350603.b4-ty@kernel.org>
Date: Tue, 23 Feb 2021 15:28:39 +0000
From: Will Deacon <will@...nel.org>
To: catalin.marinas@....com, linux-arm-kernel@...ts.infradead.org,
He Zhe <zhe.he@...driver.com>, jolsa@...hat.com,
alexander.shishkin@...ux.intel.com, linux-kernel@...r.kernel.org,
mark.rutland@....com, namhyung@...nel.org
Cc: kernel-team@...roid.com, Will Deacon <will@...nel.org>
Subject: Re: [PATCH 1/2] arm64: uprobe: Return EOPNOTSUPP for AARCH32 instruction probing
On Tue, 23 Feb 2021 16:25:34 +0800, He Zhe wrote:
> 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)
>
> [...]
Applied first patch only to arm64 (for-next/fixes), thanks!
[1/2] arm64: uprobe: Return EOPNOTSUPP for AARCH32 instruction probing
https://git.kernel.org/arm64/c/d47422d953e2
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Powered by blists - more mailing lists