Re: [PATCH] powerpc: Fix initialization and usage of dma_mask

2007-08-06 Thread Olaf Hering
On Tue, Aug 07, Benjamin Herrenschmidt wrote: > powerpc has a couple of bugs in the usage of dma_masks that tend to > break when drivers explicitely try to set a 32 bits mask for example. > > First the code that generates the pci devices from the OF device-tree > doesn't initialize the mask prope

[PATCH] powerpc: Fix initialization and usage of dma_mask

2007-08-06 Thread Benjamin Herrenschmidt
powerpc has a couple of bugs in the usage of dma_masks that tend to break when drivers explicitely try to set a 32 bits mask for example. First the code that generates the pci devices from the OF device-tree doesn't initialize the mask properly, then our implementation of set_dma_mask() was trying