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=-3.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 DFB99C4338F for ; Tue, 27 Jul 2021 18:50:37 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 1E49960FC2 for ; Tue, 27 Jul 2021 18:50:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1E49960FC2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4GZ5TR3lJKz3bhk for ; Wed, 28 Jul 2021 04:50:35 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=Wk8r1n/m; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=198.145.29.99; helo=mail.kernel.org; envelope-from=arnd@kernel.org; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=Wk8r1n/m; dkim-atps=neutral Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4GZ5Sz3Z3jz2yZC for ; Wed, 28 Jul 2021 04:50:11 +1000 (AEST) Received: by mail.kernel.org (Postfix) with ESMTPSA id 8B82960FC0 for ; Tue, 27 Jul 2021 18:50:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627411808; bh=FEnwgSbKVXqz/f02D+yC03c3XbgdHc6UQnZBnRvCJ/M=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Wk8r1n/mSx+0i6AQUY//rrzvo7u0iykvI3DdMwAU6Fm/5wRnd0aHGo1bytx3xXu7k V3PJdlxpsKgFsAEaS7uZWfUIfFWVaBrx69vXh2hfyWYRH5NQn1716X5tqJilSuZ/e/ tk9muKXJu5/49yxCwj4RAo/tsrlbDsU3fovK01uescBB4yrZKqeKS15WHtt2DGx9Oj iF4Q3naxYhPj2AJoJR+3fqqmyczVP5rEm8K8D5fNCTblk5yGa//Rl7ecC05qjuI/co nrA0rgBAydBUwU9/kObE3BP78Eet9E5cwms/Ir0jmCUxjomE9KSZ5F3f5kYLyoIl/1 zl2MNoEU9+ykQ== Received: by mail-wr1-f48.google.com with SMTP id b7so16349960wri.8 for ; Tue, 27 Jul 2021 11:50:08 -0700 (PDT) X-Gm-Message-State: AOAM533XttryzAfOypxKmfpK1SjqczmHSlxHMU3f+Cwvf1yhQJRwksmq 6FpxYUIdf8fYWMnXoaoYnDMfiX4f6GNuc6XsLxY= X-Google-Smtp-Source: ABdhPJyJoGfE0vjMAu17Dx3oLfkZN1O26Yflb54n4xga3o5XuLKsejT/cbFSiPGK2CJQqQHqBmqSL7vlY8Dk6BlYaZM= X-Received: by 2002:adf:e107:: with SMTP id t7mr26004543wrz.165.1627411796641; Tue, 27 Jul 2021 11:49:56 -0700 (PDT) MIME-Version: 1.0 References: <20210727144859.4150043-1-arnd@kernel.org> <20210727144859.4150043-5-arnd@kernel.org> In-Reply-To: From: Arnd Bergmann Date: Tue, 27 Jul 2021 20:49:40 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 4/6] mm: simplify compat numa syscalls To: Heiko Carstens 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: Feng Tang , "open list:BROADCOM NVRAM DRIVER" , "James E.J. Bottomley" , Linux-MM , Paul Mackerras , "H. Peter Anvin" , sparclinux , Will Deacon , Christoph Hellwig , linux-arch , linux-s390 , Arnd Bergmann , Helge Deller , the arch/x86 maintainers , Christoph Hellwig , Christian Borntraeger , Ingo Molnar , Catalin Marinas , Vasily Gorbik , Borislav Petkov , Al Viro , Thomas Gleixner , Linux ARM , Thomas Bogendoerfer , Parisc List , Linux API , Linux Kernel Mailing List , "Eric W. Biederman" , Andrew Morton , linuxppc-dev , "David S. Miller" Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Tue, Jul 27, 2021 at 8:38 PM Heiko Carstens wrote: > > -268 common mbind sys_mbind compat_sys_mbind > -269 common get_mempolicy sys_get_mempolicy compat_sys_get_mempolicy > -270 common set_mempolicy sys_set_mempolicy compat_sys_set_mempolicy > +268 common mbind sys_mbind sys_mbind > +269 common get_mempolicy sys_get_mempolicy sys_get_mempolicy > +270 common set_mempolicy sys_set_mempolicy sys_set_mempolicy > > would remove compat_ptr() conversion from nmask above if I'm not mistaken. Maybe I'm misremembering how compat syscalls work on s390. Doesn't SYSCALL_DEFINEx(sys_mbind) still create two entry points __s390x_sys_mbind() and __s390_sys_mbind() with different argument conversion (__SC_CAST vs __SC_COMPAT_CAST)? I thought that was the whole point of the macros. Arnd