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 EACE7C433F5 for ; Fri, 18 Feb 2022 08:56:39 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4K0QY21TX6z3ccN for ; Fri, 18 Feb 2022 19:56:38 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=209.85.216.45; helo=mail-pj1-f45.google.com; envelope-from=geert.uytterhoeven@gmail.com; receiver=) Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4K0QXX14N1z3cJm for ; Fri, 18 Feb 2022 19:56:10 +1100 (AEDT) Received: by mail-pj1-f45.google.com with SMTP id v5-20020a17090a4ec500b001b8b702df57so11806965pjl.2 for ; Fri, 18 Feb 2022 00:56:10 -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=QTI/U5ynuMzgMMpPndOzs2tB7pd9qu7uyeEHF1y7R5umWn0ITrA8aUvmR4egRGm543 n7MlpKpEv1Jb8uHn+F50WPILBUn8cCV6ztJUSX9Us+vn6ZuC6zWHUM3a4BPuX1Raoy3Y x7cQ3fw1/g60WqYuwSiZ6pOn15m5mkHZ6zr85yNeTk2IbPfPMN9cszHAdYgcn+JzrecE I9I7arPh5fFapEe6isZYG7g7y1FS2wPt74Ps6pNoR9lc0TpTmSqmZ4b0fiQh8AEz28tU GehA28xx/dbF+6Gsdw9M6wWyRMn9MGKsWHKze3YYjyrIHBnsceQgsJC3QdmpecHsqmJf Z9rg== X-Gm-Message-State: AOAM5311A4fBumUMxdWEgLzFyMp2P2Lq2MdongPKtDV+5O7bjNAW6R/N Kzr8dkpbkDVeg9yj/fnqbvA4NbV1gotn9g== X-Google-Smtp-Source: ABdhPJwpTyHDclFi+cwGxV5naNFDAM7ARHD/p3dpwO0BlvVdeD5FtHkws0Q4whkR6wJ6yeZGVNDlqg== X-Received: by 2002:a17:90b:b15:b0:1b1:de14:80f with SMTP id bf21-20020a17090b0b1500b001b1de14080fmr7383135pjb.47.1645174568087; Fri, 18 Feb 2022 00:56:08 -0800 (PST) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com. [209.85.214.172]) by smtp.gmail.com with ESMTPSA id rm8sm4547446pjb.5.2022.02.18.00.56.07 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Feb 2022 00:56:07 -0800 (PST) Received: by mail-pl1-f172.google.com with SMTP id z17so6649094plb.9 for ; Fri, 18 Feb 2022 00:56:07 -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 Content-Type: text/plain; charset="UTF-8" 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 , "open list:BROADCOM NVRAM DRIVER" , Linux MM , Guo Ren , sparclinux , "open list:QUALCOMM HEXAGON..." , linux-riscv , Will Deacon , Christoph Hellwig , Linux-Arch , linux-s390 , Brian Cain , Helge Deller , the arch/x86 maintainers , Russell King , linux-csky@vger.kernel.org, Ard Biesheuvel , Ingo Molnar , arcml , "open list:TENSILICA XTENSA PORT \(xtensa\)" , Arnd Bergmann , Heiko Carstens , alpha , linux-um , linuxppc-dev , linux-m68k , Openrisc , Al Viro , Stafford Horne , Michal Simek , Thomas Bogendoerfer , Parisc List , Nick Hu , Max Filippov , Linux API , Linux Kernel Mailing List , Dinh Nguyen , "Eric W. Biederman" , Richard Weinberger , Andrew Morton , Linus Torvalds , "David S. Miller" , Greentime Hu Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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