All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Hogan <james.hogan@imgtec.com>
To: Paul Burton <paul.burton@imgtec.com>
Cc: <linux-mips@linux-mips.org>, Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH 7/7] MIPS: uaccess: Use standard __user_copy* function calls
Date: Tue, 27 Jun 2017 23:33:52 +0100	[thread overview]
Message-ID: <20170627223352.GI31455@jhogan-linux.le.imgtec.org> (raw)
In-Reply-To: <20161107111802.12071-8-paul.burton@imgtec.com>

[-- Attachment #1: Type: text/plain, Size: 728 bytes --]

Hi Paul,

On Mon, Nov 07, 2016 at 11:18:02AM +0000, Paul Burton wrote:
> -#define __invoke_copy_from_user(to, from, n)				\
> -({									\
> -	register long __cu_ret_r __asm__("$2");				\
> -	register void *__cu_to_r __asm__("$4");				\
> -	register const void __user *__cu_from_r __asm__("$5");		\
> -	register long __cu_len_r __asm__("$6");				\
> -									\
> -	__cu_to_r = (to);						\
> -	__cu_from_r = (from);						\
> -	__cu_len_r = (n);						\
> -	__asm__ __volatile__(						\
> -	".set\tnoreorder\n\t"						\
> -	__MODULE_JAL(__copy_user)					\
> -	".set\tnoat\n\t"						\
> -	__UA_ADDU "\t$7, %1, %2\n\t"					\

I believe __UA_ADDU is no longer used, so could now be removed from the
top of uaccess.h.

Cheers
James

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: James Hogan <james.hogan@imgtec.com>
To: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH 7/7] MIPS: uaccess: Use standard __user_copy* function calls
Date: Tue, 27 Jun 2017 23:33:52 +0100	[thread overview]
Message-ID: <20170627223352.GI31455@jhogan-linux.le.imgtec.org> (raw)
Message-ID: <20170627223352.IOO3FwxjHS2TdkWjtwSFhXSTn39Mj6_9m9xHeGMqVEA@z> (raw)
In-Reply-To: <20161107111802.12071-8-paul.burton@imgtec.com>

[-- Attachment #1: Type: text/plain, Size: 728 bytes --]

Hi Paul,

On Mon, Nov 07, 2016 at 11:18:02AM +0000, Paul Burton wrote:
> -#define __invoke_copy_from_user(to, from, n)				\
> -({									\
> -	register long __cu_ret_r __asm__("$2");				\
> -	register void *__cu_to_r __asm__("$4");				\
> -	register const void __user *__cu_from_r __asm__("$5");		\
> -	register long __cu_len_r __asm__("$6");				\
> -									\
> -	__cu_to_r = (to);						\
> -	__cu_from_r = (from);						\
> -	__cu_len_r = (n);						\
> -	__asm__ __volatile__(						\
> -	".set\tnoreorder\n\t"						\
> -	__MODULE_JAL(__copy_user)					\
> -	".set\tnoat\n\t"						\
> -	__UA_ADDU "\t$7, %1, %2\n\t"					\

I believe __UA_ADDU is no longer used, so could now be removed from the
top of uaccess.h.

Cheers
James

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2017-06-27 22:34 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=20170627223352.GI31455@jhogan-linux.le.imgtec.org \
    --to=james.hogan@imgtec.com \
    --cc=linux-mips@linux-mips.org \
    --cc=paul.burton@imgtec.com \
    --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: link
Be 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.