From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=202.12.124.144 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794492939; b=ZTWzbbySgq5SZ4wozQ8DBb4dxCfmv8bIk+rjNUFXNpcOHPl4PBOmI8Yxp51v3/BfrQ1v +w70PDepMUa+sKmb4jTUmNE6+ZW8dU/dxPYiyQHWp/XNe2qxfw75eU4+nT1X/gQsKgCVm 6bXMswvY42qhSgtMzD5tywkdzSaaYYjB/PQExG41Ds2gBgzPdGgiy+R83KHqJqk9B2HZW s8csQc6kGI0COMOYHUkm1dB86IgV0IrcGRpXepugb4FMYVsD3mQ1twrPJGdtZ6gN2M+sV d13JG+f3kyqxHEUQQhu9JI448JfQqWYL24vGrA8z7Da7TmPt5a8pHPeQ8C2BEcOT7MA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794492939; h=DMARC-Filter:Received:Received:DKIM-Signature:DKIM-Signature: X-DKIM2-Info:DKIM2-Signature:X-DKIM2-Info:Message-Instance: X-ME-Sender:X-ME-Proxy-Cause:X-ME-Proxy:Feedback-ID:Received:X-Mailer: MIME-Version:X-ThreadId:Date:From:To:Cc:Message-Id:In-Reply-To: References:Subject:Content-Type:Content-Transfer-Encoding; bh=MnNonxZfn4jhLH91hzGPSmnjnuWOwKJ9GTOdPgW/XGs=; b=N1DSqZggpcGNPQwAW3wRF7xhKFP4cw9tQhL7fPyozAyt/9K0pfzj9VXyjz1PI2UtcNoi jBJUebXTaz30r35gEwiRPMQoCkObLplKx8zek8VFwmhUVYfg2lElrmtkTxLGmxfvsnoMo LXPI3Eo+wSdTgygAt3r6YvWf+SQVwHLio9mfYaQDGs4Bc0IJ2nJMfIOfoL+wUrjn9VpiZ g2OhFYfIW8JJSy77TxcFw8QrQSr4BSnDoXW26t3CPl4vlxsyeN6iR/9meNTo9UXR0zSZo LPXbwhozyg62R/XU5F55zu8N8OUTfUm4DKFQSBAMFWdy2oih1P97RN2ohmSI8SoneVA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass header.d=arndb.de header.i=@arndb.de header.a=rsa-sha256 header.s=fm2 header.b="naQ/MFh9"; dkim=pass header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=vDEryID5; arc=none smtp.remote-ip=202.12.124.144 Received: from fout-b1-smtp.messagingengine.com (fout-b1-smtp.messagingengine.com [202.12.124.144]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0D084606A321 for ; Thu, 12 Nov 2026 14:15:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0D084606A321 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=arndb.de header.i=@arndb.de header.a=rsa-sha256 header.s=fm2 header.b=naQ/MFh9; dkim=pass (2048-bit key, unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=vDEryID5 Received: from ams-compute-02.internal (ams-compute-02.internal [10.64.2.62]) by mailfout.stl.internal (Postfix) with ESMTP id 371AD1D00142 for ; Thu, 12 Nov 2026 09:15:38 -0500 (EST) Received: from ams-imap-03 ([10.64.2.23]) by ams-compute-02.internal (MEProxy); Thu, 12 Nov 2026 09:15:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1794492931; x=1794579331; bh=MnNonxZfn4jhLH91hzGPSmnjnuWOwKJ9GTOdPgW/XGs=; b= naQ/MFh95/QI6xXM+noPCk/tLZAZ7NV9U1VLZEGZRPeZwOEBqBd5hAXtO5waTOjV ca/EEI+V/ZgA23+fPAtuwes3iNqUb6965oLR9u6lasH1pBkSS7FvbIyWhevncpv9 u1uiy7wYS2bcdYA3rB8CcZdCWMQnKvsKMKoVuR6cXkVNip6lVhoYHCM9yu7e3NCe 40RULwdP/mH88y6SYced9tumQlXAj4Hgdqk4Nk4yt0VQ269WjT6GhQefSFdmWzzC dCSQLGr7L0tlE7ExqNVgym1dfXx/bi9R7tgr6ulQ9zm8LVj6Pkxo7rC1Ib70/9lP XzGAXKTw1kqKxj6xlMzUYg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1794492931; x= 1794579331; bh=MnNonxZfn4jhLH91hzGPSmnjnuWOwKJ9GTOdPgW/XGs=; b=v DEryID5qn2tgdxw1Nud7doHl1rtAro3c018luuNa9kZ3LzMzkKMOLbo+D+M4K+mx ae2k9Et8kkfbv68tJqUw+wylRmFQ2yFPt/yipIanglh7eVTWcWsqI0jRA1baAP8Z /ueonB5H7ZwAIogRgXn/a4djH4ldvph6NJH7IasqJTHzutH6HPbjEJ9gDaHTZLe0 On7WKKlRWFu6Ns0ymWFXhFF/s6odO8WRSx/ETK7B3lBreLz7F1gddAvCE5UE3tEJ pPgWnz1tLgCwkrppLShdukwZMJzrCh/hae+K3vt2DREXvYiB98vEkDEkIs5ItpeM NRhVEPhhxRjiLhB0sb8Sg== X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09; repo=github.com/dkim2wg/interop; date=2026-11-03; sw=lmtpprox; action=sign d=arndb.de a=rsa-sha256; DKIM2-Signature: i=1; m=1; t=1794492931; d=arndb.de; mf=PGFybmRAYXJuZGIuZGU+; rt=PGxpbnV4LWtlcm5lbEB2Z2VyLmtlcm5lbC5vcmc+; s=fm2:rsa-sha256:I7gVPUwPS0Xhr2GW9g/5b8x2nbrggIrmx//zzWJKUA0x2WC 81d7qXNdfwzSwNjbXAvdWNqPeyg2mD2SVsZQOJJdRSnUhFCw7zNAcFPhFk3qD5kX PI+E7Vwgrd6HNEde2okpHdxK3XDZSnCfDYlajsBuTXWf542IJCnUO/eJewlZIyq2 Y31JXT4MDwJZp+Rjn174tp+/gpdXnag33mEJoYM5vt4xPieG1MQVUsDTkES8YDV2 3BKtjZNMkZDzwNl7DiRZx0HXw8CffqZR1FBXV0Le1vCWu+lUI8QjSmfa7G0ECWCT FFPqet0Pbw0/KEXiqz4YpQYlmg9GrEpDzhckSaw==; X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09; repo=github.com/dkim2wg/interop; date=2026-11-03; sw=lmtpprox; action=mi-m=1; hc=12; hn=cc,content-transfer-encoding,content-type,date,feedback-id, from,in-reply-to,message-id,mime-version,references,subject,to; Message-Instance: m=1; h=sha256:9r5f4OUrpU08Y1FpmQTahFTgxuW7oF3cawvOFZqcuD0=:67SbXuG4oEDukWtafy3LN+dEdLYaqwctdN0akk5ezW0=; X-ME-Sender: X-ME-Proxy-Cause: dmFkZTE0t0FwBrWTDqyXlkUb4nfDISdRbGJULODMOYOjT3eMtqHrTAVPuqH1BpmjQejR8B d42P3Yu2FTAggVc8aDAvmV32ZsPGt7+n6RFAOGh9KMQUO7zm5fcMg6rurf61rTborRy3yY JdzOxFtrfj2tx3IOzF8B3PKRtV862GePpT4MlDWACCMOCO1EmaPEXFRR+gJGtji/hvGdZ5 Gq2Zd0ZYIkeK2tbjbY9PxG9crnviFDpNCQC3XEBd8qvrUV9Z1jpoKka6Stprg+YZPvfs97 MNnSgkWF+QV9f5SXvIWFsVw2Hbiz4cp1YReOfBaWogF74z6og/DCnuTPHbajHvBQnvKoJQ hrQrjlfTOE8IhvV1vRY0wCakfb8Q+rAWvnwn6QSNJDdtSQcAjqURXqe71NXD13M2BIlShZ eFrASTOtgcZbiGS1Rx3kQDZtP2kVIwTAQSJXtTwZ7PJNqJqAcIWT8PdElnQcMD6zVndYr2 J8d3WTWnw4Mt7S0ZaLDiz4CSDnuxIdXLqvBWYC1XE8e17Z6uwXUeN+lSyMrE7kA7JYTee9 dsuMwfIxKxqnCixgcb7SE/VJMhBiYOhgV5v3ieyml0NkRIMNohuveyYFxkO14kBhjcYT8r gPZiWQMBrtLwx+4LidChBpyPJFmtw573//KskcIB0yyCY1Bcsxci7K37etrA X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.ams.internal (Postfix, from userid 501) id 394A732A0099; Thu, 12 Nov 2026 09:15:27 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-ThreadId: Ahf2-alGehdV Date: Thu, 12 Nov 2026 15:15:05 +0100 From: "Arnd Bergmann" To: =?UTF-8?Q?Andr=C3=A9_Almeida?= , "Masami Hiramatsu" Cc: "Christian Brauner" , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, kernel-dev@igalia.com, "Thomas Bogendoerfer" , linux-alpha@vger.kernel.org, linux-s390@vger.kernel.org, linux-arm-kernel@lists.infradead.org, soc@lists.linux.dev, linux-mips@vger.kernel.org, sparclinux@vger.kernel.org Message-Id: In-Reply-To: <20261105-tonyk-syscall_table-v9-14-8d1275885d9c@igalia.com> References: <20261105-tonyk-syscall_table-v9-0-8d1275885d9c@igalia.com> <20261105-tonyk-syscall_table-v9-14-8d1275885d9c@igalia.com> Subject: Re: [PATCH v9 14/15] arm: Reorganize syscall table and separated the ABIs Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Thu, Nov 5, 2026, at 21:05, Andr=C3=A9 Almeida wrote: > arm has three ABIs: EABI, OABI and OABI with compat (OABIC). Those ABIs > shares almost every syscall, but have a few exceptions: some syscalls = only > have an entry point for OABI/C (e.g. sys_alarm), and some syscalls hav= e a > special entry point for OABIC (e.g. sys_oabi_pwrite64). > > Currently, the syscall table uses the compat column to specify when su= ch > OABI syscall needs an OABIC entry point. However, this makes tricky to= move > arm to use the common syscall table: arm doesn't use the compat entry > points for time64 (e.g. compat_sys_pselect6_time64) and rely on the no= rmal > entry point (e.g. sys_pselect6). Given that the build system will gene= rate > the same __SYSCALL_WITH_COMPAT() macro for the whole table, this would > create inconsistency where some syscalls would point to the wrong entr= y. > > To avoid this problem and prepare the architecture to move to the comm= on > table, separate explicitly the ABIs in the local syscall table and dro= p all > entries for the compat column. Make sure that __SYSCALL_WITH_COMPAT() > always points to the native option. > > Signed-off-by: Andr=C3=A9 Almeida > --- > This patch was tested comparing the results of `$ strings > arch/arm/kernel/entry-common.o` before and after this patch. Aside from the two mistakes that sashiko found, thsi looks fine. Two related points though: - hopefully we can expedite dropping OABI support now, as there was a report today about how it has been broken for the past 5 years. - on top of this patch, it should be much easier to merge this file with the arm64 version of the arm eabi table. On the other hand, that can probably wait until OABI is actually gone. Arnd