net: fec_imx: Do not use DMA coherent memory for Rx buffers
Trying to do unaligned access of coherent memory on AArch64 will lead
to an abort and some parts of our IP stack will do exactly that with
received packet buffer by using memcpy() to extracts parts of it.

Convert the driver to use regular memory for received data buffers to
prevent the issue from happening.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 26e76f9 commit 82ec28929cc960d4c62d97963ec627c944e17f66
@Andrey Smirnov Andrey Smirnov authored on 18 Sep 2018
Sascha Hauer committed on 19 Sep 2018
Showing 1 changed file
View
drivers/net/fec_imx.c