Re: [PATCH] parisc: Remove memcpy_fromio

From: Helge Deller
Date: Mon Feb 03 2025 - 13:40:01 EST


On 1/31/25 08:28, Arnd Bergmann wrote:
On Thu, Jan 30, 2025, at 14:48, Julian Vetter wrote:
Fully migrate parisc to the IO functions from lib/iomem_copy.c. In a
recent patch the functions memset_io and memcpy_toio were removed, but
the memcpy_fromio was kept, because for very short sequences it does
half word accesses, whereas the functions in lib/iomem_copy.c do byte
accesses until the memory is naturally aligned and then do machine word
accesses. But I don't think the single half-word access merits keeping
the arch specific implementation, so, remove it as well.

Signed-off-by: Julian Vetter <julian@xxxxxxxxxxxxxxxx>

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>

Thanks!
I've added the patch to the parisc git tree.

Helge