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=-11.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS 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 D09D0C433B4 for ; Thu, 20 May 2021 09:22:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A977061353 for ; Thu, 20 May 2021 09:22:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231543AbhETJXv (ORCPT ); Thu, 20 May 2021 05:23:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:50782 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230483AbhETJXu (ORCPT ); Thu, 20 May 2021 05:23:50 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3C59D6135B; Thu, 20 May 2021 09:22:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621502549; bh=mUcJvIDAEBZyVHNKECFJUZjJN3jvp0QlOwLkY/Lr9Fk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=cueszxQKwQo1fo7eIWpKuItZ8ECXgi/2vnaWA0pNz+29DdsMCsgVBrOylLW1Tc796 ykghyQdgdNweB99uGbZpBiR/abnhi6a6tvpDSRJBSlTRH+guNjbEILhH11pM5YVW8l qikrLp12Gf3+V0bI2mTYHPHnuLF0sMWN+jW1Zc9wp2Hnz4R6Qx6IqWRrTyetKnOTxT VTAYRrZ5Cty92fnQiP6W2f7v4CjKifEpoWSK06xHDI2820QymWBehcgfdTzIfeA1+S axUDrX0WCefyze7NmG8HS8370jvh0dHH2OX6jwBgO/zCzl5dACYCmgdd7qT1dFDN63 +47eoiF2EDfgQ== Received: by mail-wr1-f49.google.com with SMTP id n2so16960849wrm.0; Thu, 20 May 2021 02:22:29 -0700 (PDT) X-Gm-Message-State: AOAM530wSHLlQY/IxbV8+KgIOXuQNcSRlcK5sl2nUhEDoIqsXLJWFiAW TtkwIT3xox3uLR+w9gNoCNSomurX5s0+D8S+1qc= X-Google-Smtp-Source: ABdhPJzsrao8n8zbfttxKQpALJPp9YROd3f6fNW2rL/Ta9Y6h4hoYQ0fRUSF+pGM0FB3yjSG8oB6dY7AKuvOfp8E4v0= X-Received: by 2002:adf:e589:: with SMTP id l9mr3343339wrm.361.1621502547736; Thu, 20 May 2021 02:22:27 -0700 (PDT) MIME-Version: 1.0 References: <20210517203343.3941777-1-arnd@kernel.org> <20210517203343.3941777-5-arnd@kernel.org> <87h7iycvlo.ffs@nanos.tec.linutronix.de> In-Reply-To: From: Arnd Bergmann Date: Thu, 20 May 2021 11:21:12 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 4/4] compat: remove some compat entry points To: Thomas Gleixner Cc: linux-arch , Christoph Hellwig , Alexander Viro , Andrew Morton , Borislav Petkov , Brian Gerst , Eric Biederman , Ingo Molnar , "H. Peter Anvin" , Linux ARM , Linux Kernel Mailing List , Linux-MM , kexec@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 19, 2021 at 11:00 PM Arnd Bergmann wrote: > > On Wed, May 19, 2021 at 10:33 PM Thomas Gleixner wrote: > > > > On Mon, May 17 2021 at 22:33, Arnd Bergmann wrote: > > > From: Arnd Bergmann > > > > > > These are all handled correctly when calling the native > > > system call entry point, so remove the special cases. > > > arch/x86/entry/syscall_x32.c | 2 ++ > > > arch/x86/entry/syscalls/syscall_32.tbl | 6 ++-- > > > arch/x86/entry/syscalls/syscall_64.tbl | 4 +-- > > > > That conflicts with > > > > https://lore.kernel.org/lkml/20210517073815.97426-1-masahiroy@kernel.org/ > > > > which I'm picking up. We have more changes in that area coming in. > > Ok, thanks for the heads-up. I'll try a merge or rebase to see how this can be > handled. If both the drivers/net and drivers/media get picked up for 5.14, maybe > the rebased patches can go through -mm on top, along with the final > removal of compat_alloc_user_space()/copy_in_user(). If not, I suppose these > four patches can also wait another release. On second thought, this patch 4/4 is not even required here to kill off compat_alloc_user_space, so the easiest alternative might be to merge the other patches first, and then do this part together with the removal of the unused functions in a follow-up series. Arnd