From patchwork Mon Jul 4 17:54:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ammar Faizi X-Patchwork-Id: 12905761 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B863C433EF for ; Mon, 4 Jul 2022 17:55:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229887AbiGDRzB (ORCPT ); Mon, 4 Jul 2022 13:55:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229717AbiGDRzB (ORCPT ); Mon, 4 Jul 2022 13:55:01 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB470BF59 for ; Mon, 4 Jul 2022 10:55:00 -0700 (PDT) Received: from integral2.. (unknown [36.81.65.188]) by gnuweeb.org (Postfix) with ESMTPSA id 6B9F88024B; Mon, 4 Jul 2022 17:54:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1656957300; bh=2+vkFY/cAwJcxO/eliCRmSw5WdJfTavO74HpsygISOY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VqS5mR5nNrF1vUjSLaID/YUeU7t4qnVx3w94TTUG64vWC0GqGlusC9w18Gf5m4/Yq LkmqwWNgGKqTQGyoANGi/SgNdU7LY1zqmqcuwumDxALayvb7/y/63wFXRyUQbp1dck UBDazYMZZj27cu6/Oty/Izj5SC5NPIQKeFs59LGdie96a+Q3iyGql6w00Ylw7nDHxS Vo5gy4ar4DR3LMlasyKnoRx7vC0xK3Om8RE8tUk46CM5SuY7BjXQPdSI9leKq0R6Pt J79marxpicbpIEtLhN0isxJha9/uH0VMc3cSdm1zolTOYU2Y38DvgrE9WOaMHj4Qz0 a/+G5O8HgLOfw== From: Ammar Faizi To: Jens Axboe Cc: Ammar Faizi , Alviro Iskandar Setiawan , Fernanda Ma'rouf , Hao Xu , Pavel Begunkov , io-uring Mailing List , GNU/Weeb Mailing List Subject: [PATCH liburing v3 01/10] CHANGELOG: Fixup missing space Date: Tue, 5 Jul 2022 00:54:27 +0700 Message-Id: <20220704174858.329326-2-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220704174858.329326-1-ammar.faizi@intel.com> References: <20220704174858.329326-1-ammar.faizi@intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org From: Ammar Faizi s/reducingthe/reducing the/ Signed-off-by: Ammar Faizi --- CHANGELOG | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 01cb677..efb3ff3 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -6,7 +6,7 @@ liburing-2.2 release - Add support for multishot accept. - io_uring_register_files() will set RLIMIT_NOFILE if necessary. - Add support for registered ring fds, io_uring_register_ring_fd(), - reducingthe overhead of an io_uring_enter() system call. + reducing the overhead of an io_uring_enter() system call. - Add support for the message ring opcode. - Add support for newer request cancelation features. - Add support for IORING_SETUP_COOP_TASKRUN, which can help reduce the From patchwork Mon Jul 4 17:54:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ammar Faizi X-Patchwork-Id: 12905762 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3D06C433EF for ; Mon, 4 Jul 2022 17:55:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229717AbiGDRzF (ORCPT ); Mon, 4 Jul 2022 13:55:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229894AbiGDRzE (ORCPT ); Mon, 4 Jul 2022 13:55:04 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19B56DE83 for ; Mon, 4 Jul 2022 10:55:04 -0700 (PDT) Received: from integral2.. (unknown [36.81.65.188]) by gnuweeb.org (Postfix) with ESMTPSA id 0ED13800EF; Mon, 4 Jul 2022 17:55:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1656957303; bh=yghAnwMuF0YXLqQdTKb1gs5igNwoSinLSeS4Ea+dVM4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DM8Os5OYkitsGEeYx7I5eOMwllST69W6I0E3GME5AwdqwMyEd8kMAkX++8axxc7eG +LXCSt5itm3dAZ4OjtI7iVRRXyh0gnh3t101xEqI9MLNWX7z9Psuop9lsfSsK6NqKV 7EYlzQywlifRtcJ98JzwNlhfImhp6inyquQucU5oGleHkqOdvpSNnnoE7XBXAcnopu JS3xLvFXOCAykc3zlPU5ByBQW7nOEL/iDc/G7MoRIu6GC6OGUpN8BFLlX8833Ce1VJ R80luFon28vXnOiTa1TQMPawGnYw1rZqYtrmVEkT1de2Lipdz5LLpUQWWlNKdVeU+Y joU6Ia+8YSKuQ== From: Ammar Faizi To: Jens Axboe Cc: Ammar Faizi , Alviro Iskandar Setiawan , Fernanda Ma'rouf , Hao Xu , Pavel Begunkov , io-uring Mailing List , GNU/Weeb Mailing List Subject: [PATCH liburing v3 02/10] arch: syscall: Add `__sys_open()` syscall Date: Tue, 5 Jul 2022 00:54:28 +0700 Message-Id: <20220704174858.329326-3-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220704174858.329326-1-ammar.faizi@intel.com> References: <20220704174858.329326-1-ammar.faizi@intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org From: Ammar Faizi A prep patch to support aarch64 nolibc. We will use this to get the page size by reading /proc/self/auxv. For some reason __NR_open is not defined, so also define it in aarch64 syscall specific file. v3: - Use __NR_openat if __NR_open is not defined. Signed-off-by: Ammar Faizi Reviewed-by: Alviro Iskandar Setiawan --- src/arch/generic/syscall.h | 9 +++++++++ src/arch/syscall-defs.h | 14 ++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/src/arch/generic/syscall.h b/src/arch/generic/syscall.h index fa93064..71b2234 100644 --- a/src/arch/generic/syscall.h +++ b/src/arch/generic/syscall.h @@ -7,6 +7,8 @@ #ifndef LIBURING_ARCH_GENERIC_SYSCALL_H #define LIBURING_ARCH_GENERIC_SYSCALL_H +#include + static inline int ____sys_io_uring_register(int fd, unsigned opcode, const void *arg, unsigned nr_args) { @@ -41,6 +43,13 @@ static inline int ____sys_io_uring_enter(int fd, unsigned to_submit, _NSIG / 8); } +static inline int __sys_open(const char *pathname, int flags, mode_t mode) +{ + int ret; + ret = open(pathname, flags, mode); + return (ret < 0) ? -errno : ret; +} + static inline void *__sys_mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset) { diff --git a/src/arch/syscall-defs.h b/src/arch/syscall-defs.h index 1e8ae1b..9d4424d 100644 --- a/src/arch/syscall-defs.h +++ b/src/arch/syscall-defs.h @@ -3,6 +3,20 @@ #ifndef LIBURING_ARCH_SYSCALL_DEFS_H #define LIBURING_ARCH_SYSCALL_DEFS_H +#include + +static inline int __sys_open(const char *pathname, int flags, mode_t mode) +{ + /* + * Some architectures don't have __NR_open, but __NR_openat. + */ +#ifdef __NR_open + return __do_syscall3(__NR_open, pathname, flags, mode); +#else + return __do_syscall4(__NR_openat, AT_FDCWD, pathname, flags, mode); +#endif +} + static inline void *__sys_mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset) { From patchwork Mon Jul 4 17:54:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ammar Faizi X-Patchwork-Id: 12905763 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AB899C433EF for ; Mon, 4 Jul 2022 17:55:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230034AbiGDRzJ (ORCPT ); Mon, 4 Jul 2022 13:55:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229907AbiGDRzI (ORCPT ); Mon, 4 Jul 2022 13:55:08 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E469F646B for ; Mon, 4 Jul 2022 10:55:07 -0700 (PDT) Received: from integral2.. (unknown [36.81.65.188]) by gnuweeb.org (Postfix) with ESMTPSA id 5798A80253; Mon, 4 Jul 2022 17:55:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1656957307; bh=nQlhcy4wn+3YUi2Lz76zhDc4GX+89GkCVH2Y2WwEKrw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sGtES5WaEzrfzLs+dd5ufRO0Wl2J87vgn2x+6+nFqoomMnldcW7zON4i2z+juEwtE rl5G9VklBbAfPHNGZLb5p/xXwJjguR8SEiZh6cxEvDj2WJTx0qn1z2b99QN+vBtbMM jiiweZaap3WUh+IKaSN+HrfshrRzRTqbpNPLEb8oK1IA+rr9IOjsQxSTio37wmMulz lt5pDmvd3Ndb7JqOvcNL436O/6XPnLB0mgBZtjAYyrvbvJHROJ6y2Jgq4ZxCEAmDvN VLlGXep8XxTMFxiK00YvN3VEJTc2wDkDTZktQYluPWreEQVr9G5UcAdP1tPEu7ZsdU 2hsEe4ked1xCw== From: Ammar Faizi To: Jens Axboe Cc: Ammar Faizi , Alviro Iskandar Setiawan , Fernanda Ma'rouf , Hao Xu , Pavel Begunkov , io-uring Mailing List , GNU/Weeb Mailing List Subject: [PATCH liburing v3 03/10] arch: syscall: Add `__sys_read()` syscall Date: Tue, 5 Jul 2022 00:54:29 +0700 Message-Id: <20220704174858.329326-4-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220704174858.329326-1-ammar.faizi@intel.com> References: <20220704174858.329326-1-ammar.faizi@intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org From: Ammar Faizi A prep patch to support aarch64 nolibc. We will use this to get the page size by reading /proc/self/auxv. Signed-off-by: Ammar Faizi Reviewed-by: Alviro Iskandar Setiawan --- src/arch/generic/syscall.h | 7 +++++++ src/arch/syscall-defs.h | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/src/arch/generic/syscall.h b/src/arch/generic/syscall.h index 71b2234..22252a1 100644 --- a/src/arch/generic/syscall.h +++ b/src/arch/generic/syscall.h @@ -50,6 +50,13 @@ static inline int __sys_open(const char *pathname, int flags, mode_t mode) return (ret < 0) ? -errno : ret; } +static inline ssize_t __sys_read(int fd, void *buffer, size_t size) +{ + ssize_t ret; + ret = read(fd, buffer, size); + return (ret < 0) ? -errno : ret; +} + static inline void *__sys_mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset) { diff --git a/src/arch/syscall-defs.h b/src/arch/syscall-defs.h index 9d4424d..32750b5 100644 --- a/src/arch/syscall-defs.h +++ b/src/arch/syscall-defs.h @@ -17,6 +17,11 @@ static inline int __sys_open(const char *pathname, int flags, mode_t mode) #endif } +static inline int __sys_read(int fd, void *buffer, size_t size) +{ + return (int) __do_syscall3(__NR_read, fd, buffer, size); +} + static inline void *__sys_mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset) { From patchwork Mon Jul 4 17:54:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ammar Faizi X-Patchwork-Id: 12905764 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7FD1C43334 for ; Mon, 4 Jul 2022 17:55:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229907AbiGDRzM (ORCPT ); Mon, 4 Jul 2022 13:55:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229894AbiGDRzM (ORCPT ); Mon, 4 Jul 2022 13:55:12 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A901CE25 for ; Mon, 4 Jul 2022 10:55:11 -0700 (PDT) Received: from integral2.. (unknown [36.81.65.188]) by gnuweeb.org (Postfix) with ESMTPSA id 2535780257; Mon, 4 Jul 2022 17:55:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1656957310; bh=eK3KK95UFBATaqKSBO1xogCcaC3Nmvjp+4Pmud7NALw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OVgU11tQwDo1/wah0/7zx/w43jzT0uV9QlW4atQmPIz7MSgROo3PbTLDq+kB28rhR 0qHYLK+ke6apaP4E6dHIZZHW+0nRHo/Fwou4EjCMe2oyut1OgywmSQ0q+Rpu6gvaAx OM+FP0Xo8yuMfl+I0hEvCBHqvtvJiBbCSMKMRSjWJWKToPAICTtP3NqmEa6F6HSJVr rZXdaytXnXcUS4DTbuDbD6wXKsdC9+i4sJhMBb8dtyBRBfr4FThI9JqmFr8yDkZd+h CaS1zeUwX4TXRNL5VsZc/bCsBR7gNmxNEDcSgSDxMK53M4Rv01lLwZ1rErOJg7Skut /cQqYKnkFWMNw== From: Ammar Faizi To: Jens Axboe Cc: Ammar Faizi , Alviro Iskandar Setiawan , Fernanda Ma'rouf , Hao Xu , Pavel Begunkov , io-uring Mailing List , GNU/Weeb Mailing List Subject: [PATCH liburing v3 04/10] arch: Remove `__INTERNAL__LIBURING_LIB_H` checks Date: Tue, 5 Jul 2022 00:54:30 +0700 Message-Id: <20220704174858.329326-5-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220704174858.329326-1-ammar.faizi@intel.com> References: <20220704174858.329326-1-ammar.faizi@intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org From: Ammar Faizi We will include the syscall.h from another place as well. This check was added by me when adding the x86 syscalls. For aarch64 we will include this header from lib.h but we are restricted by this check. Let's just remove it for all archs. User shouldn't touch this code directly anyway. Signed-off-by: Ammar Faizi --- src/arch/aarch64/syscall.h | 4 ---- src/arch/generic/lib.h | 4 ---- src/arch/generic/syscall.h | 4 ---- src/arch/x86/lib.h | 4 ---- src/arch/x86/syscall.h | 4 ---- src/lib.h | 2 -- src/syscall.h | 2 -- 7 files changed, 24 deletions(-) diff --git a/src/arch/aarch64/syscall.h b/src/arch/aarch64/syscall.h index c0ab7e2..b00e90b 100644 --- a/src/arch/aarch64/syscall.h +++ b/src/arch/aarch64/syscall.h @@ -1,9 +1,5 @@ /* SPDX-License-Identifier: MIT */ -#ifndef __INTERNAL__LIBURING_SYSCALL_H - #error "This file should be included from src/syscall.h (liburing)" -#endif - #ifndef LIBURING_ARCH_AARCH64_SYSCALL_H #define LIBURING_ARCH_AARCH64_SYSCALL_H diff --git a/src/arch/generic/lib.h b/src/arch/generic/lib.h index 737e795..6b006c6 100644 --- a/src/arch/generic/lib.h +++ b/src/arch/generic/lib.h @@ -1,9 +1,5 @@ /* SPDX-License-Identifier: MIT */ -#ifndef __INTERNAL__LIBURING_LIB_H - #error "This file should be included from src/lib.h (liburing)" -#endif - #ifndef LIBURING_ARCH_GENERIC_LIB_H #define LIBURING_ARCH_GENERIC_LIB_H diff --git a/src/arch/generic/syscall.h b/src/arch/generic/syscall.h index 22252a1..e637890 100644 --- a/src/arch/generic/syscall.h +++ b/src/arch/generic/syscall.h @@ -1,9 +1,5 @@ /* SPDX-License-Identifier: MIT */ -#ifndef __INTERNAL__LIBURING_SYSCALL_H - #error "This file should be included from src/syscall.h (liburing)" -#endif - #ifndef LIBURING_ARCH_GENERIC_SYSCALL_H #define LIBURING_ARCH_GENERIC_SYSCALL_H diff --git a/src/arch/x86/lib.h b/src/arch/x86/lib.h index e6a74f3..6ece2d4 100644 --- a/src/arch/x86/lib.h +++ b/src/arch/x86/lib.h @@ -1,9 +1,5 @@ /* SPDX-License-Identifier: MIT */ -#ifndef __INTERNAL__LIBURING_LIB_H - #error "This file should be included from src/lib.h (liburing)" -#endif - #ifndef LIBURING_ARCH_X86_LIB_H #define LIBURING_ARCH_X86_LIB_H diff --git a/src/arch/x86/syscall.h b/src/arch/x86/syscall.h index 43c576b..cb8fb91 100644 --- a/src/arch/x86/syscall.h +++ b/src/arch/x86/syscall.h @@ -1,9 +1,5 @@ /* SPDX-License-Identifier: MIT */ -#ifndef __INTERNAL__LIBURING_SYSCALL_H - #error "This file should be included from src/syscall.h (liburing)" -#endif - #ifndef LIBURING_ARCH_X86_SYSCALL_H #define LIBURING_ARCH_X86_SYSCALL_H diff --git a/src/lib.h b/src/lib.h index 89a40f2..7bbacb9 100644 --- a/src/lib.h +++ b/src/lib.h @@ -6,7 +6,6 @@ #include #include -#define __INTERNAL__LIBURING_LIB_H #if defined(__x86_64__) || defined(__i386__) #include "arch/x86/lib.h" #else @@ -19,7 +18,6 @@ /* libc wrappers. */ #include "arch/generic/lib.h" #endif -#undef __INTERNAL__LIBURING_LIB_H #ifndef offsetof diff --git a/src/syscall.h b/src/syscall.h index 214789d..73b04b4 100644 --- a/src/syscall.h +++ b/src/syscall.h @@ -70,7 +70,6 @@ static inline bool IS_ERR(const void *ptr) return uring_unlikely((uintptr_t) ptr >= (uintptr_t) -4095UL); } -#define __INTERNAL__LIBURING_SYSCALL_H #if defined(__x86_64__) || defined(__i386__) #include "arch/x86/syscall.h" #elif defined(__aarch64__) @@ -86,7 +85,6 @@ static inline bool IS_ERR(const void *ptr) /* libc syscall wrappers. */ #include "arch/generic/syscall.h" #endif -#undef __INTERNAL__LIBURING_SYSCALL_H /* * For backward compatibility. From patchwork Mon Jul 4 17:54:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ammar Faizi X-Patchwork-Id: 12905765 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 112BEC433EF for ; Mon, 4 Jul 2022 17:55:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229894AbiGDRzR (ORCPT ); Mon, 4 Jul 2022 13:55:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229965AbiGDRzP (ORCPT ); Mon, 4 Jul 2022 13:55:15 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAFEDBE38 for ; Mon, 4 Jul 2022 10:55:14 -0700 (PDT) Received: from integral2.. (unknown [36.81.65.188]) by gnuweeb.org (Postfix) with ESMTPSA id 6CA0F8024A; Mon, 4 Jul 2022 17:55:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1656957314; bh=xQ42n6yedKh0raRG0qvd5aG8RR/vOh1QwNjBHEupE7s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kzrUT5IACpjohKANyRwER3wyZFoRYI2iESJmjzgh5BcaTsOP8r+RepAJpKLCSgmGg cpKhHvRWgEQ85IhN1q61w2QYPIK9MJIzRKRbRsXIy4T5626tYXYZPvs2aWuqY9747O crUY6q74CzxDF2eqVZYnhnCf9yPg2FJANE/FqPMj+lxHyOKY0IZ/pJhTSNJMPOJyHL 0+fXVgrTjsjfpePPH6ct0d1K3Pe04NAKnKw1WA9z60Dy5802vqgFUe9NM7TjpHHpfH R1wDHTp5M2aNnMq6w43Pd5xc6IYPO2Ymsl1je94YwXnrF68oK1w+eTYw13nMgv8Bil j3HG1bSQvmZDA== From: Ammar Faizi To: Jens Axboe Cc: Ammar Faizi , Alviro Iskandar Setiawan , Fernanda Ma'rouf , Hao Xu , Pavel Begunkov , io-uring Mailing List , GNU/Weeb Mailing List Subject: [PATCH liburing v3 05/10] arch/aarch64: lib: Add `get_page_size()` function Date: Tue, 5 Jul 2022 00:54:31 +0700 Message-Id: <20220704174858.329326-6-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220704174858.329326-1-ammar.faizi@intel.com> References: <20220704174858.329326-1-ammar.faizi@intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org From: Ammar Faizi A prep patch to add aarch64 nolibc support. aarch64 supports three values of page size: 4K, 16K, and 64K which are selected at kernel compilation time. Therefore, we can't hard code the page size for this arch. Utilize open(), read() and close() syscall to find the page size from /proc/self/auxv. For more details about the auxv data structure, check the link below [1]. v3: - Split open/read/close in get_page_size() into a new function. - Cache the fallback value when we fail on the syscalls. - No need to init the static var to zero. v2: - Fallback to 4K if the syscall fails. - Cache the page size after read as suggested by Jens. Link: https://github.com/torvalds/linux/blob/v5.19-rc4/fs/binfmt_elf.c#L260 [1] Link: https://lore.kernel.org/io-uring/3895dbe1-8d5f-cf53-e94b-5d1545466de1@kernel.dk Link: https://lore.kernel.org/io-uring/8bfba71c-55d7-fb49-6593-4d0f9d9c3611@kernel.dk Link: https://lore.kernel.org/io-uring/49ed1c4c-46ca-15c4-f288-f6808401b0ff@kernel.dk Suggested-by: Jens Axboe Signed-off-by: Ammar Faizi Reviewed-by: Alviro Iskandar Setiawan --- src/arch/aarch64/lib.h | 51 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 src/arch/aarch64/lib.h diff --git a/src/arch/aarch64/lib.h b/src/arch/aarch64/lib.h new file mode 100644 index 0000000..eb7e4cb --- /dev/null +++ b/src/arch/aarch64/lib.h @@ -0,0 +1,51 @@ +/* SPDX-License-Identifier: MIT */ + +#ifndef LIBURING_ARCH_AARCH64_LIB_H +#define LIBURING_ARCH_AARCH64_LIB_H + +#include +#include +#include "../../syscall.h" + +static inline long __get_page_size(void) +{ + static const long fallback_ret = 4096; + Elf64_Off buf[2]; + long ret; + int fd; + + fd = __sys_open("/proc/self/auxv", O_RDONLY, 0); + if (fd < 0) + return fallback_ret; + + while (1) { + ssize_t x; + + x = __sys_read(fd, buf, sizeof(buf)); + if (x < sizeof(buf)) { + ret = fallback_ret; + break; + } + + if (buf[0] == AT_PAGESZ) { + ret = buf[1]; + break; + } + } + + __sys_close(fd); + return ret; +} + +static inline long get_page_size(void) +{ + static long cache_val; + + if (cache_val) + return cache_val; + + cache_val = __get_page_size(); + return cache_val; +} + +#endif /* #ifndef LIBURING_ARCH_AARCH64_LIB_H */ From patchwork Mon Jul 4 17:54:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ammar Faizi X-Patchwork-Id: 12905766 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5BB8AC43334 for ; Mon, 4 Jul 2022 17:55:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229965AbiGDRzV (ORCPT ); Mon, 4 Jul 2022 13:55:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230215AbiGDRzS (ORCPT ); Mon, 4 Jul 2022 13:55:18 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13367DE83 for ; Mon, 4 Jul 2022 10:55:18 -0700 (PDT) Received: from integral2.. (unknown [36.81.65.188]) by gnuweeb.org (Postfix) with ESMTPSA id 0F7A080250; Mon, 4 Jul 2022 17:55:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1656957317; bh=RZUNWCvb6CfPewwuaMjfuJRp0z32RubJz4HZjneKwdo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PKvifU3rzBNUNbxlQU4n/KJm9+dIkle08JLDdgEbJY5P5QAIhwMl2s1vZhzM9z4RT PIXJ5wJGJG0klljR1HUZt0XsAoLMEHKQs3c9/pq64VR8apiGXIjYLtcGv2ISwXWAkZ jir2Mlr+qANVOFSPNsCTNqIdKOfpR6+SctVB4YJoZhdIfUU1l3MID9hY4/vKzn85KT mU5FgaU19G3IDpdL9y/AFdg535dZkzc4N8RGqdrUYYtWFxEXoPXn5x8FEcEdCum0oQ NtmGcAccWzZcF7p+4mv4QMc3+KzN/j5qX9FZwM5Yxv+h12Bblno1OiGtYn68E/4xwv 3mQfIrfJTWnUQ== From: Ammar Faizi To: Jens Axboe Cc: Ammar Faizi , Alviro Iskandar Setiawan , Fernanda Ma'rouf , Hao Xu , Pavel Begunkov , io-uring Mailing List , GNU/Weeb Mailing List Subject: [PATCH liburing v3 06/10] lib: Style fixup for #if / #elif / #else / #endif Date: Tue, 5 Jul 2022 00:54:32 +0700 Message-Id: <20220704174858.329326-7-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220704174858.329326-1-ammar.faizi@intel.com> References: <20220704174858.329326-1-ammar.faizi@intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org From: Ammar Faizi Don't indent the block inside #if / #elif / #else / #endif. Signed-off-by: Ammar Faizi --- src/lib.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/lib.h b/src/lib.h index 7bbacb9..a966c77 100644 --- a/src/lib.h +++ b/src/lib.h @@ -7,28 +7,28 @@ #include #if defined(__x86_64__) || defined(__i386__) - #include "arch/x86/lib.h" +#include "arch/x86/lib.h" #else - /* - * We don't have nolibc support for this arch. Must use libc! - */ - #ifdef CONFIG_NOLIBC - #error "This arch doesn't support building liburing without libc" - #endif - /* libc wrappers. */ - #include "arch/generic/lib.h" +/* + * We don't have nolibc support for this arch. Must use libc! + */ +#ifdef CONFIG_NOLIBC +#error "This arch doesn't support building liburing without libc" +#endif +/* libc wrappers. */ +#include "arch/generic/lib.h" #endif #ifndef offsetof - #define offsetof(TYPE, FIELD) ((size_t) &((TYPE *)0)->FIELD) +#define offsetof(TYPE, FIELD) ((size_t) &((TYPE *)0)->FIELD) #endif #ifndef container_of - #define container_of(PTR, TYPE, FIELD) ({ \ - __typeof__(((TYPE *)0)->FIELD) *__FIELD_PTR = (PTR); \ - (TYPE *)((char *) __FIELD_PTR - offsetof(TYPE, FIELD)); \ - }) +#define container_of(PTR, TYPE, FIELD) ({ \ + __typeof__(((TYPE *)0)->FIELD) *__FIELD_PTR = (PTR); \ + (TYPE *)((char *) __FIELD_PTR - offsetof(TYPE, FIELD)); \ +}) #endif #define __maybe_unused __attribute__((__unused__)) From patchwork Mon Jul 4 17:54:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ammar Faizi X-Patchwork-Id: 12905767 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9AFEDC43334 for ; Mon, 4 Jul 2022 17:55:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230024AbiGDRzX (ORCPT ); Mon, 4 Jul 2022 13:55:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230215AbiGDRzV (ORCPT ); Mon, 4 Jul 2022 13:55:21 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B9AABE38 for ; Mon, 4 Jul 2022 10:55:21 -0700 (PDT) Received: from integral2.. (unknown [36.81.65.188]) by gnuweeb.org (Postfix) with ESMTPSA id 55C6C8022E; Mon, 4 Jul 2022 17:55:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1656957321; bh=FveaZGALRuvhoMHrWSZliK1bwLSB96JV/GOf2wakANQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Mj4Vfn6ZRhiDRr+SSQd9DXIifDAxH5QPnPURWBGL7WVEO+lj3kmdVI+xoampd1URD xLCcGdg4MAHu8f3OYwShSkz2mr7x9UuFH9qQ6mlZ5HQAzATxyVsapCsUwzbvrvB4du Pv3qDYfljw4rW0ipSH33W9XnXqEwU6atJTA/bkn/Hm8uEDf5vwenkaH5YKbYdIPmbR uxzhYkJMVTGcxGFudByzItpUePruJgodAPb6KW107LoG5IqTlzU3+Nr2Qg5YI49YRE nL6jkK06IvajYA5PHDuPhJUuZ4VqhpEF2NJF5IE1fF4/PhFtmtVcZodGx9F70TBLAi RQmNq3MDrmpAg== From: Ammar Faizi To: Jens Axboe Cc: Ammar Faizi , Alviro Iskandar Setiawan , Fernanda Ma'rouf , Hao Xu , Pavel Begunkov , io-uring Mailing List , GNU/Weeb Mailing List Subject: [PATCH liburing v3 07/10] lib: Enable nolibc support for aarch64 Date: Tue, 5 Jul 2022 00:54:33 +0700 Message-Id: <20220704174858.329326-8-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220704174858.329326-1-ammar.faizi@intel.com> References: <20220704174858.329326-1-ammar.faizi@intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org From: Ammar Faizi A previous patch adds get_page_size() function which is the missing bit for aarch64 nolibc support. Now we have a full set of functions to enable nolibc build support for aarch64. Signed-off-by: Ammar Faizi --- src/lib.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.h b/src/lib.h index a966c77..f347191 100644 --- a/src/lib.h +++ b/src/lib.h @@ -8,6 +8,8 @@ #if defined(__x86_64__) || defined(__i386__) #include "arch/x86/lib.h" +#elif defined(__aarch64__) +#include "arch/aarch64/lib.h" #else /* * We don't have nolibc support for this arch. Must use libc! From patchwork Mon Jul 4 17:54:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ammar Faizi X-Patchwork-Id: 12905768 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9C142C433EF for ; Mon, 4 Jul 2022 17:55:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230215AbiGDRz3 (ORCPT ); Mon, 4 Jul 2022 13:55:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231221AbiGDRz1 (ORCPT ); Mon, 4 Jul 2022 13:55:27 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87239DFF2 for ; Mon, 4 Jul 2022 10:55:25 -0700 (PDT) Received: from integral2.. (unknown [36.81.65.188]) by gnuweeb.org (Postfix) with ESMTPSA id A8C7A7FC8C; Mon, 4 Jul 2022 17:55:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1656957325; bh=qeJm1bXOu6klaDCaHOGajmdgN7Yjd2MtzUuZCCYVGsc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kTTns6l7N+DsVj4xmuZC1HqIoLaQYRx0iHsClCYdqSNHT9fY6sUaELE8pY9PNt/SZ yG408b1vlEbNqAM7SemsYVOspAkTjL9hC1YLd6Sdm7v1aT7pK7eIxSx1Oip+8WnhWQ iL7OyDxc7z/42HAdxbLqq1Hrslp4RINb9SXiCeAv4fqKUmEHmq2rsoFl1cg4Vm2x1c bkBirWSxWaOxOIwMifvvupyQfCdr74qZL48nzAsgTgC24p5Cwsil043yKkoWQBdUUl hYAq90j0jLJrzsKJo7nfwbT3/YfPfp8xBbO3PPw72olPk6qgkw9oymDzOvOzhDbRmz TziI/OXVn+G/Q== From: Ammar Faizi To: Jens Axboe Cc: Ammar Faizi , Alviro Iskandar Setiawan , Fernanda Ma'rouf , Hao Xu , Pavel Begunkov , io-uring Mailing List , GNU/Weeb Mailing List Subject: [PATCH liburing v3 08/10] test: Add nolibc test Date: Tue, 5 Jul 2022 00:54:34 +0700 Message-Id: <20220704174858.329326-9-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220704174858.329326-1-ammar.faizi@intel.com> References: <20220704174858.329326-1-ammar.faizi@intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org From: Ammar Faizi This test is used to test liburing nolibc functionality. The first use case is test get_page_size() function, especially for aarch64 which relies on reading /proc/self/auxv. We don't seem to have a test that tests that function, so let's do it here. We may add more nolibc tests in this file in the future. Signed-off-by: Ammar Faizi --- test/Makefile | 1 + test/nolibc.c | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 test/nolibc.c diff --git a/test/Makefile b/test/Makefile index 9590e1e..45674c3 100644 --- a/test/Makefile +++ b/test/Makefile @@ -101,6 +101,7 @@ test_srcs := \ mkdir.c \ msg-ring.c \ multicqes_drain.c \ + nolibc.c \ nop-all-sizes.c \ nop.c \ openat2.c \ diff --git a/test/nolibc.c b/test/nolibc.c new file mode 100644 index 0000000..e996f40 --- /dev/null +++ b/test/nolibc.c @@ -0,0 +1,60 @@ +/* SPDX-License-Identifier: MIT */ +/* + * Test liburing nolibc functionality. + * + * Currently, supported architectures are: + * 1) x86 + * 2) x86-64 + * 3) aarch64 + * + */ +#include "helpers.h" + +#if !defined(__x86_64__) && !defined(__i386__) && !defined(__aarch64__) + +/* + * This arch doesn't support nolibc. + */ +int main(void) +{ + return T_EXIT_SKIP; +} + +#else /* #if !defined(__x86_64__) && !defined(__i386__) && !defined(__aarch64__) */ + +#ifndef CONFIG_NOLIBC +#define CONFIG_NOLIBC +#endif + +#include +#include +#include "../src/lib.h" + +static int test_get_page_size(void) +{ + long a, b; + + a = sysconf(_SC_PAGESIZE); + b = get_page_size(); + if (a != b) { + fprintf(stderr, "get_page_size() fails, %ld != %ld", a, b); + return -1; + } + return 0; +} + +int main(int argc, char *argv[]) +{ + int ret; + + if (argc > 1) + return T_EXIT_SKIP; + + ret = test_get_page_size(); + if (ret) + return T_EXIT_FAIL; + + return T_EXIT_PASS; +} + +#endif /* #if !defined(__x86_64__) && !defined(__i386__) && !defined(__aarch64__) */ From patchwork Mon Jul 4 17:54:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ammar Faizi X-Patchwork-Id: 12905769 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 930C1C43334 for ; Mon, 4 Jul 2022 17:55:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230264AbiGDRza (ORCPT ); Mon, 4 Jul 2022 13:55:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230259AbiGDRza (ORCPT ); Mon, 4 Jul 2022 13:55:30 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BCD6646B for ; Mon, 4 Jul 2022 10:55:29 -0700 (PDT) Received: from integral2.. (unknown [36.81.65.188]) by gnuweeb.org (Postfix) with ESMTPSA id F332E8024B; Mon, 4 Jul 2022 17:55:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1656957329; bh=xth/MUDvJ+GnBq5UPBliavkj3h6/xeBFoQ2W83La9IM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KCJkZ0LPDotG1ynfJHmhQkb/6z/q/WWBjL6RkfjXYwDmqajO2E3DM1iNYw8Q+MTZm RWgALTqNRmf1Piq4rIDUOlzOYTNJW2oAHexFRoYcfrMYIg1KQuyDFSgx0zNUKirwT+ IY5km2syPoyKJVOYvxxKHkc/pcjSxPHDcx40W6hYYoCJr5Mv14rcCJe8+YGH4bHdQx GkgqrD85vCib4EWupiGRH55NkGQ8FP6EyFyI+qDwZxnWam1rCgF/4e1UvAhNJXhG2x 6VcS/5+OpfRV1WgMqx42lm1M/wBa7vw108N4EYP5LLfQwzm2bZLe16eDqI1ShzGbsa WOAWsluA9+P9A== From: Ammar Faizi To: Jens Axboe Cc: Ammar Faizi , Alviro Iskandar Setiawan , Fernanda Ma'rouf , Hao Xu , Pavel Begunkov , io-uring Mailing List , GNU/Weeb Mailing List Subject: [PATCH liburing v3 09/10] .github: Enable aarch64 nolibc build for GitHub bot Date: Tue, 5 Jul 2022 00:54:35 +0700 Message-Id: <20220704174858.329326-10-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220704174858.329326-1-ammar.faizi@intel.com> References: <20220704174858.329326-1-ammar.faizi@intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org From: Ammar Faizi Signed-off-by: Ammar Faizi --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 88192ff..fc119cb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -114,7 +114,7 @@ jobs: - name: Build nolibc run: | - if [[ "${{matrix.arch}}" == "x86_64" || "${{matrix.arch}}" == "i686" ]]; then \ + if [[ "${{matrix.arch}}" == "x86_64" || "${{matrix.arch}}" == "i686" || "${{matrix.arch}}" == "aarch64" ]]; then \ make clean; \ ./configure --cc=${{matrix.cc}} --cxx=${{matrix.cxx}} --nolibc; \ make -j$(nproc) V=1 CPPFLAGS="-Werror" CFLAGS="$FLAGS" CXXFLAGS="$FLAGS"; \ From patchwork Mon Jul 4 17:54:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ammar Faizi X-Patchwork-Id: 12905770 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F9EFC433EF for ; Mon, 4 Jul 2022 17:55:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230259AbiGDRze (ORCPT ); Mon, 4 Jul 2022 13:55:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231177AbiGDRzd (ORCPT ); Mon, 4 Jul 2022 13:55:33 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC83CDFF2 for ; Mon, 4 Jul 2022 10:55:32 -0700 (PDT) Received: from integral2.. (unknown [36.81.65.188]) by gnuweeb.org (Postfix) with ESMTPSA id AD5478024A; Mon, 4 Jul 2022 17:55:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1656957332; bh=zQ5DQmoxSwZ6Mva+LUDQuM5nON1RwWAYQmZoxevo84c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qt6WfdjVG9BSfixR1PCkoT0wxPkg8tdvfPkdcTTbHk0j+SE3ZxBlspJPj5EbqMNLD NkRQg6LJF98BNHzXYY5YofzwHkpCKpnNStAOJey5SGJsAMKlJsZWqj2U0xyoGmooqw AXh3kgcaCorv3SaAYp+whWcgmsWglErO/8Kplxm7WQM2sArsjJpFwEkzhrzpHeVPZK 5jYIe4LI9CSbsMkh3sB6TjOVJdfQt9xcrVxdOk6A5TBcidJFFMJdqKc1a+t1oeSKDa hXR4FAKZ9QLiA8f/lLTyMiLFPonYOhBTEuPSuUMGV0ffr7RUTSCBh28GO93iquYe4J IjEcIubPy+hIw== From: Ammar Faizi To: Jens Axboe Cc: Ammar Faizi , Alviro Iskandar Setiawan , Fernanda Ma'rouf , Hao Xu , Pavel Begunkov , io-uring Mailing List , GNU/Weeb Mailing List Subject: [PATCH liburing v3 10/10] CHANGELOG: Note about aarch64 support Date: Tue, 5 Jul 2022 00:54:36 +0700 Message-Id: <20220704174858.329326-11-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220704174858.329326-1-ammar.faizi@intel.com> References: <20220704174858.329326-1-ammar.faizi@intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org From: Ammar Faizi Signed-off-by: Ammar Faizi --- CHANGELOG | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index efb3ff3..9c054b0 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,8 @@ +liburing-2.3 release + +- Support non-libc build for aarch64. + + liburing-2.2 release - Support non-libc builds.