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 AFEACC433F5 for ; Mon, 14 Feb 2022 17:36:34 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4JyBGm5zSCz3bdG for ; Tue, 15 Feb 2022 04:36:32 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linux-foundation.org header.i=@linux-foundation.org header.a=rsa-sha256 header.s=google header.b=B3+89vMV; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linuxfoundation.org (client-ip=2a00:1450:4864:20::634; helo=mail-ej1-x634.google.com; envelope-from=torvalds@linuxfoundation.org; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=linux-foundation.org header.i=@linux-foundation.org header.a=rsa-sha256 header.s=google header.b=B3+89vMV; dkim-atps=neutral Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) (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 4JyBG201tJz3bYq for ; Tue, 15 Feb 2022 04:35:53 +1100 (AEDT) Received: by mail-ej1-x634.google.com with SMTP id lw4so8182733ejb.12 for ; Mon, 14 Feb 2022 09:35:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hl2tx2/b0j1as4iPc8br7ak6VbssTN3Lkaa01qKImp4=; b=B3+89vMVlD+t/jr4Ir3J5heCAGLy+8O/Bfqv5DSjHS7vGRacFAUCCs0TF2tOD5+IOJ DARHbhMwmXg8IKTGNN5wyW1UIWJ3dy3zDkUXnMSy6euD4EH/SAawjrYbWaSs+0JtxWja ZBOb3OkzZ9V/CSYGxjkJVHb89skxzNvZve0yg= 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=hl2tx2/b0j1as4iPc8br7ak6VbssTN3Lkaa01qKImp4=; b=M84bnEzKJj8awMm/2nGpNvw9/VLTyejkOJ6EnlWWeJJC05FFfDgYdPPs4ysACmPagd Atz9iEcfXxbL8e/DAygfDQDEtHexc7wimqgTJhOQRV3tZnV0QNHHn69wWxJu3syMBEXG pfCi1K1IntX8gkGrjqjocLVhkD//Ye/s+2jAkAbXGvk/08fodnzq7vxGNOchFTiXyCYg MOnQDFpsTbondoA0GOJ5U68SZz/zxqeOyD5+YHzT0Gv5Kdpjxkl7kA5Z4/pTnGHIIktX IK3m9cMsueo0ZacSYe5qk77Y8ezwt6uT+X2k8QpQmyL851tehaGrOMUHhZT76g57ABmM mUWg== X-Gm-Message-State: AOAM533BZv3e6/YcgohDyeYz4K7DYUKuGLCDAUH4ieVDHlXl0yBewFbg gq2ngdBGPGeitE2DXdmaN2zTpjIsBAs/18q4Lxo= X-Google-Smtp-Source: ABdhPJzy1U9NXSh0xTt0NM8WSICb7gfoxFTuXeKBUjGAzogmmIepbZxGdhbuTmLTiLwhBW96rLeDMw== X-Received: by 2002:a17:906:5191:: with SMTP id y17mr556404ejk.1.1644860143874; Mon, 14 Feb 2022 09:35:43 -0800 (PST) Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com. [209.85.218.42]) by smtp.gmail.com with ESMTPSA id 5sm1731707ejq.176.2022.02.14.09.35.42 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 14 Feb 2022 09:35:43 -0800 (PST) Received: by mail-ej1-f42.google.com with SMTP id hw13so10445328ejc.9 for ; Mon, 14 Feb 2022 09:35:42 -0800 (PST) X-Received: by 2002:a19:4302:: with SMTP id q2mr49672lfa.449.1644860131952; Mon, 14 Feb 2022 09:35:31 -0800 (PST) MIME-Version: 1.0 References: <20220214163452.1568807-1-arnd@kernel.org> In-Reply-To: <20220214163452.1568807-1-arnd@kernel.org> From: Linus Torvalds Date: Mon, 14 Feb 2022 09:35:15 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 00/14] clean up asm/uaccess.h, kill set_fs for good 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 , linux-sparc , linux-hexagon , linux-riscv , Will Deacon , Christoph Hellwig , linux-arch , linux-s390 , Brian Cain , Helge Deller , the arch/x86 maintainers , Russell King - ARM Linux , linux-csky@vger.kernel.org, Ard Biesheuvel , Ingo Molnar , Geert Uytterhoeven , "open list:SYNOPSYS ARC ARCHITECTURE" , linux-xtensa@linux-xtensa.org, Arnd Bergmann , Heiko Carstens , alpha , linux-um , linux-m68k , openrisc@lists.librecores.org, Greentime Hu , Stafford Horne , Linux ARM , Michal Simek , Thomas Bogendoerfer , linux-parisc , Nick Hu , Max Filippov , Linux API , Linux Kernel Mailing List , 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 Mon, Feb 14, 2022 at 8:35 AM Arnd Bergmann wrote: > > 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(). Thanks for doing this. Apart from the sparc64 issue with completely separate address spaces (so access_ok() should always return true like Al pointed out), this looks excellent to me. Somebody should check that there aren't other cases like sparc64, but let's merge this asap other than that. Linus