Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp208588pxj; Thu, 20 May 2021 07:42:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0kXc5I9DbhHdQ4srkSR09im/cNkhk5uneYQT1HTty148kVGmXDGDRPSII3dHpatYuJ72K X-Received: by 2002:a17:906:58cd:: with SMTP id e13mr4902345ejs.207.1621521734292; Thu, 20 May 2021 07:42:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621521734; cv=none; d=google.com; s=arc-20160816; b=e9nJD0fbSdzLHCUsMU1zCcJwbLuEbPE16qjxfgdV81PLkWrYOwcSXL1wCqlVEnDTsC v7kR7AsvVAjB3FZfyhW2xtvB7/hePl23+agnAu3S92MQr1CZi0S9RAwFzKKrHZMfDhQo zBiaZRg/SIcV4H0Npx3W/Cfk9D8Gn1qtx8Evg++bIXA9aFdkPhEErBqpMV1N2QjB4/r+ G845dy8PAwFRp35as3C3bxM7bKg0iMpg5gdTYoHYlCAPloL19jB3csqBDfZIMU+FZ+Qd lo/3IbgvQAM+OaJ03nlxn8MXwLLlM7PFd687c/rBAB7GC5xx2mASkS8N+06kZa9aqcwY grgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=1rP/sEPYvi/dXcBUpe2CWQK6x5sREEnCvluSZnANE6I=; b=wDWAQ82azCyCNs0sJJ1PkU7WrukGCDyXJTES5m1cntKLAnd7+lrlxvulssVOmKY1Oz w1rm2mMIAWEWrLrW32Ou6IKZWjZGTQ25izTSlpJY8nPLmeDnaFD+5fSIgvjXKJlLnQyz +1UpZ61ZuGCKmdEcnOaguuEtMcB3TBuzYYQvhg082wUUIL4qZRbukM1ouOIEqfWZyiju xjQsohi7SvRyZRy0m/gu/nzllOyWV6xB09A7kbYGKfwS6woBMk1/VpZ1U335ixAs94R3 zSRXoGHi3GlNKIOCA/y2aJiFYDJtK1aPZdVG/e3+KITcRBLP1AfM69RRvG624CRlpzB9 BqAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cueszxQK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j25si2596975ejx.681.2021.05.20.07.41.50; Thu, 20 May 2021 07:42:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cueszxQK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231514AbhETJXu (ORCPT + 99 others); Thu, 20 May 2021 05:23:50 -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-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