mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
kernel: bump to 5.4.249, 6.1.40 (#11404)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
This commit is contained in:
parent
14cc6d5a6d
commit
b828e123c6
@ -1,2 +1,2 @@
|
|||||||
LINUX_VERSION-5.4 = .247
|
LINUX_VERSION-5.4 = .249
|
||||||
LINUX_KERNEL_HASH-5.4.247 = 33010d4f02314dd4eb51ab5d09f49ce970f2cfefe9f2133a2e085cac5dfffed7
|
LINUX_KERNEL_HASH-5.4.249 = dc5458462c6edbe3473fc6dee80fbe0841df7c177fe0546c2f131e5918f5351d
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
LINUX_VERSION-6.1 = .39
|
LINUX_VERSION-6.1 = .40
|
||||||
LINUX_KERNEL_HASH-6.1.39 = 4cddee22fdf657138a06af653492f67cd3a4762c04a34725534bd200d99085b8
|
LINUX_KERNEL_HASH-6.1.40 = 43eafc2197a07dcdcff7a7ef79ac7502061f7c564744e51626bf5fa2e22587f0
|
||||||
|
@ -46,7 +46,7 @@ Cc: linux-mips@vger.kernel.org
|
|||||||
|
|
||||||
--- a/arch/mips/kernel/setup.c
|
--- a/arch/mips/kernel/setup.c
|
||||||
+++ b/arch/mips/kernel/setup.c
|
+++ b/arch/mips/kernel/setup.c
|
||||||
@@ -538,11 +538,88 @@ static void __init check_kernel_sections
|
@@ -539,11 +539,88 @@ static void __init check_kernel_sections
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -140,7 +140,7 @@ Cc: linux-mips@vger.kernel.org
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* arch_mem_init - initialize memory management subsystem
|
* arch_mem_init - initialize memory management subsystem
|
||||||
@@ -570,48 +647,12 @@ static void __init arch_mem_init(char **
|
@@ -571,48 +648,12 @@ static void __init arch_mem_init(char **
|
||||||
{
|
{
|
||||||
extern void plat_mem_setup(void);
|
extern void plat_mem_setup(void);
|
||||||
|
|
||||||
|
@ -754,7 +754,7 @@
|
|||||||
ptr = ip6hoff + sizeof(struct ipv6hdr);
|
ptr = ip6hoff + sizeof(struct ipv6hdr);
|
||||||
--- a/include/net/neighbour.h
|
--- a/include/net/neighbour.h
|
||||||
+++ b/include/net/neighbour.h
|
+++ b/include/net/neighbour.h
|
||||||
@@ -275,8 +275,10 @@ static inline bool neigh_key_eq128(const
|
@@ -270,8 +270,10 @@ static inline bool neigh_key_eq128(const
|
||||||
const u32 *n32 = (const u32 *)n->primary_key;
|
const u32 *n32 = (const u32 *)n->primary_key;
|
||||||
const u32 *p32 = pkey;
|
const u32 *p32 = pkey;
|
||||||
|
|
||||||
|
@ -192,7 +192,7 @@ Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|||||||
|
|
||||||
--- a/MAINTAINERS
|
--- a/MAINTAINERS
|
||||||
+++ b/MAINTAINERS
|
+++ b/MAINTAINERS
|
||||||
@@ -17586,6 +17586,14 @@ L: linux-gpio@vger.kernel.org
|
@@ -17579,6 +17579,14 @@ L: linux-gpio@vger.kernel.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: drivers/gpio/gpio-ws16c48.c
|
F: drivers/gpio/gpio-ws16c48.c
|
||||||
|
|
||||||
|
@ -931,7 +931,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
|
|||||||
eth_hw_addr_random(ndev);
|
eth_hw_addr_random(ndev);
|
||||||
--- a/drivers/net/ethernet/qualcomm/qca_spi.c
|
--- a/drivers/net/ethernet/qualcomm/qca_spi.c
|
||||||
+++ b/drivers/net/ethernet/qualcomm/qca_spi.c
|
+++ b/drivers/net/ethernet/qualcomm/qca_spi.c
|
||||||
@@ -885,7 +885,7 @@ qca_spi_probe(struct spi_device *spi)
|
@@ -884,7 +884,7 @@ qca_spi_probe(struct spi_device *spi)
|
||||||
struct net_device *qcaspi_devs = NULL;
|
struct net_device *qcaspi_devs = NULL;
|
||||||
u8 legacy_mode = 0;
|
u8 legacy_mode = 0;
|
||||||
u16 signature;
|
u16 signature;
|
||||||
@ -940,7 +940,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
|
|||||||
|
|
||||||
if (!spi->dev.of_node) {
|
if (!spi->dev.of_node) {
|
||||||
dev_err(&spi->dev, "Missing device tree\n");
|
dev_err(&spi->dev, "Missing device tree\n");
|
||||||
@@ -962,12 +962,8 @@ qca_spi_probe(struct spi_device *spi)
|
@@ -961,12 +961,8 @@ qca_spi_probe(struct spi_device *spi)
|
||||||
|
|
||||||
spi_set_drvdata(spi, qcaspi_devs);
|
spi_set_drvdata(spi, qcaspi_devs);
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
|
|||||||
|
|
||||||
--- a/drivers/net/dsa/qca/qca8k-8xxx.c
|
--- a/drivers/net/dsa/qca/qca8k-8xxx.c
|
||||||
+++ b/drivers/net/dsa/qca/qca8k-8xxx.c
|
+++ b/drivers/net/dsa/qca/qca8k-8xxx.c
|
||||||
@@ -740,9 +740,9 @@ qca8k_mdio_busy_wait(struct mii_bus *bus
|
@@ -743,9 +743,9 @@ qca8k_mdio_busy_wait(struct mii_bus *bus
|
||||||
|
|
||||||
qca8k_split_addr(reg, &r1, &r2, &page);
|
qca8k_split_addr(reg, &r1, &r2, &page);
|
||||||
|
|
||||||
@ -40,7 +40,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
|
|||||||
|
|
||||||
/* Check if qca8k_read has failed for a different reason
|
/* Check if qca8k_read has failed for a different reason
|
||||||
* before returnting -ETIMEDOUT
|
* before returnting -ETIMEDOUT
|
||||||
@@ -784,7 +784,7 @@ qca8k_mdio_write(struct qca8k_priv *priv
|
@@ -787,7 +787,7 @@ qca8k_mdio_write(struct qca8k_priv *priv
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
/* even if the busy_wait timeouts try to clear the MASTER_EN */
|
/* even if the busy_wait timeouts try to clear the MASTER_EN */
|
||||||
@ -49,7 +49,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
|
|||||||
|
|
||||||
mutex_unlock(&bus->mdio_lock);
|
mutex_unlock(&bus->mdio_lock);
|
||||||
|
|
||||||
@@ -814,18 +814,18 @@ qca8k_mdio_read(struct qca8k_priv *priv,
|
@@ -817,18 +817,18 @@ qca8k_mdio_read(struct qca8k_priv *priv,
|
||||||
if (ret)
|
if (ret)
|
||||||
goto exit;
|
goto exit;
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ Tested-by: Frank Wunderlich <frank-w@public-files.de>
|
|||||||
#include <linux/phylink.h>
|
#include <linux/phylink.h>
|
||||||
#include <linux/regmap.h>
|
#include <linux/regmap.h>
|
||||||
#include <linux/regulator/consumer.h>
|
#include <linux/regulator/consumer.h>
|
||||||
@@ -2597,128 +2598,11 @@ static int mt7531_rgmii_setup(struct mt7
|
@@ -2611,128 +2612,11 @@ static int mt7531_rgmii_setup(struct mt7
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -210,7 +210,7 @@ Tested-by: Frank Wunderlich <frank-w@public-files.de>
|
|||||||
static int
|
static int
|
||||||
mt7531_mac_config(struct dsa_switch *ds, int port, unsigned int mode,
|
mt7531_mac_config(struct dsa_switch *ds, int port, unsigned int mode,
|
||||||
phy_interface_t interface)
|
phy_interface_t interface)
|
||||||
@@ -2741,11 +2625,11 @@ mt7531_mac_config(struct dsa_switch *ds,
|
@@ -2755,11 +2639,11 @@ mt7531_mac_config(struct dsa_switch *ds,
|
||||||
phydev = dp->slave->phydev;
|
phydev = dp->slave->phydev;
|
||||||
return mt7531_rgmii_setup(priv, port, interface, phydev);
|
return mt7531_rgmii_setup(priv, port, interface, phydev);
|
||||||
case PHY_INTERFACE_MODE_SGMII:
|
case PHY_INTERFACE_MODE_SGMII:
|
||||||
@ -224,7 +224,7 @@ Tested-by: Frank Wunderlich <frank-w@public-files.de>
|
|||||||
default:
|
default:
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
@@ -2770,11 +2654,11 @@ mt753x_phylink_mac_select_pcs(struct dsa
|
@@ -2784,11 +2668,11 @@ mt753x_phylink_mac_select_pcs(struct dsa
|
||||||
|
|
||||||
switch (interface) {
|
switch (interface) {
|
||||||
case PHY_INTERFACE_MODE_TRGMII:
|
case PHY_INTERFACE_MODE_TRGMII:
|
||||||
@ -238,7 +238,7 @@ Tested-by: Frank Wunderlich <frank-w@public-files.de>
|
|||||||
default:
|
default:
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
@@ -3015,86 +2899,6 @@ static void mt7530_pcs_get_state(struct
|
@@ -3029,86 +2913,6 @@ static void mt7530_pcs_get_state(struct
|
||||||
state->pause |= MLO_PAUSE_TX;
|
state->pause |= MLO_PAUSE_TX;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -325,7 +325,7 @@ Tested-by: Frank Wunderlich <frank-w@public-files.de>
|
|||||||
static int mt753x_pcs_config(struct phylink_pcs *pcs, unsigned int mode,
|
static int mt753x_pcs_config(struct phylink_pcs *pcs, unsigned int mode,
|
||||||
phy_interface_t interface,
|
phy_interface_t interface,
|
||||||
const unsigned long *advertising,
|
const unsigned long *advertising,
|
||||||
@@ -3114,18 +2918,57 @@ static const struct phylink_pcs_ops mt75
|
@@ -3128,18 +2932,57 @@ static const struct phylink_pcs_ops mt75
|
||||||
.pcs_an_restart = mt7530_pcs_an_restart,
|
.pcs_an_restart = mt7530_pcs_an_restart,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -389,7 +389,7 @@ Tested-by: Frank Wunderlich <frank-w@public-files.de>
|
|||||||
int i, ret;
|
int i, ret;
|
||||||
|
|
||||||
/* Initialise the PCS devices */
|
/* Initialise the PCS devices */
|
||||||
@@ -3133,8 +2976,6 @@ mt753x_setup(struct dsa_switch *ds)
|
@@ -3147,8 +2990,6 @@ mt753x_setup(struct dsa_switch *ds)
|
||||||
priv->pcs[i].pcs.ops = priv->info->pcs_ops;
|
priv->pcs[i].pcs.ops = priv->info->pcs_ops;
|
||||||
priv->pcs[i].priv = priv;
|
priv->pcs[i].priv = priv;
|
||||||
priv->pcs[i].port = i;
|
priv->pcs[i].port = i;
|
||||||
@ -398,7 +398,7 @@ Tested-by: Frank Wunderlich <frank-w@public-files.de>
|
|||||||
}
|
}
|
||||||
|
|
||||||
ret = priv->info->sw_setup(ds);
|
ret = priv->info->sw_setup(ds);
|
||||||
@@ -3149,6 +2990,16 @@ mt753x_setup(struct dsa_switch *ds)
|
@@ -3163,6 +3004,16 @@ mt753x_setup(struct dsa_switch *ds)
|
||||||
if (ret && priv->irq)
|
if (ret && priv->irq)
|
||||||
mt7530_free_irq_common(priv);
|
mt7530_free_irq_common(priv);
|
||||||
|
|
||||||
@ -415,7 +415,7 @@ Tested-by: Frank Wunderlich <frank-w@public-files.de>
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3240,7 +3091,7 @@ static const struct mt753x_info mt753x_t
|
@@ -3254,7 +3105,7 @@ static const struct mt753x_info mt753x_t
|
||||||
},
|
},
|
||||||
[ID_MT7531] = {
|
[ID_MT7531] = {
|
||||||
.id = ID_MT7531,
|
.id = ID_MT7531,
|
||||||
@ -424,7 +424,7 @@ Tested-by: Frank Wunderlich <frank-w@public-files.de>
|
|||||||
.sw_setup = mt7531_setup,
|
.sw_setup = mt7531_setup,
|
||||||
.phy_read = mt7531_ind_phy_read,
|
.phy_read = mt7531_ind_phy_read,
|
||||||
.phy_write = mt7531_ind_phy_write,
|
.phy_write = mt7531_ind_phy_write,
|
||||||
@@ -3348,7 +3199,7 @@ static void
|
@@ -3362,7 +3213,7 @@ static void
|
||||||
mt7530_remove(struct mdio_device *mdiodev)
|
mt7530_remove(struct mdio_device *mdiodev)
|
||||||
{
|
{
|
||||||
struct mt7530_priv *priv = dev_get_drvdata(&mdiodev->dev);
|
struct mt7530_priv *priv = dev_get_drvdata(&mdiodev->dev);
|
||||||
@ -433,7 +433,7 @@ Tested-by: Frank Wunderlich <frank-w@public-files.de>
|
|||||||
|
|
||||||
if (!priv)
|
if (!priv)
|
||||||
return;
|
return;
|
||||||
@@ -3367,6 +3218,10 @@ mt7530_remove(struct mdio_device *mdiode
|
@@ -3381,6 +3232,10 @@ mt7530_remove(struct mdio_device *mdiode
|
||||||
mt7530_free_irq(priv);
|
mt7530_free_irq(priv);
|
||||||
|
|
||||||
dsa_unregister_switch(priv->ds);
|
dsa_unregister_switch(priv->ds);
|
||||||
@ -446,7 +446,7 @@ Tested-by: Frank Wunderlich <frank-w@public-files.de>
|
|||||||
|
|
||||||
--- a/drivers/net/dsa/mt7530.h
|
--- a/drivers/net/dsa/mt7530.h
|
||||||
+++ b/drivers/net/dsa/mt7530.h
|
+++ b/drivers/net/dsa/mt7530.h
|
||||||
@@ -364,47 +364,8 @@ enum mt7530_vlan_port_acc_frm {
|
@@ -369,47 +369,8 @@ enum mt7530_vlan_port_acc_frm {
|
||||||
CCR_TX_OCT_CNT_BAD)
|
CCR_TX_OCT_CNT_BAD)
|
||||||
|
|
||||||
/* MT7531 SGMII register group */
|
/* MT7531 SGMII register group */
|
||||||
@ -496,7 +496,7 @@ Tested-by: Frank Wunderlich <frank-w@public-files.de>
|
|||||||
|
|
||||||
/* Register for system reset */
|
/* Register for system reset */
|
||||||
#define MT7530_SYS_CTRL 0x7000
|
#define MT7530_SYS_CTRL 0x7000
|
||||||
@@ -703,13 +664,13 @@ struct mt7530_fdb {
|
@@ -708,13 +669,13 @@ struct mt7530_fdb {
|
||||||
* @pm: The matrix used to show all connections with the port.
|
* @pm: The matrix used to show all connections with the port.
|
||||||
* @pvid: The VLAN specified is to be considered a PVID at ingress. Any
|
* @pvid: The VLAN specified is to be considered a PVID at ingress. Any
|
||||||
* untagged frames will be assigned to the related VLAN.
|
* untagged frames will be assigned to the related VLAN.
|
||||||
|
@ -26,7 +26,7 @@ Signed-off-by: John Crispin <john@phrozen.org>
|
|||||||
* @name: name of the struct -- the string is not copied internally
|
* @name: name of the struct -- the string is not copied internally
|
||||||
--- a/net/Makefile
|
--- a/net/Makefile
|
||||||
+++ b/net/Makefile
|
+++ b/net/Makefile
|
||||||
@@ -53,7 +53,7 @@ obj-$(CONFIG_TIPC) += tipc/
|
@@ -52,7 +52,7 @@ obj-$(CONFIG_TIPC) += tipc/
|
||||||
obj-$(CONFIG_NETLABEL) += netlabel/
|
obj-$(CONFIG_NETLABEL) += netlabel/
|
||||||
obj-$(CONFIG_IUCV) += iucv/
|
obj-$(CONFIG_IUCV) += iucv/
|
||||||
obj-$(CONFIG_SMC) += smc/
|
obj-$(CONFIG_SMC) += smc/
|
||||||
|
@ -31,7 +31,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
|
|
||||||
/* Specifies the type of the struct net_device::ml_priv pointer */
|
/* Specifies the type of the struct net_device::ml_priv pointer */
|
||||||
enum netdev_ml_priv_type {
|
enum netdev_ml_priv_type {
|
||||||
@@ -1958,6 +1960,11 @@ struct net_device {
|
@@ -1957,6 +1959,11 @@ struct net_device {
|
||||||
const struct tlsdev_ops *tlsdev_ops;
|
const struct tlsdev_ops *tlsdev_ops;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -43,7 +43,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
const struct header_ops *header_ops;
|
const struct header_ops *header_ops;
|
||||||
|
|
||||||
unsigned int flags;
|
unsigned int flags;
|
||||||
@@ -2040,6 +2047,10 @@ struct net_device {
|
@@ -2036,6 +2043,10 @@ struct net_device {
|
||||||
struct mpls_dev __rcu *mpls_ptr;
|
struct mpls_dev __rcu *mpls_ptr;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -141,7 +141,7 @@
|
|||||||
|
|
||||||
--- a/net/Kconfig
|
--- a/net/Kconfig
|
||||||
+++ b/net/Kconfig
|
+++ b/net/Kconfig
|
||||||
@@ -473,3 +473,6 @@ config HAVE_CBPF_JIT
|
@@ -471,3 +471,6 @@ config HAVE_CBPF_JIT
|
||||||
# Extended BPF JIT (eBPF)
|
# Extended BPF JIT (eBPF)
|
||||||
config HAVE_EBPF_JIT
|
config HAVE_EBPF_JIT
|
||||||
bool
|
bool
|
||||||
|
@ -12,14 +12,14 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
|
|||||||
---
|
---
|
||||||
--- a/arch/arm/Kconfig
|
--- a/arch/arm/Kconfig
|
||||||
+++ b/arch/arm/Kconfig
|
+++ b/arch/arm/Kconfig
|
||||||
@@ -122,6 +122,7 @@ config ARM
|
@@ -123,6 +123,7 @@ config ARM
|
||||||
select HAVE_UID16
|
|
||||||
select HAVE_VIRT_CPU_ACCOUNTING_GEN
|
select HAVE_VIRT_CPU_ACCOUNTING_GEN
|
||||||
select IRQ_FORCED_THREADING
|
select IRQ_FORCED_THREADING
|
||||||
select LOCK_MM_AND_FIND_VMA
|
select LOCK_MM_AND_FIND_VMA
|
||||||
+ select HAVE_LD_DEAD_CODE_DATA_ELIMINATION
|
+ select HAVE_LD_DEAD_CODE_DATA_ELIMINATION
|
||||||
select MODULES_USE_ELF_REL
|
select MODULES_USE_ELF_REL
|
||||||
select NEED_DMA_MAP_STATE
|
select NEED_DMA_MAP_STATE
|
||||||
|
select OF_EARLY_FLATTREE if OF
|
||||||
--- a/arch/arm/boot/compressed/Makefile
|
--- a/arch/arm/boot/compressed/Makefile
|
||||||
+++ b/arch/arm/boot/compressed/Makefile
|
+++ b/arch/arm/boot/compressed/Makefile
|
||||||
@@ -91,6 +91,7 @@ endif
|
@@ -91,6 +91,7 @@ endif
|
||||||
|
@ -150,7 +150,7 @@ Subject: [PATCH] net/bridge: add bridge offload
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Determine initial path cost based on speed.
|
* Determine initial path cost based on speed.
|
||||||
@@ -437,7 +438,7 @@ static struct net_bridge_port *new_nbp(s
|
@@ -438,7 +439,7 @@ static struct net_bridge_port *new_nbp(s
|
||||||
p->path_cost = port_cost(dev);
|
p->path_cost = port_cost(dev);
|
||||||
p->priority = 0x8000 >> BR_PORT_BITS;
|
p->priority = 0x8000 >> BR_PORT_BITS;
|
||||||
p->port_no = index;
|
p->port_no = index;
|
||||||
@ -159,7 +159,7 @@ Subject: [PATCH] net/bridge: add bridge offload
|
|||||||
br_init_port(p);
|
br_init_port(p);
|
||||||
br_set_state(p, BR_STATE_DISABLED);
|
br_set_state(p, BR_STATE_DISABLED);
|
||||||
br_stp_port_timer_init(p);
|
br_stp_port_timer_init(p);
|
||||||
@@ -761,6 +762,9 @@ void br_port_flags_change(struct net_bri
|
@@ -762,6 +763,9 @@ void br_port_flags_change(struct net_bri
|
||||||
|
|
||||||
if (mask & BR_NEIGH_SUPPRESS)
|
if (mask & BR_NEIGH_SUPPRESS)
|
||||||
br_recalculate_neigh_suppress_enabled(br);
|
br_recalculate_neigh_suppress_enabled(br);
|
||||||
|
@ -12,7 +12,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
|
|
||||||
--- a/drivers/net/phy/Kconfig
|
--- a/drivers/net/phy/Kconfig
|
||||||
+++ b/drivers/net/phy/Kconfig
|
+++ b/drivers/net/phy/Kconfig
|
||||||
@@ -62,6 +62,80 @@ config SFP
|
@@ -61,6 +61,80 @@ config SFP
|
||||||
depends on HWMON || HWMON=n
|
depends on HWMON || HWMON=n
|
||||||
select MDIO_I2C
|
select MDIO_I2C
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ Subject: [PATCH] net/usb/qmi_wwan: add MeigLink modem support
|
|||||||
|
|
||||||
#define QUECTEL_VENDOR_ID 0x2c7c
|
#define QUECTEL_VENDOR_ID 0x2c7c
|
||||||
/* These Quectel products use Quectel's vendor ID */
|
/* These Quectel products use Quectel's vendor ID */
|
||||||
@@ -1177,6 +1179,11 @@ static const struct usb_device_id option
|
@@ -1178,6 +1180,11 @@ static const struct usb_device_id option
|
||||||
.driver_info = ZLP },
|
.driver_info = ZLP },
|
||||||
{ USB_DEVICE(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_BG96),
|
{ USB_DEVICE(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_BG96),
|
||||||
.driver_info = RSVD(4) },
|
.driver_info = RSVD(4) },
|
||||||
|
@ -79,7 +79,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
INDIRECT_CALLABLE_DECLARE(struct dst_entry *ip6_dst_check(struct dst_entry *,
|
INDIRECT_CALLABLE_DECLARE(struct dst_entry *ip6_dst_check(struct dst_entry *,
|
||||||
u32));
|
u32));
|
||||||
INDIRECT_CALLABLE_DECLARE(struct dst_entry *ipv4_dst_check(struct dst_entry *,
|
INDIRECT_CALLABLE_DECLARE(struct dst_entry *ipv4_dst_check(struct dst_entry *,
|
||||||
@@ -2174,9 +2188,11 @@ static void __sk_free(struct sock *sk)
|
@@ -2168,9 +2182,11 @@ static void __sk_free(struct sock *sk)
|
||||||
if (likely(sk->sk_net_refcnt))
|
if (likely(sk->sk_net_refcnt))
|
||||||
sock_inuse_add(sock_net(sk), -1);
|
sock_inuse_add(sock_net(sk), -1);
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
default y
|
default y
|
||||||
--- a/net/bridge/br_if.c
|
--- a/net/bridge/br_if.c
|
||||||
+++ b/net/bridge/br_if.c
|
+++ b/net/bridge/br_if.c
|
||||||
@@ -767,6 +767,28 @@ void br_port_flags_change(struct net_bri
|
@@ -768,6 +768,28 @@ void br_port_flags_change(struct net_bri
|
||||||
br_offload_port_state(p);
|
br_offload_port_state(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -506,7 +506,7 @@ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
|
|||||||
+MODULE_ALIAS("nf-flow-table-hw");
|
+MODULE_ALIAS("nf-flow-table-hw");
|
||||||
--- a/net/netfilter/nf_tables_api.c
|
--- a/net/netfilter/nf_tables_api.c
|
||||||
+++ b/net/netfilter/nf_tables_api.c
|
+++ b/net/netfilter/nf_tables_api.c
|
||||||
@@ -5802,6 +5802,13 @@ static int nf_tables_flowtable_parse_hoo
|
@@ -5805,6 +5805,13 @@ static int nf_tables_flowtable_parse_hoo
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
return err;
|
return err;
|
||||||
|
|
||||||
@ -520,7 +520,7 @@ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
|
|||||||
ops = kcalloc(n, sizeof(struct nf_hook_ops), GFP_KERNEL);
|
ops = kcalloc(n, sizeof(struct nf_hook_ops), GFP_KERNEL);
|
||||||
if (!ops)
|
if (!ops)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
@@ -5932,10 +5939,19 @@ static int nf_tables_newflowtable(struct
|
@@ -5935,10 +5942,19 @@ static int nf_tables_newflowtable(struct
|
||||||
}
|
}
|
||||||
|
|
||||||
flowtable->data.type = type;
|
flowtable->data.type = type;
|
||||||
@ -540,7 +540,7 @@ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
|
|||||||
err = nf_tables_flowtable_parse_hook(&ctx, nla[NFTA_FLOWTABLE_HOOK],
|
err = nf_tables_flowtable_parse_hook(&ctx, nla[NFTA_FLOWTABLE_HOOK],
|
||||||
flowtable);
|
flowtable);
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
@@ -6061,7 +6077,8 @@ static int nf_tables_fill_flowtable_info
|
@@ -6064,7 +6080,8 @@ static int nf_tables_fill_flowtable_info
|
||||||
nla_put_string(skb, NFTA_FLOWTABLE_NAME, flowtable->name) ||
|
nla_put_string(skb, NFTA_FLOWTABLE_NAME, flowtable->name) ||
|
||||||
nla_put_be32(skb, NFTA_FLOWTABLE_USE, htonl(flowtable->use)) ||
|
nla_put_be32(skb, NFTA_FLOWTABLE_USE, htonl(flowtable->use)) ||
|
||||||
nla_put_be64(skb, NFTA_FLOWTABLE_HANDLE, cpu_to_be64(flowtable->handle),
|
nla_put_be64(skb, NFTA_FLOWTABLE_HANDLE, cpu_to_be64(flowtable->handle),
|
||||||
|
@ -11,7 +11,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
|
|
||||||
--- a/include/linux/netdevice.h
|
--- a/include/linux/netdevice.h
|
||||||
+++ b/include/linux/netdevice.h
|
+++ b/include/linux/netdevice.h
|
||||||
@@ -2000,6 +2000,8 @@ struct net_device {
|
@@ -1999,6 +1999,8 @@ struct net_device {
|
||||||
struct netdev_hw_addr_list mc;
|
struct netdev_hw_addr_list mc;
|
||||||
struct netdev_hw_addr_list dev_addrs;
|
struct netdev_hw_addr_list dev_addrs;
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
};
|
};
|
||||||
|
|
||||||
enum gro_result {
|
enum gro_result {
|
||||||
@@ -2170,6 +2173,7 @@ struct net_device {
|
@@ -2166,6 +2169,7 @@ struct net_device {
|
||||||
struct lock_class_key addr_list_lock_key;
|
struct lock_class_key addr_list_lock_key;
|
||||||
bool proto_down;
|
bool proto_down;
|
||||||
unsigned wol_enabled:1;
|
unsigned wol_enabled:1;
|
||||||
@ -58,7 +58,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
};
|
};
|
||||||
#define to_net_dev(d) container_of(d, struct net_device, dev)
|
#define to_net_dev(d) container_of(d, struct net_device, dev)
|
||||||
|
|
||||||
@@ -2350,6 +2354,26 @@ void netif_napi_add(struct net_device *d
|
@@ -2346,6 +2350,26 @@ void netif_napi_add(struct net_device *d
|
||||||
int (*poll)(struct napi_struct *, int), int weight);
|
int (*poll)(struct napi_struct *, int), int weight);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -279,7 +279,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
|
|
||||||
/* Some drivers may have called napi_schedule
|
/* Some drivers may have called napi_schedule
|
||||||
* prior to exhausting their budget.
|
* prior to exhausting their budget.
|
||||||
@@ -10351,6 +10411,10 @@ static int __init net_dev_init(void)
|
@@ -10349,6 +10409,10 @@ static int __init net_dev_init(void)
|
||||||
sd->backlog.weight = weight_p;
|
sd->backlog.weight = weight_p;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,44 +0,0 @@
|
|||||||
From 525ff9c2965770762b81d679820552a208070d59 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Arnd Bergmann <arnd@arndb.de>
|
|
||||||
Date: Tue, 17 Jan 2023 17:40:35 +0100
|
|
||||||
Subject: workqueue: fix enum type for gcc-13
|
|
||||||
|
|
||||||
In gcc-13, the WORK_STRUCT_WQ_DATA_MASK constant is a signed 64-bit
|
|
||||||
type on 32-bit architectures because the enum definition has both
|
|
||||||
negative numbers and numbers above LONG_MAX in it:
|
|
||||||
|
|
||||||
kernel/workqueue.c: In function 'get_work_pwq':
|
|
||||||
kernel/workqueue.c:709:24: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
|
|
||||||
709 | return (void *)(data & WORK_STRUCT_WQ_DATA_MASK);
|
|
||||||
| ^
|
|
||||||
kernel/workqueue.c: In function 'get_work_pool':
|
|
||||||
kernel/workqueue.c:737:25: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
|
|
||||||
737 | return ((struct pool_workqueue *)
|
|
||||||
| ^
|
|
||||||
kernel/workqueue.c: In function 'get_work_pool_id':
|
|
||||||
kernel/workqueue.c:759:25: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
|
|
||||||
759 | return ((struct pool_workqueue *)
|
|
||||||
| ^
|
|
||||||
|
|
||||||
Change the enum definition to ensure all values can fit into
|
|
||||||
the range of 'unsigned long' on all architectures.
|
|
||||||
|
|
||||||
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
|
|
||||||
Tested-by: Thierry Reding <treding@nvidia.com>
|
|
||||||
Tested-by: Lai Jiangshan<jiangshanlai@gmail.com>
|
|
||||||
Signed-off-by: Tejun Heo <tj@kernel.org>
|
|
||||||
---
|
|
||||||
include/linux/workqueue.h | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
--- a/include/linux/workqueue.h
|
|
||||||
+++ b/include/linux/workqueue.h
|
|
||||||
@@ -83,7 +83,7 @@ enum {
|
|
||||||
|
|
||||||
/* convenience constants */
|
|
||||||
WORK_STRUCT_FLAG_MASK = (1UL << WORK_STRUCT_FLAG_BITS) - 1,
|
|
||||||
- WORK_STRUCT_WQ_DATA_MASK = ~WORK_STRUCT_FLAG_MASK,
|
|
||||||
+ WORK_STRUCT_WQ_DATA_MASK = (unsigned long)~WORK_STRUCT_FLAG_MASK,
|
|
||||||
WORK_STRUCT_NO_POOL = (unsigned long)WORK_OFFQ_POOL_NONE << WORK_OFFQ_POOL_SHIFT,
|
|
||||||
|
|
||||||
/* bit mask for work_busy() return values */
|
|
@ -9,7 +9,7 @@ Acked-by: Rob Landley <rob@landley.net>
|
|||||||
---
|
---
|
||||||
--- a/arch/mips/Kconfig
|
--- a/arch/mips/Kconfig
|
||||||
+++ b/arch/mips/Kconfig
|
+++ b/arch/mips/Kconfig
|
||||||
@@ -1033,9 +1033,6 @@ config FW_ARC
|
@@ -1034,9 +1034,6 @@ config FW_ARC
|
||||||
config ARCH_MAY_HAVE_PC_FDC
|
config ARCH_MAY_HAVE_PC_FDC
|
||||||
bool
|
bool
|
||||||
|
|
||||||
@ -19,7 +19,7 @@ Acked-by: Rob Landley <rob@landley.net>
|
|||||||
config CEVT_BCM1480
|
config CEVT_BCM1480
|
||||||
bool
|
bool
|
||||||
|
|
||||||
@@ -3090,6 +3087,18 @@ choice
|
@@ -3091,6 +3088,18 @@ choice
|
||||||
bool "Extend builtin kernel arguments with bootloader arguments"
|
bool "Extend builtin kernel arguments with bootloader arguments"
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
|
|||||||
|
|
||||||
--- a/drivers/net/phy/phy_device.c
|
--- a/drivers/net/phy/phy_device.c
|
||||||
+++ b/drivers/net/phy/phy_device.c
|
+++ b/drivers/net/phy/phy_device.c
|
||||||
@@ -1753,6 +1753,9 @@ void phy_detach(struct phy_device *phyde
|
@@ -1750,6 +1750,9 @@ void phy_detach(struct phy_device *phyde
|
||||||
struct module *ndev_owner = NULL;
|
struct module *ndev_owner = NULL;
|
||||||
struct mii_bus *bus;
|
struct mii_bus *bus;
|
||||||
|
|
||||||
@ -23,7 +23,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
|
|||||||
sysfs_remove_link(&dev->dev.kobj, "phydev");
|
sysfs_remove_link(&dev->dev.kobj, "phydev");
|
||||||
--- a/include/linux/phy.h
|
--- a/include/linux/phy.h
|
||||||
+++ b/include/linux/phy.h
|
+++ b/include/linux/phy.h
|
||||||
@@ -878,6 +878,12 @@ struct phy_driver {
|
@@ -858,6 +858,12 @@ struct phy_driver {
|
||||||
/** @handle_interrupt: Override default interrupt handling */
|
/** @handle_interrupt: Override default interrupt handling */
|
||||||
irqreturn_t (*handle_interrupt)(struct phy_device *phydev);
|
irqreturn_t (*handle_interrupt)(struct phy_device *phydev);
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
|
|||||||
|
|
||||||
--- a/drivers/net/dsa/mt7530.c
|
--- a/drivers/net/dsa/mt7530.c
|
||||||
+++ b/drivers/net/dsa/mt7530.c
|
+++ b/drivers/net/dsa/mt7530.c
|
||||||
@@ -2236,6 +2236,10 @@ mt7530_setup(struct dsa_switch *ds)
|
@@ -2208,6 +2208,10 @@ mt7530_setup(struct dsa_switch *ds)
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
|
|||||||
|
|
||||||
--- a/drivers/net/dsa/mt7530.c
|
--- a/drivers/net/dsa/mt7530.c
|
||||||
+++ b/drivers/net/dsa/mt7530.c
|
+++ b/drivers/net/dsa/mt7530.c
|
||||||
@@ -2126,10 +2126,13 @@ mt7530_setup_mdio(struct mt7530_priv *pr
|
@@ -2098,10 +2098,13 @@ mt7530_setup_mdio(struct mt7530_priv *pr
|
||||||
{
|
{
|
||||||
struct dsa_switch *ds = priv->ds;
|
struct dsa_switch *ds = priv->ds;
|
||||||
struct device *dev = priv->dev;
|
struct device *dev = priv->dev;
|
||||||
@ -30,7 +30,7 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
|
|||||||
bus = devm_mdiobus_alloc(dev);
|
bus = devm_mdiobus_alloc(dev);
|
||||||
if (!bus)
|
if (!bus)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
@@ -2146,7 +2149,9 @@ mt7530_setup_mdio(struct mt7530_priv *pr
|
@@ -2118,7 +2121,9 @@ mt7530_setup_mdio(struct mt7530_priv *pr
|
||||||
if (priv->irq)
|
if (priv->irq)
|
||||||
mt7530_setup_mdio_irq(priv);
|
mt7530_setup_mdio_irq(priv);
|
||||||
|
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
--- a/drivers/usb/serial/option.c
|
--- a/drivers/usb/serial/option.c
|
||||||
+++ b/drivers/usb/serial/option.c
|
+++ b/drivers/usb/serial/option.c
|
||||||
@@ -264,6 +264,7 @@ static void option_instat_callback(struc
|
@@ -266,6 +266,7 @@ static void option_instat_callback(struc
|
||||||
#define QUECTEL_PRODUCT_EM12 0x0512
|
#define QUECTEL_PRODUCT_EM12 0x0512
|
||||||
#define QUECTEL_PRODUCT_RM500Q 0x0800
|
#define QUECTEL_PRODUCT_RM500Q 0x0800
|
||||||
#define QUECTEL_PRODUCT_RM520N 0x0801
|
#define QUECTEL_PRODUCT_RM520N 0x0801
|
||||||
+#define QUECTEL_PRODUCT_RM500U 0x0900
|
+#define QUECTEL_PRODUCT_RM500U 0x0900
|
||||||
#define QUECTEL_PRODUCT_EC200U 0x0901
|
#define QUECTEL_PRODUCT_EC200U 0x0901
|
||||||
#define QUECTEL_PRODUCT_EC200S_CN 0x6002
|
#define QUECTEL_PRODUCT_EC200S_CN 0x6002
|
||||||
#define QUECTEL_PRODUCT_EC200T 0x6026
|
#define QUECTEL_PRODUCT_EM061K_LWW 0x6008
|
||||||
@@ -1209,6 +1210,7 @@ static const struct usb_device_id option
|
@@ -1229,6 +1230,7 @@ static const struct usb_device_id option
|
||||||
{ USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC200S_CN, 0xff, 0, 0) },
|
{ USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC200S_CN, 0xff, 0, 0) },
|
||||||
{ USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC200T, 0xff, 0, 0) },
|
{ USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC200T, 0xff, 0, 0) },
|
||||||
{ USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_RM500K, 0xff, 0x00, 0x00) },
|
{ USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_RM500K, 0xff, 0x00, 0x00) },
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
#endif
|
#endif
|
||||||
--- a/include/linux/netdevice.h
|
--- a/include/linux/netdevice.h
|
||||||
+++ b/include/linux/netdevice.h
|
+++ b/include/linux/netdevice.h
|
||||||
@@ -2665,6 +2665,8 @@ enum netdev_cmd {
|
@@ -2661,6 +2661,8 @@ enum netdev_cmd {
|
||||||
NETDEV_CVLAN_FILTER_DROP_INFO,
|
NETDEV_CVLAN_FILTER_DROP_INFO,
|
||||||
NETDEV_SVLAN_FILTER_PUSH_INFO,
|
NETDEV_SVLAN_FILTER_PUSH_INFO,
|
||||||
NETDEV_SVLAN_FILTER_DROP_INFO,
|
NETDEV_SVLAN_FILTER_DROP_INFO,
|
||||||
|
@ -127,7 +127,7 @@
|
|||||||
/**
|
/**
|
||||||
* struct net_device - The DEVICE structure.
|
* struct net_device - The DEVICE structure.
|
||||||
*
|
*
|
||||||
@@ -1969,6 +1983,7 @@ struct net_device {
|
@@ -1968,6 +1982,7 @@ struct net_device {
|
||||||
|
|
||||||
unsigned int flags;
|
unsigned int flags;
|
||||||
unsigned int priv_flags;
|
unsigned int priv_flags;
|
||||||
@ -135,7 +135,7 @@
|
|||||||
|
|
||||||
unsigned short gflags;
|
unsigned short gflags;
|
||||||
unsigned short padded;
|
unsigned short padded;
|
||||||
@@ -2652,6 +2667,10 @@ enum netdev_cmd {
|
@@ -2648,6 +2663,10 @@ enum netdev_cmd {
|
||||||
NETDEV_CVLAN_FILTER_DROP_INFO,
|
NETDEV_CVLAN_FILTER_DROP_INFO,
|
||||||
NETDEV_SVLAN_FILTER_PUSH_INFO,
|
NETDEV_SVLAN_FILTER_PUSH_INFO,
|
||||||
NETDEV_SVLAN_FILTER_DROP_INFO,
|
NETDEV_SVLAN_FILTER_DROP_INFO,
|
||||||
@ -201,7 +201,7 @@
|
|||||||
const struct dst_entry *dst = skb_dst(skb);
|
const struct dst_entry *dst = skb_dst(skb);
|
||||||
--- a/include/net/neighbour.h
|
--- a/include/net/neighbour.h
|
||||||
+++ b/include/net/neighbour.h
|
+++ b/include/net/neighbour.h
|
||||||
@@ -575,4 +575,15 @@ static inline void neigh_update_is_route
|
@@ -568,4 +568,15 @@ static inline void neigh_update_is_route
|
||||||
*notify = 1;
|
*notify = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1164,7 +1164,7 @@
|
|||||||
#endif
|
#endif
|
||||||
--- a/net/core/neighbour.c
|
--- a/net/core/neighbour.c
|
||||||
+++ b/net/core/neighbour.c
|
+++ b/net/core/neighbour.c
|
||||||
@@ -1235,7 +1235,21 @@ static void neigh_update_hhs(struct neig
|
@@ -1204,7 +1204,21 @@ static void neigh_update_hhs(struct neig
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1186,7 +1186,7 @@
|
|||||||
|
|
||||||
/* Generic update routine.
|
/* Generic update routine.
|
||||||
-- lladdr is new lladdr or NULL, if it is not supplied.
|
-- lladdr is new lladdr or NULL, if it is not supplied.
|
||||||
@@ -1266,6 +1280,7 @@ static int __neigh_update(struct neighbo
|
@@ -1235,6 +1249,7 @@ static int __neigh_update(struct neighbo
|
||||||
int notify = 0;
|
int notify = 0;
|
||||||
struct net_device *dev;
|
struct net_device *dev;
|
||||||
int update_isrouter = 0;
|
int update_isrouter = 0;
|
||||||
@ -1194,7 +1194,7 @@
|
|||||||
|
|
||||||
trace_neigh_update(neigh, lladdr, new, flags, nlmsg_pid);
|
trace_neigh_update(neigh, lladdr, new, flags, nlmsg_pid);
|
||||||
|
|
||||||
@@ -1275,6 +1290,8 @@ static int __neigh_update(struct neighbo
|
@@ -1244,6 +1259,8 @@ static int __neigh_update(struct neighbo
|
||||||
old = neigh->nud_state;
|
old = neigh->nud_state;
|
||||||
err = -EPERM;
|
err = -EPERM;
|
||||||
|
|
||||||
@ -1203,7 +1203,7 @@
|
|||||||
if (neigh->dead) {
|
if (neigh->dead) {
|
||||||
NL_SET_ERR_MSG(extack, "Neighbor entry is now dead");
|
NL_SET_ERR_MSG(extack, "Neighbor entry is now dead");
|
||||||
new = old;
|
new = old;
|
||||||
@@ -1317,6 +1334,11 @@ static int __neigh_update(struct neighbo
|
@@ -1286,6 +1303,11 @@ static int __neigh_update(struct neighbo
|
||||||
- compare new & old
|
- compare new & old
|
||||||
- if they are different, check override flag
|
- if they are different, check override flag
|
||||||
*/
|
*/
|
||||||
@ -1215,7 +1215,7 @@
|
|||||||
if ((old & NUD_VALID) &&
|
if ((old & NUD_VALID) &&
|
||||||
!memcmp(lladdr, neigh->ha, dev->addr_len))
|
!memcmp(lladdr, neigh->ha, dev->addr_len))
|
||||||
lladdr = neigh->ha;
|
lladdr = neigh->ha;
|
||||||
@@ -1439,8 +1461,11 @@ out:
|
@@ -1408,8 +1430,11 @@ out:
|
||||||
if (((new ^ old) & NUD_PERMANENT) || ext_learn_change)
|
if (((new ^ old) & NUD_PERMANENT) || ext_learn_change)
|
||||||
neigh_update_gc_list(neigh);
|
neigh_update_gc_list(neigh);
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
__u32 flags; /* tunnel flags */
|
__u32 flags; /* tunnel flags */
|
||||||
--- a/include/net/ip_tunnels.h
|
--- a/include/net/ip_tunnels.h
|
||||||
+++ b/include/net/ip_tunnels.h
|
+++ b/include/net/ip_tunnels.h
|
||||||
@@ -529,4 +529,9 @@ static inline void ip_tunnel_info_opts_s
|
@@ -533,4 +533,9 @@ static inline void ip_tunnel_info_opts_s
|
||||||
|
|
||||||
#endif /* CONFIG_INET */
|
#endif /* CONFIG_INET */
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ Cc: linux-mips@vger.kernel.org
|
|||||||
|
|
||||||
--- a/arch/mips/kernel/setup.c
|
--- a/arch/mips/kernel/setup.c
|
||||||
+++ b/arch/mips/kernel/setup.c
|
+++ b/arch/mips/kernel/setup.c
|
||||||
@@ -538,11 +538,88 @@ static void __init check_kernel_sections
|
@@ -539,11 +539,88 @@ static void __init check_kernel_sections
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -140,7 +140,7 @@ Cc: linux-mips@vger.kernel.org
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* arch_mem_init - initialize memory management subsystem
|
* arch_mem_init - initialize memory management subsystem
|
||||||
@@ -570,48 +647,12 @@ static void __init arch_mem_init(char **
|
@@ -571,48 +648,12 @@ static void __init arch_mem_init(char **
|
||||||
{
|
{
|
||||||
extern void plat_mem_setup(void);
|
extern void plat_mem_setup(void);
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ Signed-off-by: Tobias Wolf <dev-NTEO@vplace.de>
|
|||||||
|
|
||||||
--- a/arch/mips/kernel/setup.c
|
--- a/arch/mips/kernel/setup.c
|
||||||
+++ b/arch/mips/kernel/setup.c
|
+++ b/arch/mips/kernel/setup.c
|
||||||
@@ -287,6 +287,8 @@ static unsigned long __init init_initrd(
|
@@ -288,6 +288,8 @@ static unsigned long __init init_initrd(
|
||||||
* Initialize the bootmem allocator. It also setup initrd related data
|
* Initialize the bootmem allocator. It also setup initrd related data
|
||||||
* if needed.
|
* if needed.
|
||||||
*/
|
*/
|
||||||
@ -25,7 +25,7 @@ Signed-off-by: Tobias Wolf <dev-NTEO@vplace.de>
|
|||||||
#if defined(CONFIG_SGI_IP27) || (defined(CONFIG_CPU_LOONGSON3) && defined(CONFIG_NUMA))
|
#if defined(CONFIG_SGI_IP27) || (defined(CONFIG_CPU_LOONGSON3) && defined(CONFIG_NUMA))
|
||||||
|
|
||||||
static void __init bootmem_init(void)
|
static void __init bootmem_init(void)
|
||||||
@@ -325,7 +327,7 @@ static void __init bootmem_init(void)
|
@@ -326,7 +328,7 @@ static void __init bootmem_init(void)
|
||||||
/*
|
/*
|
||||||
* Reserve any memory between the start of RAM and PHYS_OFFSET
|
* Reserve any memory between the start of RAM and PHYS_OFFSET
|
||||||
*/
|
*/
|
||||||
@ -34,7 +34,7 @@ Signed-off-by: Tobias Wolf <dev-NTEO@vplace.de>
|
|||||||
memblock_reserve(PHYS_OFFSET, ramstart - PHYS_OFFSET);
|
memblock_reserve(PHYS_OFFSET, ramstart - PHYS_OFFSET);
|
||||||
|
|
||||||
if (PFN_UP(ramstart) > ARCH_PFN_OFFSET) {
|
if (PFN_UP(ramstart) > ARCH_PFN_OFFSET) {
|
||||||
@@ -386,8 +388,6 @@ static void __init bootmem_init(void)
|
@@ -387,8 +389,6 @@ static void __init bootmem_init(void)
|
||||||
|
|
||||||
#endif /* CONFIG_SGI_IP27 */
|
#endif /* CONFIG_SGI_IP27 */
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
|
|||||||
|
|
||||||
--- a/arch/mips/kernel/setup.c
|
--- a/arch/mips/kernel/setup.c
|
||||||
+++ b/arch/mips/kernel/setup.c
|
+++ b/arch/mips/kernel/setup.c
|
||||||
@@ -571,8 +571,28 @@ static int __init bootcmdline_scan_chose
|
@@ -572,8 +572,28 @@ static int __init bootcmdline_scan_chose
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
|
|||||||
bool dt_bootargs = false;
|
bool dt_bootargs = false;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -586,6 +606,14 @@ static void __init bootcmdline_init(char
|
@@ -587,6 +607,14 @@ static void __init bootcmdline_init(char
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -10,7 +10,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
|
|||||||
|
|
||||||
--- a/arch/mips/kernel/setup.c
|
--- a/arch/mips/kernel/setup.c
|
||||||
+++ b/arch/mips/kernel/setup.c
|
+++ b/arch/mips/kernel/setup.c
|
||||||
@@ -723,8 +723,6 @@ static void __init arch_mem_init(char **
|
@@ -724,8 +724,6 @@ static void __init arch_mem_init(char **
|
||||||
memblock_reserve(crashk_res.start,
|
memblock_reserve(crashk_res.start,
|
||||||
crashk_res.end - crashk_res.start + 1);
|
crashk_res.end - crashk_res.start + 1);
|
||||||
#endif
|
#endif
|
||||||
@ -19,7 +19,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
|
|||||||
/*
|
/*
|
||||||
* In order to reduce the possibility of kernel panic when failed to
|
* In order to reduce the possibility of kernel panic when failed to
|
||||||
* get IO TLB memory under CONFIG_SWIOTLB, it is better to allocate
|
* get IO TLB memory under CONFIG_SWIOTLB, it is better to allocate
|
||||||
@@ -841,6 +839,7 @@ void __init setup_arch(char **cmdline_p)
|
@@ -842,6 +840,7 @@ void __init setup_arch(char **cmdline_p)
|
||||||
|
|
||||||
cpu_cache_init();
|
cpu_cache_init();
|
||||||
paging_init();
|
paging_init();
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
--- a/drivers/usb/serial/option.c
|
--- a/drivers/usb/serial/option.c
|
||||||
+++ b/drivers/usb/serial/option.c
|
+++ b/drivers/usb/serial/option.c
|
||||||
@@ -267,6 +267,7 @@ static void option_instat_callback(struc
|
@@ -271,6 +271,7 @@ static void option_instat_callback(struc
|
||||||
#define QUECTEL_PRODUCT_EC200U 0x0901
|
#define QUECTEL_PRODUCT_EM061K_LWW 0x6008
|
||||||
#define QUECTEL_PRODUCT_EC200S_CN 0x6002
|
#define QUECTEL_PRODUCT_EM061K_LCN 0x6009
|
||||||
#define QUECTEL_PRODUCT_EC200T 0x6026
|
#define QUECTEL_PRODUCT_EC200T 0x6026
|
||||||
+#define QUECTEL_PRODUCT_EC200A_CN 0x6005
|
+#define QUECTEL_PRODUCT_EC200A_CN 0x6005
|
||||||
#define QUECTEL_PRODUCT_RM500K 0x7001
|
#define QUECTEL_PRODUCT_RM500K 0x7001
|
||||||
|
|
||||||
#define CMOTECH_VENDOR_ID 0x16d8
|
#define CMOTECH_VENDOR_ID 0x16d8
|
||||||
@@ -1208,6 +1209,7 @@ static const struct usb_device_id option
|
@@ -1224,6 +1225,7 @@ static const struct usb_device_id option
|
||||||
{ USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC200U, 0xff, 0, 0) },
|
{ USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC200U, 0xff, 0, 0) },
|
||||||
{ USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC200S_CN, 0xff, 0, 0) },
|
{ USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC200S_CN, 0xff, 0, 0) },
|
||||||
{ USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC200T, 0xff, 0, 0) },
|
{ USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC200T, 0xff, 0, 0) },
|
||||||
|
@ -21,7 +21,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
|
|||||||
|
|
||||||
--- a/MAINTAINERS
|
--- a/MAINTAINERS
|
||||||
+++ b/MAINTAINERS
|
+++ b/MAINTAINERS
|
||||||
@@ -13951,6 +13951,7 @@ F: include/uapi/linux/meye.h
|
@@ -13959,6 +13959,7 @@ F: include/uapi/linux/meye.h
|
||||||
|
|
||||||
MOTORCOMM PHY DRIVER
|
MOTORCOMM PHY DRIVER
|
||||||
M: Peter Geis <pgwipeout@gmail.com>
|
M: Peter Geis <pgwipeout@gmail.com>
|
||||||
|
@ -25,7 +25,7 @@ Subject: [PATCH] r8169: add LED configuration from OF
|
|||||||
TxDescStartAddrLow = 0x20,
|
TxDescStartAddrLow = 0x20,
|
||||||
TxDescStartAddrHigh = 0x24,
|
TxDescStartAddrHigh = 0x24,
|
||||||
TxHDescStartAddrLow = 0x28,
|
TxHDescStartAddrLow = 0x28,
|
||||||
@@ -5133,6 +5135,22 @@ static bool rtl_aspm_is_safe(struct rtl8
|
@@ -5132,6 +5134,22 @@ static bool rtl_aspm_is_safe(struct rtl8
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -48,7 +48,7 @@ Subject: [PATCH] r8169: add LED configuration from OF
|
|||||||
static int rtl_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
|
static int rtl_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
|
||||||
{
|
{
|
||||||
struct rtl8169_private *tp;
|
struct rtl8169_private *tp;
|
||||||
@@ -5306,6 +5324,7 @@ static int rtl_init_one(struct pci_dev *
|
@@ -5303,6 +5321,7 @@ static int rtl_init_one(struct pci_dev *
|
||||||
if (!tp->counters)
|
if (!tp->counters)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ Subject: [PATCH] net: phy: realtek: add LED configuration from OF for 8211f
|
|||||||
|
|
||||||
--- a/drivers/net/phy/realtek.c
|
--- a/drivers/net/phy/realtek.c
|
||||||
+++ b/drivers/net/phy/realtek.c
|
+++ b/drivers/net/phy/realtek.c
|
||||||
@@ -349,6 +349,7 @@ static int rtl8211f_config_init(struct phy_device *phydev)
|
@@ -349,6 +349,7 @@ static int rtl8211f_config_init(struct p
|
||||||
struct rtl821x_priv *priv = phydev->priv;
|
struct rtl821x_priv *priv = phydev->priv;
|
||||||
struct device *dev = &phydev->mdio.dev;
|
struct device *dev = &phydev->mdio.dev;
|
||||||
u16 val_txdly, val_rxdly;
|
u16 val_txdly, val_rxdly;
|
||||||
@ -17,7 +17,7 @@ Subject: [PATCH] net: phy: realtek: add LED configuration from OF for 8211f
|
|||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
ret = phy_modify_paged_changed(phydev, 0xa43, RTL8211F_PHYCR1,
|
ret = phy_modify_paged_changed(phydev, 0xa43, RTL8211F_PHYCR1,
|
||||||
@@ -425,6 +426,14 @@ static int rtl8211f_config_init(struct phy_device *phydev)
|
@@ -425,6 +426,14 @@ static int rtl8211f_config_init(struct p
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/arch/arm64/Kconfig
|
--- a/arch/arm64/Kconfig
|
||||||
+++ b/arch/arm64/Kconfig
|
+++ b/arch/arm64/Kconfig
|
||||||
@@ -1132,6 +1132,14 @@ config SOCIONEXT_SYNQUACER_PREITS
|
@@ -1133,6 +1133,14 @@ config SOCIONEXT_SYNQUACER_PREITS
|
||||||
|
|
||||||
If unsure, say Y.
|
If unsure, say Y.
|
||||||
|
|
||||||
@ -35,7 +35,7 @@
|
|||||||
num-lanes = <1>;
|
num-lanes = <1>;
|
||||||
phys = <&pcie30phy>;
|
phys = <&pcie30phy>;
|
||||||
phy-names = "pcie-phy";
|
phy-names = "pcie-phy";
|
||||||
@@ -116,7 +116,7 @@
|
@@ -117,7 +117,7 @@
|
||||||
compatible = "rockchip,rk3568-pcie";
|
compatible = "rockchip,rk3568-pcie";
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
@ -44,7 +44,7 @@
|
|||||||
clocks = <&cru ACLK_PCIE30X2_MST>, <&cru ACLK_PCIE30X2_SLV>,
|
clocks = <&cru ACLK_PCIE30X2_MST>, <&cru ACLK_PCIE30X2_SLV>,
|
||||||
<&cru ACLK_PCIE30X2_DBI>, <&cru PCLK_PCIE30X2>,
|
<&cru ACLK_PCIE30X2_DBI>, <&cru PCLK_PCIE30X2>,
|
||||||
<&cru CLK_PCIE30X2_AUX_NDFT>;
|
<&cru CLK_PCIE30X2_AUX_NDFT>;
|
||||||
@@ -139,7 +139,7 @@
|
@@ -140,7 +140,7 @@
|
||||||
num-ib-windows = <6>;
|
num-ib-windows = <6>;
|
||||||
num-ob-windows = <2>;
|
num-ob-windows = <2>;
|
||||||
max-link-speed = <3>;
|
max-link-speed = <3>;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/arch/arm64/boot/dts/rockchip/rk3568.dtsi
|
--- a/arch/arm64/boot/dts/rockchip/rk3568.dtsi
|
||||||
+++ b/arch/arm64/boot/dts/rockchip/rk3568.dtsi
|
+++ b/arch/arm64/boot/dts/rockchip/rk3568.dtsi
|
||||||
@@ -173,11 +173,13 @@
|
@@ -175,11 +175,13 @@
|
||||||
clocks = <&cru SCLK_GMAC0>, <&cru SCLK_GMAC0_RX_TX>,
|
clocks = <&cru SCLK_GMAC0>, <&cru SCLK_GMAC0_RX_TX>,
|
||||||
<&cru SCLK_GMAC0_RX_TX>, <&cru CLK_MAC0_REFOUT>,
|
<&cru SCLK_GMAC0_RX_TX>, <&cru CLK_MAC0_REFOUT>,
|
||||||
<&cru ACLK_GMAC0>, <&cru PCLK_GMAC0>,
|
<&cru ACLK_GMAC0>, <&cru PCLK_GMAC0>,
|
||||||
|
@ -50,7 +50,7 @@ Signed-off-by: wevsty <ty@wevs.org>
|
|||||||
reg = <0x0 0xff9a0000 0x0 0x10000>;
|
reg = <0x0 0xff9a0000 0x0 0x10000>;
|
||||||
--- a/arch/arm64/boot/dts/rockchip/rk3568.dtsi
|
--- a/arch/arm64/boot/dts/rockchip/rk3568.dtsi
|
||||||
+++ b/arch/arm64/boot/dts/rockchip/rk3568.dtsi
|
+++ b/arch/arm64/boot/dts/rockchip/rk3568.dtsi
|
||||||
@@ -213,6 +213,16 @@
|
@@ -215,6 +215,16 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ and performance for all other cases.
|
|||||||
|
|
||||||
--- a/net/ipv4/tcp_input.c
|
--- a/net/ipv4/tcp_input.c
|
||||||
+++ b/net/ipv4/tcp_input.c
|
+++ b/net/ipv4/tcp_input.c
|
||||||
@@ -5384,6 +5384,7 @@ static bool tcp_prune_ofo_queue(struct s
|
@@ -5390,6 +5390,7 @@ static bool tcp_prune_ofo_queue(struct s
|
||||||
static int tcp_prune_queue(struct sock *sk)
|
static int tcp_prune_queue(struct sock *sk)
|
||||||
{
|
{
|
||||||
struct tcp_sock *tp = tcp_sk(sk);
|
struct tcp_sock *tp = tcp_sk(sk);
|
||||||
@ -89,7 +89,7 @@ and performance for all other cases.
|
|||||||
|
|
||||||
NET_INC_STATS(sock_net(sk), LINUX_MIB_PRUNECALLED);
|
NET_INC_STATS(sock_net(sk), LINUX_MIB_PRUNECALLED);
|
||||||
|
|
||||||
@@ -5395,6 +5396,39 @@ static int tcp_prune_queue(struct sock *
|
@@ -5401,6 +5402,39 @@ static int tcp_prune_queue(struct sock *
|
||||||
if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf)
|
if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
@ -129,7 +129,7 @@ and performance for all other cases.
|
|||||||
tcp_collapse_ofo_queue(sk);
|
tcp_collapse_ofo_queue(sk);
|
||||||
if (!skb_queue_empty(&sk->sk_receive_queue))
|
if (!skb_queue_empty(&sk->sk_receive_queue))
|
||||||
tcp_collapse(sk, &sk->sk_receive_queue, NULL,
|
tcp_collapse(sk, &sk->sk_receive_queue, NULL,
|
||||||
@@ -5413,6 +5447,8 @@ static int tcp_prune_queue(struct sock *
|
@@ -5419,6 +5453,8 @@ static int tcp_prune_queue(struct sock *
|
||||||
if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf)
|
if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user