This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] 3.0.2-testing: pci_set_dma_mask, pci_set_consistent_dma_

To: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] 3.0.2-testing: pci_set_dma_mask, pci_set_consistent_dma_mask(pci, 0x0fffffff) returns < 0 (ICE1712)
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 12 Apr 2006 17:55:33 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Tom Hibbert <tom.xen@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 12 Apr 2006 09:55:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D4BA22D@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D4BA22D@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 12 Apr 2006, at 13:14, Ian Pratt wrote:

I commented it out, and the module loaded but I got a burst
of static from the speakers. I suspect that this code is
incompatible with Xen.

Why does Xen not allow the dom0 to set these parameters? My
development workstation is my main home box, and I like to
have sound on it.

Xen's allocator currently only supports a 31 bit DMA zone, which is
sufficient for the vast majority of hardware devices. I guess you could
try hacking the constants, but you might exhaust a 28b pool.

I think we will support it out of the box when I get some more time to hack on the Xen memory allocator.

 -- Keir

Xen-devel mailing list