Thread (18 messages) flat view 18 messages, 5 authors, 2007-08-07

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

From: Olaf Hering <hidden>
Date: 2007-08-06 22:30:30
Also in: lkml

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 properly, then our implementation of
set_dma_mask() was trying to validate the -previous- mask value, not the
one passed in as an argument.

This patch should fix these.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---

Does this fix the problem you've noticed ?
This patch fixes it. Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help