From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lbm8i-00039N-5B for qemu-devel@nongnu.org; Mon, 23 Feb 2009 20:31:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lbm8g-00037r-KE for qemu-devel@nongnu.org; Mon, 23 Feb 2009 20:31:15 -0500 Received: from [199.232.76.173] (port=41165 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lbm8g-00037k-Ed for qemu-devel@nongnu.org; Mon, 23 Feb 2009 20:31:14 -0500 Received: from pop-canoe.atl.sa.earthlink.net ([207.69.195.66]:36306) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lbm8g-0007q6-5k for qemu-devel@nongnu.org; Mon, 23 Feb 2009 20:31:14 -0500 Message-ID: <49A34CFD.1010506@earthlink.net> Date: Mon, 23 Feb 2009 20:27:25 -0500 From: Robert Reif MIME-Version: 1.0 Subject: Re: [Qemu-devel] [5849] Change MMIO callbacks to use offsets, not absolute addresses. References: <200902240030.29683.paul@codesourcery.com> <49A347DD.3030906@earthlink.net> <200902240112.28240.paul@codesourcery.com> In-Reply-To: <200902240112.28240.paul@codesourcery.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: qemu-devel@nongnu.org Paul Brook wrote: >> How do you propose having the hardware drivers generate meaningful and >> timely faults when an improper access is performed so it behaves like real >> low level software expects the hardware to behave? >> > > If you're wanting to generate faults from IO devices then getting the right > physical address is the least of your concerns. First you need to figure out > how to avoid corrupting the rest of the CPU state. > > Paul > > The MMU does it so it must be possible. Is it a design issue, performance issue, just not worth the trouble or no one has really cared up until now? Please enlighten me further. Is it reasonable to expect it to work someday or should I just accept that it won't?