summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-4.1/110-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch
diff options
context:
space:
mode:
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>2016-08-24 15:44:04 +0300
committerFelix Fietkau <nbd@nbd.name>2016-08-24 15:16:01 +0200
commit66f3edfd8baaf92133df251656118e70edcd59b9 (patch)
treed4ed8eedbf594a450aab484c67f7b448e2d5e0b9 /target/linux/generic/patches-4.1/110-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch
parent2b0a1292f84ce17363eea0da3051cb9268cd98a6 (diff)
downloadmtk-20170518-66f3edfd8baaf92133df251656118e70edcd59b9.zip
mtk-20170518-66f3edfd8baaf92133df251656118e70edcd59b9.tar.gz
mtk-20170518-66f3edfd8baaf92133df251656118e70edcd59b9.tar.bz2
linux/arc*: disable MAC frame filter in DW GMAC
DW GMAC on ARC SDP boards doesn't enter promiscuous mode if Ethernet PHY haven't got established link. Good examples are auto-negotiation in progress or disconnected cable. We do see Linux kernel sets GMAC's MAC filter register properly but GMAC's hardware doesn't accept new settings. We believe it is a hardware issue, most probably problem of integration of DW GMAC and PHY on the board. As a work-around we completely disable frame filtering in GMAC hardware (once and for good) which forces GMAC to enter promiscuous mode with the first write to MAC filter register. That gives us working bridge that consists of eth0 and wlan0 (USB Wi-Fi dongle). I.e. we finally have working "Dumb AP" setup made of ARC AXS10x boards. Given that hack is quite dirty (in loaded wired networks this will effectively load CPU with junk packets even if user doesn't need promisc mode) and there's no indication any other boards with DW GMAC suffer from the same issue we're patching only kernel for ARC boards. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: John Crispin <john@phrozen.org>, Cc: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/generic/patches-4.1/110-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch')
0 files changed, 0 insertions, 0 deletions