Re: [PATCH 1/2] riscv: Add memmove string operation.
From: Christoph Hellwig
Date: Mon Aug 12 2019 - 11:04:56 EST
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 <hch@xxxxxx>