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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5060C433FE for ; Thu, 17 Feb 2022 09:13:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238470AbiBQJOH (ORCPT ); Thu, 17 Feb 2022 04:14:07 -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-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:DWw8/YboN0VA6d+k6fSV83nQbC/ZW2wmQtyWyNvQRDOztud3WQ1 AnIMws496a5T5xk4vOXJvIH3ubEyigceAA3MZmosjx3t/8wYb2bAkyFAHAnlH/gXyXoO4MC 6OXbGHp0kRSDSXaSqC/pBLsY/XbPRAn4510M1I/nBvX1e+0Sh7I2brZBCtBQBKMNI/DlCeC ATdzznqt6hmKNtUzV76jA== X-UI-Out-Filterresults: notjunk:1;V03:K0:bCDoBw/rSs4=:7ZpiywYHjbn9ofMCGDNfAY ZmaKOeukHz/i1FvEWeUnFD0+Ss3VsIj+ifgbYRpWCti0Gh1IkbQlObrmQEtIgfRfm09n5f5H4 juKvdnlr6upa6dkn0Kj1+Mjv86NpYedKVeAEuDu5MmJ4Uled5HrF9cMkpAK/McqYRWq65wjK2 40dWs0HF+wIXDWq+qoskgDMIWBSlXVlHAUSamn5ghAWxS0kcMHW5ns/O2yCI0+XAI4Ra4U5qY HEaJOLhW0PC35eAPWAU3/ztD54YhNmPLbODiw0iipIV0rBLsFx5ZxvJaiZnQte52YfmeUFgUa k3PaKnQXm27l+0veXT+nctw37AC5BwVknsgEXLNPiKJIol6HbJ8J5t5PcZ1D/QOmTdjGeO4AR 0g9GN43ocXW4LVZkCjdxmPh1EG9Dk93/krP1UZogxKLIuXKk9uiaeM2q5KYryQPPC0eBnERKW 3aoGe/Vd2e1PtAgwFISoQ2Mc60EDRajfVEmwNsc+ZJ6F5QuDc3GVdc3LMXbLgXPuJp/Bk1T54 uug2aTPCPctCC0Kjkmvd9xxC4jsLMx7x9CtymMugFg8Eje946mauR1ArtzUQgTpwn/vFVpWsa 6zHXLMQg52xS3vcAZUlA9niqd26IcwOShz2/29sRFEZzp0qYv8frWdS2Wk7OX3BZ3GUjJgKsz BqJiQVW7t8fuf17y2qd8J7A5Sh8nQIpBxE9ZqAULMxjdpJ8zdo1SRttVQbE6L29lIFc94t+fu X7JFQ1XAR4JQV5MIV4VE+QhO0Utkv4QnwYspZJXM10rUIJe63cIUNIri6hGTrZoHv8NGMVgCk n8pRSzEIvcv/sRuJ686AST0gjiFHSTP64ColJil/N3M5h5gr6sojMyFYJXE6I+FXI0acF0k Precedence: bulk List-ID: X-Mailing-List: linux-sh@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 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 5CF8FC433EF for ; Thu, 17 Feb 2022 09:25:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=blC1J6ZHWiFVyrCdNJoW+7Oe/tSx5O4FFrSUfyjOnbU=; b=K9FZGS9PuDdME0 NK8dHC0ubIHBuSZrd/vn2HK11iNL5VWuzinqtgSI6kqMmhAH1SQEVNKgs7LbDdTZ/2k/UppV0M7DR 4ogz1qfErHIzkOVrIkcJIEziEQsrfizXjWUp2GjVJ/7AfhtlrAlwxpH6R4bJI1GDn1LIcyjQZ2/EQ P/UqWme3jTMHGR8c9oSfwXcFWvW+Y7GNVbo+3RnRDa6c7JPUweeVXvoCtpREMOrLN8Mc74CUkQEXL 6s03ujN4msSXlHzimnWDHe5WLX9YeK5HgzBSb+o31/tjMGNeOq3im9arVYGDkXn6ETgzcBXk6M8Gs SsPVd0FBD8csKMs9x1HQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKd2L-009iWY-Ks; Thu, 17 Feb 2022 09:25:17 +0000 Received: from mout.kundenserver.de ([212.227.126.135]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKd2I-009iVI-B1 for linux-snps-arc@lists.infradead.org; Thu, 17 Feb 2022 09:25:16 +0000 Received: from mail-wm1-f41.google.com ([209.85.128.41]) by mrelayeu.kundenserver.de (mreue010 [213.165.67.97]) with ESMTPSA (Nemesis) id 1MF3U0-1nVeZy3IjY-00FWS3 for ; Thu, 17 Feb 2022 10:25:10 +0100 Received: by mail-wm1-f41.google.com with SMTP id bg21-20020a05600c3c9500b0035283e7a012so3561904wmb.0; Thu, 17 Feb 2022 01:25:10 -0800 (PST) X-Gm-Message-State: AOAM531qnvqncSeSrM0zmX8VeKljxcq+4xSB89B218eJKT1aayAGhHvC kwuCBde5dtV2Ce0Mm81S7UhElQc7strnpDnzcW4= 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)" X-Provags-ID: V03:K1:ZqER6QCS7WC7uID6oEtAyZitltO0ST1Kh2U5/VFyflV0gN/YByJ QKizKxBxrpJEDa9cClDtQplBjV6y/dL0uREgYB0B7jmlXnr2OzzZBocF+twGAtOh9ZaYy4L pd2fhNSWQWoR0FuCz3cUTw/RpJZ6pgEgM2MzXub5nDBcsa77kRoE3+msqjPVEJcyEPDXio8 8zoZJiB0bWb1yftsB7x/g== X-UI-Out-Filterresults: notjunk:1;V03:K0:oKhhGvYNmeU=:WFS9zRfs4QuDIhmd8WQz8i GiPWVpDRDW1rLL67tDlyoXk/5g2mupeF9JCLpYkFGch+0JzqYoctgalOsM6DvmzFm2Kg3xXvU B0r0lr8BrA8rm5JwrxP4UKJQgdick2xQnD+Ggtkz7a6nwl99Uon3AuuSfbv39SUICF00Rxppf RY33YR5lncfnONH3ibHI2VNNvd8w/0djIgQRGtvKcSmfO7IgJTCv8c/R//nNFf9M/Bb7weDdu /JOY9HOBB35fno3MomcPb4K9NG0UjnooCKVCMfG5LgPM8Bgd3wQJJyKO9xdQ+cKbwchKuFrfN ZTtuDyVz0s8GWKWLlUoQYJPNgXfMiWyf3hgB1XdU6gr8Z59Gt+4TdWT/1/Ti5GvnPa52HxYWg sZEieTgfWGfbzCzCggo694+7oAs3Iol6ttxeUz1BY4YfG+GjflngKv0vxP444e0zYPz96ugE4 87arpdQ7BX4YlXX1GKjV5GbqzDB+ub0dnKzZNUPd7gnoyKP0hJXsgCgnJeG2WSqShLhJkO8Bk kX/cnRngiQdvfdCWTGKVYygAxrO9CWQ5eBilPFl0oI6ABsQl/5KvBqMrdbWANmZ+oGFtEAAdL z+fjE5YD6PfwwN3vmGQx/8aXPtU4XsGPcNOqWzjHKV2hdS9iLk2Gi1MYZ7yHFqXHMArA1WyNb +3WihK0LhhevCUQLTBjOlkOJOUPNxnxUR/t4JMHCw0yUBkB3nAQnqmnFdCtPXH7bTZQXvUFqx bGbcA2sh3Uky+KGecrGBu1EIuPYcGGym15IbiAZrJNnsEaqMacSUpFWQj9plX47Mu++SVebGW 7OwCCAQcfWc4EoIa9HmYgsEe6XUiTR6oiVMommBQ8cRZCdEc98= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220217_012514_683151_3451351B X-CRM114-Status: GOOD ( 21.11 ) X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+linux-snps-arc=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc 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 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 EA898C433F5 for ; Thu, 17 Feb 2022 10:21:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=L2sBjXee3GKVsIJ/cNeFpZRDqyTT+dm5z2QT2RuoyqU=; b=kxArmVqPiIvX5S Fmus15flc+D4SG/q/lAco23wk5UP1J9xZegFhrqkHe/6aRnWtlwFJUNO59VLP64V+5CkPtMiZGqoP iL2jv1PAyy9U2gkEx+Tc5DRdWqsdmTMGJdi3yz0PKdQfPW3T1gSRABhR6xLBl+Vc0vLzxyG74nCX/ w9J/BchaM9pybzAwbPZWq2jEWbsXOOmayZHbcf7gStH0NAzLQLYZWrA3xVNKhYdInnSSzAmqt9n7x 5ksAAdsiC/WA14weKakaUZpoN7MvuH9bcAMH9rUbgK9dRccxSr1Rhuu/sljZ2JkBUxYu8ubWXcsgP u88KkxSmVPLIqhZNS7wA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKduf-009sfZ-D8; Thu, 17 Feb 2022 10:21:25 +0000 Received: from mout.kundenserver.de ([212.227.17.13]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKduc-009seL-6k; Thu, 17 Feb 2022 10:21:24 +0000 Received: from mail-wm1-f53.google.com ([209.85.128.53]) by mrelayeu.kundenserver.de (mreue109 [213.165.67.113]) with ESMTPSA (Nemesis) id 1M1YlB-1nIB4J1pPv-0039HM; Thu, 17 Feb 2022 11:21:16 +0100 Received: by mail-wm1-f53.google.com with SMTP id x3-20020a05600c21c300b0037c01ad715bso3664622wmj.2; Thu, 17 Feb 2022 02:21:16 -0800 (PST) X-Gm-Message-State: AOAM530PqmkdqhTs92N9Q+MvEVvQTkmf4SNg/R4gWki3ePk3/2bobsZv udCky9x0kH6j3lLEeRDj9oAT74/LvzPsUcbgEuQ= 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)" X-Provags-ID: V03:K1:X2nYiP+gKLSe5A41jSu111OtopmdXz0IIAs8KCSIx09WZc3OEbx iDWwy6NxSWPN71NIMWVtQ7v6zDscSerObDELL1EcmAHlzSSMNGAYYljq1O7OeYdTFL9W/S8 uELth5pLYpNQGN0n5ANecfYeD1XEnTwF9Oe/e616R1yDNk7FxeVi+BHQ4SMuuk1mXVMgqIF AC7o7ShcKqdIWIQtQHjVQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:6YoiPyWTlMU=:xI3vGPwszP7y4P3jHxgCkG GUXOVqEob9YElHUFy8LZGYVj7bXzmmUeNPxGYOmF5bMf8jZ/yUDK17JcklWBmu+OSJcgEQanB s9IJReHBrc8ueWJVI3lXLzd1mxSkTDhtZROYenqVTRhTdaXT0UC6/zgArUVOkWtCg5agCNxBn zC/iFiB9C+3R9qy2gr6AtuS3Wrk23PCSHfHOQhmSPWeyDa9LJlZnoUdH8zv6LOe38glAIwJfX 9Z52VyjTg5I9zAUIKU3eCO7qJmBLD4AfMgo42FRBs+ZazBfuRgdzMtTbqW6XUHoZfUK4ctWbP 64GGlkENXMQKIjeUxboUpdlhNT1xNYYTt+PWoUKbVG1aHwy870G8OxAssD9CyKYham0/bUxK2 bkxZ1oBGIco3XQnwZnHbl1DPSnzV/PD/2Tx6HsKTpXG7mQCeL7cV9W4017302LSjzOvWvmkUR 2BTrlet7guxR5kuVXEbvA6Ve2KYPhxyJebv2PtBBqUs2Q6ka7xabaMrQTTdhrdGF6jn6Gmvpx nsgZx1Pcq4RWx7+6y3Dj0jGyZiRr71MCkc9CE27rP6PJx4oZtw43nQarnj5uhXMtHIofZaeOX An/9rZPpk3drWV2D+ySaoEuxbPHpST7RiR4W9PuBRM+cV6CJM76pwwaSECqwBApx9vOQ4zfzZ zZxKu583uNmhGjXtG9stI8TduP1FihAH5a0FndpIRcPiddCQxHc6XP51gMZpYwmP4Y9E= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220217_022122_548575_D28F440C X-CRM114-Status: GOOD ( 20.88 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Date: Thu, 17 Feb 2022 09:13:43 +0100 Subject: [OpenRISC] [PATCH v2 00/18] clean up asm/uaccess.h, kill set_fs for good In-Reply-To: <20220216131332.1489939-1-arnd@kernel.org> References: <20220216131332.1489939-1-arnd@kernel.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: openrisc@lists.librecores.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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Date: Thu, 17 Feb 2022 08:13:43 +0000 Subject: Re: [PATCH v2 00/18] clean up asm/uaccess.h, kill set_fs for good Message-Id: List-Id: References: <20220216131332.1489939-1-arnd@kernel.org> In-Reply-To: <20220216131332.1489939-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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)" 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH v2 00/18] clean up asm/uaccess.h, kill set_fs for good Date: Thu, 17 Feb 2022 09:13:43 +0100 Message-ID: References: <20220216131332.1489939-1-arnd@kernel.org> Mime-Version: 1.0 Return-path: In-Reply-To: <20220216131332.1489939-1-arnd@kernel.org> List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 mainta 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