From: Paul Burton <paul.burton@imgtec.com> To: <linux-mips@linux-mips.org> Cc: Ralf Baechle <ralf@linux-mips.org>, Paul Burton <paul.burton@imgtec.com> Subject: [PATCH 0/7] MIPS: Standard calling convention usercopy & memcpy Date: Mon, 7 Nov 2016 11:17:55 +0000 [thread overview] Message-ID: <20161107111802.12071-1-paul.burton@imgtec.com> (raw) 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
WARNING: multiple messages have this Message-ID (diff)
From: Paul Burton <paul.burton@imgtec.com> To: linux-mips@linux-mips.org Cc: Ralf Baechle <ralf@linux-mips.org>, Paul Burton <paul.burton@imgtec.com> Subject: [PATCH 0/7] MIPS: Standard calling convention usercopy & memcpy Date: Mon, 7 Nov 2016 11:17:55 +0000 [thread overview] Message-ID: <20161107111802.12071-1-paul.burton@imgtec.com> (raw) Message-ID: <20161107111755.s7ZHkX8p6sr8vItpM5SH0wGjwgGyaaTgD1Q1Dhjguh4@z> (raw) 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
next reply other threads:[~2016-11-07 11:19 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-11-07 11:17 Paul Burton [this message] 2016-11-07 11:17 ` [PATCH 0/7] MIPS: Standard calling convention usercopy & memcpy 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20161107111802.12071-1-paul.burton@imgtec.com \ --to=paul.burton@imgtec.com \ --cc=linux-mips@linux-mips.org \ --cc=ralf@linux-mips.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.