Re: [PATCH v2] sh: Remove IO memcpy and memset from sh code
From: Arnd Bergmann
Date: Tue Jan 28 2025 - 05:22:07 EST
On Tue, Jan 28, 2025, at 11:13, Julian Vetter wrote:
> Remove IO memcpy and memset from sh specific code and fall back to the
> new implementations from lib/iomem_copy.c. They use word accesses if the
> buffers are aligned and only fall back to byte accesses for potentially
> unaligned parts of a buffer.
>
> Signed-off-by: Julian Vetter <julian@xxxxxxxxxxxxxxxx>
> ---
> Changes for V2:
> - Removed also SH4 specific memcpy_fromio code
Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>