Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262604AbVCPOcv (ORCPT ); Wed, 16 Mar 2005 09:32:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262602AbVCPObq (ORCPT ); Wed, 16 Mar 2005 09:31:46 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:7631 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S262601AbVCPObb (ORCPT ); Wed, 16 Mar 2005 09:31:31 -0500 Date: Wed, 16 Mar 2005 14:31:30 +0000 From: Christoph Hellwig To: Keir Fraser Cc: linux-kernel@vger.kernel.org, akpm@osdl.org, riel@redhat.com, kurt@garloff.de, Ian.Pratt@cl.cam.ac.uk, Christian.Limpach@cl.cam.ac.uk Subject: Re: [PATCH] Xen/i386 cleanups - AGP bus/phys cleanups Message-ID: <20050316143130.GA21959@infradead.org> Mail-Followup-To: Christoph Hellwig , Keir Fraser , linux-kernel@vger.kernel.org, akpm@osdl.org, riel@redhat.com, kurt@garloff.de, Ian.Pratt@cl.cam.ac.uk, Christian.Limpach@cl.cam.ac.uk References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 678 Lines: 14 On Wed, Mar 16, 2005 at 11:48:29AM +0000, Keir Fraser wrote: > This patch cleans up AGP driver treatment of bus/device memory. Every > use of virt_to_phys/phys_to_virt should properly be converting between > virtual and bus addresses: this distinction really matters for the Xen > hypervisor. It's bogus either way. You must never use virt_to_phys or virt_to_bus for bus address. For systems with an IOMMU there's no 1:1 mapping. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/