On Tue, Jun 30, 2015 at 05:59:27PM +0100, Michel Thierry wrote: > On 6/30/2015 4:16 PM, Mika Kuoppala wrote: > >When dma page is setup, warn if we try to point the entries > >to a uninitialized (zero) dma address. Like we do with gen6 Just a note that 0 looks only to be reserved due to a quirk of the intel-iommu implementation. There is nothing preventing a different iommu or future implementation using 0 as a valid dma_addr_t afaict. This should presumably be WARN_ON(dma_mapping_error(&dev->pdev->dev, px_dma())); -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx