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=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS 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 D1C42C43381 for ; Fri, 12 Feb 2021 00:21:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A0CC164DD5 for ; Fri, 12 Feb 2021 00:21:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230238AbhBLAVP (ORCPT ); Thu, 11 Feb 2021 19:21:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230093AbhBLAUj (ORCPT ); Thu, 11 Feb 2021 19:20:39 -0500 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2FA3C061756 for ; Thu, 11 Feb 2021 16:19:58 -0800 (PST) Received: by ozlabs.org (Postfix, from userid 1034) id 4DcDf322BKz9sVm; Fri, 12 Feb 2021 11:19:54 +1100 (AEDT) From: Michael Ellerman To: Paul Mackerras , Michael Ellerman , Benjamin Herrenschmidt , Christophe Leroy Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org In-Reply-To: <99d4ccb58a20d8408d0e19874393655ad5b40822.1612879284.git.christophe.leroy@csgroup.eu> References: <99d4ccb58a20d8408d0e19874393655ad5b40822.1612879284.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH v2 1/3] powerpc/uaccess: get rid of small constant size cases in raw_copy_{to,from}_user() Message-Id: <161308904868.3606979.5042920812236325748.b4-ty@ellerman.id.au> Date: Fri, 12 Feb 2021 11:19:54 +1100 (AEDT) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 9 Feb 2021 14:02:12 +0000 (UTC), Christophe Leroy wrote: > Copied from commit 4b842e4e25b1 ("x86: get rid of small > constant size cases in raw_copy_{to,from}_user()") > > Very few call sites where that would be triggered remain, and none > of those is anywhere near hot enough to bother. Applied to powerpc/next. [1/3] powerpc/uaccess: get rid of small constant size cases in raw_copy_{to,from}_user() https://git.kernel.org/powerpc/c/6b385d1d7c0a346758e35b128815afa25d4709ee [2/3] powerpc/uaccess: Merge __put_user_size_allowed() into __put_user_size() https://git.kernel.org/powerpc/c/95d019e0f9225954e33b6efcad315be9d548a4d7 [3/3] powerpc/uaccess: Merge raw_copy_to_user_allowed() into raw_copy_to_user() https://git.kernel.org/powerpc/c/052f9d206f6c4b5b512b8c201d375f2dd194be35 cheers 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=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS 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 1B39DC433E0 for ; Fri, 12 Feb 2021 00:32:52 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (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 6523A64E2A for ; Fri, 12 Feb 2021 00:32:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6523A64E2A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4DcDww5yFQzDwr5 for ; Fri, 12 Feb 2021 11:32:48 +1100 (AEDT) Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4DcDf46rCczDwnH for ; Fri, 12 Feb 2021 11:19:56 +1100 (AEDT) Received: by ozlabs.org (Postfix, from userid 1034) id 4DcDf322BKz9sVm; Fri, 12 Feb 2021 11:19:54 +1100 (AEDT) From: Michael Ellerman To: Paul Mackerras , Michael Ellerman , Benjamin Herrenschmidt , Christophe Leroy In-Reply-To: <99d4ccb58a20d8408d0e19874393655ad5b40822.1612879284.git.christophe.leroy@csgroup.eu> References: <99d4ccb58a20d8408d0e19874393655ad5b40822.1612879284.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH v2 1/3] powerpc/uaccess: get rid of small constant size cases in raw_copy_{to, from}_user() Message-Id: <161308904868.3606979.5042920812236325748.b4-ty@ellerman.id.au> Date: Fri, 12 Feb 2021 11:19:54 +1100 (AEDT) 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: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Tue, 9 Feb 2021 14:02:12 +0000 (UTC), Christophe Leroy wrote: > Copied from commit 4b842e4e25b1 ("x86: get rid of small > constant size cases in raw_copy_{to,from}_user()") > > Very few call sites where that would be triggered remain, and none > of those is anywhere near hot enough to bother. Applied to powerpc/next. [1/3] powerpc/uaccess: get rid of small constant size cases in raw_copy_{to,from}_user() https://git.kernel.org/powerpc/c/6b385d1d7c0a346758e35b128815afa25d4709ee [2/3] powerpc/uaccess: Merge __put_user_size_allowed() into __put_user_size() https://git.kernel.org/powerpc/c/95d019e0f9225954e33b6efcad315be9d548a4d7 [3/3] powerpc/uaccess: Merge raw_copy_to_user_allowed() into raw_copy_to_user() https://git.kernel.org/powerpc/c/052f9d206f6c4b5b512b8c201d375f2dd194be35 cheers