From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from second.openwall.net (second.openwall.net [193.110.157.125]) by inbox.vuxu.org (Postfix) with SMTP id CD37A24D8F for ; Sun, 18 Feb 2024 03:28:14 +0100 (CET) Received: (qmail 31855 invoked by uid 550); 18 Feb 2024 02:24:06 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 30650 invoked from network); 18 Feb 2024 02:24:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtone.fr; s=google; t=1708223223; x=1708828023; darn=lists.openwall.com; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4iBczqdJOBPDZB+BeL4MswnAVURmWC9eyceBErwklYM=; b=a3qjciU7rjugwGGiW60zZC5r1KEyj27JJ4mHKN14HmKFRV5vl5/WrUj62WMIQuUEAs vofQdNpP0Bm3JGMmaj1WmSFr+gDd9adZWtq08SK01cJp9u19VyesJkgiueu3c+SF/0Fs C8mCI2IOkymDVGZfEOU8XZEz/kNhnv8tmeAc8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708223223; x=1708828023; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4iBczqdJOBPDZB+BeL4MswnAVURmWC9eyceBErwklYM=; b=KkPTHkO4vq1zdOTwSrUgSVCuwSmeQo05UITbQxcnzTMlvUNTv0pC5vcU1c3pHL6XR5 XduzYR3+HLwX74GBrll9fvPY/+jBapfCgp6pHtTnc4f/IRSWQDr4t7xPpu67s9QeOMlo 0mjkJ2ebVh3ZVmUV3SslAHi0LLUJVYVYCU63eBpt4M8NE8TTXQXYYbmdX02jc+A9wJCb laGz3wU4lnAaEvomhEPVOUfs+1qansMGRUle5uD6K2udxuxOI310XahQO8U4tJHgkxwd L3oCH48eENh87RuBv+HjyxEIjbiTCSAqQpCN9Wdg4G6WiIl+yH4VSmFfIGGGycVLGyqR PkSA== X-Gm-Message-State: AOJu0YxRdekLi0RrwN4MwYYnun7byjudO+np3m7WMtV3khrECmu/VaoD IwUF//qP9JJZKCZNxcDo4EFfjvWqeYOAMnRjLendKXofeAYAw8btD3fy/NXn1qJTXgAxv6qYXWi 6 X-Google-Smtp-Source: AGHT+IFftpHBvvRU53a//Cu++ndSUvzzKCsYApLgv/fYwTtqdxqQZjGIE9pgsVkEZzFS3oia8zgexg== X-Received: by 2002:a05:600c:1f93:b0:40f:b45c:85a5 with SMTP id je19-20020a05600c1f9300b0040fb45c85a5mr7010634wmb.22.1708223223570; Sat, 17 Feb 2024 18:27:03 -0800 (PST) From: =?UTF-8?q?Ga=C3=ABl=20PORTAY?= To: musl@lists.openwall.com Cc: =?UTF-8?q?Ga=C3=ABl=20PORTAY?= Date: Sun, 18 Feb 2024 03:26:47 +0100 Message-ID: <20240218022650.1097269-6-gael.portay@rtone.fr> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240218022650.1097269-1-gael.portay@rtone.fr> References: <20240218022650.1097269-1-gael.portay@rtone.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [musl] [PATCH v2 5/8] bits/syscall.h: add cachestat from linux v6.4 see linux commit cf264e1329fb0307e044f7675849f9f38b44c11a cachestat: implement cachestat syscall linux commit 946e697c69ffeeefdd84dad90eac307284df46be cachestat: wire up cachestat for other architectures --- arch/aarch64/bits/syscall.h.in | 1 + arch/arm/bits/syscall.h.in | 1 + arch/i386/bits/syscall.h.in | 1 + arch/m68k/bits/syscall.h.in | 1 + arch/microblaze/bits/syscall.h.in | 1 + arch/mips/bits/syscall.h.in | 1 + arch/mips64/bits/syscall.h.in | 1 + arch/mipsn32/bits/syscall.h.in | 1 + arch/or1k/bits/syscall.h.in | 1 + arch/powerpc/bits/syscall.h.in | 1 + arch/powerpc64/bits/syscall.h.in | 1 + arch/riscv64/bits/syscall.h.in | 1 + arch/s390x/bits/syscall.h.in | 1 + arch/sh/bits/syscall.h.in | 1 + arch/x32/bits/syscall.h.in | 1 + arch/x86_64/bits/syscall.h.in | 1 + 16 files changed, 16 insertions(+) diff --git a/arch/aarch64/bits/syscall.h.in b/arch/aarch64/bits/syscall.h.in index 9645daca..f2ea0cbe 100644 --- a/arch/aarch64/bits/syscall.h.in +++ b/arch/aarch64/bits/syscall.h.in @@ -303,4 +303,5 @@ #define __NR_process_mrelease 448 #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 +#define __NR_cachestat 451 diff --git a/arch/arm/bits/syscall.h.in b/arch/arm/bits/syscall.h.in index e77ba3f7..ccc023ed 100644 --- a/arch/arm/bits/syscall.h.in +++ b/arch/arm/bits/syscall.h.in @@ -403,6 +403,7 @@ #define __NR_process_mrelease 448 #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 +#define __NR_cachestat 451 #define __ARM_NR_breakpoint 0x0f0001 #define __ARM_NR_cacheflush 0x0f0002 diff --git a/arch/i386/bits/syscall.h.in b/arch/i386/bits/syscall.h.in index a2c40786..f11dbac3 100644 --- a/arch/i386/bits/syscall.h.in +++ b/arch/i386/bits/syscall.h.in @@ -440,4 +440,5 @@ #define __NR_process_mrelease 448 #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 +#define __NR_cachestat 451 diff --git a/arch/m68k/bits/syscall.h.in b/arch/m68k/bits/syscall.h.in index 5cdd3a39..d8f799e0 100644 --- a/arch/m68k/bits/syscall.h.in +++ b/arch/m68k/bits/syscall.h.in @@ -420,3 +420,4 @@ #define __NR_process_mrelease 448 #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 +#define __NR_cachestat 451 diff --git a/arch/microblaze/bits/syscall.h.in b/arch/microblaze/bits/syscall.h.in index e221a4a6..1b4bad8c 100644 --- a/arch/microblaze/bits/syscall.h.in +++ b/arch/microblaze/bits/syscall.h.in @@ -441,4 +441,5 @@ #define __NR_process_mrelease 448 #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 +#define __NR_cachestat 451 diff --git a/arch/mips/bits/syscall.h.in b/arch/mips/bits/syscall.h.in index 591f162c..a7b6b21c 100644 --- a/arch/mips/bits/syscall.h.in +++ b/arch/mips/bits/syscall.h.in @@ -422,4 +422,5 @@ #define __NR_process_mrelease 4448 #define __NR_futex_waitv 4449 #define __NR_set_mempolicy_home_node 4450 +#define __NR_cachestat 4451 diff --git a/arch/mips64/bits/syscall.h.in b/arch/mips64/bits/syscall.h.in index c579161e..09198a79 100644 --- a/arch/mips64/bits/syscall.h.in +++ b/arch/mips64/bits/syscall.h.in @@ -352,4 +352,5 @@ #define __NR_process_mrelease 5448 #define __NR_futex_waitv 5449 #define __NR_set_mempolicy_home_node 5450 +#define __NR_cachestat 5451 diff --git a/arch/mipsn32/bits/syscall.h.in b/arch/mipsn32/bits/syscall.h.in index 1afecd90..0aa50518 100644 --- a/arch/mipsn32/bits/syscall.h.in +++ b/arch/mipsn32/bits/syscall.h.in @@ -376,4 +376,5 @@ #define __NR_process_mrelease 6448 #define __NR_futex_waitv 6449 #define __NR_set_mempolicy_home_node 6450 +#define __NR_cachestat 6451 diff --git a/arch/or1k/bits/syscall.h.in b/arch/or1k/bits/syscall.h.in index 067d04f9..5279d3db 100644 --- a/arch/or1k/bits/syscall.h.in +++ b/arch/or1k/bits/syscall.h.in @@ -325,4 +325,5 @@ #define __NR_process_mrelease 448 #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 +#define __NR_cachestat 451 diff --git a/arch/powerpc/bits/syscall.h.in b/arch/powerpc/bits/syscall.h.in index 3da78244..39564a1b 100644 --- a/arch/powerpc/bits/syscall.h.in +++ b/arch/powerpc/bits/syscall.h.in @@ -429,4 +429,5 @@ #define __NR_process_mrelease 448 #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 +#define __NR_cachestat 451 diff --git a/arch/powerpc64/bits/syscall.h.in b/arch/powerpc64/bits/syscall.h.in index a6e04d97..e08f264e 100644 --- a/arch/powerpc64/bits/syscall.h.in +++ b/arch/powerpc64/bits/syscall.h.in @@ -401,4 +401,5 @@ #define __NR_process_mrelease 448 #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 +#define __NR_cachestat 451 diff --git a/arch/riscv64/bits/syscall.h.in b/arch/riscv64/bits/syscall.h.in index be9e401f..dbe05739 100644 --- a/arch/riscv64/bits/syscall.h.in +++ b/arch/riscv64/bits/syscall.h.in @@ -303,6 +303,7 @@ #define __NR_process_mrelease 448 #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 +#define __NR_cachestat 451 #define __NR_sysriscv __NR_arch_specific_syscall #define __NR_riscv_flush_icache (__NR_sysriscv + 15) diff --git a/arch/s390x/bits/syscall.h.in b/arch/s390x/bits/syscall.h.in index e0425f54..21577df5 100644 --- a/arch/s390x/bits/syscall.h.in +++ b/arch/s390x/bits/syscall.h.in @@ -366,4 +366,5 @@ #define __NR_process_mrelease 448 #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 +#define __NR_cachestat 451 diff --git a/arch/sh/bits/syscall.h.in b/arch/sh/bits/syscall.h.in index 79c4d365..da02e9c9 100644 --- a/arch/sh/bits/syscall.h.in +++ b/arch/sh/bits/syscall.h.in @@ -413,4 +413,5 @@ #define __NR_process_mrelease 448 #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 +#define __NR_cachestat 451 diff --git a/arch/x32/bits/syscall.h.in b/arch/x32/bits/syscall.h.in index 8a2cf7b0..d239c587 100644 --- a/arch/x32/bits/syscall.h.in +++ b/arch/x32/bits/syscall.h.in @@ -312,6 +312,7 @@ #define __NR_process_mrelease (0x40000000 + 448) #define __NR_futex_waitv (0x40000000 + 449) #define __NR_set_mempolicy_home_node (0x40000000 + 450) +#define __NR_cachestat (0x40000000 + 451) #define __NR_rt_sigaction (0x40000000 + 512) diff --git a/arch/x86_64/bits/syscall.h.in b/arch/x86_64/bits/syscall.h.in index 439b2bfa..0067d33b 100644 --- a/arch/x86_64/bits/syscall.h.in +++ b/arch/x86_64/bits/syscall.h.in @@ -359,4 +359,5 @@ #define __NR_process_mrelease 448 #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 +#define __NR_cachestat 451 -- 2.43.2