Bug 423361 - Adds io_uring support on arm64/aarch64
Summary: Adds io_uring support on arm64/aarch64
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-22 15:27 UTC by me
Modified: 2021-10-22 07:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
io_uring_arm64.patch (652 bytes, text/plain)
2020-06-22 15:27 UTC, me
Details

Note You need to log in before you can comment on or make changes to this bug.
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