diff options
author | John Audia <graysky@archlinux.us> | 2021-12-08 06:14:30 -0500 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2021-12-17 15:10:22 +0100 |
commit | 187c8f9153bee5deb8a1163ba2abcbc7bc9e229c (patch) | |
tree | edf5aaed5e7cba74070591797ef5a7ce764eb957 /target/linux/mvebu | |
parent | d4b25007ea14a9772545e70191aa41e25f75ce19 (diff) | |
download | upstream-187c8f9153bee5deb8a1163ba2abcbc7bc9e229c.tar.gz upstream-187c8f9153bee5deb8a1163ba2abcbc7bc9e229c.tar.bz2 upstream-187c8f9153bee5deb8a1163ba2abcbc7bc9e229c.zip |
kernel: bump 5.10 to 5.10.84
All patches automatically rebased.
Build system: x86_64
Build-tested: bcm2711/RPi4B
Run-tested: bcm2711/RPi4B
Signed-off-by: John Audia <graysky@archlinux.us>
Diffstat (limited to 'target/linux/mvebu')
4 files changed, 12 insertions, 32 deletions
diff --git a/target/linux/mvebu/patches-5.10/702-net-next-ethernet-marvell-mvnetaMQPrioOffload.patch b/target/linux/mvebu/patches-5.10/702-net-next-ethernet-marvell-mvnetaMQPrioOffload.patch index 8a5f3f3cf4..41f8c1fbfd 100644 --- a/target/linux/mvebu/patches-5.10/702-net-next-ethernet-marvell-mvnetaMQPrioOffload.patch +++ b/target/linux/mvebu/patches-5.10/702-net-next-ethernet-marvell-mvnetaMQPrioOffload.patch @@ -16,8 +16,6 @@ Signed-off-by: David S. Miller <davem@davemloft.net> (limited to 'drivers/net/ethernet/marvell/mvneta.c') -diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c -index 80e4b500695e6..46b7604805f76 100644 --- a/drivers/net/ethernet/marvell/mvneta.c +++ b/drivers/net/ethernet/marvell/mvneta.c @@ -38,6 +38,7 @@ @@ -28,7 +26,7 @@ index 80e4b500695e6..46b7604805f76 100644 #include <linux/bpf_trace.h> /* Registers */ -@@ -4908,14 +4909,14 @@ static void mvneta_setup_rx_prio_map(struct mvneta_port *pp) +@@ -4933,14 +4934,14 @@ static void mvneta_setup_rx_prio_map(str } static int mvneta_setup_mqprio(struct net_device *dev, @@ -46,7 +44,7 @@ index 80e4b500695e6..46b7604805f76 100644 if (num_tc > rxq_number) return -EINVAL; -@@ -4926,13 +4927,15 @@ static int mvneta_setup_mqprio(struct net_device *dev, +@@ -4951,13 +4952,15 @@ static int mvneta_setup_mqprio(struct ne return 0; } @@ -66,6 +64,3 @@ index 80e4b500695e6..46b7604805f76 100644 return 0; } --- -cgit 1.2.3-1.el7 - diff --git a/target/linux/mvebu/patches-5.10/703-net-next-ethernet-marvell-mvnetaMQPrioFlag.patch b/target/linux/mvebu/patches-5.10/703-net-next-ethernet-marvell-mvnetaMQPrioFlag.patch index a9bf9b22c3..8529b6ae5e 100644 --- a/target/linux/mvebu/patches-5.10/703-net-next-ethernet-marvell-mvnetaMQPrioFlag.patch +++ b/target/linux/mvebu/patches-5.10/703-net-next-ethernet-marvell-mvnetaMQPrioFlag.patch @@ -15,11 +15,9 @@ Signed-off-by: David S. Miller <davem@davemloft.net> (limited to 'drivers/net/ethernet/marvell/mvneta.c') -diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c -index 46b7604805f76..d3ce87e69d2a8 100644 --- a/drivers/net/ethernet/marvell/mvneta.c +++ b/drivers/net/ethernet/marvell/mvneta.c -@@ -4915,7 +4915,9 @@ static int mvneta_setup_mqprio(struct net_device *dev, +@@ -4940,7 +4940,9 @@ static int mvneta_setup_mqprio(struct ne u8 num_tc; int i; @@ -30,6 +28,3 @@ index 46b7604805f76..d3ce87e69d2a8 100644 num_tc = mqprio->qopt.num_tc; if (num_tc > rxq_number) --- -cgit 1.2.3-1.el7 - diff --git a/target/linux/mvebu/patches-5.10/704-net-next-ethernet-marvell-mvnetaMQPrioQueue.patch b/target/linux/mvebu/patches-5.10/704-net-next-ethernet-marvell-mvnetaMQPrioQueue.patch index ac5fdc329a..ed4f0441dd 100644 --- a/target/linux/mvebu/patches-5.10/704-net-next-ethernet-marvell-mvnetaMQPrioQueue.patch +++ b/target/linux/mvebu/patches-5.10/704-net-next-ethernet-marvell-mvnetaMQPrioQueue.patch @@ -20,8 +20,6 @@ Signed-off-by: David S. Miller <davem@davemloft.net> (limited to 'drivers/net/ethernet/marvell/mvneta.c') -diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c -index d3ce87e69d2a8..aba452e8abfe6 100644 --- a/drivers/net/ethernet/marvell/mvneta.c +++ b/drivers/net/ethernet/marvell/mvneta.c @@ -493,7 +493,6 @@ struct mvneta_port { @@ -32,7 +30,7 @@ index d3ce87e69d2a8..aba452e8abfe6 100644 phy_interface_t phy_interface; struct device_node *dn; -@@ -4897,13 +4896,12 @@ static void mvneta_clear_rx_prio_map(struct mvneta_port *pp) +@@ -4922,13 +4921,12 @@ static void mvneta_clear_rx_prio_map(str mvreg_write(pp, MVNETA_VLAN_PRIO_TO_RXQ, 0); } @@ -50,7 +48,7 @@ index d3ce87e69d2a8..aba452e8abfe6 100644 mvreg_write(pp, MVNETA_VLAN_PRIO_TO_RXQ, val); } -@@ -4912,8 +4910,8 @@ static int mvneta_setup_mqprio(struct net_device *dev, +@@ -4937,8 +4935,8 @@ static int mvneta_setup_mqprio(struct ne struct tc_mqprio_qopt_offload *mqprio) { struct mvneta_port *pp = netdev_priv(dev); @@ -60,7 +58,7 @@ index d3ce87e69d2a8..aba452e8abfe6 100644 if (mqprio->qopt.hw != TC_MQPRIO_HW_OFFLOAD_TCS) return 0; -@@ -4923,21 +4921,28 @@ static int mvneta_setup_mqprio(struct net_device *dev, +@@ -4948,21 +4946,28 @@ static int mvneta_setup_mqprio(struct ne if (num_tc > rxq_number) return -EINVAL; @@ -75,12 +73,12 @@ index d3ce87e69d2a8..aba452e8abfe6 100644 - memcpy(pp->prio_tc_map, mqprio->qopt.prio_tc_map, - sizeof(pp->prio_tc_map)); + netdev_set_num_tc(dev, mqprio->qopt.num_tc); -+ + +- mvneta_setup_rx_prio_map(pp); + for (tc = 0; tc < mqprio->qopt.num_tc; tc++) { + netdev_set_tc_queue(dev, tc, mqprio->qopt.count[tc], + mqprio->qopt.offset[tc]); - -- mvneta_setup_rx_prio_map(pp); ++ + for (rxq = mqprio->qopt.offset[tc]; + rxq < mqprio->qopt.count[tc] + mqprio->qopt.offset[tc]; + rxq++) { @@ -97,6 +95,3 @@ index d3ce87e69d2a8..aba452e8abfe6 100644 return 0; } --- -cgit 1.2.3-1.el7 - diff --git a/target/linux/mvebu/patches-5.10/705-net-next-ethernet-marvell-mvnetaMQPrioTCOffload.patch b/target/linux/mvebu/patches-5.10/705-net-next-ethernet-marvell-mvnetaMQPrioTCOffload.patch index d2fd1832d8..15a0ce6b58 100644 --- a/target/linux/mvebu/patches-5.10/705-net-next-ethernet-marvell-mvnetaMQPrioTCOffload.patch +++ b/target/linux/mvebu/patches-5.10/705-net-next-ethernet-marvell-mvnetaMQPrioTCOffload.patch @@ -20,8 +20,6 @@ Signed-off-by: David S. Miller <davem@davemloft.net> (limited to 'drivers/net/ethernet/marvell/mvneta.c') -diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c -index aba452e8abfe6..2368ae3f0e10d 100644 --- a/drivers/net/ethernet/marvell/mvneta.c +++ b/drivers/net/ethernet/marvell/mvneta.c @@ -248,12 +248,39 @@ @@ -64,7 +62,7 @@ index aba452e8abfe6..2368ae3f0e10d 100644 #define MVNETA_LPI_CTRL_0 0x2cc0 #define MVNETA_LPI_CTRL_1 0x2cc4 #define MVNETA_LPI_REQUEST_ENABLE BIT(0) -@@ -4906,11 +4933,74 @@ static void mvneta_map_vlan_prio_to_rxq(struct mvneta_port *pp, u8 pri, u8 rxq) +@@ -4931,11 +4958,74 @@ static void mvneta_map_vlan_prio_to_rxq( mvreg_write(pp, MVNETA_VLAN_PRIO_TO_RXQ, val); } @@ -140,7 +138,7 @@ index aba452e8abfe6..2368ae3f0e10d 100644 u8 num_tc; if (mqprio->qopt.hw != TC_MQPRIO_HW_OFFLOAD_TCS) -@@ -4924,6 +5014,7 @@ static int mvneta_setup_mqprio(struct net_device *dev, +@@ -4949,6 +5039,7 @@ static int mvneta_setup_mqprio(struct ne mvneta_clear_rx_prio_map(pp); if (!num_tc) { @@ -148,7 +146,7 @@ index aba452e8abfe6..2368ae3f0e10d 100644 netdev_reset_tc(dev); return 0; } -@@ -4944,6 +5035,33 @@ static int mvneta_setup_mqprio(struct net_device *dev, +@@ -4969,6 +5060,33 @@ static int mvneta_setup_mqprio(struct ne } } @@ -182,6 +180,3 @@ index aba452e8abfe6..2368ae3f0e10d 100644 return 0; } --- -cgit 1.2.3-1.el7 - |