Joakim Zhang
50c75680bd
net: stmmac: fix dma physical address of descriptor when display ring
...
[ Upstream commit bfaf91ca84 ]
Driver uses dma_alloc_coherent to allocate dma memory for descriptors,
dma_alloc_coherent will return both the virtual address and physical
address. AFAIK, virt_to_phys could not convert virtual address to
physical address, for which memory is allocated by dma_alloc_coherent.
dwmac4_display_ring() function is broken for various descriptor, it only
support normal descriptor(struct dma_desc) now, this patch also extends to
support all descriptor types.
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com >
Signed-off-by: Jakub Kicinski <kuba@kernel.org >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2021-03-30 14:31:47 +02:00
..
2020-12-30 11:53:44 +01:00
2021-03-11 14:17:25 +01:00
2021-03-04 11:38:02 +01:00
2020-12-30 11:54:09 +01:00
2021-03-04 11:37:45 +01:00
2021-01-12 20:18:09 +01:00
2021-03-04 11:38:00 +01:00
2021-03-25 09:04:05 +01:00
2021-03-17 17:06:34 +01:00
2021-03-11 14:17:22 +01:00
2021-03-11 14:17:23 +01:00
2021-03-09 11:11:10 +01:00
2021-03-17 17:06:26 +01:00
2021-03-04 11:37:57 +01:00
2021-03-25 09:04:16 +01:00
2021-03-17 17:06:33 +01:00
2020-11-16 13:24:32 +01:00
2021-03-04 11:38:32 +01:00
2021-03-04 11:38:15 +01:00
2021-03-04 11:37:57 +01:00
2021-01-12 20:18:24 +01:00
2021-03-07 12:34:08 +01:00
2020-12-30 11:53:49 +01:00
2021-03-25 09:04:18 +01:00
2020-12-01 18:46:24 +01:00
2020-12-30 11:53:46 +01:00
2021-03-25 09:04:09 +01:00
2021-03-25 09:04:13 +01:00
2021-03-17 17:06:24 +01:00
2021-03-04 11:37:52 +01:00
2021-03-04 11:37:46 +01:00
2021-02-26 10:13:00 +01:00
2021-03-04 11:38:37 +01:00
2021-03-17 17:06:22 +01:00
2021-01-06 14:56:53 +01:00
2021-03-04 11:38:21 +01:00
2020-12-03 10:00:23 +01:00
2021-03-25 09:04:16 +01:00
2021-03-25 09:04:12 +01:00
2021-03-17 17:06:24 +01:00
2021-01-27 11:55:29 +01:00
2021-03-17 17:06:24 +01:00
2021-03-04 11:38:42 +01:00
2021-01-19 18:27:26 +01:00
2021-02-03 23:28:41 +01:00
2021-01-27 11:55:22 +01:00
2021-03-04 11:37:42 +01:00
2021-03-04 11:38:15 +01:00
2021-03-09 11:11:12 +01:00
2021-03-17 17:06:20 +01:00
2021-03-04 11:37:25 +01:00
2020-12-30 11:53:34 +01:00
2021-03-04 11:38:40 +01:00
2021-03-17 17:06:31 +01:00
2021-03-17 17:06:28 +01:00
2021-03-04 11:38:37 +01:00
2021-03-30 14:31:47 +02:00
2020-12-30 11:53:53 +01:00
2021-02-10 09:29:17 +01:00
2021-03-25 09:04:10 +01:00
2021-03-04 11:38:39 +01:00
2021-03-09 11:11:15 +01:00
2021-03-04 11:37:27 +01:00
2021-03-25 09:04:16 +01:00
2021-03-04 11:37:44 +01:00
2021-03-04 11:38:24 +01:00
2021-01-27 11:55:27 +01:00
2021-03-17 17:06:23 +01:00
2021-03-04 11:37:59 +01:00
2020-12-30 11:53:53 +01:00
2021-01-17 14:17:02 +01:00
2021-03-04 11:38:17 +01:00
2021-03-25 09:04:14 +01:00
2021-03-07 12:34:15 +01:00
2021-03-04 11:38:03 +01:00
2021-03-25 09:04:13 +01:00
2021-03-25 09:04:12 +01:00
2020-12-30 11:53:47 +01:00
2021-03-04 11:38:32 +01:00
2021-03-04 11:38:22 +01:00
2021-03-25 09:04:04 +01:00
2021-03-04 11:38:40 +01:00
2021-03-25 09:04:13 +01:00
2021-03-17 17:06:26 +01:00
2021-03-04 11:37:28 +01:00
2021-03-04 11:38:41 +01:00
2021-03-25 09:04:15 +01:00
2021-03-25 09:04:10 +01:00
2021-03-25 09:04:15 +01:00
2021-03-04 11:37:17 +01:00
2021-03-25 09:04:08 +01:00
2021-03-25 09:04:08 +01:00
2021-03-07 12:34:04 +01:00
2021-03-04 11:37:18 +01:00
2020-12-30 11:54:00 +01:00
2021-03-04 11:37:18 +01:00
2021-03-04 11:38:36 +01:00
2021-03-17 17:06:37 +01:00
2020-12-02 04:09:56 -05:00