]> 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)
commitd2d4b1f94f903b42055b8d88fdd6f3da8c352e85
treef425cb4ea938b7ae2eb0052424737aa1eba5701e
parent7549eb494753725046e0c04902424422ad4b22ec
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