[OpenWrt-Devel] [PATCH] Revert "mt76: probe load mt7615 driver asynchronously"

2019-11-05 Thread DENG Qingfang
This reverts commit 81764319637f408623ed9f4bae3f0d149b010f07. After said commit, users report that MT7615 no longer works on boot and have to manually enable WiFi (via command "wifi") to make it work Fixes FS#2546 Signed-off-by: DENG Qingfang --- package/kernel/mt76/Makefile | 1

[OpenWrt-Devel] [PATCH] ath79: fix typos in DTS

2019-12-08 Thread DENG Qingfang
Replace "usb_ochi" with "usb_ohci", and "usb_echi" with "usb_ehci" ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH] ramips: add support for JCG JHR-AC876M

2019-12-10 Thread DENG Qingfang
instructions: Stock to OpenWrt: Upload factory.bin in stock firmware's upgrade page, do not preserve settings OpenWrt to stock: Push and hold the reset button for 5s while power cycling to enter recovery mode; Visit 192.168.1.1 and upload stock firmware Signed-off-by: DENG Qingfang

[OpenWrt-Devel] [PATCH V2] ath79: fix typos in DTS

2019-12-10 Thread DENG Qingfang
Replace "usb_ochi" with "usb_ohci", and "usb_echi" with "usb_ehci" Signed-off-by: DENG Qingfang --- target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dts | 6 +++--- target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts | 6 +++--- target/linux/ath79/

[OpenWrt-Devel] [PATCH] ramips: add support for JCG JHR-AC876M

2019-12-13 Thread DENG Qingfang
wlan2g/wan/label 0x8004 *:20 wlan5g 0xe000 *:1b lan 0xe006 *:1a not used in stock fw Signed-off-by: DENG Qingfang --- Changes since v2: Flattened pinctrl node Add MAC addresses map in commit message Use kilobytes as JCG_MAXSIZE unit --- .../ramips/dts

[OpenWrt-Devel] [PATCH] ramips: move set-irq-affinity script to mt7621 subtarget

2019-12-13 Thread DENG Qingfang
Move the set-irq-affinity script to mt7621 because it is the only SMP subtarget. Signed-off-by: DENG Qingfang --- .../ramips/{ => mt7621}/base-files/etc/init.d/set-irq-affinity| 0 1 file changed, 0 insertions(+), 0 deletions(-) rename target/linux/ramips/{ => mt7621}/base-files/etc/

[OpenWrt-Devel] [PATCH] linux-firmware: update to 20191215

2019-12-15 Thread DENG Qingfang
.2000.1886 Signed-off-by: DENG Qingfang --- package/firmware/linux-firmware/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/firmware/linux-firmware/Makefile b/package/firmware/linux-firmware/Makefile index ac4c3d4a63..085cce422d 100644 --- a/package/firm

[OpenWrt-Devel] [PATCH V2] ramips: add support for JCG JHR-AC876M

2019-12-12 Thread DENG Qingfang
instructions: Stock to OpenWrt: Upload factory.bin in stock firmware's upgrade page, do not preserve settings OpenWrt to stock: Push and hold the reset button for 5s while power cycling to enter recovery mode; Visit 192.168.1.1 and upload stock firmware Signed-off-by: DENG Qingfang

[OpenWrt-Devel] [PATCH] ath79: fix typos in DTS

2019-12-07 Thread DENG Qingfang
echi->ehci ochi->ohci Signed-off-by: DENG Qingfang --- target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dts | 6 +++--- target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts | 6 +++--- target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi | 6 +++--- target/linux/ath

[OpenWrt-Devel] [PATCH] ipset: update to 7.4

2019-11-04 Thread DENG Qingfang
Signed-off-by: DENG Qingfang --- package/network/utils/ipset/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/utils/ipset/Makefile b/package/network/utils/ipset/Makefile index 2cb6ec981e..0bab21a12f 100644 --- a/package/network/utils/ipset

[OpenWrt-Devel] [PATCH] ccache: update to 3.7.6

2019-11-24 Thread DENG Qingfang
Update ccache to 3.7.6 Release notes: https://ccache.dev/releasenotes.html#_ccache_3_7_6 Signed-off-by: DENG Qingfang --- tools/ccache/Makefile | 4 ++-- tools/ccache/patches/100-honour-copts.patch | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

[OpenWrt-Devel] [PATCH] iw: update to 5.4

2020-02-12 Thread DENG Qingfang
Update iw to 5.4 This increases the ipk size of iw-tiny/full by about 400 bytes Signed-off-by: DENG Qingfang --- package/network/utils/iw/Makefile | 6 +- .../utils/iw/patches/001-nl80211_h_sync.patch | 111 +- .../utils/iw/patches/200-reduce_size.patch| 30

