From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 68E82C30658 for ; Fri, 5 Jul 2024 12:10:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=auyUDbURWvEbt/JM4U0pzmlJSztmi6UtdABSD9JGWI0=; b=XVzjyw5moOz8OA 6Ax0uIHmVnqlq7NweVW/K9qCSjfssW/UCfxtKH3LaRvt51t7k4tWKX9X7OorPVl2odHYBy39fJ43V dFlGofK7c/AQuyzoIzFtXQ1zO6V0h/bGByisBv++xIpk3XYfduBqlYrltliXvzMvNwZIcQoOSrxRC bXs6tea5g88B0xj9/5hLaAFR/Z2gL/UViK70jivhp4K1hON+VFs6wZED15tFpqqml1diHdYeBNbB/ /hiPEFMyf+sdx8lbgLcMxQd0bnoNUjm5Va080Fzvr3FxSXdmxdZ6Ligh9RTcbcoM/Kept7mK/pPDn TeEcl8RGm8/PvFxNmG6g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sPhm5-0000000FsLj-0KEP; Fri, 05 Jul 2024 12:10:49 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sPhlp-0000000FsGI-1uAc; Fri, 05 Jul 2024 12:10:34 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id EC3E3CE3D8C; Fri, 5 Jul 2024 12:10:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84A48C116B1; Fri, 5 Jul 2024 12:10:24 +0000 (UTC) Date: Fri, 5 Jul 2024 13:10:21 +0100 From: Catalin Marinas To: Arnd Bergmann Cc: linux-arch@vger.kernel.org, Arnd Bergmann , Masahiro Yamada , Nathan Chancellor , Nicolas Schier , Vineet Gupta , Russell King , Will Deacon , Guo Ren , Brian Cain , Huacai Chen , WANG Xuerui , Dinh Nguyen , Jonas Bonn , Stefan Kristiansson , Stafford Horne , Paul Walmsley , Palmer Dabbelt , Albert Ou , Rich Felker , John Paul Adrian Glaubitz , "David S. Miller" , Andreas Larsson , Christian Brauner , Mark Rutland , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, loongarch@lists.linux.dev, linux-openrisc@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH 09/17] arm64: convert unistd_32.h to syscall.tbl format Message-ID: References: <20240704143611.2979589-1-arnd@kernel.org> <20240704143611.2979589-10-arnd@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240704143611.2979589-10-arnd@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240705_051033_704337_4DB8C28A X-CRM114-Status: GOOD ( 19.89 ) X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+linux-snps-arc=archiver.kernel.org@lists.infradead.org On Thu, Jul 04, 2024 at 04:36:03PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > This is a straight conversion from the old asm/unistd32.h into the > format used by 32-bit arm and most other architectures, calling scripts > to generate the asm/unistd32.h header and a new asm/syscalls32.h headers. > > I used a semi-automated text replacement method to do the conversion, > and then used 'vimdiff' to synchronize the whitespace and the (unused) > names of the non-compat syscalls with the arm version. > > There are two differences between the generated syscalls names and the > old version: > > - the old asm/unistd32.h contained only a __NR_sync_file_range2 > entry, while the arm32 version also defines > __NR_arm_sync_file_range with the same number. I added this > duplicate back in asm/unistd32.h. > > - __NR__sysctl was removed from the arm64 file a while ago, but > all the tables still contain it. This should probably get removed > everywhere but I added it here for consistency. > > On top of that, the arm64 version does not contain any references to > the 32-bit OABI syscalls that are not supported by arm64. If we ever > want to share the file between arm32 and arm64, it would not be > hard to add support for both in one file. > > Signed-off-by: Arnd Bergmann Acked-by: Catalin Marinas _______________________________________________ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc