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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id A57D0C433F5 for ; Thu, 17 Feb 2022 10:02:15 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Jzr394csMz3cbq for ; Thu, 17 Feb 2022 21:02:13 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=arndb.de (client-ip=212.227.126.187; helo=mout.kundenserver.de; envelope-from=arnd@arndb.de; receiver=) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Jzr2j1QLlz3bb7 for ; Thu, 17 Feb 2022 21:01:46 +1100 (AEDT) Received: from mail-wm1-f53.google.com ([209.85.128.53]) by mrelayeu.kundenserver.de (mreue010 [213.165.67.97]) with ESMTPSA (Nemesis) id 1N9dg5-1oO1mF0mkH-015ZOw for ; Thu, 17 Feb 2022 11:01:42 +0100 Received: by mail-wm1-f53.google.com with SMTP id l123-20020a1c2581000000b0037b9d960079so5772948wml.0 for ; Thu, 17 Feb 2022 02:01:41 -0800 (PST) X-Gm-Message-State: AOAM532GGd4mPvM9X6Im89VF+W3waFmNHJ9c9VHAqvFnAuRz4lVSiQlj wb7wd6btxxDvXx2dYTx7uwATx8AuZEgZpWLIRT4= X-Google-Smtp-Source: ABdhPJwu2NVHGHLxx29UDj0eC2QtTDz9ABoGgqvKd5FtPXFo3D/c1j3IHxwDsslquGRbQQhg+y3kZFZQ6qJy+rJ75Go= 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 Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:nvt+lQXzC8jt4ji91+ZzFugqyX7SMGNV2lAVQAibzXhRgigQOHO fCZfBwkzHvrbDm9NtR/M/0QcxweRnV+ATyZ9DvWMUZYkuYqpiE5BGO7eFjgfld3k3FI+ljQ b3hF98GX2i9/1qTPwCp+HT+W5xw0P3PnJcHzCJ1Q5cCX2lobSQ4LW5/sMhPavO7Tsin6kSF qfCIqLdFZBqe+flMW0cEg== X-UI-Out-Filterresults: notjunk:1;V03:K0:NJrvHX3On90=:Bk1knEFH7Dkq7LRJbfySUF GahYeKVwKo0eMWYSubrp9pLj1v70OrpMAtPbRO1hoJiPNmxJsN7foLt0NdIH4LrxBXgunkPrT kANoSKT+9p3QfIYUJSLZY2ax4TXmAXd0GaC4dItEnCnXGwCxdq7NPVO47G0RcQojZ+oRHbBdw JjkD/EUP9WJqyK4U8SJTRWXJafXVYALDX83ywD5k6/xfaZMJNqYmuAHfRWUyWnLrPxwhNwvRE 7LMAPrZslr3ZaOrymcXKdQg0oIvehUGUVvw8AYxX/VY0cYfURG51xFx176TZWbxeey5IzPEGm ndT/Siq3EOcX/Qv8SPdWj2nrO4+cQ+7IAPuHk2roR4xTjsbf24td+N5miEwmjpKYYCKpTBV+N BBVCvW2chrp0au5Trjh/xM/3aweekPAOq96bGA0yGi1R2ynyM8t1vEFffZB+SSLOtx188tOsa 4QQwlzZCMjN8MJp6F/J8FmnS3mn91QBzmv31ErMvUrKKuZOudFK0Y80ACleapxREI8CUHWGZG 8FK6FPADFkvldndNBzFKx/11rypDeukP+E+Ys6TA4Ox8dhLSCZfN6aIw5qZ41POeRhrqGGpZ4 rG4buLLxUmsDAJFTH+LmIbrohots7hJUyHCUForEYl6IHNz2lLkLVqaujLVnGmv9S6k2XHiGD 1Z3XWxDd4Q+xdcVXuLDQEgCW6AsdzdPXIRC3PJEv7JYVqmfrk8L65E83BIEtmWVq9FP+xIYcW eFJIQ2NZuP9z8Y7V1/y2oM2NaNtxXSpNPObX3b3CKogOy8j7b7tJyf2q5LClhxamttOR1mrxp bREuIfiU3uU1ZtY60QeCKdHZnOZeZo9CQ5Q7fI8/zesY5+yBdI= 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: Mark Rutland , Rich Felker , linux-ia64@vger.kernel.org, Linux-sh list , Peter Zijlstra , Max Filippov , Guo Ren , sparclinux , "open list:QUALCOMM HEXAGON..." , linux-riscv , Will Deacon , Ard Biesheuvel , linux-s390 , Brian Cain , Helge Deller , the arch/x86 maintainers , Russell King - ARM Linux , linux-csky@vger.kernel.org, Ingo Molnar , Geert Uytterhoeven , "open list:SYNOPSYS ARC ARCHITECTURE" , "open list:TENSILICA XTENSA PORT \(xtensa\)" , Heiko Carstens , alpha , linux-um , linux-m68k , Openrisc , Greentime Hu , Stafford Horne , Michal Simek , Thomas Bogendoerfer , Parisc List , Nick Hu , "open list:BROADCOM NVRAM DRIVER" , Dinh Nguyen , "Eric W . Biederman" , Richard Weinberger , Andrew Morton , linuxppc-dev , David Miller Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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