Skip to content

non-coherent Rx buffers in FEC and some small fixes

Andrey Smirnov barebox 1 version Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7net: fec_imx: Drop extra indentation level by exiting earlydrivers/net/fec_imx.c+27 -260 replies
2/7net: fec_imx: Don't check bd_status & FEC_RBD_ERR twicedrivers/net/fec_imx.c+5 -70 replies
3/7net: fec_imx: Read data_length only oncedrivers/net/fec_imx.c+17 -140 replies
4/7net: fec_imx: Drop struct fec_framedrivers/net/fec_imx.c+4 -120 replies
5/7net: fec_imx: Drop frame_lengthdrivers/net/fec_imx.c+3 -40 replies
6/7net: fec_imx: Make use of readx_poll_timeout() macrosdrivers/net/fec_imx.c+22 -390 replies
7/7net: fec_imx: Do not use DMA coherent memory for Rx buffersdrivers/net/fec_imx.c+25 -42 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] non-coherent Rx buffers in FEC and some small fixes

Everyone:

This series was created while working on converting FEC driver to use non-coherent memory for Rx buffers as a part of addressing feedback for [1]. Patch 7/7 implements said change while the rest of the patches are just small improvements (IMHO, of course) that I made while looking at FEC's source code.

Tested by using TFTP on following boards:

- NXP i.MX8MQ EVK
- ZII i.MX6Q RDU2
- ZII VF610 CFU1

Feedback is welcome!

Thanks,
Andrey Smirnov

[1] http://lists.infradead.org/pipermail/barebox/2018-August/034216.html

Andrey Smirnov (7):
net: fec_imx: Drop extra indentation level by exiting early
net: fec_imx: Don't check bd_status & FEC_RBD_ERR twice
net: fec_imx: Read data_length only once
net: fec_imx: Drop struct fec_frame
net: fec_imx: Drop frame_length
net: fec_imx: Make use of readx_poll_timeout() macros
net: fec_imx: Do not use DMA coherent memory for Rx buffers

 drivers/net/fec_imx.c | 141 +++++++++++++++++++++---------------------
 1 file changed, 69 insertions(+), 72 deletions(-)
Signature · 7 lines
2.17.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox