From patchwork Fri Sep 20 15:10:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 13808565 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 lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E770ACF9C41 for ; Fri, 20 Sep 2024 15:12:40 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srfHg-00027f-Rg; Fri, 20 Sep 2024 11:11:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srfHc-00025E-NJ; Fri, 20 Sep 2024 11:10:57 -0400 Received: from mout.kundenserver.de ([217.72.192.73]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srfHZ-0003mw-9C; Fri, 20 Sep 2024 11:10:56 -0400 Received: from quad ([82.64.211.94]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MTiHb-1sNoBC3meL-00Tjyt; Fri, 20 Sep 2024 17:10:36 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Cc: Brian Cain , Liu Zhiwei , Weiwei Li , Laurent Vivier , Alistair Francis , qemu-riscv@nongnu.org, Daniel Henrique Barboza , Bin Meng , Palmer Dabbelt Subject: [PATCH 0/6] linux-user: move all remaining archs to syscalltbl Date: Fri, 20 Sep 2024 17:10:28 +0200 Message-ID: <20240920151034.859533-1-laurent@vivier.eu> X-Mailer: git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FRuN1F0KxZHTfNpP9p+Q== Received-SPF: pass client-ip=217.72.192.73; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org linux v6.11 has moved all the remaining archs to syscalltbl, update QEMU accordingly. Remove scripts/gensyscalls.sh that is now useless. Update headers to v6.11 Based-on: <20240918074256.720617-1-laurent@vivier.eu> Laurent Vivier (6): linux-user,aarch64: move to syscalltbl file linux-user,openrisc: move to syscalltbl file linux-user,riscv: move to syscalltbl file linux-user,hexagon: move to syscalltbl file linux-user,loongarch: move to syscalltbl file linux-user: update syscall.tbl to Linux v6.11 configs/targets/aarch64-linux-user.mak | 2 + configs/targets/aarch64_be-linux-user.mak | 2 + configs/targets/hexagon-linux-user.mak | 2 + configs/targets/loongarch64-linux-user.mak | 2 + configs/targets/or1k-linux-user.mak | 2 + configs/targets/riscv32-linux-user.mak | 3 + configs/targets/riscv64-linux-user.mak | 3 + linux-user/aarch64/meson.build | 6 + linux-user/aarch64/syscall_64.tbl | 405 +++++++++++++++++++++ linux-user/aarch64/syscall_nr.h | 331 +---------------- linux-user/aarch64/syscallhdr.sh | 28 ++ linux-user/arm/syscall.tbl | 1 + linux-user/hexagon/meson.build | 6 + linux-user/hexagon/syscall.tbl | 405 +++++++++++++++++++++ linux-user/hexagon/syscall_nr.h | 348 ------------------ linux-user/hexagon/syscallhdr.sh | 28 ++ linux-user/i386/syscall_32.tbl | 7 +- linux-user/loongarch64/meson.build | 7 + linux-user/loongarch64/syscall.tbl | 405 +++++++++++++++++++++ linux-user/loongarch64/syscall_nr.h | 324 ----------------- linux-user/loongarch64/syscallhdr.sh | 28 ++ linux-user/meson.build | 2 + linux-user/openrisc/meson.build | 5 + linux-user/openrisc/syscall.tbl | 405 +++++++++++++++++++++ linux-user/openrisc/syscall_nr.h | 350 ------------------ linux-user/openrisc/syscallhdr.sh | 28 ++ linux-user/riscv/cpu_loop.c | 2 +- linux-user/riscv/meson.build | 6 + linux-user/riscv/syscall.tbl | 405 +++++++++++++++++++++ linux-user/riscv/syscall32_nr.h | 325 ----------------- linux-user/riscv/syscall64_nr.h | 331 ----------------- linux-user/riscv/syscall_nr.h | 15 - linux-user/riscv/syscallhdr.sh | 28 ++ linux-user/syscall_defs.h | 7 +- linux-user/x86_64/syscall_64.tbl | 8 +- scripts/gensyscalls.sh | 103 ------ scripts/update-syscalltbl.sh | 5 + 37 files changed, 2231 insertions(+), 2139 deletions(-) create mode 100644 linux-user/aarch64/syscall_64.tbl create mode 100644 linux-user/aarch64/syscallhdr.sh create mode 100644 linux-user/hexagon/meson.build create mode 100644 linux-user/hexagon/syscall.tbl delete mode 100644 linux-user/hexagon/syscall_nr.h create mode 100644 linux-user/hexagon/syscallhdr.sh create mode 100644 linux-user/loongarch64/syscall.tbl delete mode 100644 linux-user/loongarch64/syscall_nr.h create mode 100644 linux-user/loongarch64/syscallhdr.sh create mode 100644 linux-user/openrisc/meson.build create mode 100644 linux-user/openrisc/syscall.tbl delete mode 100644 linux-user/openrisc/syscall_nr.h create mode 100644 linux-user/openrisc/syscallhdr.sh create mode 100644 linux-user/riscv/syscall.tbl delete mode 100644 linux-user/riscv/syscall32_nr.h delete mode 100644 linux-user/riscv/syscall64_nr.h delete mode 100644 linux-user/riscv/syscall_nr.h create mode 100644 linux-user/riscv/syscallhdr.sh delete mode 100755 scripts/gensyscalls.sh