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 X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 441E6C76186 for ; Wed, 17 Jul 2019 10:56:05 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9804121743 for ; Wed, 17 Jul 2019 10:56:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9804121743 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arndb.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 45pZ1t52wbzDqZj for ; Wed, 17 Jul 2019 20:56:02 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=209.85.160.194; helo=mail-qt1-f194.google.com; envelope-from=arndbergmann@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=arndb.de Received: from mail-qt1-f194.google.com (mail-qt1-f194.google.com [209.85.160.194]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 45pV0G3QM2zDqLf for ; Wed, 17 Jul 2019 17:54:21 +1000 (AEST) Received: by mail-qt1-f194.google.com with SMTP id 44so22329955qtg.11 for ; Wed, 17 Jul 2019 00:54:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9AEqQoaGTAa0PqZng6tVavUS5clIessMaCOIARWHN9U=; b=SJ/PAduo6ICHeMF7a5ghoK44fRAcPtEhmOObTKiScaQMW9t++1ZOiWYzlc+pI9gtQJ g03iuoMZrWb8lQziDu1O4nNKo8lRwCAHACEa4aHw0lNQ1Waf525kb7VUybj6d87xqEN5 WW+2pErDArYUlF1xedKXIxT1qi4N1E5me3pLgymac7i3XYn1O8dcrvIu9kwrUwJVqqx+ vyuqT+W99QG/qVigA7g0sTi1SUwKiWjBQ8lIBaqXAsiKa7cExmgSwM6cgiHxc5sE5ivZ jFbtF6hK76mpSzvffe2P/A8w5nlDjJimUc2UpbxB7Gcrup2PLFjawFrprxGhfvFLnBFn fj3g== X-Gm-Message-State: APjAAAWXVx8yNVdzLqRzednrjttCGSWcMoXhHD08BGbQvvmcuMi6ES4K /UXaMGgEO5TTqkb3LSsP/Q682vRJev2/DsB+0Ow= X-Google-Smtp-Source: APXvYqwA3e0Hb/geagbCcwLScPUnQnKGWvdhC0OOCtTo0z46+Syjmze6aI0tfbRcL9XXOoSGgqg4OC9iYUrp9+KNhcg= X-Received: by 2002:aed:3e7c:: with SMTP id m57mr26678566qtf.204.1563350058887; Wed, 17 Jul 2019 00:54:18 -0700 (PDT) MIME-Version: 1.0 References: <20190717012719.5524-1-palmer@sifive.com> <20190717012719.5524-4-palmer@sifive.com> In-Reply-To: <20190717012719.5524-4-palmer@sifive.com> From: Arnd Bergmann Date: Wed, 17 Jul 2019 09:54:02 +0200 Message-ID: Subject: Re: [PATCH v2 3/4] arch: Register fchmodat4, usually as syscall 434 To: Palmer Dabbelt Content-Type: text/plain; charset="UTF-8" X-Mailman-Approved-At: Wed, 17 Jul 2019 20:54:01 +1000 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rich Felker , Catalin Marinas , Linux-sh list , Peter Zijlstra , Heiko Carstens , Stefan Agner , linux-mips@vger.kernel.org, James Bottomley , Namhyung Kim , kim.phillips@arm.com, Paul Mackerras , Deepa Dinamani , "H. Peter Anvin" , sparclinux , linux-ia64@vger.kernel.org, Will Deacon , linux-arch , linux-s390 , Hannes Reinecke , Yoshinori Sato , Helge Deller , the arch/x86 maintainers , Russell King - ARM Linux , Christian Borntraeger , Ingo Molnar , Geert Uytterhoeven , Linux ARM , James Hogan , Firoz Khan , Matt Turner , Fenghua Yu , Vasily Gorbik , Jiri Olsa , Tycho Andersen , Arnaldo Carvalho de Melo , Martin Schwidefsky , linux-m68k , Ivan Kokshaysky , Al Viro , Andy Lutomirski , Alexander Shishkin , Thomas Gleixner , Christian Brauner , Richard Henderson , Jens Axboe , David Howells , Michal Simek , Tony Luck , Parisc List , Linux API , Linux Kernel Mailing List , Ralf Baechle , Paul Burton , alpha , Linux FS-devel Mailing List , Borislav Petkov , linuxppc-dev , David Miller Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Wed, Jul 17, 2019 at 3:29 AM Palmer Dabbelt wrote: > > This registers the new fchmodat4 syscall in most places as nuber 434, > with alpha being the exception where it's 544. I found all these sites > by grepping for fspick, which I assume has found me everything. 434 is now pidfd_open, the next free one is 436. > arch/alpha/kernel/syscalls/syscall.tbl | 1 + > arch/arm/tools/syscall.tbl | 1 + > arch/arm64/include/asm/unistd32.h | 2 ++ You missed arch/arm64/include/asm/unistd.h, which contains __NR_compat_syscalls Arnd