From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 26 18:15:26 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C43B16A42A for ; Mon, 26 Sep 2005 18:15:26 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.swip.net [212.247.154.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D69143D48 for ; Mon, 26 Sep 2005 18:15:25 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: sYrXKE9Ehk5uuWh+ITYiXA== Received: from mp-217-136-202.daxnet.no ([193.217.136.202] verified) by mailfe06.swip.net (CommuniGate Pro SMTP 4.3.4) with ESMTP id 451306960 for freebsd-hackers@freebsd.org; Mon, 26 Sep 2005 19:30:43 +0200 From: Hans Petter Selasky To: freebsd-hackers@freebsd.org Date: Mon, 26 Sep 2005 19:31:45 +0200 User-Agent: KMail/1.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509261931.46052.hselasky@c2i.net> Subject: bus-dma question X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hselasky@c2i.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2005 18:15:26 -0000 Hi, I see something suspicious on Amd64, when allocating small blocks of DMA-able memory: bus_dmamap_load_callback: 0x0000000000caf200 ^^^^ this is physical address QH(0xffffff0000caf200) at 0x00caf200: ^^^^ this is kernel address Shouldn't kernel addresses always be different from physical addresses ? When allocating larger blocks of memory I get, for example: bus_dmamap_load_callback: 0x000000003bc50000 which seems correct. --HPS