[PATCH 0/2] net: macb: fix dma usage
Steffen Trumtrar
s.trumtrar at pengutronix.de
Tue Nov 28 08:29:21 PST 2023
The rx_buffer is only dma_alloc'ed but never properly flushed.
Fix that.
While at it, also use proper volatile access instead of sw barriers.
Signed-off-by: Steffen Trumtrar <s.trumtrar at pengutronix.de>
---
Steffen Trumtrar (2):
net: macb: fix dma_alloc for rx_buffer
net: macb: convert to volatile accesses
drivers/net/macb.c | 90 ++++++++++++++++++++++++++++++------------------------
1 file changed, 50 insertions(+), 40 deletions(-)
---
base-commit: 5f200dd534c848dfa5d948334b6373f0310b8f73
change-id: 20231128-v2023-08-0-topic-macb-0c13ed91179d
Best regards,
--
Steffen Trumtrar <s.trumtrar at pengutronix.de>
More information about the barebox
mailing list