summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJiangfeng Xiao <xiaojiangfeng@huawei.com>2019-08-03 20:31:41 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-09-06 10:18:08 +0200
commit114bf652fbb64f77eb99fa5eb7d7b78d9963e6d3 (patch)
tree27f9eb71fe52d94d2fdff884dbc872416f3d6dc7 /tools/perf/scripts/python/bin
parente3ae5d356fb608716555ac97ba1b37a52dc0b0d9 (diff)
net: hisilicon: Fix dma_map_single failed on arm64
[ Upstream commit 96a50c0d907ac8f5c3d6b051031a19eb8a2b53e3 ] On the arm64 platform, executing "ifconfig eth0 up" will fail, returning "ifconfig: SIOCSIFFLAGS: Input/output error." ndev->dev is not initialized, dma_map_single->get_dma_ops-> dummy_dma_ops->__dummy_map_page will return DMA_ERROR_CODE directly, so when we use dma_map_single, the first parameter is to use the device of platform_device. Signed-off-by: Jiangfeng Xiao <xiaojiangfeng@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions