[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] pvops dom0: no sound after boot; possibly caused by swiotlb



On Tue, Feb 02, 2010 at 07:31:16PM -0500, Konrad Rzeszutek Wilk wrote:
> > But thats not quite all whats dma_alloc_coherent does. As it only returns a 
> > 32-bit variable all coherent_dma_mask over 32-bit get casted down. This way 
> > bare-metal makes sure that the dma-mask is never over 32-bit.
> 
> Ooooh. I completly failed to notice that your dom0 was 32-bit.
> 
> But having that there would make the mask always be below
> 4GB, irregardless if the dom0 is 32 or 64-bit. Which is

<sigh> That is actually incorrect. Looking at the
dma_alloc_coherent_mask I missed the '!' and thought it would set it
irregardless of what the previous value was. That is not the case.

So your fix is good and it should be put in pv-ops. Thanks for tracking
down the problem and fixing it.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.