On Thu, Sep 24, 2015 at 02:37:35PM +0800, Baoquan He wrote: > @@ -2469,6 +2469,8 @@ static dma_addr_t __map_single(struct device *dev, > unsigned long align_mask = 0; > int i; > > + if (translation_pre_enabled()) > + clear_translation_pre_enabled();
There is probably a better place to do this somewhere in the initialization state machine of the AMD IOMMU driver. Joerg -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/