diff options
author | John Audia <therealgraysky@proton.me> | 2022-05-22 07:12:09 -0400 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-06-06 19:20:02 +0200 |
commit | 01a6a5c73120ccddd2a83381252ede91aac070f4 (patch) | |
tree | 52cd139d35cad0f4813a77cade687790f1ba5565 /target/linux/generic/backport-5.10 | |
parent | c9929fabcbd367cc82a9080ced08d7f21dead45a (diff) | |
download | upstream-01a6a5c73120ccddd2a83381252ede91aac070f4.tar.gz upstream-01a6a5c73120ccddd2a83381252ede91aac070f4.tar.bz2 upstream-01a6a5c73120ccddd2a83381252ede91aac070f4.zip |
kernel: bump 5.10 to 5.10.117
Removed upstreamed:
backport-5.10/890-v5.19-net-sfp-Add-tx-fault-workaround-for-Huawei-MA5671A-SFP-ON.patch
All patches automatically rebased.
Build system: x86_64
Build-tested: ipq806x/R7800
Signed-off-by: John Audia <therealgraysky@proton.me>
Diffstat (limited to 'target/linux/generic/backport-5.10')
3 files changed, 3 insertions, 65 deletions
diff --git a/target/linux/generic/backport-5.10/200-v5.18-tools-resolve_btfids-Build-with-host-flags.patch b/target/linux/generic/backport-5.10/200-v5.18-tools-resolve_btfids-Build-with-host-flags.patch index 489575fb35..caec8db5d6 100644 --- a/target/linux/generic/backport-5.10/200-v5.18-tools-resolve_btfids-Build-with-host-flags.patch +++ b/target/linux/generic/backport-5.10/200-v5.18-tools-resolve_btfids-Build-with-host-flags.patch @@ -24,8 +24,6 @@ Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> tools/bpf/resolve_btfids/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -diff --git a/tools/bpf/resolve_btfids/Makefile b/tools/bpf/resolve_btfids/Makefile -index af9f9d3534c9..e727058bfe15 100644 --- a/tools/bpf/resolve_btfids/Makefile +++ b/tools/bpf/resolve_btfids/Makefile @@ -23,6 +23,8 @@ CC = $(HOSTCC) @@ -37,7 +35,7 @@ index af9f9d3534c9..e727058bfe15 100644 OUTPUT ?= $(srctree)/tools/bpf/resolve_btfids/ -@@ -45,9 +47,9 @@ $(SUBCMDOBJ): fixdep FORCE | $(OUTPUT)/libsubcmd +@@ -45,9 +47,9 @@ $(SUBCMDOBJ): fixdep FORCE | $(OUTPUT)/l $(Q)$(MAKE) -C $(SUBCMD_SRC) OUTPUT=$(abspath $(dir $@))/ $(abspath $@) $(BPFOBJ): $(wildcard $(LIBBPF_SRC)/*.[ch] $(LIBBPF_SRC)/Makefile) | $(OUTPUT)/libbpf @@ -49,6 +47,3 @@ index af9f9d3534c9..e727058bfe15 100644 -I$(srctree)/tools/include \ -I$(srctree)/tools/include/uapi \ -I$(LIBBPF_SRC) \ --- -2.35.1 - diff --git a/target/linux/generic/backport-5.10/732-net-next-1-of-net-pass-the-dst-buffer-to-of_get_mac_address.patch b/target/linux/generic/backport-5.10/732-net-next-1-of-net-pass-the-dst-buffer-to-of_get_mac_address.patch index a4a9f5624e..3b59e4532c 100644 --- a/target/linux/generic/backport-5.10/732-net-next-1-of-net-pass-the-dst-buffer-to-of_get_mac_address.patch +++ b/target/linux/generic/backport-5.10/732-net-next-1-of-net-pass-the-dst-buffer-to-of_get_mac_address.patch @@ -1641,7 +1641,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> lp->coalesce_count_tx = XAXIDMA_DFT_TX_THRESHOLD; --- a/drivers/net/ethernet/xilinx/xilinx_emaclite.c +++ b/drivers/net/ethernet/xilinx/xilinx_emaclite.c -@@ -1122,7 +1122,6 @@ static int xemaclite_of_probe(struct pla +@@ -1107,7 +1107,6 @@ static int xemaclite_of_probe(struct pla struct net_device *ndev = NULL; struct net_local *lp = NULL; struct device *dev = &ofdev->dev; @@ -1649,7 +1649,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> int rc = 0; -@@ -1164,12 +1163,9 @@ static int xemaclite_of_probe(struct pla +@@ -1149,12 +1148,9 @@ static int xemaclite_of_probe(struct pla lp->next_rx_buf_to_use = 0x0; lp->tx_ping_pong = get_bool(ofdev, "xlnx,tx-ping-pong"); lp->rx_ping_pong = get_bool(ofdev, "xlnx,rx-ping-pong"); diff --git a/target/linux/generic/backport-5.10/890-v5.19-net-sfp-Add-tx-fault-workaround-for-Huawei-MA5671A-SFP-ON.patch b/target/linux/generic/backport-5.10/890-v5.19-net-sfp-Add-tx-fault-workaround-for-Huawei-MA5671A-SFP-ON.patch deleted file mode 100644 index 7a9de8ee1e..0000000000 --- a/target/linux/generic/backport-5.10/890-v5.19-net-sfp-Add-tx-fault-workaround-for-Huawei-MA5671A-SFP-ON.patch +++ /dev/null @@ -1,57 +0,0 @@ -From f81d97cb646ab8b90fb181d66fccaf9589990de6 Mon Sep 17 00:00:00 2001 -From: Matthew Hagan <mnhagan88@gmail.com> -Date: Sat, 30 Apr 2022 11:00:49 +0100 -Subject: [PATCH v2] net: sfp: Add tx-fault workaround for Huawei MA5671A SFP - ONT - -As noted elsewhere, various GPON SFP modules exhibit non-standard -TX-fault behaviour. In the tested case, the Huawei MA5671A, when used -in combination with a Marvell mv88e6085 switch, was found to -persistently assert TX-fault, resulting in the module being disabled. - -This patch adds a quirk to ignore the SFP_F_TX_FAULT state, allowing the -module to function. - -Change from v1: removal of erroneous return statment (Andrew Lunn) - -Signed-off-by: Matthew Hagan <mnhagan88@gmail.com> -Reviewed-by: Andrew Lunn <andrew@lunn.ch> ---- - drivers/net/phy/sfp.c | 12 +++++++++++- - 1 file changed, 11 insertions(+), 1 deletion(-) - ---- a/drivers/net/phy/sfp.c -+++ b/drivers/net/phy/sfp.c -@@ -249,6 +249,7 @@ struct sfp { - struct sfp_eeprom_id id; - unsigned int module_power_mW; - unsigned int module_t_start_up; -+ bool tx_fault_ignore; - - #if IS_ENABLED(CONFIG_HWMON) - struct sfp_diag diag; -@@ -1893,6 +1894,12 @@ static int sfp_sm_mod_probe(struct sfp * - else - sfp->module_t_start_up = T_START_UP; - -+ if (!memcmp(id.base.vendor_name, "HUAWEI ", 16) && -+ !memcmp(id.base.vendor_pn, "MA5671A ", 16)) -+ sfp->tx_fault_ignore = true; -+ else -+ sfp->tx_fault_ignore = false; -+ - return 0; - } - -@@ -2320,7 +2327,10 @@ static void sfp_check_state(struct sfp * - mutex_lock(&sfp->st_mutex); - state = sfp_get_state(sfp); - changed = state ^ sfp->state; -- changed &= SFP_F_PRESENT | SFP_F_LOS | SFP_F_TX_FAULT; -+ if (sfp->tx_fault_ignore) -+ changed &= SFP_F_PRESENT | SFP_F_LOS; -+ else -+ changed &= SFP_F_PRESENT | SFP_F_LOS | SFP_F_TX_FAULT; - - for (i = 0; i < GPIO_MAX; i++) - if (changed & BIT(i)) |