[OpenWrt-Devel] [PATCH] iproute2: update to 5.5.0, enable LTO

2020-02-12 Thread DENG Qingfang
Update iproute2 to 5.5.0 Enable LTO to save several KB of size Signed-off-by: DENG Qingfang --- package/network/utils/iproute2/Makefile| 8 .../network/utils/iproute2/patches/100-configure.patch | 2 +- .../iproute2/patches/115-add-config-xtlibdir.patch | 2

[OpenWrt-Devel] [PATCH] ncurses: update to 6.2

2020-03-04 Thread DENG Qingfang
Update ncurses to 6.2 Signed-off-by: DENG Qingfang --- package/libs/ncurses/Makefile | 6 +++--- .../100-ncurses-5.6-20080112-urxvt.patch | 2 +- .../101-ncurses-5.6-20080628-kbs.patch| 20 +-- .../patches/102-ncurses-5.9-gcc-5.patch | 2

[OpenWrt-Devel] [PATCH] linux-firmware: update to 20200122

2020-02-14 Thread DENG Qingfang
: update board-2.bin c4586ff linux-firmware: Update AMD cpu microcode Signed-off-by: DENG Qingfang --- package/firmware/linux-firmware/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/firmware/linux-firmware/Makefile b/package/firmware/linux-firmware

[OpenWrt-Devel] [PATCH] ccache: update to 3.7.7

2020-01-16 Thread DENG Qingfang
Update ccache to 3.7.7 Release notes: https://ccache.dev/releasenotes.html#_ccache_3_7_7 Signed-off-by: DENG Qingfang --- tools/ccache/Makefile | 4 ++-- tools/ccache/patches/100-honour-copts.patch | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

[OpenWrt-Devel] [PATCH] ath10k-firmware: fix mirror hash

2020-01-20 Thread DENG Qingfang
Fixes: 641a93f0f226 ("ath10k-firmware: update wave 1 firmware to 10.2.4-1.0-00047") Signed-off-by: DENG Qingfang --- package/firmware/ath10k-firmware/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/firmware/ath10k-firmware/Makefile b/package/firmw

[OpenWrt-Devel] [PATCH] ramips: remove HiWiFi HC5661 non-existent 5GHz LED

2019-12-31 Thread DENG Qingfang
HC5661 does not have 5GHz WiFi or LED Fixes: e6e373d3480e ("ramips: Add DTS files for HiWiFi HC5x61 models") Signed-off-by: DENG Qingfang --- target/linux/ramips/dts/mt7620a_hiwifi_hc5661.dts | 5 - 1 file changed, 5 deletions(-) diff --git a/target/linux/ramips/dts/mt7620a_hiw

[OpenWrt-Devel] [PATCH v2] ramips: mt7620: use throughput trigger on HiWiFi HC5x61

2019-12-31 Thread DENG Qingfang
Throughput trigger support for MT7620 has been added, so switch to it Signed-off-by: DENG Qingfang --- Change since v1: Split out non-existent LED removal part Tested on HC5761 --- target/linux/ramips/dts/mt7620a_hiwifi_hc5661.dts| 1 + target/linux/ramips/dts/mt7620a_hiwifi_hc5761

[OpenWrt-Devel] [PATCH] iptables: update to 1.8.4

2019-12-29 Thread DENG Qingfang
Update iptables to 1.8.4 ChangeLog: https://netfilter.org/projects/iptables/files/changes-iptables-1.8.4.txt Signed-off-by: DENG Qingfang --- package/network/utils/iptables/Makefile | 6 +++--- .../utils/iptables/patches/600-shared-libext.patch | 12 ++-- .../patches

[OpenWrt-Devel] [PATCH] ramips: mt7620: use throughput trigger on HiWiFi HC5x61

2019-12-30 Thread DENG Qingfang
Throughput trigger support for MT7620 has been added, so switch to it Remove HC5661 non-existent 5GHz LED Signed-off-by: DENG Qingfang --- target/linux/ramips/dts/mt7620a_hiwifi_hc5661.dts| 6 +- target/linux/ramips/dts/mt7620a_hiwifi_hc5761.dts| 2 ++ target/linux/ramips

[OpenWrt-Devel] [PATCH] bcm53xx: 5.4: enable NAND

2020-04-14 Thread DENG Qingfang
NAND driver was dropped in the 5.4 bump, so enable it back Fixes: 50c6938b95a0 ("bcm53xx: add v5.4 support") Signed-off-by: DENG Qingfang --- target/linux/bcm53xx/config-5.4 | 4 1 file changed, 4 insertions(+) diff --git a/target/linux/bcm53xx/config-5.4 b/target/linux/bcm53xx/

