Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3291249imm; Thu, 17 May 2018 06:35:11 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqX9abMwY0AD9vrQyZt3VFT+xSD/nM//4cXq4/VazeuSZ8SnogJ22dFnO2jJiXmppwYfFy8 X-Received: by 2002:a63:9812:: with SMTP id q18-v6mr4065006pgd.170.1526564111704; Thu, 17 May 2018 06:35:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526564111; cv=none; d=google.com; s=arc-20160816; b=pn5TCIPmlbm7RC0uUS3R0uJpDQQIRHajK2uF25sGta5qP5F4bcizd6s19J9o0F3ueQ 24WxAthnVu6RkLR+ChT7mxhTzJ5gkcK6N4jWa2EQNQh9CmEen74VoUDmzilxpguasBp1 IwLxa04rBrhyAv7KIe3xh55jHmeKPfgp7C+PFWtGsctj8UDAjjb3DMUM4KKB84irywM/ qHxxNxg6UQRRhRGxCIL8RvuA8/ouH4fyVqUsejvQL0feeyw+CvJ8vYFAWuEA7qIY7Mxx UZ4AavObXRw87vMcatXTcVQY04BNuKHENhRuKHXVvmYznPstrmA3mndWZ/O4u/ciD39I sypg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=C0g/h3o+QyOrhQtNL13xZijP3Z/FrSMRgj00LsuTY0Q=; b=zlZaAPIhLqIe0Pvifp7faAhZOUDM3qAKFTugpWfwAmNgtZUJJUL2l2YKt5NaUvTd9Q Fc3Q0oHpsA9JBcvE3cEZrKxKwSFdcSIj7/QRP2JDzZLYY4/ZWc48NptmeLDsuerG/xe4 xCEGoXdtzUJe9SLCDNl9NOeCmiQdmggLKQ9OUBQeiu1DwUuDKWo84ay4jbzn+YPjVafL H9ZCVNSYkT98iZGovBhmRLbnqTyUWACjZfzX51XjpFKQhxB05CF0gGsSaYEQxhQFFLDP HM5/mgiibOt/CubpwwkyisFSDoXIuj0VrtonhnOHrxUhnH8WkhiDnX2rCs91d5+9rexx HIeQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b84-v6si5670220pfb.189.2018.05.17.06.34.57; Thu, 17 May 2018 06:35:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751784AbeEQNea (ORCPT + 99 others); Thu, 17 May 2018 09:34:30 -0400 Received: from gate.crashing.org ([63.228.1.57]:49476 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751017AbeEQNe3 (ORCPT ); Thu, 17 May 2018 09:34:29 -0400 Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id w4HDXsUT003198; Thu, 17 May 2018 08:33:54 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id w4HDXrRi003197; Thu, 17 May 2018 08:33:53 -0500 Date: Thu, 17 May 2018 08:33:53 -0500 From: Segher Boessenkool To: Christophe Leroy Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/5] powerpc/lib: move PPC32 specific functions out of string.S Message-ID: <20180517133352.GS17342@gate.crashing.org> References: <68d0167111d06a8b21d7e52140bf399d79979e3b.1526553552.git.christophe.leroy@c-s.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <68d0167111d06a8b21d7e52140bf399d79979e3b.1526553552.git.christophe.leroy@c-s.fr> User-Agent: Mutt/1.4.2.3i Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 17, 2018 at 12:49:50PM +0200, Christophe Leroy wrote: > In preparation of optimisation patches, move PPC32 specific > memcmp() and __clear_user() into string_32.S > --- /dev/null > +++ b/arch/powerpc/lib/string_32.S > @@ -0,0 +1,74 @@ > +// SPDX-License-Identifier: GPL-2.0 > + > +/* > + * String handling functions for PowerPC32 > + * > + * Copyright (C) 2018 CS Systemes d'Information > + * > + * Author: Christophe Leroy > + * > + */ That is wrong; that code is a plain copy, from 1996 already. Segher