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=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 4EB9FC282F6 for ; Mon, 21 Jan 2019 09:02:52 +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 CA2AA2084A for ; Mon, 21 Jan 2019 09:02:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CA2AA2084A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org 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 43jltx6tzHzDqYX for ; Mon, 21 Jan 2019 20:02:49 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=209.85.221.195; helo=mail-vk1-f195.google.com; envelope-from=geert.uytterhoeven@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Received: from mail-vk1-f195.google.com (mail-vk1-f195.google.com [209.85.221.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 43jllD6KZlzDqWp for ; Mon, 21 Jan 2019 19:56:08 +1100 (AEDT) Received: by mail-vk1-f195.google.com with SMTP id 185so4415411vkc.3 for ; Mon, 21 Jan 2019 00:56:08 -0800 (PST) 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=gLrYKlt9uEOKQ1cE1SYqGP7NKGJFXbmsibHGAlXJ1DU=; b=Jhu+q0LkFIVQj/6ka0ctCXlanNA5itJ3neCuBtn6ccBy/xMU/RxcC/Sl5qLgEuV6OM Ko6nazrA3R100bMolVv7xNV7yQPTGtrAPPCbm1dBzuy4XwJkp/T1z8rSaQt8YFXvnPEq A7C3ufAxa5JRIqDC2ZvVAp6HXLcWImbpgH/o4TSQuQKDBzR7FtIUcZAybINlqkm4vhsz EQ+z0ykuDWmTfWg9Z1fTfZXlqYn2XiHHBz4/LgvwfO1n8Kqbwp+ePfbLX+I1mCziF+v6 4ms3PbDl1QQqBG8mmwxSxcZV/1zWz6GzXnZIQEHVyP0NhS/KgLkoBlFkF6Qj48gnZHcl iq0A== X-Gm-Message-State: AJcUukfAIrwbCjb/M6ppA61qmO1HKf1bDec/IBRGFqrjIDCigbB0zDwy 26h1wTItV79EhZAlf9dDQkkvXRsA51qkTLfVAM0= X-Google-Smtp-Source: ALg8bN5R6CEumLcKYOaOWStjx70fqdpomEnfD9DlaS7FowZKUavKdibSfH3EtWzzo/dYGOX0R4ge8qzEaMO9bSioAb0= X-Received: by 2002:a1f:91cb:: with SMTP id t194mr11136395vkd.74.1548060966184; Mon, 21 Jan 2019 00:56:06 -0800 (PST) MIME-Version: 1.0 References: <20190118161835.2259170-1-arnd@arndb.de> <20190118161835.2259170-14-arnd@arndb.de> In-Reply-To: <20190118161835.2259170-14-arnd@arndb.de> From: Geert Uytterhoeven Date: Mon, 21 Jan 2019 09:55:53 +0100 Message-ID: Subject: Re: [PATCH v2 13/29] arch: add split IPC system calls where needed To: Arnd Bergmann Content-Type: text/plain; charset="UTF-8" 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 , "linux-ia64@vger.kernel.org" , Linux-sh list , Heiko Carstens , linux-mips@vger.kernel.org, Max Filippov , netdev , Deepa Dinamani , "H. Peter Anvin" , sparclinux , Linux-Arch , linux-s390 , y2038 Mailman List , Helge Deller , the arch/x86 maintainers , Russell King , Ingo Molnar , Firoz Khan , Catalin Marinas , Matt Turner , Fenghua Yu , Will Deacon , Linux FS Devel , linux-m68k , Andy Lutomirski , Thomas Gleixner , Linux ARM , Michal Simek , Tony Luck , Parisc List , Linux API , Linux Kernel Mailing List , Paul Burton , "Eric W. Biederman" , alpha , Martin Schwidefsky , Andrew Morton , linuxppc-dev , "David S. Miller" Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Fri, Jan 18, 2019 at 5:20 PM Arnd Bergmann wrote: > The IPC system call handling is highly inconsistent across architectures, > some use sys_ipc, some use separate calls, and some use both. We also > have some architectures that require passing IPC_64 in the flags, and > others that set it implicitly. > > For the additon of a y2083 safe semtimedop() system call, I chose to only > support the separate entry points, but that requires first supporting > the regular ones with their own syscall numbers. > > The IPC_64 is now implied by the new semctl/shmctl/msgctl system > calls even on the architectures that require passing it with the ipc() > multiplexer. > > I'm not adding the new semtimedop() or semop() on 32-bit architectures, > those will get implemented using the new semtimedop_time64() version > that gets added along with the other time64 calls. > Three 64-bit architectures (powerpc, s390 and sparc) get semtimedop(). > > Signed-off-by: Arnd Bergmann > arch/m68k/kernel/syscalls/syscall.tbl | 11 +++++++++++ For m68k: Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds