Skip to content

powerpc32: replace memcpy and memset by cacheable alternatives

Christophe Leroy linuxppc-dev lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 1 replyIn review
  2. v14 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6powerpc: use memset_io() to clear CPM Muramarch/powerpc/sysdev/cpm_common.c+1 -10 replies
2/6Partially revert "powerpc: Remove duplicate cacheable_memcpy/memzero functions"arch/powerpc/lib/copy_32.S+127 -00 replies
3/6powerpc32: memset(0): use cacheable_memzeroarch/powerpc/lib/copy_32.S+4 -40 replies
4/6powerpc32: Merge the new memset() with the old onearch/powerpc/lib/copy_32.S+7 -270 replies
5/6powerpc32: cacheable_memcpy becomes memcpyarch/powerpc/lib/copy_32.S+8 -80 replies
6/6powerpc32: Few optimisations in memcpyarch/powerpc/lib/copy_32.S+5 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/6] powerpc32: replace memcpy and memset by cacheable alternatives

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(-)
Signature · 1 line
2.1.0