]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: fix cache misaligned issue in Broadcom SF2 driver
authorSuji Velupillai <suji.velupillai@broadcom.com>
Sat, 4 Mar 2017 01:06:34 +0000 (17:06 -0800)
committerJoe Hershberger <joe.hershberger@ni.com>
Sun, 26 Mar 2017 14:58:15 +0000 (09:58 -0500)
commit5c624b9e9ccfbc8640e815202da3511aca4e449e
tree218a1350607c5fb0150d465f749bd9d35b71053e
parentec7aa8fd677f52a6175265aeb7b7f0345d9850c2
net: fix cache misaligned issue in Broadcom SF2 driver

Fixed cache misaligned issue in the net driver. The issue shows-up when
a call to flush_dcache_range is made with unaligned memory. The memory
must be aligned to ARCH_DMA_MINALIGN.

Signed-off-by: Suji Velupillai <suji.velupillai@broadcom.com>
Tested-by: Suji Velupillai <suji.velupillai@broadcom.com>
Reviewed-by: Arun Parameswaran <arun.parameswaran@broadcom.com>
Reviewed-by: JD Zheng <jiandong.zheng@broadcom.com>
Reviewed-by: Shamez Kurji <shamez.kurji@broadcom.com>
Signed-off-by: Steve Rae <steve.rae@raedomain.com>
Cover Letter:
This series resolves issues specific to the Broadcom SF2 driver:
- fix cache misaligned issue
- convert to Kconfig
END
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/bcm-sf2-eth-gmac.c
drivers/net/bcm-sf2-eth.h