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 X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9F168C4727F for ; Sat, 26 Sep 2020 06:58:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 673C4208B6 for ; Sat, 26 Sep 2020 06:58:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729041AbgIZG6c (ORCPT ); Sat, 26 Sep 2020 02:58:32 -0400 Received: from verein.lst.de ([213.95.11.211]:58532 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726210AbgIZG6b (ORCPT ); Sat, 26 Sep 2020 02:58:31 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 5D73068B02; Sat, 26 Sep 2020 08:58:29 +0200 (CEST) Date: Sat, 26 Sep 2020 08:58:29 +0200 From: Christoph Hellwig To: Paul Walmsley , Palmer Dabbelt , Arnd Bergmann , Alexander Viro Cc: linux-arch@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: remove set_fs for riscv v2 Message-ID: <20200926065829.GA3954@lst.de> References: <20200907055825.1917151-1-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200907055825.1917151-1-hch@lst.de> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Can we get this series picked up either in Al's base.set_fs tree, or a branch in the riscv tree? On Mon, Sep 07, 2020 at 07:58:17AM +0200, Christoph Hellwig wrote: > Hi all, > > this series converts riscv to the new set_fs less world and is on top of this > branch: > > https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git/log/?h=base.set_fs > > The first four patches are general improvements and enablement for all nommu > ports, and might make sense to merge through the above base branch. > > Changes since v1: > - implement __get_user_fn and __put_user_fn for the UACCESS_MEMCPY case > and remove the small constant size optimizations in raw_copy_from_user > and raw_copy_to_user > - reshuffle the patch order a little > > Diffstat > arch/riscv/Kconfig | 2 > arch/riscv/include/asm/thread_info.h | 6 - > arch/riscv/include/asm/uaccess.h | 177 +++++++++++++++++------------------ > arch/riscv/kernel/process.c | 1 > arch/riscv/lib/Makefile | 2 > include/asm-generic/uaccess.h | 109 +++++++++++++-------- > include/linux/uaccess.h | 4 > 7 files changed, 166 insertions(+), 135 deletions(-) > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv ---end quoted text--- 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 X-Spam-Level: X-Spam-Status: No, score=-11.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C535C2D0A8 for ; Sat, 26 Sep 2020 06:58:49 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DF2C6208B6 for ; Sat, 26 Sep 2020 06:58:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="laug0fk6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DF2C6208B6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=V7frrPLRSEHxYmiU8zOISp4CYwb97yzDCINbudC5Gjw=; b=laug0fk6J83y1aPzd9wnWGgkq 2Zm6mIAbthD96CpVLJVnS5zC+eHFDN6hWWpgRXl8XMbTEC0jm44MTlm4f95Yf7/3YVbO7kHo8kR5z 6aY1iZbNPVc43gaFn9LJ/vPucXu6z3vDqRsgo6yZsa8YpRYxmZrehf0LEtTGHIfDNFd5cnMLe3xhv x9ck4EnjLaZr2Q15GQlYGSV4f78zV1ey6QtzL2LHVazxX7uuwyv6LBvnxzeXLspeyps6sXg7ZnIBF bvg3LuMslB9l4q3yLSrOVf0ZTha5ZoFFAefIZzVwnMb7UcwaFFOBfrwrVdGo1Y1n+urtWgnFikbOx 1dek0oHSg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kM4AE-0006O6-5V; Sat, 26 Sep 2020 06:58:34 +0000 Received: from verein.lst.de ([213.95.11.211]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kM4AB-0006NU-Ji for linux-riscv@lists.infradead.org; Sat, 26 Sep 2020 06:58:32 +0000 Received: by verein.lst.de (Postfix, from userid 2407) id 5D73068B02; Sat, 26 Sep 2020 08:58:29 +0200 (CEST) Date: Sat, 26 Sep 2020 08:58:29 +0200 From: Christoph Hellwig To: Paul Walmsley , Palmer Dabbelt , Arnd Bergmann , Alexander Viro Subject: Re: remove set_fs for riscv v2 Message-ID: <20200926065829.GA3954@lst.de> References: <20200907055825.1917151-1-hch@lst.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200907055825.1917151-1-hch@lst.de> User-Agent: Mutt/1.5.17 (2007-11-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200926_025831_770845_4B543B76 X-CRM114-Status: GOOD ( 18.34 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Can we get this series picked up either in Al's base.set_fs tree, or a branch in the riscv tree? On Mon, Sep 07, 2020 at 07:58:17AM +0200, Christoph Hellwig wrote: > Hi all, > > this series converts riscv to the new set_fs less world and is on top of this > branch: > > https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git/log/?h=base.set_fs > > The first four patches are general improvements and enablement for all nommu > ports, and might make sense to merge through the above base branch. > > Changes since v1: > - implement __get_user_fn and __put_user_fn for the UACCESS_MEMCPY case > and remove the small constant size optimizations in raw_copy_from_user > and raw_copy_to_user > - reshuffle the patch order a little > > Diffstat > arch/riscv/Kconfig | 2 > arch/riscv/include/asm/thread_info.h | 6 - > arch/riscv/include/asm/uaccess.h | 177 +++++++++++++++++------------------ > arch/riscv/kernel/process.c | 1 > arch/riscv/lib/Makefile | 2 > include/asm-generic/uaccess.h | 109 +++++++++++++-------- > include/linux/uaccess.h | 4 > 7 files changed, 166 insertions(+), 135 deletions(-) > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv ---end quoted text--- _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv