Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp1179174pxb; Fri, 18 Feb 2022 02:16:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJwXHlf3bXQAf47S0xJFuuM0LyTtimFX2l0VnP06B05DlaZ+bcKmmrau30pGbPIo77wALsoC X-Received: by 2002:a17:902:ecce:b0:14d:cd1a:4fec with SMTP id a14-20020a170902ecce00b0014dcd1a4fecmr6788933plh.17.1645179419138; Fri, 18 Feb 2022 02:16:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645179419; cv=none; d=google.com; s=arc-20160816; b=oFwOx6kgy8NCDT0WsyyLGZuZXS4BqG3iOi4xbhKG0j55+v0+1PZVA41/PCD/YCQdD0 fgR8gx9BhUX7jfyrsTof+gxv26LqcsVw7ovXAEVYdgZzdA9PgkOEXki7tzKkOgM8xkSN aCE8EGtdCld2qeTAFHpVEqCimyNX7LyndGFstXwOhhAgAOdfa26NslS26TgBhCL0u/50 Xml3F6FcDzdOkfakjtnJfiR0G3jmWxvNw7xS1DKWnawlSGMXS1ZlMc/u1lED4X2/k5De HXPjfuQzN6TdTVJ05STK466rNQDyjnAgFfTsVRR2oGWAsQ1VPd2siW/n1aVLsWwXnc7P PTog== 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=acpcDWZvSxDwOAzGTb7O2RMIWdslBDMuoEt9Qz/Phu0=; b=kk4bZlwkbOq50USTIWqtCT3EeW7Yfh6nHhEDEXeBv1iRWOE77wO1f4cL0z107g+9e7 YbUhjsR0rB3cCjwlyUwnmXfB41C8dqAzGPM9nwriydO98z22uubENdxl8R+jRnqbPDFZ 4uc2xLycPIcK0P5lkvEFIm8nDVs3+zg/QQEd45+xqg0mhgwbGXDpN4C2YzdGZBwsKnLu B1/vP6A9n2w4hLNxMsAuHzpmt7YjOfepe7PFATyFMIReAhQKJeRK/gnwGadRJQM9QgWB rpiLjclFMj/UYb30rwQjrjN6Fq8GW27tSURvSnBe/ib1I69XwfVEj52kpCuI9Sym2mIC 2wjQ== 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 r74si10646952pgr.435.2022.02.18.02.16.43; Fri, 18 Feb 2022 02:16:59 -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 S232936AbiBRJDz (ORCPT + 99 others); Fri, 18 Feb 2022 04:03:55 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:33730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233062AbiBRJDp (ORCPT ); Fri, 18 Feb 2022 04:03:45 -0500 Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3AE369CFF; Fri, 18 Feb 2022 01:03:28 -0800 (PST) Received: by mail-pg1-f176.google.com with SMTP id 27so2073038pgk.10; Fri, 18 Feb 2022 01:03:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=acpcDWZvSxDwOAzGTb7O2RMIWdslBDMuoEt9Qz/Phu0=; b=LTM47bdxH3KvatcTOZ0SyhwJwKWZCBDrhBkA4wakl4Lq/Zc/0vFZtuRdy3m59wbRg6 GT4vGr+wHZ854SjCHkA0YAYZ/AB9tMRbEhDmDFhVxraZspSMy2P8tfWjo4C+ZDJhXTmc CR5Ap3rRL8OiLG1MJVF0juyv/ZiqnlVSbfHgx4G9fX/eWRyz95I+vOcFt/UgF1R0bUGV GyxCrxVwX+ueW5S5CTqXDfoRW03sy9xUqphZXyUVVIsx0iqT4cyOLSGh/1DERxafuxpS +xiQTqAjA/9Xo4vGwDC+2Hlhuz82RU68XRvhDniweyICkxhbal7vvmxF7wOMfHqibJea kt6g== X-Gm-Message-State: AOAM532m13OMRxaiqcQ/zGy+5b8ez0koiv5rvHHFaBYkVPkvFLVUVm10 H2NGZb63JME5A768pLi4swnJP2cC+2uqfA== X-Received: by 2002:a05:6a00:16d3:b0:4cb:51e2:1923 with SMTP id l19-20020a056a0016d300b004cb51e21923mr6690786pfc.7.1645175007970; Fri, 18 Feb 2022 01:03:27 -0800 (PST) Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com. [209.85.216.47]) by smtp.gmail.com with ESMTPSA id f7sm2343490pfj.48.2022.02.18.01.03.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Feb 2022 01:03:27 -0800 (PST) Received: by mail-pj1-f47.google.com with SMTP id q11-20020a17090a304b00b001b94d25eaecso7911105pjl.4; Fri, 18 Feb 2022 01:03:27 -0800 (PST) X-Received: by 2002:a67:e10e:0:b0:31b:956b:70cf with SMTP id d14-20020a67e10e000000b0031b956b70cfmr2916488vsl.77.1645174557092; Fri, 18 Feb 2022 00:55:57 -0800 (PST) MIME-Version: 1.0 References: <20220216131332.1489939-1-arnd@kernel.org> <20220216131332.1489939-9-arnd@kernel.org> In-Reply-To: <20220216131332.1489939-9-arnd@kernel.org> From: Geert Uytterhoeven Date: Fri, 18 Feb 2022 09:55:45 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 08/18] uaccess: add generic __{get,put}_kernel_nofault To: Arnd Bergmann Cc: Linus Torvalds , Christoph Hellwig , Linux-Arch , Linux MM , Linux API , Arnd Bergmann , Linux Kernel Mailing List , Al Viro , Russell King , Will Deacon , Guo Ren , Brian Cain , 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 S. Miller" , Richard Weinberger , "the arch/x86 maintainers" , Max Filippov , "Eric W. Biederman" , Andrew Morton , Ard Biesheuvel , alpha , arcml , 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-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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:17 PM Arnd Bergmann wrote: > From: Arnd Bergmann > > Nine architectures are still missing __{get,put}_kernel_nofault: > alpha, ia64, microblaze, nds32, nios2, openrisc, sh, sparc32, xtensa. > > Add a generic version that lets everything use the normal > copy_{from,to}_kernel_nofault() code based on these, removing the last > use of get_fs()/set_fs() from architecture-independent code. > > Reviewed-by: Christoph Hellwig > Signed-off-by: Arnd Bergmann > arch/m68k/include/asm/uaccess.h | 2 - Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds