Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp472592pxb; Thu, 17 Feb 2022 07:59:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJwR+BCWcjhJ0scnyKFu1hcH2pA1Lkbk7LLYKfv3cHk87GOAiLyZW4/Fi783vVgo+miq/flR X-Received: by 2002:a17:907:205a:b0:6cf:ced7:4e73 with SMTP id pg26-20020a170907205a00b006cfced74e73mr2896235ejb.536.1645113581509; Thu, 17 Feb 2022 07:59:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645113581; cv=none; d=google.com; s=arc-20160816; b=nxHbuWOXdxWjpFTHZ01fZsAxrDpIiYQE1JtFzb3OPxsyaXPm5LGWnT2My2Q+Co7SUA D/a+iFpNsCtoADs4ZSVb7CkQgYeHLllfTHlWARIk779SBGAIiEhybN7ggxyI+8suniRl I6+0NgnQdH1Obw/QUuBIH5Wl3XcDzVVex4kmKTz17uIxnzylpTWmqpc/LH1Zf9YMQKZI n2Aa0Y+7Q54ZM5Ekv3+roTHoKlf2dLKsr54/UMbNLO3GK6iyHWd96HSFaa299vFEm2eN diHF0M+Zlpt9nKIGV71avELK06ke7VvoxqC1NoYRPJ4ECQcbuxUarO70aeMqNCboBXSj +gqA== 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; bh=Le2Zx4Bc8m2i6Leu1HQuyS9CVPCv4jAlQTA6iowQgPA=; b=NclqJUEttFTCZ898WnKQCRYuBlgNGTI/zGaSNCRydZ76V+grQSiRAnCeiKZpMKHaUU X+UOdM9yrkKnTN2PqMInad2D/lVKXRfsIzJyUl7/eC866nxgFbuaY9c6ZbtmDErc5TTe UKXXYniuUtorS4YCZl1OVtbKxbGEdJMD53jgITIO6EsEfyPdHZ5ff28yJC4O59i39R9B NfI5qMchNwEkZyfhnZd9bG+76pf6htjHIg8d1Z5M/tsYdn94c3CZAtSSayPrGJVZfDKs XI9NyyEN+8+eVFjwiK+EcJSJqhTadUZ1QAqynchCv93upOAnwZw+L5dThtanbJnOAU4d i1kA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v5si5066800edi.611.2022.02.17.07.59.18; Thu, 17 Feb 2022 07:59:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238491AbiBQJOL (ORCPT + 99 others); Thu, 17 Feb 2022 04:14:11 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:33890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229699AbiBQJOC (ORCPT ); Thu, 17 Feb 2022 04:14:02 -0500 Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82DB9279093; Thu, 17 Feb 2022 01:13:47 -0800 (PST) Received: from mail-wm1-f49.google.com ([209.85.128.49]) by mrelayeu.kundenserver.de (mreue107 [213.165.67.113]) with ESMTPSA (Nemesis) id 1MbBUc-1nrlkP3FMG-00ba8D; Thu, 17 Feb 2022 10:13:45 +0100 Received: by mail-wm1-f49.google.com with SMTP id k127-20020a1ca185000000b0037bc4be8713so5642392wme.3; Thu, 17 Feb 2022 01:13:45 -0800 (PST) X-Gm-Message-State: AOAM530cXqInqFnRZrNHPv8F9Bv9ZU/6Nrbg1+9ZyKwZgp/QWCzhK7q4 a8jtrAnR1/f9sa2bnwNcvcjPnvgEc/kRcs1balk= X-Received: by 2002:a05:600c:1d27:b0:37c:74bb:2b4d with SMTP id l39-20020a05600c1d2700b0037c74bb2b4dmr4990966wms.82.1645085639420; Thu, 17 Feb 2022 00:13:59 -0800 (PST) MIME-Version: 1.0 References: <20220216131332.1489939-1-arnd@kernel.org> In-Reply-To: <20220216131332.1489939-1-arnd@kernel.org> From: Arnd Bergmann Date: Thu, 17 Feb 2022 09:13:43 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 00/18] clean up asm/uaccess.h, kill set_fs for good To: Linus Torvalds , Christoph Hellwig , linux-arch , Linux-MM , Linux API , Arnd Bergmann , Linux Kernel Mailing List , Al Viro Cc: Russell King - ARM Linux , Will Deacon , Guo Ren , Brian Cain , Geert Uytterhoeven , Michal Simek , Thomas Bogendoerfer , Nick Hu , Greentime Hu , Dinh Nguyen , Stafford Horne , Helge Deller , Michael Ellerman , Peter Zijlstra , Ingo Molnar , Mark Rutland , Heiko Carstens , Rich Felker , David Miller , Richard Weinberger , "the arch/x86 maintainers" , Max Filippov , "Eric W . Biederman" , Andrew Morton , Ard Biesheuvel , alpha , "open list:SYNOPSYS ARC ARCHITECTURE" , linux-csky@vger.kernel.org, "open list:QUALCOMM HEXAGON..." , linux-ia64@vger.kernel.org, linux-m68k , "open list:BROADCOM NVRAM DRIVER" , Openrisc , Parisc List , linuxppc-dev , linux-riscv , linux-s390 , Linux-sh list , sparclinux , linux-um , "open list:TENSILICA XTENSA PORT (xtensa)" Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:DWw8/YboN0VA6d+k6fSV83nQbC/ZW2wmQtyWyNvQRDOztud3WQ1 AnIMws496a5T5xk4vOXJvIH3ubEyigceAA3MZmosjx3t/8wYb2bAkyFAHAnlH/gXyXoO4MC 6OXbGHp0kRSDSXaSqC/pBLsY/XbPRAn4510M1I/nBvX1e+0Sh7I2brZB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SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 16, 2022 at 2:13 PM Arnd Bergmann wrote: > > From: Arnd Bergmann > > Christoph Hellwig and a few others spent a huge effort on removing > set_fs() from most of the important architectures, but about half the > other architectures were never completed even though most of them don't > actually use set_fs() at all. > > I did a patch for microblaze at some point, which turned out to be fairly > generic, and now ported it to most other architectures, using new generic > implementations of access_ok() and __{get,put}_kernel_nocheck(). > > Three architectures (sparc64, ia64, and sh) needed some extra work, > which I also completed. > > The final series contains extra cleanup changes that touch all > architectures. Please review and test these, so we can merge them > for v5.18. > > The series is available at > https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git/log/?h=set_fs-2 > for testing. I've added the updated contents to my asm-generic tree now to put them into linux-next. Arnd