linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/6] powerpc32: replace memcpy and memset by cacheable alternatives
@ 2015-05-19 10:07 Christophe Leroy
  2015-05-19 10:07 ` [PATCH v2 1/6] powerpc: use memset_io() to clear CPM Muram Christophe Leroy
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Christophe Leroy @ 2015-05-19 10:07 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, Paul Mackerras, Michael Ellerman,
	scottwood
  Cc: linuxppc-dev, linux-kernel

This patchset implements use of cacheable versions of memset and
memcpy since when the destination is not cacheable, memset_io
and memcpy_toio are used.

On MPC885, we observe a 7% rate increase on FTP transfer

Christophe Leroy (6):
  powerpc: use memset_io() to clear CPM Muram
  Partially revert "powerpc: Remove duplicate cacheable_memcpy/memzero
    functions"
  powerpc32: memset(0): use cacheable_memzero
  powerpc32: Merge the new memset() with the old one
  powerpc32: cacheable_memcpy becomes memcpy
  powerpc32: Few optimisations in memcpy

 arch/powerpc/lib/copy_32.S       | 109 ++++++++++++++++++++++++++++++++++++++-
 arch/powerpc/sysdev/cpm_common.c |   2 +-
 2 files changed, 109 insertions(+), 2 deletions(-)

-- 
2.1.0

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

end of thread, other threads:[~2015-05-19 11:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-19 10:07 [PATCH v2 0/6] powerpc32: replace memcpy and memset by cacheable alternatives Christophe Leroy
2015-05-19 10:07 ` [PATCH v2 1/6] powerpc: use memset_io() to clear CPM Muram Christophe Leroy
2015-05-19 10:07 ` [PATCH v2 2/6] Partially revert "powerpc: Remove duplicate cacheable_memcpy/memzero functions" Christophe Leroy
2015-05-19 10:07 ` [PATCH v2 3/6] powerpc32: memset(0): use cacheable_memzero Christophe Leroy
2015-05-19 10:07 ` [PATCH v2 4/6] powerpc32: Merge the new memset() with the old one Christophe Leroy
2015-05-19 10:07 ` [PATCH v2 5/6] powerpc32: cacheable_memcpy becomes memcpy Christophe Leroy
2015-05-19 10:07 ` [PATCH v2 6/6] powerpc32: Few optimisations in memcpy Christophe Leroy
2015-05-19 11:43 ` [PATCH v2 0/6] powerpc32: replace memcpy and memset by cacheable alternatives David Laight

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).