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=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no 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 BC4B6C31E40 for ; Mon, 12 Aug 2019 15:04:59 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 8FEF3214C6 for ; Mon, 12 Aug 2019 15:04:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="rBZf9FD6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8FEF3214C6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+infradead-linux-riscv=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DXtuBWIpH2QlnSL+Kf4hKqPEPTGPL4vBjptafg2o19o=; b=rBZf9FD6rEv/Dr jwfIDnGBzPpBZvk3vEuHIRdOleY4f6X3czjoQDA4hAEhgLOZuVAg7ldTCXjCfJkUxVhojy+RjdmO2 tFX1aYA0To/KwKqJaZMV7I9/8Bu6H0d2qNaR4hgF7cl3jJ9dWGFKU8wABaTdkUifjlb2QVdWfXiex ycZYLuW+7LWZMBZwl0T2X5gDjO2HrJbiim4MtXZvlOTECOQnvPaWPcHE4yl+k/rnRG1HjCcNzg34A uLfnwQS6yoZxjLJcFShZxieb53aH/3yb8hvr3EzkKFc/5YYGeABK7NsNaxbozFcEe8M5js5Jf/eD1 SQgsDWephXm55MyS6FrA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hxBsV-0006ev-FO; Mon, 12 Aug 2019 15:04:55 +0000 Received: from hch by bombadil.infradead.org with local (Exim 4.92 #3 (Red Hat Linux)) id 1hxBsN-0006Xf-19; Mon, 12 Aug 2019 15:04:47 +0000 Date: Mon, 12 Aug 2019 08:04:46 -0700 From: Christoph Hellwig To: Nick Hu Subject: Re: [PATCH 1/2] riscv: Add memmove string operation. Message-ID: <20190812150446.GI26897@infradead.org> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: aou@eecs.berkeley.edu, alankao@andestech.com, atish.patra@wdc.com, gregkh@linuxfoundation.org, palmer@sifive.com, linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com, zong@andestech.com, alexios.zavras@intel.com, Anup.Patel@wdc.com, glider@google.com, green.hu@gmail.com, paul.walmsley@sifive.com, aryabinin@virtuozzo.com, tglx@linutronix.de, deanbo422@gmail.com, linux-riscv@lists.infradead.org, dvyukov@google.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+infradead-linux-riscv=archiver.kernel.org@lists.infradead.org On Wed, Aug 07, 2019 at 03:19:14PM +0800, Nick Hu wrote: > There are some features which need this string operation for compilation, > like KASAN. So the purpose of this porting is for the features like KASAN > which cannot be compiled without it. > > KASAN's string operations would replace the original string operations and > call for the architecture defined string operations. Since we don't have > this in current kernel, this patch provides the implementation. > > This porting refers to the 'arch/nds32/lib/memmove.S'. This looks sensible to me, although my stringop asm is rather rusty, so just an ack and not a real review-by: Acked-by: Christoph Hellwig _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv