From 6db7fb0d5aca087bc116176af4dd7880431f6cda Mon Sep 17 00:00:00 2001 From: Sean Khan Date: Sun, 8 Dec 2024 13:27:51 -0500 Subject: [PATCH] qualcommax: Refresh NSS patches against rebase 863d1a63 Signed-off-by: Sean Khan --- ...00-3-qca-nss-ecm-support-net-bonding.patch | 4 ++-- ...pport-net-bonding-over-LAG-interface.patch | 24 +++++++++---------- ...2-arm64-dts-qcom-ipq6018-add-ramoops.patch | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/target/linux/qualcommax/patches-6.6/0600-3-qca-nss-ecm-support-net-bonding.patch b/target/linux/qualcommax/patches-6.6/0600-3-qca-nss-ecm-support-net-bonding.patch index e615943782f60b..9856af21342fde 100644 --- a/target/linux/qualcommax/patches-6.6/0600-3-qca-nss-ecm-support-net-bonding.patch +++ b/target/linux/qualcommax/patches-6.6/0600-3-qca-nss-ecm-support-net-bonding.patch @@ -8,7 +8,7 @@ static const struct flow_dissector_key flow_keys_bonding_keys[] = { { -@@ -5911,6 +5912,11 @@ static void bond_destructor(struct net_d +@@ -5925,6 +5926,11 @@ static void bond_destructor(struct net_d if (bond->wq) destroy_workqueue(bond->wq); @@ -20,7 +20,7 @@ free_percpu(bond->rr_tx_counter); } -@@ -6464,6 +6470,13 @@ int bond_create(struct net *net, const c +@@ -6478,6 +6484,13 @@ int bond_create(struct net *net, const c bond_work_init_all(bond); diff --git a/target/linux/qualcommax/patches-6.6/0600-4-qca-nss-ecm-support-net-bonding-over-LAG-interface.patch b/target/linux/qualcommax/patches-6.6/0600-4-qca-nss-ecm-support-net-bonding-over-LAG-interface.patch index 0f0bf62fb819cb..ab02ba411ec8b5 100644 --- a/target/linux/qualcommax/patches-6.6/0600-4-qca-nss-ecm-support-net-bonding-over-LAG-interface.patch +++ b/target/linux/qualcommax/patches-6.6/0600-4-qca-nss-ecm-support-net-bonding-over-LAG-interface.patch @@ -227,7 +227,7 @@ /** * bond_dev_queue_xmit - Prepare skb for xmit. * -@@ -1228,6 +1243,23 @@ void bond_change_active_slave(struct bon +@@ -1232,6 +1247,23 @@ void bond_change_active_slave(struct bon if (BOND_MODE(bond) == BOND_MODE_8023AD) bond_3ad_handle_link_change(new_active, BOND_LINK_UP); @@ -251,7 +251,7 @@ if (bond_is_lb(bond)) bond_alb_handle_link_change(bond, new_active, BOND_LINK_UP); } else { -@@ -1872,6 +1904,7 @@ int bond_enslave(struct net_device *bond +@@ -1876,6 +1908,7 @@ int bond_enslave(struct net_device *bond const struct net_device_ops *slave_ops = slave_dev->netdev_ops; struct slave *new_slave = NULL, *prev_slave; struct sockaddr_storage ss; @@ -259,7 +259,7 @@ int link_reporting; int res = 0, i; -@@ -2317,6 +2350,15 @@ int bond_enslave(struct net_device *bond +@@ -2325,6 +2358,15 @@ int bond_enslave(struct net_device *bond bond_is_active_slave(new_slave) ? "an active" : "a backup", new_slave->link != BOND_LINK_DOWN ? "an up" : "a down"); @@ -275,7 +275,7 @@ /* enslave is successful */ bond_queue_slave_event(new_slave); return 0; -@@ -2382,6 +2424,15 @@ err_undo_flags: +@@ -2390,6 +2432,15 @@ err_undo_flags: } } @@ -291,7 +291,7 @@ return res; } -@@ -2403,6 +2454,7 @@ static int __bond_release_one(struct net +@@ -2411,6 +2462,7 @@ static int __bond_release_one(struct net struct bonding *bond = netdev_priv(bond_dev); struct slave *slave, *oldcurrent; struct sockaddr_storage ss; @@ -299,7 +299,7 @@ int old_flags = bond_dev->flags; netdev_features_t old_features = bond_dev->features; -@@ -2425,6 +2477,15 @@ static int __bond_release_one(struct net +@@ -2433,6 +2485,15 @@ static int __bond_release_one(struct net bond_set_slave_inactive_flags(slave, BOND_SLAVE_NOTIFY_NOW); @@ -315,7 +315,7 @@ bond_sysfs_slave_del(slave); /* recompute stats just before removing the slave */ -@@ -2747,6 +2808,8 @@ static void bond_miimon_commit(struct bo +@@ -2761,6 +2822,8 @@ static void bond_miimon_commit(struct bo struct slave *slave, *primary, *active; bool do_failover = false; struct list_head *iter; @@ -324,7 +324,7 @@ ASSERT_RTNL(); -@@ -2786,6 +2849,12 @@ static void bond_miimon_commit(struct bo +@@ -2800,6 +2863,12 @@ static void bond_miimon_commit(struct bo bond_set_active_slave(slave); } @@ -337,7 +337,7 @@ slave_info(bond->dev, slave->dev, "link status definitely up, %u Mbps %s duplex\n", slave->speed == SPEED_UNKNOWN ? 0 : slave->speed, slave->duplex ? "full" : "half"); -@@ -2834,6 +2903,16 @@ static void bond_miimon_commit(struct bo +@@ -2848,6 +2917,16 @@ static void bond_miimon_commit(struct bo unblock_netpoll_tx(); } @@ -354,7 +354,7 @@ bond_set_carrier(bond); } -@@ -4086,8 +4165,219 @@ static inline u32 bond_eth_hash(struct s +@@ -4100,8 +4179,219 @@ static inline u32 bond_eth_hash(struct s return 0; ep = (struct ethhdr *)(data + mhoff); @@ -575,7 +575,7 @@ static bool bond_flow_ip(struct sk_buff *skb, struct flow_keys *fk, const void *data, int hlen, __be16 l2_proto, int *nhoff, int *ip_proto, bool l34) -@@ -5216,15 +5506,18 @@ static netdev_tx_t bond_3ad_xor_xmit(str +@@ -5230,15 +5520,18 @@ static netdev_tx_t bond_3ad_xor_xmit(str struct net_device *dev) { struct bonding *bond = netdev_priv(dev); @@ -601,7 +601,7 @@ } /* in broadcast mode, we send everything to all usable interfaces. */ -@@ -5474,8 +5767,9 @@ static netdev_tx_t __bond_start_xmit(str +@@ -5488,8 +5781,9 @@ static netdev_tx_t __bond_start_xmit(str return bond_xmit_roundrobin(skb, dev); case BOND_MODE_ACTIVEBACKUP: return bond_xmit_activebackup(skb, dev); diff --git a/target/linux/qualcommax/patches-6.6/0912-arm64-dts-qcom-ipq6018-add-ramoops.patch b/target/linux/qualcommax/patches-6.6/0912-arm64-dts-qcom-ipq6018-add-ramoops.patch index 4873f3cac754f4..b7201ead2d2833 100644 --- a/target/linux/qualcommax/patches-6.6/0912-arm64-dts-qcom-ipq6018-add-ramoops.patch +++ b/target/linux/qualcommax/patches-6.6/0912-arm64-dts-qcom-ipq6018-add-ramoops.patch @@ -1,6 +1,6 @@ --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi -@@ -223,6 +223,13 @@ +@@ -228,6 +228,13 @@ reg = <0x0 0x4ab00000 0x0 0x5500000>; no-map; };