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 CAEBFC4332F for ; Fri, 18 Feb 2022 09:03:16 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 61F068D0007; Fri, 18 Feb 2022 04:03:16 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 5CF398D0005; Fri, 18 Feb 2022 04:03:16 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 496BD8D0007; Fri, 18 Feb 2022 04:03:16 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0154.hostedemail.com [216.40.44.154]) by kanga.kvack.org (Postfix) with ESMTP id 3A0C88D0005 for ; Fri, 18 Feb 2022 04:03:16 -0500 (EST) Received: from smtpin14.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 05E001813B795 for ; Fri, 18 Feb 2022 09:03:16 +0000 (UTC) X-FDA: 79155311592.14.82AAFA7 Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172]) by imf17.hostedemail.com (Postfix) with ESMTP id 7E6F94000F for ; Fri, 18 Feb 2022 09:03:15 +0000 (UTC) Received: by mail-qk1-f172.google.com with SMTP id c7so5098060qka.7 for ; Fri, 18 Feb 2022 01:03:15 -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=yB/3viS4G1kNfPM1vPt2kjyAzgL7NzVupHivENwCiv8oib7XejfhQu7GijUA4nDGSZ Tt1fLh05aDWT4GbQRjfUkrJ76jzZEV9udDey/rKNuG15GxYAbHHSY32LJBVKtKdKncfH Yn9WHzrHgdV8GWYpnGI4zO1t+6zdoOsFdhB7wSV9ebvoYoRpI7WhXH3R1HJtWv4Z3eqM qLsYMUoS4eGyEMY9yKQU6Z8N0LnWDbaUK/ExqH37w8eXV5nKYx4qNtgoq1Ww5jETn6qo m/vrhMc4QxPbRAEcySWznUJ7qVkjl25VqarPtJNk6/x47NAu4DXNZZM8XDJ88f0EIywm TqXA== X-Gm-Message-State: AOAM5331wImgP3HCamRwIZxhL/M6Jf99h1I3azklhpkLmN+zY7jeMSpd eYaXeLC5w1lz6/Tz/XMY3e/F5u0XGyAYkA== X-Google-Smtp-Source: ABdhPJywXG+Fko5bTc2Z3p1bmbji14xidmtih7XrxP86Zp8jSBHZgGikTICP3ECmVQyvnoKNcpN8IQ== X-Received: by 2002:a05:620a:13d1:b0:5f1:788d:cac9 with SMTP id g17-20020a05620a13d100b005f1788dcac9mr3919132qkl.608.1645174994692; Fri, 18 Feb 2022 01:03:14 -0800 (PST) Received: from mail-qv1-f50.google.com (mail-qv1-f50.google.com. [209.85.219.50]) by smtp.gmail.com with ESMTPSA id w2sm751520qts.29.2022.02.18.01.03.14 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Feb 2022 01:03:14 -0800 (PST) Received: by mail-qv1-f50.google.com with SMTP id a28so13487160qvb.10 for ; Fri, 18 Feb 2022 01:03:14 -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" Authentication-Results: imf17.hostedemail.com; dkim=none; spf=pass (imf17.hostedemail.com: domain of geert.uytterhoeven@gmail.com designates 209.85.222.172 as permitted sender) smtp.mailfrom=geert.uytterhoeven@gmail.com; dmarc=none X-Rspam-User: X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: 7E6F94000F X-Stat-Signature: y6daeo4h4ch7ahwgefuqra4zit3ojc5y X-HE-Tag: 1645174995-879542 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: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