openwrtv4/target/linux
Alexey Brodkin 66f3edfd8b 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>
2016-08-24 15:16:01 +02:00
..
adm5120 kernel: remove unused morse led trigger driver 2016-08-04 20:53:02 +02:00
adm8668 treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
apm821xx kernel: update kernel 4.4 to version 4.4.19 2016-08-23 10:51:17 +03:00
ar7 all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
ar71xx ar71xx: switch to 24kc 2016-08-23 11:55:32 +02:00
arc770 linux/arc*: disable MAC frame filter in DW GMAC 2016-08-24 15:16:01 +02:00
archs38 linux/arc*: disable MAC frame filter in DW GMAC 2016-08-24 15:16:01 +02:00
arm64 arm64: rename config-default to config-4.4 2016-08-24 01:44:05 +03:00
at91 at91: fix SAMA5D3 subtarget 2016-04-25 14:54:07 +02:00
ath25 ath25: fix duplicate LZMA compression 2016-08-09 17:28:19 +02:00
au1000 au1000: rename patches directory to patches-3.18 2016-08-15 15:32:37 +02:00
bcm53xx bcm53xx: backport patch adding ARCH_BCM_53573 symbol 2016-08-23 07:13:07 +02:00
brcm47xx kernel: update kernel 4.4 to version 4.4.19 2016-08-23 10:51:17 +03:00
brcm63xx brcm63xx: switch to board based failsafe networking 2016-08-13 15:50:23 +02:00
brcm2708 kernel: update kernel 4.4 to version 4.4.19 2016-08-23 10:51:17 +03:00
cns3xxx cns3xxx: remove obsolete jffs2 image build code 2016-07-20 10:13:50 +02:00
gemini gemini: rename config-default to config-4.4 2016-08-24 01:44:05 +03:00
generic kernel: backport patch for specifying USB ports/devices in DT 2016-08-24 08:47:21 +02:00
imx6 imx6: Fix pointing to msata/mmc bootdevs 2016-08-22 17:24:48 +02:00
ipq806x ipq806x: fix ipq8065 s2a/s2b regulator frequency (fixes ethernet performance) 2016-08-24 15:15:16 +02:00
ixp4xx ixp4xx: fix Avila SoC audio driver compilation 2016-06-07 11:15:55 +02:00
kirkwood build: rename sysupgrade-nand to sysupgrade-tar 2016-07-29 16:53:03 +02:00
lantiq lantiq: switch from 34k to 24k 2016-08-23 11:55:32 +02:00
malta malta: enable be64 and le64 subtargets 2016-08-15 15:32:36 +02:00
mcs814x branding: add LEDE branding 2016-03-24 22:40:13 +01:00
mediatek kernel: update kernel 4.4 to version 4.4.19 2016-08-23 10:51:17 +03:00
mpc85xx ppc4xx: remove booke-wdt watchdog package 2016-07-22 09:48:12 +02:00
mvebu kernel: update kernel 4.4 to version 4.4.19 2016-08-23 10:51:17 +03:00
mxs mxs: unconditionally install kernel images/dtb files into rootfs (needed by boards) 2016-07-20 10:13:50 +02:00
octeon octeon: remove the now redundant cpu cflags override 2016-08-15 15:32:36 +02:00
omap kernel: update kernel 4.4 to version 4.4.19 2016-08-23 10:51:17 +03:00
omap24xx image / basefiles: make console password configurable 2016-04-18 21:53:07 +02:00
orion orion: rename config-default to config-3.18 2016-08-24 01:47:48 +03:00
oxnas kernel: update kernel 4.4 to version 4.4.19 2016-08-23 10:51:17 +03:00
ppc40x ppc4xx: remove booke-wdt watchdog package 2016-07-22 09:48:12 +02:00
ppc44x ppc4xx: remove booke-wdt watchdog package 2016-07-22 09:48:12 +02:00
ramips ramips: mt7621: switch to 24kc 2016-08-23 11:55:32 +02:00
rb532 rb532: rename config-default to config 4.1 2016-08-24 01:48:01 +03:00
realview realview: rename config-default to config-4.4 2016-08-24 01:48:04 +03:00
sunxi sunxi/pcduino3: Remove selection of absent rtl8188eu 2016-07-23 12:27:42 +02:00
uml uml: revert accidentally committed change 2016-04-25 14:09:05 +02:00
x86 x86: enable CPU frequency scaling 2016-08-03 15:30:13 +02:00
xburst xburst: remove target specific /etc/config/system 2016-06-08 00:31:09 +02:00
zynq build: remove cpio.gz and tar.gz from regular filesystem types 2016-07-25 12:43:39 +02:00
Makefile