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=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 E821CC43460 for ; Thu, 20 May 2021 09:22:31 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 6E64360200 for ; Thu, 20 May 2021 09:22:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6E64360200 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 10F686B0085; Thu, 20 May 2021 05:22:31 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0E8686B0089; Thu, 20 May 2021 05:22:31 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id F18706B008C; Thu, 20 May 2021 05:22:30 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0113.hostedemail.com [216.40.44.113]) by kanga.kvack.org (Postfix) with ESMTP id C1A3C6B0085 for ; Thu, 20 May 2021 05:22:30 -0400 (EDT) Received: from smtpin17.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 5D04F9982 for ; Thu, 20 May 2021 09:22:30 +0000 (UTC) X-FDA: 78161068860.17.6C06B2F Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf08.hostedemail.com (Postfix) with ESMTP id 985D98019116 for ; Thu, 20 May 2021 09:22:28 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 30F116124C for ; 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-f42.google.com with SMTP id h4so16845191wrt.12 for ; Thu, 20 May 2021 02:22:29 -0700 (PDT) X-Gm-Message-State: AOAM531uaTLmrJ0nnZcU64pa33pT974MgGh8WJSxhAyFVVVMQ28dhYNA zyfHqsu/F7y7SOGmc6tIcKMtngOq5dBoxr76zLg= 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" Authentication-Results: imf08.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=cueszxQK; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf08.hostedemail.com: domain of arnd@kernel.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=arnd@kernel.org X-Stat-Signature: pxhnd5tbqgwng49i1xd6rju7n3d1yjde X-Rspamd-Queue-Id: 985D98019116 X-Rspamd-Server: rspam02 X-HE-Tag: 1621502548-76301 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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