From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MGi0z-0004Vn-Dd for qemu-devel@nongnu.org; Tue, 16 Jun 2009 19:24:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGi0u-0004Pz-3H for qemu-devel@nongnu.org; Tue, 16 Jun 2009 19:24:28 -0400 Received: from [199.232.76.173] (port=34083 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGi0t-0004Pd-TO for qemu-devel@nongnu.org; Tue, 16 Jun 2009 19:24:23 -0400 Received: from mail-fx0-f209.google.com ([209.85.220.209]:56840) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MGi0t-0004Im-Je for qemu-devel@nongnu.org; Tue, 16 Jun 2009 19:24:23 -0400 Received: by fxm5 with SMTP id 5so1703593fxm.34 for ; Tue, 16 Jun 2009 16:24:22 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <200906170013.38327.paul@codesourcery.com> References: <200906170013.38327.paul@codesourcery.com> Date: Wed, 17 Jun 2009 03:24:22 +0400 Message-ID: Subject: Re: [Qemu-devel] [PATCH] sparc64: use pci_mem_base From: Igor Kovalenko Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: qemu-devel@nongnu.org On Wed, Jun 17, 2009 at 3:13 AM, Paul Brook wrote: >> Fortunately there exists global pci_mem_base variable which >> is used by pci_to_cpu_addr() but it seems to be only called >> while clearing pci memory mapping. > > I think this is the wrong way to fix this. Better would be for the map > functions to go away altogether. Like pci bus would handle that memory address mapping between devices and cpu? -- Kind regards, Igor V. Kovalenko