Bug 423361

Summary: Adds io_uring support on arm64/aarch64
Product: [Developer tools] valgrind Reporter: me
Component: generalAssignee: Julian Seward <jseward>
Status: RESOLVED FIXED    
Severity: normal CC: hare, mark
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: io_uring_arm64.patch

Description me 2020-06-22 15:27:34 UTC
Created attachment 129586 [details]
io_uring_arm64.patch

Currently, the io_uring syscalls only work on x86/amd64. The attached patch adds arm64 support. This patch has been tested on real hardware, and works for a simple test program.

The bugtracker said to submit patches to GitLab, but I didn't see a valgrind project there.
Comment 1 Mark Wielaard 2021-02-04 16:47:38 UTC
Thanks, it looks like at least these 3  io_uring_setup, io_uring_enter and io_uring_register were added everywhere (arm, arm64, mips, powerpc, s390). And we already have them in vki-scnums-shared-linux.h

BTW. You are right, KDE uses gitlab, but valgrind doesn't.

commit b918f710208889d579026627830a80b24be1513d
Author: Mark Wielaard <mark@klomp.org>
Date:   Thu Feb 4 17:21:56 2021 +0100

    PR423361  Adds io_uring support on arm64/aarch64 (and all other arches)
    
    io_uring syscalls only work on x86/amd64, but they can be enabled on
    all arches. Based on a patch by Nathan Ringo <nathan@remexre.xyz>.
    
    https://bugs.kde.org/show_bug.cgi?id=423361