Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* arm64 memcpy_{from|to}io and memset_io
@ 2015-10-14  6:12 Radha Mohan
  2015-10-14  8:17 ` Arnd Bergmann
  2015-10-14 16:12 ` Catalin Marinas
  0 siblings, 2 replies; 4+ messages in thread
From: Radha Mohan @ 2015-10-14  6:12 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,
I see that the memcpy_{from|to}io and memset_io are not in an
optimized manner. I guess these are just a copy from
arch/arm/include/asm/io.h where there could be problem with different
implementations.
Do we still need these to be byte write ?
Can we convert them to use a more optimized memcpy ?

We have some drivers, like framebuffer driver using these functions
and end up writing byte-by-byte. This causes a very poor VGA
performance.

Let me know if there are any concerns to convert these to use memcpy.
I can send a patch.

regards,
Radha Mohan

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-10-14 16:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-14  6:12 arm64 memcpy_{from|to}io and memset_io Radha Mohan
2015-10-14  8:17 ` Arnd Bergmann
2015-10-14 16:12 ` Catalin Marinas
2015-10-14 16:16   ` Radha Mohan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox