xen-devel
RE: [Xen-devel] 3.0.2-testing: pci_set_dma_mask, pci_set_consistent_dma_
> /* check, if we can restrict PCI DMA transfers to 28 bits */
> if (pci_set_dma_mask(pci, 0x0fffffff) < 0 ||
> pci_set_consistent_dma_mask(pci, 0x0fffffff) < 0) {
> snd_printk(KERN_ERR "architecture does not
> support 28bit PCI busmaster DMA\n");
> pci_disable_device(pci);
> return -ENXIO;
> }
>
> 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.
Ian
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- RE: [Xen-devel] 3.0.2-testing: pci_set_dma_mask, pci_set_consistent_dma_mask(pci, 0x0fffffff) returns < 0 (ICE1712),
Ian Pratt <=
- Re: [Xen-devel] 3.0.2-testing: pci_set_dma_mask, pci_set_consistent_dma_mask(pci, 0x0fffffff) returns < 0 (ICE1712), Keir Fraser
- Re: [Xen-devel] 3.0.2-testing: pci_set_dma_mask, pci_set_consistent_dma_mask(pci, 0x0fffffff) returns < 0 (ICE1712), Stephen C. Tweedie
- Re: [Xen-devel] 3.0.2-testing: pci_set_dma_mask, pci_set_consistent_dma_mask(pci, 0x0fffffff) returns < 0 (ICE1712), Keir Fraser
- Re: [Xen-devel] 3.0.2-testing: pci_set_dma_mask, pci_set_consistent_dma_mask(pci, 0x0fffffff) returns < 0 (ICE1712), Stephen C. Tweedie
- Re: [Xen-devel] 3.0.2-testing: pci_set_dma_mask, pci_set_consistent_dma_mask(pci, 0x0fffffff) returns < 0 (ICE1712), Keir Fraser
- Re: [Xen-devel] 3.0.2-testing: pci_set_dma_mask, pci_set_consistent_dma_mask(pci, 0x0fffffff) returns < 0 (ICE1712), Stephen C. Tweedie
- Re: [Xen-devel] 3.0.2-testing: pci_set_dma_mask, pci_set_consistent_dma_mask(pci, 0x0fffffff) returns < 0 (ICE1712), Keir Fraser
- [Xen-devel] Re: 3.0.2-testing: pci_set_dma_mask, pci_set_consistent_dma_mask(pci, 0x0fffffff) returns < 0 (ICE1712), Molle Bestefich
- Re: [Xen-devel] Re: 3.0.2-testing: pci_set_dma_mask, pci_set_consistent_dma_mask(pci, 0x0fffffff) returns < 0 (ICE1712), Keir Fraser
|
|
|