diff options
author | 2021-04-18 20:28:53 +0200 | |
---|---|---|
committer | 2021-04-19 15:47:56 -0700 | |
commit | 8d892d60941b00c86d2029c8a99db24ab4979673 (patch) | |
tree | 8bea4781f52df41b32006c6ca6c385c0c11ec34c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: sched: tapr: prevent cycle_time == 0 in parse_taprio_schedule (diff) | |
download | wireguard-linux-8d892d60941b00c86d2029c8a99db24ab4979673.tar.xz wireguard-linux-8d892d60941b00c86d2029c8a99db24ab4979673.zip |
net: ethernet: ixp4xx: Set the DMA masks explicitly
The former fix only papered over the actual problem: the
ethernet core expects the netdev .dev member to have the
proper DMA masks set, or there will be BUG_ON() triggered
in kernel/dma/mapping.c.
Fix this by simply copying dma_mask and dma_mask_coherent
from the parent device.
Fixes: e45d0fad4a5f ("net: ethernet: ixp4xx: Use parent dev for DMA pool")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
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