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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id E71B6C433F5 for ; Thu, 17 Feb 2022 09:16:09 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 675116B0074; Thu, 17 Feb 2022 04:16:09 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 624BA6B0075; Thu, 17 Feb 2022 04:16:09 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4EB416B0078; Thu, 17 Feb 2022 04:16:09 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0002.hostedemail.com [216.40.44.2]) by kanga.kvack.org (Postfix) with ESMTP id 3C4826B0074 for ; Thu, 17 Feb 2022 04:16:09 -0500 (EST) Received: from smtpin30.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id E7343181AC9C6 for ; Thu, 17 Feb 2022 09:16:08 +0000 (UTC) X-FDA: 79151715216.30.70E931F Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) by imf15.hostedemail.com (Postfix) with ESMTP id 29D2EA0006 for ; Thu, 17 Feb 2022 09:16:08 +0000 (UTC) Received: from mail-wm1-f50.google.com ([209.85.128.50]) by mrelayeu.kundenserver.de (mreue108 [213.165.67.113]) with ESMTPSA (Nemesis) id 1M6DOg-1nMokY2MeW-006cx9 for ; Thu, 17 Feb 2022 10:16:06 +0100 Received: by mail-wm1-f50.google.com with SMTP id bg21-20020a05600c3c9500b0035283e7a012so3540395wmb.0 for ; Thu, 17 Feb 2022 01:16:06 -0800 (PST) X-Gm-Message-State: AOAM5319qGEuReWhIJwFCd4NmuQOrUXh5cXbIEmL6T40zgWF6JFcEb3a hQrBYzkPEcY0NW+5BmW4tSUOZebqFGfL+Xl6nAQ= 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 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:WH7TBrDTNd2p762So8Pq7NOiOzlwcRyE8kdcj5BHCfYjoGz+M9j VeONGDTMmjyKgI3aaQzwD4ZMwY319BVi+1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q1grqyz4u6qm786iyu4pmr5z X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 29D2EA0006 Authentication-Results: imf15.hostedemail.com; dkim=none; dmarc=none; spf=none (imf15.hostedemail.com: domain of arnd@arndb.de has no SPF policy when checking 217.72.192.73) smtp.mailfrom=arnd@arndb.de X-Rspam-User: X-HE-Tag: 1645089368-601856 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, 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