summaryrefslogtreecommitdiff
path: root/tools/perf/tests/shell/lib/setup_python.sh
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2026-09-07 12:30:25 +0100
committerWill Deacon <will@kernel.org>2026-09-11 12:50:02 +0000
commitfdb9ebc7fb7788b8371fbef6c17dc5c8291e1429 (patch)
treea4bd9ad02c8235fd8d23fbeb8f42f7f7c81147b3 /tools/perf/tests/shell/lib/setup_python.sh
parent3d1ba5cbfb622025690c218d8f20da92a9ecb383 (diff)
downloadlinux-next-fdb9ebc7fb7788b8371fbef6c17dc5c8291e1429.tar.gz
linux-next-fdb9ebc7fb7788b8371fbef6c17dc5c8291e1429.zip
arm64: mte: Fix PTRACE_{PEEK,POKE}MTETAGS error documentation
PTRACE_{PEEK,POKE}MTETAGS return -EIO rather than -EOPNOTSUPP (as documented) when no tags are copied from/to a mapping without PROT_MTE. This has been the behaviour since the interface was introduced, though the original intent was to distinguish between address not being accessible and mapped as untagged. Update the documentation to match the implementation (de-facto ABI). Since -EOPNOTSUPP was never returned, change the error assignment to -EIO as well to avoid confusion. Fixes: df9d7a22dd21 ("arm64: mte: Add Memory Tagging Extension documentation") Fixes: 18ddbaa02b7a ("arm64: mte: ptrace: Add PTRACE_{PEEK,POKE}MTETAGS support") Reported-by: Yury Khrustalev <yury.khrustalev@arm.com> Cc: Will Deacon <will@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/tests/shell/lib/setup_python.sh')
0 files changed, 0 insertions, 0 deletions