diff options
author | 2010-10-18 07:27:04 +0000 | |
---|---|---|
committer | 2010-12-09 15:17:50 +1100 | |
commit | b3c73856ae47d43d0d181f9de1c1c6c0820c4515 (patch) | |
tree | e7528ed3ed14b57f5861edb528c86adb1c66c393 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Merge remote branch 'jwb/next' into next (diff) | |
download | wireguard-linux-b3c73856ae47d43d0d181f9de1c1c6c0820c4515.tar.xz wireguard-linux-b3c73856ae47d43d0d181f9de1c1c6c0820c4515.zip |
powerpc/iommu: Use coherent_dma_mask for alloc_coherent
The IOMMU code has been passing the dma-mask instead of the
coherent_dma_mask to the iommu allocator. Coherent allocations should
be made using the coherent_dma_mask.
Also update the vio code to ensure the coherent_dma_mask is set. Without
this change drivers, such as ibmvscsi, fail to load with the corrected
dma_iommu_alloc_coherent().
Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions