Files
linux/drivers/net/ethernet/amd
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 <[email protected]>
Signed-off-by: Tom Lendacky <[email protected]>
Tested-by: Kim Phillips <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2015-07-08 15:57:14 -07:00
..
2015-07-08 15:57:14 -07:00
2013-12-29 00:46:38 -05:00
…
…
2014-06-05 15:14:21 -07:00
…
…
2014-06-05 15:14:21 -07:00
…
…