Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2576411pxb; Thu, 11 Feb 2021 16:41:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJx9Si6LVOuujk8dQEicrWtCKn/6ihbDRChUnJtxU07UmkGvHifijvrXLacLrTwca99EwsEl X-Received: by 2002:a05:6402:3552:: with SMTP id f18mr760573edd.111.1613090476183; Thu, 11 Feb 2021 16:41:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613090476; cv=none; d=google.com; s=arc-20160816; b=zlMuCo2I9h4nCRtMbGBrm/+YdhzBwAG5ZjVN5R6oHQQnZlOvnO08vkI9d/N3jmG2Wh XgvFmFsWpFYdispavhbYY0gBa2MnNuHk9sCrbuk6bzkxdloIi415pXkonflObDIZB+mA K6MLHsJQMB2vmJulKi0o3rM9ykbGDGxmhuoK6QKR7RsPPYcQDaqhzeeufnNV5CLj3lmu TuogOKtSdNNpShcqjc2cQfxqEor0MZKLDm6/w8+i7P8ZPFg8hu+A7jk5k6ztWKHHtW91 B+R2aEwmcXstaeORrowJOx1jO2w8ovcN44/S8smrN+rR3QsVB1Df/BEl0ykiwQPJj46F 4ApQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:subject:references:in-reply-to :cc:to:from; bh=NZpwy+RlZsa7lyTAJ6/LHMb2bpJvArClXMbal4OMwQY=; b=qiR9rjqQj6IrwYvakt+wjlcCj1vQXTiPNXMWc7MtXYt3jo+Uv8Ku+VX4dOsChRF3ln 4thWQoEeKQFkYIoMS2F1vnHaDs/gd7ez9Qju2Wt/2c/imy0cq1jZMQMeiDSajBmhg5aH 55U8JoYPjNMMm2yp0SUR7tWHJKpPg+DUiiPvNJ8Vj6GL2ER49b5JkP2DqGoS8iW+WSTc S+ZRalgF3Uru5jkal87nIjfYnEFStcnC4+D1aM80zBwFtcIY5XQOwsOJZCI/HZPE+Iud 1EZ+vKKxqokrToMu674G0bx/ARKrz+UI9qM85NKTJORDt4tYMsggRF72jK+RIiRt1i6w WaVw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j7si3370423ejm.408.2021.02.11.16.40.53; Thu, 11 Feb 2021 16:41:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230206AbhBLAVB (ORCPT + 99 others); Thu, 11 Feb 2021 19:21:01 -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