--- arch/powerpc/kernel/iommu.c 2012-06-08 09:01:02.785709100 +1000 +++ arch/powerpc/kernel/iommu.c 2012-06-08 09:01:07.489784856 +1000 @@ -33,7 +33,9 @@ #include #include #include +#include #include +#include #include #include #include @@ -171,6 +261,9 @@ return DMA_ERROR_CODE; } + if (should_fail_iommu(dev)) + return DMA_ERROR_CODE; + if (handle && *handle) start = *handle; else