Subject: Re: azalia chipset not working with xen
To: None <port-xen@NetBSD.org>
From: Pierrick Brossin <pierrick@bs-network.net>
List: port-xen
Date: 11/11/2006 11:59:41
On Fri, Nov 10, 2006 at 06:21:46PM +0100, Quentin Garnier wrote:
> On Fri, Nov 10, 2006 at 05:27:31PM +0100, Pierrick Brossin wrote:
> > On Thu, Nov 09, 2006 at 12:13:04PM +0100, Quentin Garnier wrote:
> > > Can you try removing BUS_DMA_NOCACHE from azalia_alloc_dmamem's call to
> > > bus_dmamem_map()?
> > 
> > Yeah well it worked. No more problem.
> > 
> > What is it supposed to do BUS_DMA_NOCACHE ?
> > Can I safely ask the maintainer to remove it ?
> 
> No, it's needed.  I suspected it was the issue, so I wanted to confirm
> it.
> 
> I'll drop a note to Manuel and see the issue with him.  It might just be
> a bug in our Xen code.
> 
> Meanwhile can you make a reply on the list to explain what worked around
> the issue so that people can know about it before I have time to mail
> Manuel?  Thanks.
> 
> PS: when I say "needed", it might not be strictly necessary on i386.
> Things might be different on, say, amd64 though.  I really have no idea.

Removing BUS_DMA_NOCACHE helped. It works just fine now.


-Pierrick Brossin