]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/vio: Remove dma not supported warnings
authorAnton Blanchard <anton@samba.org>
Sun, 24 Jun 2012 18:23:53 +0000 (18:23 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 10 Jul 2012 09:18:51 +0000 (19:18 +1000)
commitfef53d1d3fe6c71c222b613cf67913c677797cd0
treef425cb4ea938b7ae2eb0052424737aa1eba5701e
parent694921aab2b50976fa8f84dd513a8bb9fa3753e6
powerpc/vio: Remove dma not supported warnings

During boot we see a number of these warnings:

vio 30000000: Warning: IOMMU dma not supported: mask 0xffffffffffffffff, table unavailable

The reason for this is that we set IOMMU properties for all VIO
devices even if they are not DMA capable.

Only set DMA ops, table and mask for devices with a DMA window.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/vio.c