Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp592913pxb; Thu, 25 Feb 2021 09:56:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJyt8VNNi6dAGYfNYARPBRWQ2gyLyN6Mp432zio91N4HltS8eR/hD9OLMQ/1tUCBF9uUWZ3R X-Received: by 2002:a50:b765:: with SMTP id g92mr4186377ede.317.1614275814194; Thu, 25 Feb 2021 09:56:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614275814; cv=none; d=google.com; s=arc-20160816; b=dIFK3dGNjcdMcy/PfMwNlp9iCfiBxTB96G0kO6mwb/h2ijpfO0xSJd3T0vUoyojRi6 YN6iA8lGGmc8jZRUqmgOvH+gLVVSzoFJ2rkdISvme+b4H3cSctzHZ41zJcUylhwPClX0 5+9m0NiPAb1YzvnlWHTmSWVYVsTMtsf2rH34e/PYiU/ewrRlgmkJ4r9GfG8XzyX8iB0r lcjDX8bLlHAMR/kA1psE2fKJxdZcJWuPwiHzLPXrqqayaADOwifH5Ec/sOIAB+h2l7ia zdA3+smP5Syj9iSmR+wgOpkaILE1Eyr7+QcX3xF1NL2LmG1NmCrI/DtIiANTYR2nCRmB Gt5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:cc:to:subject:from:message-id; bh=5XXcsWHx4ao/vyjk9VC39np5ejO3NIDr92ojJnd854A=; b=U0nZq83Bpdf693+cW8Vdiy4G1WiaPPkbp74ukBuR/TbaBAMbUZh8nKF56NYYT8MUoC gY6UMLCgsGTzOsQ093kc6K1F7O4jMgEqDi2TBNkRbgtvP6gXchIVY/bFxWQfSFZtEnrx 3LWR0rmZFM+fSsOjZGzB1d7tAsdW6+hq/EWy1dt49sYFhrbuosNHr25Nc+ORPupEGELc K73dCsrrlGcG55TSXjqwsz0KNhiMITKNwJOr23s8/82WPqOeSul9pXKiiSbSHBW6xU1i lZFGQcIGxSele2zZuFdP31mPEe7g56+Elq1ErjtgSxmodek2VbJPzdWcUfKHh0WdIZY6 EWKg== 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 e18si3581999edz.446.2021.02.25.09.56.31; Thu, 25 Feb 2021 09:56:54 -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 S231439AbhBYRwd (ORCPT + 99 others); Thu, 25 Feb 2021 12:52:33 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:32838 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232549AbhBYRvT (ORCPT ); Thu, 25 Feb 2021 12:51:19 -0500 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 4DmgLD4QBbz9v1B0; Thu, 25 Feb 2021 18:50:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id 4bSuDRE5h1vb; Thu, 25 Feb 2021 18:50:28 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 4DmgLD3FF7z9v19y; Thu, 25 Feb 2021 18:50:28 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 493D78B895; Thu, 25 Feb 2021 18:50:30 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id C4JgywURdKTZ; Thu, 25 Feb 2021 18:50:30 +0100 (CET) Received: from po16121vm.idsi0.si.c-s.fr (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 161A18B88B; Thu, 25 Feb 2021 18:50:30 +0100 (CET) Received: by po16121vm.idsi0.si.c-s.fr (Postfix, from userid 0) id D011367442; Thu, 25 Feb 2021 17:50:29 +0000 (UTC) Message-Id: From: Christophe Leroy Subject: [PATCH v1 00/15] powerpc: Cleanup of uaccess.h To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Thu, 25 Feb 2021 17:50:29 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series cleans up uaccess.h Christophe Leroy (15): powerpc/uaccess: Remove __get_user_allowed() and unsafe_op_wrap() powerpc/uaccess: Define ___get_user_instr() for ppc32 powerpc/uaccess: Remove __get/put_user_inatomic() powerpc/uaccess: Move get_user_instr helpers in asm/inst.h powerpc/align: Don't use __get_user_instr() on kernel addresses powerpc/uaccess: Call might_fault() inconditionaly powerpc/uaccess: Remove __unsafe_put_user_goto() powerpc/uaccess: Remove __chk_user_ptr() in __get/put_user powerpc/uaccess: Remove calls to __get_user_bad() and __put_user_bad() powerpc/uaccess: Split out __get_user_nocheck() powerpc/uaccess: Rename __get/put_user_check/nocheck powerpc/uaccess: Refactor get/put_user() and __get/put_user() powerpc/uaccess: Swap clear_user() and __clear_user() powerpc/uaccess: Also perform 64 bits copies in unsafe_copy_to_user() on ppc32 powerpc/uaccess: Move copy_mc_xxx() functions down arch/powerpc/include/asm/inst.h | 34 ++ arch/powerpc/include/asm/uaccess.h | 303 ++++++------------ arch/powerpc/kernel/align.c | 38 ++- .../kernel/hw_breakpoint_constraints.c | 2 +- arch/powerpc/kernel/traps.c | 2 +- 5 files changed, 147 insertions(+), 232 deletions(-) -- 2.25.0