Lendacky, Thomas
cfbfd86bfd
amd-xgbe: Fix DMA API debug warning
...
When running a kernel configured with CONFIG_DMA_API_DEBUG=y a warning
is issued:
DMA-API: device driver tries to sync DMA memory it has not allocated
This warning is the result of mapping the full range of the Rx buffer
pages allocated and then performing a dma_sync_single_for_cpu against
a calculated DMA address. The proper thing to do is to use the
dma_sync_single_range_for_cpu with a base DMA address and an offset.
Reported-by: Kim Phillips <kim.phillips@arm.com >
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com >
Tested-by: Kim Phillips <kim.phillips@arm.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2015-07-08 15:57:14 -07:00
..
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-04-29 15:19:34 -04:00
2015-07-08 15:57:14 -07:00
2015-06-28 16:54:32 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-28 20:28:20 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-29 09:28:14 -07:00
2015-07-03 09:54:02 -07:00
2015-06-23 06:50:35 -07:00
2015-07-02 12:10:20 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:56:18 -07:00
2015-06-23 07:16:25 -07:00
2015-06-23 06:50:35 -07:00
2015-06-28 17:02:40 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-29 15:57:50 -07:00
2015-06-26 02:52:27 -07:00
2015-06-30 09:37:09 -07:00
2015-06-25 02:06:29 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-07-01 10:49:25 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-25 02:13:02 -07:00
2015-06-24 02:58:51 -07:00
2015-06-23 06:50:35 -07:00
2015-06-24 16:49:49 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-29 12:52:06 -07:00
2015-06-23 06:50:35 -07:00
2015-06-29 12:45:04 -07:00
2015-06-24 16:49:49 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-05-14 17:38:17 -04:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-28 20:20:55 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 06:50:35 -07:00
2015-06-23 07:16:25 -07:00
2015-06-23 07:16:25 -07:00