[OpenWrt-Devel] [PATCH v2] bcm53xx: 5.4: enable NAND

2020-04-14 Thread DENG Qingfang
NAND driver was dropped in the 5.4 bump, so enable it back Fixes: 50c6938b95a0 ("bcm53xx: add v5.4 support") Signed-off-by: DENG Qingfang --- v1->v2 - Remove duplicate symbol target/linux/bcm53xx/config-5.4 | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a

[OpenWrt-Devel] [PATCH RFC] generic: mt7530: enable MAC learning on CPU port

2020-04-06 Thread DENG Qingfang
through the slow path. Use this as a workaround, until the bug is fixed upstream properly. Run-tested with 2 MT7621 APs. [1] https://github.com/openwrt/openwrt/pull/2798 [2] https://lore.kernel.org/netdev/20200405150915.gd161...@lunn.ch/ Signed-off-by: DENG Qingfang --- ...a-mt7530-enable-learning

[PATCH] mt76: move mt7615/7663 firmware to firmware section

2020-09-14 Thread DENG Qingfang
Move the separate mt76 firmware packages to firmware section Signed-off-by: DENG Qingfang --- package/kernel/mt76/Makefile | 78 ++ target/linux/mediatek/image/mt7622.mk | 4 +- target/linux/mediatek/mt7622/target.mk | 2 +- target/linux/ramips/image/mt7621

[PATCH] toolchain/binutils: add binutils 2.35

2020-08-24 Thread DENG Qingfang
Add binutils version 2.35 Signed-off-by: DENG Qingfang --- toolchain/binutils/Config.in | 4 ++ toolchain/binutils/Config.version | 4 ++ toolchain/binutils/Makefile | 4 ++ .../2.35/300-001_ld_makefile_patch.patch | 22 +++ .../400

[PATCH] toolchain: Update GCC 10 to version 10.2.0

