On Fri, Dec 28, 2018 at 12:36:21AM -0800, Christoph Hellwig wrote:
> Please try this patch:
>
The error type change to "DMA-API: gem :00:0f.0: device driver failed to
check map error" (I will send patch for fixing this).
Note that I used the patch from your just sent DMA series (since the pa
Please try this patch:
diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h
index a52c6409bdc2..f454e0ed1398 100644
--- a/include/linux/dma-mapping.h
+++ b/include/linux/dma-mapping.h
@@ -284,32 +284,25 @@ static inline void dma_direct_sync_sg_for_cpu(struct
device *dev,
}
#en
From: Corentin Labbe
Date: Sun, 23 Dec 2018 20:38:21 +0100
> During a boot on a qemu machine, I hit the following problem:
...
> After some pr_info, I found that the function triggering this is the
> pci_unmap_page() in gem_tx().
> So clearly this WARNING() is strange since it says "unmapped as
Hello
During a boot on a qemu machine, I hit the following problem:
[ 21.613659] [ cut here ]
[ 21.614039] DMA-API: gem :00:0f.0: device driver frees DMA memory with
wrong function [device address=0x185c5402] [size=408 bytes] [mapped as
page] [unmapped as