qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stuart Anderson <anderson@netsweng.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] RFC: [0/11] EFAULT patch
Date: Wed, 19 Sep 2007 16:44:10 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0709191638140.20150@trantor.stuart.netsweng.com> (raw)
In-Reply-To: <200709192100.43630.paul@codesourcery.com>

On Wed, 19 Sep 2007, Paul Brook wrote:

> No. We're doing more than most 32-64 syscall thunks. To a first approximation
> the syscall thunks can bindly zero extend all values. In qemu we need to know
> whether something is a pointer or a value.

Isn't that was the code in do_syscall() does? or am I looking at something
in the wrong way?

> Kernel and userspace addresses are not interchangeable in the kernel. Any
> place that does so is probably a bug.

I said co-exist, not interchangeable. My point was that the 32-on-64
code didn't do any explicit mapping of pointers passed to it other than
the normal API.

I'm having trouble determining how you would like for things to be. Could
you maybe provide a small sample of how all of this should work, and then
I can probably see what I'm not quite getting.


                                 Stuart

Stuart R. Anderson                               anderson@netsweng.com
Network & Software Engineering                   http://www.netsweng.com/
1024D/37A79149:                                  0791 D3B8 9A4C 2CDC A31F
                                                  BD03 0A62 E534 37A7 9149

      reply	other threads:[~2007-09-19 20:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-19  0:59 [Qemu-devel] RFC: [0/11] EFAULT patch Stuart Anderson
2007-09-19  2:05 ` J. Mayer
2007-09-19 11:30   ` Stuart Anderson
2007-09-19 15:22     ` Paul Brook
2007-09-19 19:00   ` Stuart Anderson
2007-09-19 19:26     ` J. Mayer
2007-09-19 20:00     ` Paul Brook
2007-09-19 20:44       ` Stuart Anderson [this message]

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=Pine.LNX.4.64.0709191638140.20150@trantor.stuart.netsweng.com \
    --to=anderson@netsweng.com \
    --cc=qemu-devel@nongnu.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 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).