2020-08-24 Thread DENG Qingfang
Signed-off-by: DENG Qingfang --- toolchain/gcc/Config.version | 2 +- toolchain/gcc/common.mk | 4 ++-- .../gcc/patches/{10.1.0 => 10.2.0}/002-case_insensitive.patch | 0 .../gcc/patches/{10.1.0 => 10.2.

[PATCH] mbedtls: Update to version 2.16.7

2020-08-17 Thread DENG Qingfang
Hi, > +PKG_SOURCE:=v$(PKG_VERSION).tar.gz This will end up with a file named "v2.16.7.tar.gz" in dl folder, which could be confusing. > +PKG_SOURCE_URL:=https://github.com/ARMmbed/mbedtls/archive/ > +PKG_HASH:=c95b11557ee97d2bdfd48cd57cf9b648a6cddd2ca879e3c35c4e7525f2871992 You can use the

[PATCH] toolchain/binutils: update to 2.35.1

2020-09-28 Thread DENG Qingfang
Update binutils 2.35 to 2.35.1 Signed-off-by: DENG Qingfang --- toolchain/binutils/Config.in| 6 +++--- toolchain/binutils/Config.version | 4 ++-- toolchain/binutils/Makefile | 4 ++-- .../{2.35 => 2.3

[OpenWrt-Devel] [PATCH] ccache: update to 3.7.9

2020-05-28 Thread DENG Qingfang
Update ccache to 3.7.9 Release notes: https://ccache.dev/releasenotes.html#_ccache_3_7_9 Signed-off-by: DENG Qingfang --- tools/ccache/Makefile | 4 ++-- tools/ccache/patches/100-honour-copts.patch | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

[OpenWrt-Devel] [PATCH] ipq40xx: disable DSA and Switchdev drivers

2020-05-30 Thread DENG Qingfang
They are not used at all. Signed-off-by: DENG Qingfang --- target/linux/ipq40xx/config-4.19 | 5 - target/linux/ipq40xx/config-5.4 | 6 -- 2 files changed, 11 deletions(-) diff --git a/target/linux/ipq40xx/config-4.19 b/target/linux/ipq40xx/config-4.19 index 23eb5ca589..7cea66e50d

Re: mvebu: cannot load XDP

2020-06-26 Thread DENG Qingfang
Hi On Fri, Jun 26, 2020 at 3:03 AM Jakov Petrina wrote: > > Hi Deng, > > On 25/06/2020 20:32, DENG Qingfang wrote: > > Commit 76f9aa6f4bfd12fba34fc44aef890c48d4fb1024 should backport > > support for mvneta XDP, but I can't load it. > > > > # ip link set

[OpenWrt-Devel] [PATCH] ramips: mt7621: refactor set affinity script

2020-06-03 Thread DENG Qingfang
The current one only looks for mt76x2e and mt7603e, and does not work for 2 or more same Wi-Fi chips. Refactor the script to cover those cases. Signed-off-by: DENG Qingfang --- .../mt7621/base-files/etc/init.d/set-irq-affinity | 26 ++ 1 file changed, 7 insertions(+), 19

[OpenWrt-Devel] [PATCH] mvebu: remove Linksys WRT and ClearFog Pro SUPPORTED_DEVICES

2020-06-03 Thread DENG Qingfang
A direct upgrade from previous swconfig version with incompatible settings to DSA will break the internet. Remove SUPPORTED_DEVICES so users cannot upgrade directly. Signed-off-by: DENG Qingfang --- target/linux/mvebu/image/cortexa9.mk | 7 --- 1 file changed, 7 deletions(-) diff --git

[PATCH] ath10k-ct-firmware: update to 022

2020-11-25 Thread DENG Qingfang
Signed-off-by: DENG Qingfang --- package/firmware/ath10k-ct-firmware/Makefile | 68 ++-- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/package/firmware/ath10k-ct-firmware/Makefile b/package/firmware/ath10k-ct-firmware/Makefile index cdfd3fb940..1733f53a5b

[PATCH] kernel: remove mvsw61xx swconfig driver

2020-11-12 Thread DENG Qingfang
All targets that used mvsw61xx have switched to upstream mv88e6xxx DSA driver, so it can be removed. Signed-off-by: DENG Qingfang --- package/kernel/linux/modules/netdevices.mk| 14 - target/linux/generic/config-5.4 |1 - .../generic/files/drivers/net/phy/mvsw61xx.c

[PATCH] ramips: mt7621: fix Telco X1 GPIO switches

2020-11-15 Thread DENG Qingfang
The GPIO base of MT7621 GPIO 0~31 is 480 on kernel 5.4 Fix the GPIO numbering. Signed-off-by: DENG Qingfang --- .../linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d

回复: kernel: remove mvsw61xx swconfig driver

2020-11-17 Thread DENG Qingfang
Hi Georgi, > 2. WRT3200ACM has two Ethernet interfaces. Isn’t it more efficient to have > dedicated interfaces for LAN and WAN compared to the DSA model which uses > only one of them, and creates multiple interfaces using VLANs? You only have to worry about that if you have (upload + download) >

[PATCH] ramips: replace obsolete mx25l25635f hack

2021-01-20 Thread DENG Qingfang
The kernel bump to 5.4 removed the mx25l25635f hack, and the upstream property "broken-flash-reset" should be used instead. Signed-off-by: DENG Qingfang --- target/linux/ramips/dts/mt7620a_youku_yk1.dts| 3 ++- target/linux/ramips/dts/mt7621_glinet_gl-mt1300.dts | 3 ++- ta

Re: [PATCH] ramips: replace obsolete mx25l25635f hack

2021-01-21 Thread DENG Qingfang
Hi, On Thu, Jan 21, 2021 at 5:37 PM David Bauer wrote: > > Is this dependent on board design? The need for the old hack should be fixed > by > this upstream commit [0]. Given that commit adds SNOR_F_4B_OPCODES for the > mx25l25635f, it should in turn disable the hack enabled by >

[PATCH] kernel: DSA roaming fix for Marvell Link Street switch series

2021-02-02 Thread DENG Qingfang
/-/issues/165 Signed-off-by: DENG Qingfang --- ...y-switchdev-of-disappearance-of-old-.patch | 126 + ...r-when-a-non-legacy-FDB-operation-fa.patch | 52 ...e-switchdev_notifier_fdb_info-in-dsa.patch | 226 +++ ...tchdev-event-implementation-under-th.patch | 85 ++ ...ly

[PATCH v2] ramips: remove obsolete mx25l25635f compatible hack

2021-02-02 Thread DENG Qingfang
The kernel bump to 5.4 has removed the mx25l25635f hack, and the mx25l25635f compatible is no longer required. Signed-off-by: DENG Qingfang --- target/linux/ramips/dts/mt7620a_youku_yk1.dts| 2 +- target/linux/ramips/dts/mt7621_glinet_gl-mt1300.dts | 2 +- target/linux/ramips/dts

Re: [PATCH] kernel: DSA roaming fix for Marvell Link Street switch series

2021-02-03 Thread DENG Qingfang
On Wed, Feb 3, 2021 at 4:20 PM Tobias Waldekranz wrote: > > AFAIK, no. There is a per-port bit that you can set to ignore the > errors, i.e. no violation is generated, but I am pretty sure that the > frame is still dropped. I just tested on my WRT1900AC v2. It seems that the CPU can receive

Re: [PATCH] kernel: DSA roaming fix for Marvell Link Street switch series

2021-02-02 Thread DENG Qingfang
On Tue, Feb 2, 2021 at 8:14 PM Tad wrote: > > I've tested this working well! > Devices can roam during iperf with no loss! > Thank you! > > > There are some errors in dmesg: > wrt1900acv1 > mv88e6085 f1072004.mdio-mii:00: ATU member violation for [mac] portvec 20 > spid 3 > > wrt1200ac >

Re: [PATCH] kernel: DSA roaming fix for Marvell Link Street switch series

2021-02-02 Thread DENG Qingfang
On Tue, Feb 2, 2021 at 9:22 PM Tobias Waldekranz wrote: > > > > > Tobias, what happens if the switch receives a frame that violates ATU > > portvec member? Is the frame trapped to the CPU or dropped? > > The frame will be dropped. So the flow will be blocked until the DSA > driver removes the

Re: [PATCH 2/3] base-files: failsafe: Start also CPU interface for DSA

2021-06-20 Thread DENG Qingfang
On Sat, Jun 19, 2021 at 08:36:10PM +0200, Hauke Mehrtens wrote: > On a DSA switch the ports have an upper device, the CPU device, e.g. > eth0. This device has to be in up state to bring up the lower devices > like lan1. > > Parse the link device from "ip link show" and bring it into up stated >

[PATCH] ramips: mt7621: remove bring up DSA master init script

2021-06-23 Thread DENG Qingfang
With commit 2e17c710954b, there is no need to bring up DSA master port manually. Signed-off-by: DENG Qingfang --- .../lib/preinit/07_mt7621_bringup_dsa_master | 20 --- 1 file changed, 20 deletions(-) delete mode 100644 target/linux/ramips/mt7621/base-files/lib/preinit

Re: [PATCH v2] ramips: fix at803x patch again

2021-06-08 Thread DENG Qingfang
Hi René, On Mon, Jun 7, 2021 at 2:44 AM René van Dorst wrote: > Thank for fixing. > But I can't apply this patch clean on top of the current master > 04a260911ca0f10a0e37c487c220e1aae3623dda. > Which commit/branch are you using? David's patches have been applied to master, you can test it now.

Re: [PATCH v2] ramips: fix at803x patch again

2021-06-11 Thread DENG Qingfang
Hi David, Unfortunately, the issue is still not resolved, according to Minqiang. Reverting your 2 commits and applying my patch fixes the issue. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

[PATCH] generic: mt7530: fix EEE patch

2021-05-06 Thread DENG Qingfang
The higher 16-bit of EEE register was overwritten by mistake, fix that. Fixes: 5b9ba4a93e83 ("generic: mt7530: support adjusting EEE") Signed-off-by: DENG Qingfang --- .../pending-5.4/761-net-dsa-mt7530-Support-EEE-features.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[PATCH] kernel: backport MediaTek jumbo frame support to 5.10

2021-05-21 Thread DENG Qingfang
Allow MTU up to 2026 on mediatek, ramips/mt7621 targets Signed-off-by: DENG Qingfang --- ...thernet-mediatek-support-setting-MTU.patch | 138 ++ ...1-net-dsa-mt7530-support-setting-MTU.patch | 112 ++ ...-dsa-mt7530-enable-MTU-normalization.patch | 36 + 3 files

[RFC PATCH] kernel: fix flow offload with IPv6 policy-based routing

2021-05-31 Thread DENG Qingfang
Sync iptables FLOWOFFLOAD target with upstream nft_flow_offload.c, which fixes the issue. Fixes: FS#3649 Signed-off-by: DENG Qingfang --- Note: I am by no means an expert on Netfilter subsystem. I just kind of copied and pasted upstream nft_flow_offload.c here, which seemed to work. A fix

Re: [PATCH v2] ramips: fix at803x patch again

2021-06-06 Thread DENG Qingfang
Hi, On Sat, Jun 5, 2021 at 12:19 AM David Bauer wrote: > > See the commit "generic: backport at803x fixes" in my staging tree [0]. Your patch still adds .config_aneg to AR8035, not AR8031. > > I'll test this later this weekend on my AC Lite. > > [0]

Re: [PATCH v2] ramips: fix at803x patch again

2021-06-04 Thread DENG Qingfang
Hi, On Fri, Jun 4, 2021 at 3:37 PM David Bauer wrote: > As the original patch still has to be backported to 21.02, I'd propose > to remove my hacks and instead properly backport c329e5af and 8f7e8762 > from upstream. > > This would remove the need to hack around the first hack and hopefully >

[PATCH] ramips: fix at803x patch again

2021-06-03 Thread DENG Qingfang
Commit 8222f8e1b9be overrides AR8031's PHY features, making its fibre feature unavailable. To fix that, override it again with the correct features flag in ramips patch. Reported-by: CHEN Minqiang Fixes: 8222f8e1b9be ("ath79: fix link mode support list on UniFi AC") Signed-off-by: DEN

[PATCH v2] ramips: fix at803x patch again

2021-06-03 Thread DENG Qingfang
: fix link mode support list on UniFi AC") Fixes: 6d4ef6792612 ("kernel: bump 5.4 to 5.4.113") Signed-off-by: DENG Qingfang --- v1 -> v2: do not override .features .../ramips/patches-5.10/710-at803x.patch | 13 ++-- .../linux/ramips/patches-5.4/991-at803x.patch | 21

[PATCH 19.07] ramips: mt7530 swconfig: fix race condition in register access

2021-04-25 Thread DENG Qingfang
vice/64495 Signed-off-by: DENG Qingfang --- .../drivers/net/ethernet/mediatek/mt7530.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mt7530.c b/target/linux/ramips/files-4.14/drivers/ne

[PATCH 1/2] toolchain/binutils: update to 2.35.2

2021-04-25 Thread DENG Qingfang
Update binutils 2.35 to 2.35.2 Signed-off-by: DENG Qingfang --- toolchain/binutils/Config.in| 6 +++--- toolchain/binutils/Config.version | 4 ++-- toolchain/binutils/Makefile | 4 ++-- .../{2.35.1

[PATCH 2/2] toolchain/binutils: add binutils 2.36.1

2021-04-25 Thread DENG Qingfang
Add binutils version 2.36.1 Signed-off-by: DENG Qingfang --- toolchain/binutils/Config.in | 4 ++ toolchain/binutils/Config.version | 6 ++- toolchain/binutils/Makefile | 4 ++ .../2.36.1/300-001_ld_makefile_patch.patch| 22

Re: [PATCH] kernel: update mt7530 EEE patch from upstream

2021-05-01 Thread DENG Qingfang
Hi Hauke, On Sat, May 1, 2021 at 9:48 PM Hauke Mehrtens wrote: > > These patches are now applied in a different order compared to the > upstream kernel, could you please have a look. I think we should move 0600~0602 patches to backport-5.4, then apply René's upstream patch as-is on top of that.

Re: [PATCH] kernel: update mt7530 EEE patch from upstream

2021-05-01 Thread DENG Qingfang
Hi Hauke, On Sat, May 1, 2021 at 10:06 PM Hauke Mehrtens wrote: > > Yes, I think that is a good idea. > > Will you prepare a patch? While trying that, I found some patches in pending-5.4 that are also supposed to be in backport, causing another patch conflict. Cc: Ilya Alternatively, you can

[PATCH] ramips: mt7530 swconfig: fix race condition in register access

2021-04-03 Thread DENG Qingfang
} in the critical section. This fixes the "Ghost VLAN" artifact[1] in MT7530/7621 when the VLAN operation and the swconfig LED link status poll race between each other. [1] https://forum.openwrt.org/t/mysterious-vlan-ids-on-mt7621-device/64495 Signed-off-by: DENG Qingfang --- Pleas

[PATCH] kernel/modules: move act_gact into kmod-sched-core

2021-04-08 Thread DENG Qingfang
As the name suggests, act_gact has the generic actions such as dropping and accepting packets, so move it into kmod-sched-core. Signed-off-by: DENG Qingfang --- package/kernel/linux/modules/netsupport.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kernel

Regression: commit 2809d0000744 ("kernel: support FIT partition parser on mtdblock devices") breaks mtd-concat

2021-04-12 Thread DENG Qingfang
After the commit, devices with mtd-concat such as HC5962 no longer work. Several "sysfs: cannot create duplicate filename '/devices/..." warnings can be seen in kernel log. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

[PATCH v2] kernel: DSA roaming fix for Marvell mv88e6xxx

2021-02-21 Thread DENG Qingfang
fuse users. Link: https://lore.kernel.org/netdev/20210106095136.224739-1-olte...@gmail.com/ Link: https://lore.kernel.org/netdev/20210116012515.3152-1-tob...@waldekranz.com/ Ref: https://gitlab.nic.cz/turris/turris-build/-/issues/165 Signed-off-by: DENG Qingfang --- v1 -> v2: Dropped ups

[PATCH] ccache: update to 4.2.1

2021-04-21 Thread DENG Qingfang
Update ccache to 4.2.1 Signed-off-by: DENG Qingfang --- tools/ccache/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/ccache/Makefile b/tools/ccache/Makefile index ff0204ae19..b4dc81 100644 --- a/tools/ccache/Makefile +++ b/tools/ccache/Makefile

[PATCH] kernel: update mt7530 EEE patch from upstream

2021-04-21 Thread DENG Qingfang
The new EEE patch is accepted upstream, so backport it and replace the current one. Cc: René van Dorst Signed-off-by: DENG Qingfang --- ...-mt7530-Add-support-for-EEE-features.patch | 120 + ...-mt7530-Add-support-for-EEE-features.patch | 120 + ...-net-dsa

[PATCH] mvebu: cortexa9: remove wifi migration script

2021-08-07 Thread DENG Qingfang
As we can't upgrade to 21.02 while keeping config anyway, remove the migration script. Signed-off-by: DENG Qingfang --- .../ieee80211/00-wifi-config-migrate | 41 --- 1 file changed, 41 deletions(-) delete mode 100644 target/linux/mvebu/cortexa9/base-files/etc

6in4 tunnel creation sometimes goes into infinite loop on kernel 5.10

2021-07-18 Thread DENG Qingfang
For details see FS#3690, created months ago but no progress has been made. I hope it can be fixed ASAP. Regards, Qingfang ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

On a newer kernel, only the first port of a bridge is brought up

2021-07-26 Thread DENG Qingfang
I tried to run OpenWrt with a bleeding-edge net-next kernel (commit 0e804326759d), then noticed that only the first port of a bridge is brought up automatically, the rest are down and not members of the bridge. i.e. with the following settings network.@device[0]=device

[PATCH 0/6] backport fixes and improvements for MT7530

2022-02-03 Thread DENG Qingfang
Hi, This series backports some patches from upstream to address the current MT7530 DSA driver's problems. Thanks. DENG Qingfang (6): kernel: backport MediaTek jumbo frame support kernel: backport MT7530 ageing time support kernel: backport MT7530 VLAN fix kernel: backport MT7530 MDB

[PATCH 3/6] kernel: backport MT7530 VLAN fix

2022-02-03 Thread DENG Qingfang
Fix FDB learning bugs when VLAN filtering is enabled. Signed-off-by: DENG Qingfang --- ...disable-learning-on-standalone-ports.patch | 65 + ...enable-assisted-learning-on-CPU-port.patch | 102 +++ ...se-independent-VLAN-learning-on-VLAN.patch | 262 ++ ...-mt7530-set

[PATCH 4/6] kernel: backport MT7530 MDB operations

2022-02-03 Thread DENG Qingfang
Use hardware to forward multicast traffic instead of trapping to the host. Signed-off-by: DENG Qingfang --- ...et-dsa-mt7530-support-MDB-operations.patch | 171 ++ 1 file changed, 171 insertions(+) create mode 100644 target/linux/generic/backport-5.10/770-v5.15-net-dsa-mt7530

[PATCH 6/6] kernel: backport MT7530 IRQ support

2022-02-03 Thread DENG Qingfang
Support MT7530 PHY link change interrupts, and enable for MT7621. Signed-off-by: DENG Qingfang --- ...net-dsa-mt7530-add-interrupt-support.patch | 428 ++ target/linux/ramips/dts/mt7621.dtsi | 3 + 2 files changed, 431 insertions(+) create mode 100644 target/linux

[PATCH 5/6] kernel: backport MediaTek Ethernet PHY driver

2022-02-03 Thread DENG Qingfang
Add support for MediaTek Gigabit Ethernet PHYs found in MT7530. Fix some link up/down issues. Signed-off-by: DENG Qingfang --- ...MediaTek-Gigabit-Ethernet-PHY-driver.patch | 162 ++ target/linux/generic/config-5.10 | 1 + target/linux/mediatek/mt7622/config-5.10

[PATCH 1/6] kernel: backport MediaTek jumbo frame support

2022-02-03 Thread DENG Qingfang
Allow MTU up to 2026 on mediatek, ramips/mt7621 targets. Signed-off-by: DENG Qingfang --- ...thernet-mediatek-support-setting-MTU.patch | 138 ++ ...1-net-dsa-mt7530-support-setting-MTU.patch | 112 ++ ...-dsa-mt7530-enable-MTU-normalization.patch | 36 + 3

[PATCH 2/6] kernel: backport MT7530 ageing time support

2022-02-03 Thread DENG Qingfang
Allow setting ageing time from 1 to 1,048,576 seconds. Signed-off-by: DENG Qingfang --- ...a-mt7530-support-setting-ageing-time.patch | 99 +++ 1 file changed, 99 insertions(+) create mode 100644 target/linux/generic/backport-5.10/764-v5.11-net-dsa-mt7530-support-setting

[PATCH v2 2/2] kernel: backport MT7530 IRQ support

2022-02-05 Thread DENG Qingfang
Support MT7530 PHY link change interrupts, and enable for MT7621. Signed-off-by: DENG Qingfang Tested-by: Arınç ÜNAL Tested-by: Stijn Tintel --- ...net-dsa-mt7530-add-interrupt-support.patch | 428 ++ target/linux/ramips/dts/mt7621.dtsi | 3 + 2 files changed, 431

[PATCH v2 1/2] kernel: backport MediaTek Ethernet PHY driver

2022-02-05 Thread DENG Qingfang
Add support for MediaTek Gigabit Ethernet PHYs found in MT7530. Fix some link instability issues. Signed-off-by: DENG Qingfang --- v2: removed interface mode check, should work for MT7531. ...MediaTek-Gigabit-Ethernet-PHY-driver.patch | 159 ++ target/linux/generic/config-5.10

Re: [PATCH 0/6] backport fixes and improvements for MT7530

2022-02-05 Thread DENG Qingfang
On Sun, Feb 6, 2022 at 2:23 AM Hauke Mehrtens wrote: > > On 2/5/22 19:21, Rosen Penev wrote: > > On Sat, Feb 5, 2022 at 10:12 AM Hauke Mehrtens wrote: > >> > >> On 2/3/22 13:06, DENG Qingfang wrote: > >>> Hi, > >>> > >>> This

Re: [PATCH v2 1/2] kernel: backport MediaTek Ethernet PHY driver

2022-02-05 Thread DENG Qingfang
On Sun, Feb 6, 2022 at 3:39 PM Arınç ÜNAL wrote: > > Can you also send a patch to remove the phydev->interface != > PHY_INTERFACE_MODE_INTERNAL check from upstream? Sure. +Cc: Andrew Lunn > > Tested-by: Arınç ÜNAL > > Arınç ___ openwrt-devel mailing

Re: [PATCH 0/6] backport fixes and improvements for MT7530

2022-02-05 Thread DENG Qingfang
On Sun, Feb 6, 2022 at 2:43 AM Hauke Mehrtens wrote: > > Hi, > > When I remove this check it works for me: If you change the check to PHY_INTERFACE_MODE_NA, does it still work? > --- > [1.257277] mtk_hsdma 1b007000.dma-controller: MediaTek HSDMA driver > registered > [

[PATCH v4] kernel: backport MT7530 IRQ support

2022-02-09 Thread DENG Qingfang
Support MT7530 PHY link change interrupts, and enable for MT7621. For external MT7530, a GPIO IRQ line is required, which is board-specific, so it should be added to each DTS. In case the interrupt-controller property is missing, it will fall back to polling mode. Signed-off-by: DENG Qingfang

[PATCH v3] kernel: backport MT7530 IRQ support

2022-02-09 Thread DENG Qingfang
Support MT7530 PHY link change interrupts, and enable for MT7621. For external MT7530, a GPIO IRQ line is required, which is board-specific, so it should be added to each DTS. In case the interrupt-controller property is missing, it will fall back to polling mode. Signed-off-by: DENG Qingfang

[PATCH] arm64: only enable BHI mitigation on affected CPUs

2022-11-06 Thread DENG Qingfang
%20Center/Spectre-BHB Fixes: 9a038e7fd12e ("generic: 5.15: copy config and patch from 5.10") Fixes: 048f0b170296 ("kernel: bump 5.10 to 5.10.105") Signed-off-by: DENG Qingfang --- target/linux/bcm27xx/bcm2711/config-5.15 | 1 + target/linux/generic/config-5.10 | 2 +-

[PATCH] ramips: mt7621: fix Xiaomi Router 3G/Pro LEDs

2023-04-12 Thread DENG Qingfang
The PHY name has been changed to "mt7530-0" since IRQ support was added to MT7530 driver. Fixes: f9cfe7af1f1f ("kernel: backport MT7530 IRQ support") Signed-off-by: DENG Qingfang --- Please also backport this to 22.03 branch, thanks. target/linux/ramips/dts/mt7621_xiaomi

[no subject]

2020-06-26 Thread DENG Qingfang via openwrt-devel
--- Begin Message --- Commit 76f9aa6f4bfd12fba34fc44aef890c48d4fb1024 should backport support for mvneta XDP, but I can't load it. # ip link set dev eth0 xdp obj /tmp/bpf.o sec xdp1 RTNETLINK answers: Not supported strace output: set_tls(0xb6f5f5d8) = 0