Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp568792pxy; Wed, 21 Apr 2021 09:28:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJKroMhicJsLovdpxJcK4z5Rq+txLGlEn719EWT6plYAGb7AuPjQ9s+O9adFr2GH7dtKTJ X-Received: by 2002:a17:906:3c1b:: with SMTP id h27mr34717018ejg.182.1619022501563; Wed, 21 Apr 2021 09:28:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619022501; cv=none; d=google.com; s=arc-20160816; b=HfxAhQIdFdUms1PQf152bXX/3nUUQiC9F7h/bzNrrzdGYguFDH0FDt5kghxm9luV+K gEb1WV7fv7j3AfWS/9l2GHhBaiyVhBPQrjYoS9yi8zhdl5BwQq2mBuiXmvfR197oYMyv svHOad5QGpWcxJIQaKu4njsTaKBOCX9tFS+pAMVIq++x14XwLwf7uragR9qjj6lLuSNs nq7ouHppWbbGm4uUE/eOlT/XBc5OZuNIDY+STnnLqrLwXX7FYLawXDFdihgUFxUqSBfN Re6ITb4beXD3QG7KPoZuXQm/MmQR8lrFgDyZDPQOSoemjzQRSW6lPvVRL5UNTqqqxfmb zL+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from; bh=EnkBUdat4DOgZVg73pJq6pX2JOhNt9HBk4L8ZCkz1co=; b=sD4ic29j8sSLvIp/ZVMjRk842YBa9HkIrZyD0x4atyh4EUMmbPjYZCRqAKigBpsUoD tCFLQQuFgPUmqurptdgvkdp/P5wSYZAYRMivoUGvEyCpDMB/NjD7EWmqnLLMpdPl3r7B y9ti61tw4nhu+gnBEbjXiGDhRvA35YDAipQbS3hPlBX7/gAXD6HWD/EfvhgdAnc/NRuX W2RSYpwDWfJoFs8pWOG37MQ4MqBRwtKk6TrzVVqhzTaDiPMJ48VZ+y6LPyc9afjzTfBy LKQaalSQLSqaJad/VgvJACl4pIqt4SjDHBEv2Kyh5ilDsKk+u1tw9ytz81NnlmRzVGQd z5cA== 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 v16si2090641ejf.351.2021.04.21.09.27.57; Wed, 21 Apr 2021 09:28:21 -0700 (PDT) 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 S242654AbhDUNPe (ORCPT + 99 others); Wed, 21 Apr 2021 09:15:34 -0400 Received: from ozlabs.org ([203.11.71.1]:58135 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242043AbhDUNJp (ORCPT ); Wed, 21 Apr 2021 09:09:45 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 4FQLVH4lh1z9vFP; Wed, 21 Apr 2021 23:09:11 +1000 (AEST) From: Michael Ellerman To: Paul Mackerras , jniethe5@gmail.com, Christophe Leroy , Benjamin Herrenschmidt , Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: <5f6f82572242a59bfee1e19a71194d8f7ef5fca4.1618405715.git.christophe.leroy@csgroup.eu> References: <5f6f82572242a59bfee1e19a71194d8f7ef5fca4.1618405715.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH v3 1/4] powerpc: Remove probe_user_read_inst() Message-Id: <161901050534.1961279.5746860283283501781.b4-ty@ellerman.id.au> Date: Wed, 21 Apr 2021 23:08:25 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 14 Apr 2021 13:08:40 +0000 (UTC), Christophe Leroy wrote: > Its name comes from former probe_user_read() function. > That function is now called copy_from_user_nofault(). > > probe_user_read_inst() uses copy_from_user_nofault() to read only > a few bytes. It is suboptimal. > > It does the same as get_user_inst() but in addition disables > page faults. > > [...] Applied to powerpc/next. [1/4] powerpc: Remove probe_user_read_inst() https://git.kernel.org/powerpc/c/6ac7897f08e04b47df3955d7691652e9d12d4068 [2/4] powerpc: Make probe_kernel_read_inst() common to PPC32 and PPC64 https://git.kernel.org/powerpc/c/6449078d50111c839bb7156c3b99b9def80eed42 [3/4] powerpc: Rename probe_kernel_read_inst() https://git.kernel.org/powerpc/c/41d6cf68b5f611934bcc6a7d4a1a2d9bfd04b420 [4/4] powerpc: Move copy_from_kernel_nofault_inst() https://git.kernel.org/powerpc/c/39352430aaa05fbe4ba710231c70b334513078f2 cheers