[U-Boot] [PATCH v2] rtl8169: fix cache misalignment message on transmit.

Nicolas Chauvet kwizart at gmail.com
Wed Sep 14 12:39:14 CEST 2016


2016-09-14 3:29 GMT+02:00  <Peter.Chubb at data61.csiro.au>:
> The call to flush cache on the transmit buffer was misplaced (for very
> short packets) and asked to flush less than a cacheline.
>
> Move the flush cache call to after a short packet has been padded
> to minimum length (so the padding is flushed too), and round the size
> up to a cacheline.
>
> Signed-off-by: Peter Chubb <peter.chubb at data61.csiro.au>
> Acked-by: Joe Hershberger <joe.hershberger at ni.com>
> ---
>  drivers/net/rtl8169.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Tested-by Nicolas Chauvet <kwizart at gmail.com>

This fix the following message on trimslice with 2016.09:
---
BOOTP broadcast 1
CACHE: Misaligned operation at range [3ffba600, 3ffba756]
---

Thx


-- 
-

Nicolas (kwizart)


More information about the U-Boot mailing list