All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] MIPS: Standard calling convention usercopy & memcpy
@ 2016-11-07 11:17 ` Paul Burton
  0 siblings, 0 replies; 20+ messages in thread
From: Paul Burton @ 2016-11-07 11:17 UTC (permalink / raw)
  To: linux-mips; +Cc: Ralf Baechle, Paul Burton

This series makes the usercopy & memcpy functions follow the standard
calling convention, allowing us to clean up calls to them from
copy_{to,from}_user & variants such that they're just standard function
calls rather than inline assembly wrappers. This frees us from needing
to worry about performing long calls in modules, declaring the right
registers clobbered by the inline asm, retrieving results from
non-standard registers etc.

This series applies atop v4.9-rc4 with my "MIPS: Cleanup EXPORT_SYMBOL
usage" series applied first.


Paul Burton (7):
  MIPS: lib: Split lib-y to a line per file
  MIPS: lib: Implement memmove in C
  MIPS: memcpy: Split __copy_user & memcpy
  MIPS: memcpy: Return uncopied bytes from __copy_user*() in v0
  MIPS: memcpy: Use ta* instead of manually defining t4-t7
  MIPS: memcpy: Use a3/$7 for source end address
  MIPS: uaccess: Use standard __user_copy* function calls

 arch/mips/cavium-octeon/octeon-memcpy.S | 225 +++++++--------
 arch/mips/include/asm/uaccess.h         | 480 ++++++++------------------------
 arch/mips/lib/Makefile                  |  14 +-
 arch/mips/lib/memcpy.S                  | 198 +++++--------
 arch/mips/lib/memmove.c                 |  39 +++
 5 files changed, 324 insertions(+), 632 deletions(-)
 create mode 100644 arch/mips/lib/memmove.c

-- 
2.10.2

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

end of thread, other threads:[~2017-06-27 22:34 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-07 11:17 [PATCH 0/7] MIPS: Standard calling convention usercopy & memcpy Paul Burton
2016-11-07 11:17 ` Paul Burton
2016-11-07 11:17 ` [PATCH 1/7] MIPS: lib: Split lib-y to a line per file Paul Burton
2016-11-07 11:17   ` Paul Burton
2016-11-07 11:17 ` [PATCH 2/7] MIPS: lib: Implement memmove in C Paul Burton
2016-11-07 11:17   ` Paul Burton
2016-11-07 11:17 ` [PATCH 3/7] MIPS: memcpy: Split __copy_user & memcpy Paul Burton
2016-11-07 11:17   ` Paul Burton
2016-11-07 11:17 ` [PATCH 4/7] MIPS: memcpy: Return uncopied bytes from __copy_user*() in v0 Paul Burton
2016-11-07 11:17   ` Paul Burton
2016-11-07 11:18 ` [PATCH 5/7] MIPS: memcpy: Use ta* instead of manually defining t4-t7 Paul Burton
2016-11-07 11:18   ` Paul Burton
2016-11-07 11:18 ` [PATCH 6/7] MIPS: memcpy: Use a3/$7 for source end address Paul Burton
2016-11-07 11:18   ` Paul Burton
2016-11-14 14:47   ` Maciej W. Rozycki
2016-11-14 14:47     ` Maciej W. Rozycki
2016-11-07 11:18 ` [PATCH 7/7] MIPS: uaccess: Use standard __user_copy* function calls Paul Burton
2016-11-07 11:18   ` Paul Burton
2017-06-27 22:33   ` James Hogan
2017-06-27 22:33     ` James Hogan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.