diff options
author | 2015-07-06 11:57:37 -0500 | |
---|---|---|
committer | 2015-07-08 15:57:14 -0700 | |
commit | cfbfd86bfde15020bccde377e11586ee5c8b701d (patch) | |
tree | 6b129aeb7b38ea566f1548463ec32a7a9550dcf5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Revert "dev: set iflink to 0 for virtual interfaces" (diff) | |
download | linux-dev-cfbfd86bfde15020bccde377e11586ee5c8b701d.tar.xz linux-dev-cfbfd86bfde15020bccde377e11586ee5c8b701d.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions