From patchwork Tue Jul 5 07:43:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ammar Faizi X-Patchwork-Id: 12906035 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 02925CCA47C for ; Tue, 5 Jul 2022 07:45:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229463AbiGEHpJ (ORCPT ); Tue, 5 Jul 2022 03:45:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229779AbiGEHpH (ORCPT ); Tue, 5 Jul 2022 03:45:07 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D763412D06 for ; Tue, 5 Jul 2022 00:45:06 -0700 (PDT) Received: from integral2.. (unknown [36.81.65.188]) by gnuweeb.org (Postfix) with ESMTPSA id BFD0F804C1; Tue, 5 Jul 2022 07:45:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1657007106; bh=2+vkFY/cAwJcxO/eliCRmSw5WdJfTavO74HpsygISOY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=j5ptV+1acAKBtBMt+Y75TN7v1EPRznI2kl7SRNjgJX9BOe+5FIpqD8n3DT7DdDHwV UGctxQQcLa1nq8c+XkIFJPrptDDqGqcvIrIwhNmKU2nekRDjWlYMEdzlmbIpT1IaAs 8WhtRqQTewwA8ZlVKbgtxLRVwhtweSa8X5S6ZyCyVRScFp9w1uzYwMN7klLjz11sve SXclyJe22gJO7NGs/X+wF6Rmq/aU6eQa4g/ViE6ceXIG0zOgTbP4YA75A/5clYTKuh DSn6ynDfdfq1iLQ7P/YUasX9pltxvUGLO76x+VSOPnT0sXly6OsBzH3X/KOInc7HKJ 9cdhCOHzBQ16A== 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 v5 01/10] CHANGELOG: Fixup missing space Date: Tue, 5 Jul 2022 14:43:51 +0700 Message-Id: <20220705073920.367794-2-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220705073920.367794-1-ammar.faizi@intel.com> References: <20220705073920.367794-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 Tue Jul 5 07:43:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ammar Faizi X-Patchwork-Id: 12906036 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 E0126C43334 for ; Tue, 5 Jul 2022 07:45:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229782AbiGEHpM (ORCPT ); Tue, 5 Jul 2022 03:45:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229779AbiGEHpL (ORCPT ); Tue, 5 Jul 2022 03:45:11 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CDA812D06 for ; Tue, 5 Jul 2022 00:45:10 -0700 (PDT) Received: from integral2.. (unknown [36.81.65.188]) by gnuweeb.org (Postfix) with ESMTPSA id 162B7804C5; Tue, 5 Jul 2022 07:45:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1657007110; bh=pW9IwT0NhgzgYupZV0di74lCCTqvlb2sS0263D7hWlw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=piB8NMlgs+aLn4YeY62QujJXM9U685XS9ofEu41BnCI0dJl5xEPadMK096xU0gnw8 8BiCCkhM6OB6AnVjjrAkSbUmPR/yKQiE/c/0FC2rf7ztViZBgKOt0EL+8OuEvZqvlZ wdcdCwJXl4WYNPuo4lMb5EHIbyUG3aXmbxy4mlEzj1/bqhGxne/+Q6+I5CLxnXr6gg s/m9DvDrkBPTIio74P9eLL4FUiWmTatfKHhmcEevvlHEcCRIGkTl4jXw92btt1pjCA ef7RoK2VQcriE/Qu043/b8nmUNT2Tc84rqXzLnZLgsZb7Opmyyz4G/3aNsvLQqCfiN eJmYtI3duhz5g== 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 v5 02/10] arch: syscall: Add `__sys_open()` syscall Date: Tue, 5 Jul 2022 14:43:52 +0700 Message-Id: <20220705073920.367794-3-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220705073920.367794-1-ammar.faizi@intel.com> References: <20220705073920.367794-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. Reviewed-by: Alviro Iskandar Setiawan Signed-off-by: Ammar Faizi --- 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..d38b5f3 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 Tue Jul 5 07:43:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ammar Faizi X-Patchwork-Id: 12906037 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 06235C43334 for ; Tue, 5 Jul 2022 07:45:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229795AbiGEHpP (ORCPT ); Tue, 5 Jul 2022 03:45:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229779AbiGEHpO (ORCPT ); Tue, 5 Jul 2022 03:45:14 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7FE812D06 for ; Tue, 5 Jul 2022 00:45:13 -0700 (PDT) Received: from integral2.. (unknown [36.81.65.188]) by gnuweeb.org (Postfix) with ESMTPSA id C56F3801E6; Tue, 5 Jul 2022 07:45:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1657007113; bh=aWHzBpvLN2HYJbYqDk3KmU1XjFfnCdTXUT14Tux6Ons=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dvx9V5V9Co8LeOhmfWsnCf2Texkivu9iF29OAKPPcIDY6IJThJtZcPe/xtjDNMIkR 1EIb335QIwaLEbVhgUI4e9d+Pj/NQ1o2UpIy3RGWZfISy/0WbgzIOi1dbnE298hQ4D csd6aKvTYXnKSWVBFvrxvToXXIy5yZ+KPGfrKcgYHrawJrDaSnDpAdO26PD49vOdTL E+bUHuOV6tKsSyxFWMHvzK8FB5Ciwo5HH5tS5Zum9BQW8th2VPBF1pPFK18sm7vcyh A720YCulFza6y29XemXP1B4tQZ1Cb/rJTtj+Y2cb/ZCkssJgXyFR7iBaqMkVrL2HDe +RVXSrbJSiD1Q== 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 v5 03/10] arch: syscall: Add `__sys_read()` syscall Date: Tue, 5 Jul 2022 14:43:53 +0700 Message-Id: <20220705073920.367794-4-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220705073920.367794-1-ammar.faizi@intel.com> References: <20220705073920.367794-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. Reviewed-by: Alviro Iskandar Setiawan Signed-off-by: Ammar Faizi --- 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 d38b5f3..df90e0d 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 ssize_t __sys_read(int fd, void *buffer, size_t size) +{ + return (ssize_t) __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 Tue Jul 5 07:43:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ammar Faizi X-Patchwork-Id: 12906038 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 D9630C433EF for ; Tue, 5 Jul 2022 07:45:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229896AbiGEHpS (ORCPT ); Tue, 5 Jul 2022 03:45:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229512AbiGEHpR (ORCPT ); Tue, 5 Jul 2022 03:45:17 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A5C512D06 for ; Tue, 5 Jul 2022 00:45:17 -0700 (PDT) Received: from integral2.. (unknown [36.81.65.188]) by gnuweeb.org (Postfix) with ESMTPSA id EE68A804BA; Tue, 5 Jul 2022 07:45:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1657007116; bh=6bBA0RzqNQHU+KNZkMB9Bl8Vzccae/D0VMnWkd8WCaM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IKrl7SrFuqglteQCI+HLm/U4tSDv8Ht825tVd8fwLLT9u+Z5uYeSeQ8L8GSjTnx0p BHhyoxs+y2JtWfkz6P7CrJ1lInCajRapXNgYIhsnUtWaI9FbkU2dFLNcmkiR00PXpS JxzNFY8Frrlxt3KsaYj66jaXaNdmw35Pp4kOLSn1RVijx4pEa/2tEUlQ/MLC3kUAdu icVaWmj/ubOl8TfCx27MCFgVWOoaRu2buAqF/YL+xCfHuG1FZw/qJyRGQLFiNIfkhU MV6nxTLxoB1PKSoXFJFRmR+hKujAr5MOL0UeO7lsk8ic/bHCseUyPsNKYQcMifAeVk J30Yh5jsm5Paw== 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 v5 04/10] arch: Remove `__INTERNAL__LIBURING_LIB_H` checks Date: Tue, 5 Jul 2022 14:43:54 +0700 Message-Id: <20220705073920.367794-5-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220705073920.367794-1-ammar.faizi@intel.com> References: <20220705073920.367794-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. Reviewed-by: Alviro Iskandar Setiawan 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 Tue Jul 5 07:43:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ammar Faizi X-Patchwork-Id: 12906039 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 AD4B6C43334 for ; Tue, 5 Jul 2022 07:45:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229917AbiGEHpV (ORCPT ); Tue, 5 Jul 2022 03:45:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229512AbiGEHpU (ORCPT ); Tue, 5 Jul 2022 03:45:20 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 198B012D06 for ; Tue, 5 Jul 2022 00:45:20 -0700 (PDT) Received: from integral2.. (unknown [36.81.65.188]) by gnuweeb.org (Postfix) with ESMTPSA id 2C546804D1; Tue, 5 Jul 2022 07:45:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1657007119; bh=aWmyb7aWPqdN5BDugTVPn2wOOXVGY+QNYH3gJSW9y14=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fIv2dLbIi1FpcdQMxp0hBbv2adurvYhTSBOdU1V8xaBIvhnoCGEywF7T4blNsYoW7 pa5GLoc4fGsSjMIJvYutKbIfzkfinwQs4n48ygOqNQrhKjzVP87tg7wdvTgOPCRXjR qbcwHf67VvJposTWBMc0gQw4/YiHmGwqBU7kfPThsRL9netbvIZFizGxvC0A2mB2X2 hi+eoocg2A4OvI+0Wz/nV9OPRU/y1R8BURWEnuEPAzwtqluD3wow9Mbk/Aqlx1uAlG zds1H7Y/Ut35gTFZHC6eTAKm4n7bc4eCko3X7+Iclw+hruCxqL2JGO+lgkoJJ83PKY H1efs3YPqWmbA== 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 v5 05/10] arch/aarch64: lib: Add `get_page_size()` function Date: Tue, 5 Jul 2022 14:43:55 +0700 Message-Id: <20220705073920.367794-6-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220705073920.367794-1-ammar.faizi@intel.com> References: <20220705073920.367794-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]. v4: - Simplify __get_page_size() function (review from Alviro). 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 Reviewed-by: Alviro Iskandar Setiawan Signed-off-by: Ammar Faizi --- src/arch/aarch64/lib.h | 48 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 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..5a75c1a --- /dev/null +++ b/src/arch/aarch64/lib.h @@ -0,0 +1,48 @@ +/* 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) +{ + Elf64_Off buf[2]; + long ret = 4096; + int fd; + + fd = __sys_open("/proc/self/auxv", O_RDONLY, 0); + if (fd < 0) + return ret; + + while (1) { + ssize_t x; + + x = __sys_read(fd, buf, sizeof(buf)); + if (x < sizeof(buf)) + 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 Tue Jul 5 07:43:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ammar Faizi X-Patchwork-Id: 12906040 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 81E31C433EF for ; Tue, 5 Jul 2022 07:45:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229924AbiGEHpY (ORCPT ); Tue, 5 Jul 2022 03:45:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229512AbiGEHpY (ORCPT ); Tue, 5 Jul 2022 03:45:24 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A79EF12D06 for ; Tue, 5 Jul 2022 00:45:23 -0700 (PDT) Received: from integral2.. (unknown [36.81.65.188]) by gnuweeb.org (Postfix) with ESMTPSA id 73B8380247; Tue, 5 Jul 2022 07:45:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1657007123; bh=RZUNWCvb6CfPewwuaMjfuJRp0z32RubJz4HZjneKwdo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dWhsKubCnX9FCmRBKCLrBwgssfuVi5N2Hp5QbgpV+9kCXFhYUug4Vtj/xIGe0ymn5 Wh82dlpFUT7WfiUuhu9zaDxj7j/6oS3SoMgu8M2iOJTEpGRgIdSFXOvHcUWglPJgBh 3ht7UNXYvx3jb+4I+Ks77blfJ9gztLVLqBHK2N7oyNpmljCkasPPg2j8OI33km7seA gQxt8I0hJyG8LOvZTavGX5uYIQOUl6X81gf05w5ZGPfpyEdFlSGeN5zE+oMswPgFi8 NhhGeUIZLNDhQfM80nKhIOnpd4uv8mr/Rjbqarxsf3++1Xq0FScYsulFUNwv0KF2Pl npCMmQvGi3J+g== 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 v5 06/10] lib: Style fixup for #if / #elif / #else / #endif Date: Tue, 5 Jul 2022 14:43:56 +0700 Message-Id: <20220705073920.367794-7-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220705073920.367794-1-ammar.faizi@intel.com> References: <20220705073920.367794-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 Tue Jul 5 07:43:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ammar Faizi X-Patchwork-Id: 12906041 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 9880DC43334 for ; Tue, 5 Jul 2022 07:45:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229512AbiGEHp3 (ORCPT ); Tue, 5 Jul 2022 03:45:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229935AbiGEHp3 (ORCPT ); Tue, 5 Jul 2022 03:45:29 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C80D813D68 for ; Tue, 5 Jul 2022 00:45:27 -0700 (PDT) Received: from integral2.. (unknown [36.81.65.188]) by gnuweeb.org (Postfix) with ESMTPSA id EA156804C1; Tue, 5 Jul 2022 07:45:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1657007127; bh=FveaZGALRuvhoMHrWSZliK1bwLSB96JV/GOf2wakANQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OrVHtYzN+AlaSdrl+GeRJxqUFlbyI1PlNf6Hmed8Eyv/x5bpO/GECCkkkUuJAx4SR Gx7WlucApcMDsNgzQKnnauIaGOaG2Xlir2ud1liPZRb/O6NeQYo5RjYZyE2X0qKbAa VvFhgHD5TwsyZwwkG30Su4B085K679t2QQTBEvpu5zbOgXoXu4Yu66Y1yjw2qUf6d4 da/+ho/auew/81BtqlNKGDC5BInrOlW4vtSzSFALvMDTYbFcOs3Z/3fhzdorFepK++ zMvMYf2Yat8XeVaXXqNSUny/AHOEB4yMUeoDn9fHE6yXlbdCCx+lucUDLSpyL+iVKD 27jm2/4Ic6ghA== 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 v5 07/10] lib: Enable nolibc support for aarch64 Date: Tue, 5 Jul 2022 14:43:57 +0700 Message-Id: <20220705073920.367794-8-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220705073920.367794-1-ammar.faizi@intel.com> References: <20220705073920.367794-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 Tue Jul 5 07:43:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ammar Faizi X-Patchwork-Id: 12906042 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 E1EEFC433EF for ; Tue, 5 Jul 2022 07:45:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229935AbiGEHpd (ORCPT ); Tue, 5 Jul 2022 03:45:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229931AbiGEHpc (ORCPT ); Tue, 5 Jul 2022 03:45:32 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF35B12D06 for ; Tue, 5 Jul 2022 00:45:31 -0700 (PDT) Received: from integral2.. (unknown [36.81.65.188]) by gnuweeb.org (Postfix) with ESMTPSA id 2003F804BD; Tue, 5 Jul 2022 07:45:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1657007131; bh=/5qcG31eJQK5GkghLU0sdquGRMyxXYDRZ0isT3CtopU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=izB1uYrZRv8hBagCxepzCJSOnqtkRwT9TCh56Y6qdqsXs1ADdmLS1naW5uFhWyYKO DTjkKV7XWrYLSmCF4/ZF65fuhpMHcS4nG05sSKNg3ZGbVzpPLEwSqop2FUWdkO8qv0 riRsNBlW1taVEkEcvGlGiHzVphBPCH/3Rkd4RiknkGrWFwO0cHuOiQ3plBFFHGuiSj C5kR5844dOqsP1wGamWRrG4Zatvbu3u0CdqGx1mzXIrScTpY9e3TdGAFAshCcI/Oga Q64lkG3Xrdc7Pw+U1IiX0b9u9RgMNqVlvpqW5CFBPZmPOpCnqdcQl3YOUFv68el56U Z8ZekjeEM2QsA== 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 v5 08/10] test: Add nolibc test Date: Tue, 5 Jul 2022 14:43:58 +0700 Message-Id: <20220705073920.367794-9-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220705073920.367794-1-ammar.faizi@intel.com> References: <20220705073920.367794-1-ammar.faizi@intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org From: Ammar Faizi Test liburing nolibc functionality. The first use case of this test is to test get_page_size() function as we don't seem to have a test that tests this path. This is especially important for aarch64 because we rely on reading /proc/self/auxv rather than hard coding it like what we do for x86 and x86-64. We may add more nolibc tests in this file in the future. Reviewed-by: Alviro Iskandar Setiawan 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 Tue Jul 5 07:43:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ammar Faizi X-Patchwork-Id: 12906043 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 0C43AC433EF for ; Tue, 5 Jul 2022 07:45:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229945AbiGEHpg (ORCPT ); Tue, 5 Jul 2022 03:45:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229778AbiGEHpf (ORCPT ); Tue, 5 Jul 2022 03:45:35 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD6D312D06 for ; Tue, 5 Jul 2022 00:45:34 -0700 (PDT) Received: from integral2.. (unknown [36.81.65.188]) by gnuweeb.org (Postfix) with ESMTPSA id C7AC3804BA; Tue, 5 Jul 2022 07:45:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1657007134; bh=xth/MUDvJ+GnBq5UPBliavkj3h6/xeBFoQ2W83La9IM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UldYzTG1S0nWSTatrndela9VQmdb80Jab6FVGTQZby25KexCy5CZIhDSjzSzhdgvS 5Nx8i7Bpv5gdTCWs9CwFE8ToxsEjX/TuG+T5U9oNfIsQ0BMr6WFEI25U8KWqIPoUE7 paLyZcJPo0PT4D+ednRWBOmHlVQmlYVFRPMpJfByFuX+i5cSebDVppGkKc1SeCO7hl QSywVXSVGtKPGpJL47TYrxZulcpZGRzYO7EIjmBgcsvTELiyzcnKIivqXhUEr+0MzZ 9k4buvcH4ygkLjfq/uM4Ug2mii3nAkdmM+DU1Ri9IG2ntagm0ElAYKAedZyDluevav LVsz6UQkaUoVA== 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 v5 09/10] .github: Enable aarch64 nolibc build for GitHub bot Date: Tue, 5 Jul 2022 14:43:59 +0700 Message-Id: <20220705073920.367794-10-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220705073920.367794-1-ammar.faizi@intel.com> References: <20220705073920.367794-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 Tue Jul 5 07:44:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ammar Faizi X-Patchwork-Id: 12906044 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 CB208C433EF for ; Tue, 5 Jul 2022 07:45:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229778AbiGEHpj (ORCPT ); Tue, 5 Jul 2022 03:45:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229960AbiGEHpi (ORCPT ); Tue, 5 Jul 2022 03:45:38 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2D0E13D2A for ; Tue, 5 Jul 2022 00:45:37 -0700 (PDT) Received: from integral2.. (unknown [36.81.65.188]) by gnuweeb.org (Postfix) with ESMTPSA id 0B555804D1; Tue, 5 Jul 2022 07:45:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1657007137; bh=zQ5DQmoxSwZ6Mva+LUDQuM5nON1RwWAYQmZoxevo84c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ISU7ajVPCULHnRZzFBhH7G4UelUp6k/sEDpLMQVa8NV9RuQryqeazB9l8KcH4Ehe5 ya9PbUeh2D0AlLAPccUQJgo0vtCZTrJ7wYsgS11nvTtlpr7UOd/xFt5Y8r5F6Z8/t0 uB69oagSMhVHeFhje19bXX05d2CpPuLK3ALtz5d0J+N1+erMA4WiLK9Y3ZJqLSDhlO Pv6SmhMRIQGJOH1nsOygWtXhF+iUg/5lIyOH/SmvO79QKkBtiTdCXgzmeuAqq3jAt6 8XUnmaGgHDMQaZqd73/5RwIncFc9Xk5YtCx0uwEaIrqgAu6fgxV9ZOpkIT2Y+bd2yW aJ2ZxGmKJJ8oA== 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 v5 10/10] CHANGELOG: Note about aarch64 support Date: Tue, 5 Jul 2022 14:44:00 +0700 Message-Id: <20220705073920.367794-11-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220705073920.367794-1-ammar.faizi@intel.com> References: <20220705073920.367794-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.