summaryrefslogtreecommitdiff
path: root/scripts/extract-vmlinux
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2022-05-22 15:52:50 +0300
committerDavid S. Miller <davem@davemloft.net>2022-05-22 22:18:05 +0100
commitd5f4e19a85670b4e5697654f4a4e086e064f8a47 (patch)
tree912ece05c1727650198e1da3f0d391cfe0bb9f6c /scripts/extract-vmlinux
parent06d129946a71f3159b3b40ee95549183edf2c79d (diff)
downloadlinux-d5f4e19a85670b4e5697654f4a4e086e064f8a47.tar.gz
linux-d5f4e19a85670b4e5697654f4a4e086e064f8a47.tar.bz2
linux-d5f4e19a85670b4e5697654f4a4e086e064f8a47.zip
dpaa2-eth: use the correct software annotation field
The incorrect software annotation field was being used, swa->sg.sgt_size instead of swa->tso.sgt_size, which meant that the SGT buffer was unmapped with a wrong size. This is also confirmed by the DMA API debug prints which showed the following: [ 38.962434] DMA-API: fsl_dpaa2_eth dpni.2: device driver frees DMA memory with different size [device address=0x0000fffffafba740] [map size=224 bytes] [unmap size=0 bytes] [ 38.980496] WARNING: CPU: 11 PID: 1131 at kernel/dma/debug.c:973 check_unmap+0x58c/0x9b0 [ 38.988586] Modules linked in: [ 38.991631] CPU: 11 PID: 1131 Comm: iperf3 Not tainted 5.18.0-rc7-00117-g59130eeb2b8f #1972 [ 38.999970] Hardware name: NXP Layerscape LX2160ARDB (DT) Fixes: 3dc709e0cd47 ("dpaa2-eth: add support for software TSO") Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/extract-vmlinux')
0 files changed, 0 insertions, 0 deletions