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 390F7C3271E for ; Fri, 5 Jul 2024 12:11:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=pFpHPZUVqiVEtwp3r3Dw/zNfdVgU49QyIrwLOkbMVhg=; b=ahkilKUjKmZdtmwRK5wVHnVlx1 hKD3wSYK0JAFddAH9LBDYLUOtgKGPRQ8QDi+in6XBaTb0D6FRF4F/IYLolvSrE2HOYN2KBloMVC/s gtK1TI+KHo4PgUDw5rRh/8rklTyMF9MKw7UyTG8HWkP3gEttr/mmEI17/xtoVDR2WJ8dZYWht89K2 pQ0wJG9rzLmR2MkdPTQJBoQVp5jYNAICXfAzIEYmPfjhl0JzYtyXej8Eai0/f5o2E4ikG8/9nGh4o 56czkisrZJbthHOxbJzF8YQXUUOCDZLZ60dPPIOyC7aFUxdOgUccIoLmbo6EkH/Je2saHAOIlBOVP o/MWyntw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sPhmI-0000000FsSM-3R1u; Fri, 05 Jul 2024 12:11:02 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sPhm4-0000000FsL1-0Glg; Fri, 05 Jul 2024 12:10:49 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id AD4B462BC7; Fri, 5 Jul 2024 12:10:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7A637C116B1; Fri, 5 Jul 2024 12:10:40 +0000 (UTC) Date: Fri, 5 Jul 2024 13:10:38 +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 10/17] arm64: generate 64-bit syscall.tbl Message-ID: References: <20240704143611.2979589-1-arnd@kernel.org> <20240704143611.2979589-11-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240704143611.2979589-11-arnd@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240705_051048_173689_AAF00C6C X-CRM114-Status: GOOD ( 14.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Jul 04, 2024 at 04:36:04PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > Change the asm/unistd.h header for arm64 to no longer include > asm-generic/unistd.h itself, but instead generate both the asm/unistd.h > contents and the list of entry points using the syscall.tbl scripts that > we use on most other architectures. > > Once his is done for the remaining architectures, the generic unistd.h > header can be removed and the generated tbl file put in its place. > > The Makefile changes are more complex than they should be, I need > a little help to improve those. Ideally this should be done in an > architecture-independent way as well. > > Signed-off-by: Arnd Bergmann Acked-by: Catalin Marinas