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 autolearn=ham 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 E0CCBC282F6 for ; Mon, 21 Jan 2019 08:56:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B801C2084A for ; Mon, 21 Jan 2019 08:56:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729559AbfAUI4K (ORCPT ); Mon, 21 Jan 2019 03:56:10 -0500 Received: from mail-vk1-f196.google.com ([209.85.221.196]:45360 "EHLO mail-vk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729453AbfAUI4I (ORCPT ); Mon, 21 Jan 2019 03:56:08 -0500 Received: by mail-vk1-f196.google.com with SMTP id n126so4399264vke.12; Mon, 21 Jan 2019 00:56:06 -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=EGbg5LxLvqFZXyVWTDAx+JEm9TWdp9Z7ykRnVdrjeldYIXHdO4YfYkvu+gVEwbP1sb zD67khm0odjFJf6EA55cAVYX3BoC/k+8x/ncyXCXx+VuVICHQCJoihovyWsD4wp3omx8 6lORpn6LHvZW42x0TOWjpwavhRqhjOceJ2UKdR+pTutIpU57QFHo5/lcKPuQXDoDaW+u iyn9OjPF/EHAB4Zs4RjMswLl3bhQvj+xJl/koRdopRzpmt+JTdvgjJy86ZSEwMH/KeOX s9ziGNjVn9FpsR4BRD1r+/F615wLimS3je0nYduKCRIu1sHrSNVwVM2cyD2cTl2jZg0w 0txA== X-Gm-Message-State: AJcUukdV3LdlMT0C+f/8QkSegpPTg11TeA/cnzspvB9KmeItgxHM1aD0 g4OFBB928G8unYTHsUw05TtJeBySFJmvjXtTPeI= 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 Cc: y2038 Mailman List , Linux API , Linux Kernel Mailing List , Linux-Arch , Matt Turner , Russell King , Catalin Marinas , Will Deacon , Tony Luck , Fenghua Yu , Michal Simek , Paul Burton , Helge Deller , Benjamin Herrenschmidt , Michael Ellerman , Martin Schwidefsky , Heiko Carstens , Rich Felker , "David S. Miller" , Andy Lutomirski , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "the arch/x86 maintainers" , Max Filippov , Andrew Morton , Deepa Dinamani , "Eric W. Biederman" , Firoz Khan , alpha , Linux ARM , "linux-ia64@vger.kernel.org" , linux-m68k , linux-mips@vger.kernel.org, Parisc List , linuxppc-dev , linux-s390 , Linux-sh list , sparclinux , netdev , Linux FS Devel Content-Type: text/plain; charset="UTF-8" Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org 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