Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36698480rwd; Tue, 11 Jul 2023 04:43:14 -0700 (PDT) X-Google-Smtp-Source: APBJJlG/bxWutVSZa0wQ13aMLe+7xJ3Rr0ksjY4h6ouhVgHwi9l6KJjVMF5DZms3J1nBUYkdqF4F X-Received: by 2002:a17:906:4357:b0:974:183a:54b6 with SMTP id z23-20020a170906435700b00974183a54b6mr14568947ejm.33.1689075794327; Tue, 11 Jul 2023 04:43:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689075794; cv=none; d=google.com; s=arc-20160816; b=OR5QBUtnMY+/rCIO8L5WHLLv+SvfCgFt7A6uo0gdRHO3LohW9g0mPJFviONPy6L5TH SakU+bvI+DoMpnGpaZhYPw/Wj/H+SWsdRmq4AS8B2PX/eukl4Hs5wUDHwf77vj4HSeHW LbqaxArD8+s/5hXuVias6bktdVDjV+LrKv7/c44ZjCtJJQt1wp1Hxu/RsMT2ZKN9vfli eITwD8WZ7QeR2qCOkB2aaNAvfVQOYdzzx4F5RAPgh63xt35PRcCA5RQ0Y4mBQbyD2YG6 mwFVabgk5PW1/1sNKmc8Ul07su6ljYB45t3m4QKsOfqC/3A8W2wM1rjp/N3Or5vd9vJB bvcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=/Cvj5KuDdmHIGd859qaJsBs/f1fpWATGo78ystxolZ8=; fh=BK03UIJdZ5faisyhx73eBFoGuzHbItMjRUq8mHznrg8=; b=NlZJJClBo4osyzCL9DZvYELBmBxkKrPb/3n7lCzZ+KJ/DrcCjrMp7yobt11FncJjEm Fr+jfGwpvL5SQsNc/ho/7Y9FZqHeqPqO0yBTu2V+yZW7vX6wxEeHdFRkmc9OfNRjfcjm lJFp+F1QUUYaR+OLV27OrkU8Tknykt8omqHHvQGhslOq0iZ6/hhyiswVrK06pLAbyzdt PvLjXLHfnyf0wsnfRpjLk7JlUsD2qWcYBdf4P8e9fQQ00NSXIX6KZ/XSvefNFrtiyhv6 6CSWOEsgQeAhty9khnGpJwSpfTZlseliKKFr7K1ArOG2YI8tktSa7tLAWWx0V4DmRIqQ CKPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=C4Tl5XZg; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=QqHVCmHe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lj14-20020a170906f9ce00b00992f02a507bsi1851930ejb.864.2023.07.11.04.42.43; Tue, 11 Jul 2023 04:43:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=C4Tl5XZg; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=QqHVCmHe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230375AbjGKLcM (ORCPT + 99 others); Tue, 11 Jul 2023 07:32:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbjGKLcJ (ORCPT ); Tue, 11 Jul 2023 07:32:09 -0400 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2E2EA6; Tue, 11 Jul 2023 04:32:08 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 755C55C00E7; Tue, 11 Jul 2023 07:32:05 -0400 (EDT) Received: from imap50 ([10.202.2.100]) by compute6.internal (MEProxy); Tue, 11 Jul 2023 07:32:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1689075125; x=1689161525; bh=/C vj5KuDdmHIGd859qaJsBs/f1fpWATGo78ystxolZ8=; b=C4Tl5XZgJGIc7j43HJ 4fGyI/IRlktc3w6e0XFyC1Sg6fp8cLDzoB1xPJ/yosSCoI1QS/IIkA7A0lmOtSB5 8dS0sjpFCOyKj521J54iNrg2Ng8+adx4HMWT43DkM+FJcICGaQpids1RewgEq1Xj 0mY/MPzvKuffj8CGY+mzm9mDWmVhhvEbPTNxnU75mrfiB7BL+Eq7WxgavTeKOobo O8eQk0OtdaNegptl2lVjD4jRydZYvCjVnTJ66OECZngYMjqizqY133wtbpYlGLGk nxZgL729F0mocqDVx9p2E8s6g3NUBTZ0kf1O2D7yx4W09UvSleY+E25vqJ6FkgSF Hfrg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1689075125; x=1689161525; bh=/Cvj5KuDdmHIG d859qaJsBs/f1fpWATGo78ystxolZ8=; b=QqHVCmHeA3F+kyNbq+cIkQQCEtoHx HsAMIDNNGIYjXVDzLpogMsF84iRhwfmY38lNiYRP4tDLqwRRID821vzTvgRLSw2N iQqDY6Iq8rWyG9lLkEmR5e/UJG9diErjrD8AFbczp0X5rKkN8AG44+gfgfPaGLvL hEL9WPOz/L9mb0cXjNy3JPxTH2oZtFGu2NYSMi0+g5/Ya/upwP8K+ycBfabbXSDS pC7VjP6/HjSulVngpPClEkB50uvje1m9i5hPtX8K305ne5TzZEfZciWBQo/Qos9j xbHxrcsOpeJnDp6IHEvgnIXFodpKlEk/s2SWjSA3iqRI90V/hVTnTDDhA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrfedtgdegudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdetrhhn ugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrghtth gvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedtkeet ffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrrh hnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id ECECE1700090; Tue, 11 Jul 2023 07:32:04 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-531-gfdfa13a06d-fm-20230703.001-gfdfa13a0 Mime-Version: 1.0 Message-Id: <55fee4b7-41f0-4f24-ad0e-a4527486bad1@app.fastmail.com> In-Reply-To: References: <87o8pscpny.fsf@oldenburg2.str.redhat.com> Date: Tue, 11 Jul 2023 13:31:44 +0200 From: "Arnd Bergmann" To: "Alexey Gladkov" , LKML , linux-api@vger.kernel.org, linux-fsdevel@vger.kernel.org, "Alexander Viro" Cc: "Palmer Dabbelt" , "James E . J . Bottomley" , "Arnaldo Carvalho de Melo" , "Alexander Shishkin" , "Jens Axboe" , "Benjamin Herrenschmidt" , "Christian Borntraeger" , "Borislav Petkov" , "Catalin Marinas" , christian@brauner.io, "Rich Felker" , "David S . Miller" , "Deepa Dinamani" , "Helge Deller" , "David Howells" , fenghua.yu@intel.com, firoz.khan@linaro.org, "Florian Weimer" , "Geert Uytterhoeven" , glebfm@altlinux.org, gor@linux.ibm.com, hare@suse.com, heiko.carstens@de.ibm.com, "H. Peter Anvin" , "Ivan Kokshaysky" , jhogan@kernel.org, "Kim Phillips" , ldv@altlinux.org, linux-alpha@vger.kernel.org, Linux-Arch , linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, "Russell King" , linuxppc-dev@lists.ozlabs.org, "Andy Lutomirski" , "Matt Turner" , "Ingo Molnar" , "Michal Simek" , "Michael Ellerman" , "Namhyung Kim" , paul.burton@mips.com, "Paul Mackerras" , "Peter Zijlstra" , ralf@linux-mips.org, rth@twiddle.net, schwidefsky@de.ibm.com, sparclinux@vger.kernel.org, stefan@agner.ch, "Thomas Gleixner" , "Tony Luck" , tycho@tycho.ws, "Will Deacon" , x86@kernel.org, "Yoshinori Sato" Subject: Re: [PATCH v3 3/5] arch: Register fchmodat4, usually as syscall 451 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 11, 2023, at 13:25, Alexey Gladkov wrote: > From: Palmer Dabbelt > > This registers the new fchmodat4 syscall in most places as nuber 451, > with alpha being the exception where it's 561. I found all these sites > by grepping for fspick, which I assume has found me everything. > > Signed-off-by: Palmer Dabbelt > Signed-off-by: Alexey Gladkov In linux-6.5-rc1, number 451 is used for __NR_cachestat, the next free one at the moment is 452. > arch/arm/tools/syscall.tbl | 1 + > arch/arm64/include/asm/unistd32.h | 2 ++ Unfortunately, you still also need to change __NR_compat_syscalls in arch/arm64/include/asm/unistd.h. Aside from these two issues, your patch is the correct way to hook up a new syscall. Arnd