Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5745058pxb; Mon, 14 Feb 2022 06:42:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJzhFkYxjgbYnzDCYVweBwIxBsIHBUg6tzSaRcP9TDRlL+JcQnsmqXztTXwjQiLQNiqrr9r4 X-Received: by 2002:a17:906:cc46:: with SMTP id mm6mr11963689ejb.202.1644849732485; Mon, 14 Feb 2022 06:42:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644849732; cv=none; d=google.com; s=arc-20160816; b=HRASWZVnBC8c7SJPYVE2wFv1XjBnLVz1G5G5qp5uwgo64o/ry5uVc7J5j2URKyOBhk GgKbtJYJq+gr/0nT8qe1+4vUk9jo8g0nvXqwHvBM7su4HASYVcWXaukxxYHxvWzj0XzG /grwXDPVx2/jWnflBBdfYHO7DcgY7u9Mhun1gbTwVMd80Q/txvd6EHTV+7IKWA1Nvf9f 22GxMxOLP3MllmkwFNdWkQOaj4cOvMUtfNXKJ49vUzP+A5Dz4sE8ZIEbN7wEPAz8KDMd p12Aw5uES4f3DXfsPVrBzt4XallWsMjZeSIz+kHbCS9KKzW+spjvVtqMVb51f8TySRYC l5Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=jciESuD7KkzOvrqFddq5ei3J58DoUHqc9C5Rydzc4hg=; b=CXqjXhc/l67vk27oxnneUN95NTnOvoLE8n2SEBpguZJAcAJzTowqxn5llEYZ+/CYKM F4I85FCQ5veZ3XuaikPNGPLNaCtCZOhNA01jBHcojlJrPHBTKHWmdw9z8X+kDpLdzk/v MQm6tw5/nQW5O41j1YyOqQ8dw6PkuTzx7r6JYdRwDWXL6/vC+WMPO0J26r/7Qv2RQYUQ QEC2fx5QPaQrPia1XMfIBFDGVCOafRsGXucm+lF2nJtirkn7l6ZbjjrYCkDD7PAstIhE YNy+c9TjulCKByXp9X8uvCOwEI0vkZyA5pReeXk0aZvkmq1rBxyzuSSZjEImIP9RDein x5yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=ErVgdFGC; 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 q27si19975388edw.658.2022.02.14.06.41.47; Mon, 14 Feb 2022 06:42:12 -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; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=ErVgdFGC; 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 S241523AbiBNHud (ORCPT + 99 others); Mon, 14 Feb 2022 02:50:33 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:32862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231537AbiBNHuc (ORCPT ); Mon, 14 Feb 2022 02:50:32 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2F545AEE3; Sun, 13 Feb 2022 23:50:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description:References; bh=jciESuD7KkzOvrqFddq5ei3J58DoUHqc9C5Rydzc4hg=; b=ErVgdFGCyNNxww5f7hf/07MEwA eO/VTA8rQ8dirRDJco/8BjyYJASyRoVeJc3JhpACcw2y9KulXRrMp4dG1qfeMn81z/J0ruwzdpfT9 X2LL1vtZ4q38flprm7P8gEtPpEISjO7UMA3BywnfI/G466qY3gk9WMTF9Ilys74Sye2ZOKvPkoNlO 1RtAHerqFSq5PFk+s78fw/rPdHBmahvBCzG+h36GLtTPENrZevdDgViDcnW3UVrn550LFwIf0FWgi 5dSK4a6ZXKB/SWWt55zkB5pw0VckR7OX6kVs4mNd21LvQ0cnBSqomwZzh+2+Cm4EdbmmlmqsXhBBA lJrLrufg==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJW7p-00DlZB-4w; Mon, 14 Feb 2022 07:50:21 +0000 Date: Sun, 13 Feb 2022 23:50:21 -0800 From: Christoph Hellwig To: Arnd Bergmann Cc: Stafford Horne , Michal Simek , Linux-Arch , LKML , Christoph Hellwig , "Eric W . Biederman" , Al Viro , Linus Torvalds , Arnd Bergmann , Geert Uytterhoeven , "Peter Zijlstra (Intel)" , Catalin Marinas , Mark Rutland , Nick Hu , Greentime Hu , Vincent Chen Subject: Re: [PATCH] microblaze: remove CONFIG_SET_FS Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 I like the series a lot. Superficial comments: for nds32 is there any good reason why __get_user / __set_user check the address limit directly? Maybe we should unify this and make it work like the other architectures. With "uaccess: add generic __{get,put}_kernel_nofault" we should be able to remove HAVE_GET_KERNEL_NOFAULT entirely and just check if the helpers are already defined in linux/uaccess.h. The new generic __access_ok, and the 3 fixed up version early on have a whole lot of superflous braces.