From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IY6Pq-0000Y0-6o for qemu-devel@nongnu.org; Wed, 19 Sep 2007 16:44:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IY6Pp-0000XZ-HE for qemu-devel@nongnu.org; Wed, 19 Sep 2007 16:44:57 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IY6Pp-0000XS-Dc for qemu-devel@nongnu.org; Wed, 19 Sep 2007 16:44:57 -0400 Received: from grayson.netsweng.com ([207.235.77.11]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IY6Pp-0002cD-4A for qemu-devel@nongnu.org; Wed, 19 Sep 2007 16:44:57 -0400 Received: from amavis by grayson.netsweng.com with scanned-ok (Exim 3.36 #1 (Debian)) id 1IY6Po-0004Wb-00 for ; Wed, 19 Sep 2007 16:44:56 -0400 Received: from grayson.netsweng.com ([127.0.0.1]) by localhost (grayson.netsweng.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gKac2Y7s7gOy for ; Wed, 19 Sep 2007 16:44:35 -0400 (EDT) Received: from h134.99.28.71.ip.alltel.net ([71.28.99.134] helo=trantor.stuart.netsweng.com) by grayson.netsweng.com with esmtp (Exim 3.36 #1 (Debian)) id 1IY6PT-0004WU-00 for ; Wed, 19 Sep 2007 16:44:35 -0400 Date: Wed, 19 Sep 2007 16:44:10 -0400 (EDT) From: Stuart Anderson Subject: Re: [Qemu-devel] RFC: [0/11] EFAULT patch In-Reply-To: <200709192100.43630.paul@codesourcery.com> Message-ID: References: <1190167518.14938.348.camel@rapid> <200709192100.43630.paul@codesourcery.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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