mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-15 18:03:30 +00:00
kernel: bump 5.4 to 5.4.125
This commit is contained in:
parent
a3f1e837fd
commit
974a53a70c
@ -6,10 +6,10 @@ ifdef CONFIG_TESTING_KERNEL
|
|||||||
KERNEL_PATCHVER:=$(KERNEL_TESTING_PATCHVER)
|
KERNEL_PATCHVER:=$(KERNEL_TESTING_PATCHVER)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LINUX_VERSION-5.4 = .124
|
LINUX_VERSION-5.4 = .125
|
||||||
LINUX_VERSION-5.10 = .43
|
LINUX_VERSION-5.10 = .43
|
||||||
|
|
||||||
LINUX_KERNEL_HASH-5.4.124 = f7f29dda2b042d7b5986d18274413131cf70e17288c05e9a683df1f46c507d82
|
LINUX_KERNEL_HASH-5.4.125 = 17ee750a4aeb1c883d721e730d1f7e2855124585e2f47766864a1359a7ebe33c
|
||||||
LINUX_KERNEL_HASH-5.10.43 = 83b81e433ba2f8ee143064fb163699ee857e26dd789006bc1e9edf1ccd0bd403
|
LINUX_KERNEL_HASH-5.10.43 = 83b81e433ba2f8ee143064fb163699ee857e26dd789006bc1e9edf1ccd0bd403
|
||||||
|
|
||||||
remove_uri_prefix=$(subst git://,,$(subst http://,,$(subst https://,,$(1))))
|
remove_uri_prefix=$(subst git://,,$(subst http://,,$(subst https://,,$(1))))
|
||||||
|
@ -12,7 +12,7 @@ try_version() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try_git() {
|
try_git() {
|
||||||
REBOOT=ee53a240ac902dc83209008a2671e7fdcf55957a
|
REBOOT=97a4ffcc125611dd5f307d54570373832a73e62d
|
||||||
git rev-parse --git-dir >/dev/null 2>&1 || return 1
|
git rev-parse --git-dir >/dev/null 2>&1 || return 1
|
||||||
|
|
||||||
[ -n "$GET_REV" ] || GET_REV="HEAD"
|
[ -n "$GET_REV" ] || GET_REV="HEAD"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/net/phy/at803x.c
|
--- a/drivers/net/phy/at803x.c
|
||||||
+++ b/drivers/net/phy/at803x.c
|
+++ b/drivers/net/phy/at803x.c
|
||||||
@@ -383,6 +383,13 @@ static int at803x_aneg_done(struct phy_d
|
@@ -404,6 +404,13 @@ static int at803x_aneg_done(struct phy_d
|
||||||
if (!(phy_read(phydev, AT803X_PSSR) & AT803X_PSSR_MR_AN_COMPLETE)) {
|
if (!(phy_read(phydev, AT803X_PSSR) & AT803X_PSSR_MR_AN_COMPLETE)) {
|
||||||
phydev_warn(phydev, "803x_aneg_done: SGMII link is not ok\n");
|
phydev_warn(phydev, "803x_aneg_done: SGMII link is not ok\n");
|
||||||
aneg_done = 0;
|
aneg_done = 0;
|
||||||
|
@ -17,9 +17,9 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
#define AT803X_PHY_ID_MASK 0xffffffef
|
#define AT803X_PHY_ID_MASK 0xffffffef
|
||||||
+#define AT8032_PHY_ID_MASK 0xffffffff
|
+#define AT8032_PHY_ID_MASK 0xffffffff
|
||||||
|
|
||||||
MODULE_DESCRIPTION("Atheros 803x PHY driver");
|
#define AT803X_PAGE_FIBER 0
|
||||||
MODULE_AUTHOR("Matus Ujhelyi");
|
#define AT803X_PAGE_COPPER 1
|
||||||
@@ -314,7 +316,7 @@ static int at803x_config_intr(struct phy
|
@@ -357,7 +359,7 @@ static int at803x_config_intr(struct phy
|
||||||
static void at803x_link_change_notify(struct phy_device *phydev)
|
static void at803x_link_change_notify(struct phy_device *phydev)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
@ -28,7 +28,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
* signalled. This is necessary to circumvent a hardware bug that
|
* signalled. This is necessary to circumvent a hardware bug that
|
||||||
* occurs when the cable is unplugged while TX packets are pending
|
* occurs when the cable is unplugged while TX packets are pending
|
||||||
* in the FIFO. In such cases, the FIFO enters an error mode it
|
* in the FIFO. In such cases, the FIFO enters an error mode it
|
||||||
@@ -471,6 +473,24 @@ static struct phy_driver at803x_driver[]
|
@@ -516,6 +518,24 @@ static struct phy_driver at803x_driver[]
|
||||||
.aneg_done = at803x_aneg_done,
|
.aneg_done = at803x_aneg_done,
|
||||||
.ack_interrupt = &at803x_ack_interrupt,
|
.ack_interrupt = &at803x_ack_interrupt,
|
||||||
.config_intr = &at803x_config_intr,
|
.config_intr = &at803x_config_intr,
|
||||||
@ -53,7 +53,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
} };
|
} };
|
||||||
|
|
||||||
module_phy_driver(at803x_driver);
|
module_phy_driver(at803x_driver);
|
||||||
@@ -478,6 +498,7 @@ module_phy_driver(at803x_driver);
|
@@ -523,6 +543,7 @@ module_phy_driver(at803x_driver);
|
||||||
static struct mdio_device_id __maybe_unused atheros_tbl[] = {
|
static struct mdio_device_id __maybe_unused atheros_tbl[] = {
|
||||||
{ ATH8030_PHY_ID, AT803X_PHY_ID_MASK },
|
{ ATH8030_PHY_ID, AT803X_PHY_ID_MASK },
|
||||||
{ ATH8031_PHY_ID, AT803X_PHY_ID_MASK },
|
{ ATH8031_PHY_ID, AT803X_PHY_ID_MASK },
|
||||||
|
@ -157,7 +157,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
|
|||||||
case RTN_THROW:
|
case RTN_THROW:
|
||||||
case RTN_UNREACHABLE:
|
case RTN_UNREACHABLE:
|
||||||
default:
|
default:
|
||||||
@@ -4419,6 +4438,17 @@ static int ip6_pkt_prohibit_out(struct n
|
@@ -4423,6 +4442,17 @@ static int ip6_pkt_prohibit_out(struct n
|
||||||
return ip6_pkt_drop(skb, ICMPV6_ADM_PROHIBITED, IPSTATS_MIB_OUTNOROUTES);
|
return ip6_pkt_drop(skb, ICMPV6_ADM_PROHIBITED, IPSTATS_MIB_OUTNOROUTES);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -175,7 +175,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
|
|||||||
/*
|
/*
|
||||||
* Allocate a dst for local (unicast / anycast) address.
|
* Allocate a dst for local (unicast / anycast) address.
|
||||||
*/
|
*/
|
||||||
@@ -4899,7 +4929,8 @@ static int rtm_to_fib6_config(struct sk_
|
@@ -4903,7 +4933,8 @@ static int rtm_to_fib6_config(struct sk_
|
||||||
if (rtm->rtm_type == RTN_UNREACHABLE ||
|
if (rtm->rtm_type == RTN_UNREACHABLE ||
|
||||||
rtm->rtm_type == RTN_BLACKHOLE ||
|
rtm->rtm_type == RTN_BLACKHOLE ||
|
||||||
rtm->rtm_type == RTN_PROHIBIT ||
|
rtm->rtm_type == RTN_PROHIBIT ||
|
||||||
@ -185,7 +185,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
|
|||||||
cfg->fc_flags |= RTF_REJECT;
|
cfg->fc_flags |= RTF_REJECT;
|
||||||
|
|
||||||
if (rtm->rtm_type == RTN_LOCAL)
|
if (rtm->rtm_type == RTN_LOCAL)
|
||||||
@@ -6021,6 +6052,8 @@ static int ip6_route_dev_notify(struct n
|
@@ -6025,6 +6056,8 @@ static int ip6_route_dev_notify(struct n
|
||||||
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
|
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
|
||||||
net->ipv6.ip6_prohibit_entry->dst.dev = dev;
|
net->ipv6.ip6_prohibit_entry->dst.dev = dev;
|
||||||
net->ipv6.ip6_prohibit_entry->rt6i_idev = in6_dev_get(dev);
|
net->ipv6.ip6_prohibit_entry->rt6i_idev = in6_dev_get(dev);
|
||||||
@ -194,7 +194,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
|
|||||||
net->ipv6.ip6_blk_hole_entry->dst.dev = dev;
|
net->ipv6.ip6_blk_hole_entry->dst.dev = dev;
|
||||||
net->ipv6.ip6_blk_hole_entry->rt6i_idev = in6_dev_get(dev);
|
net->ipv6.ip6_blk_hole_entry->rt6i_idev = in6_dev_get(dev);
|
||||||
#endif
|
#endif
|
||||||
@@ -6032,6 +6065,7 @@ static int ip6_route_dev_notify(struct n
|
@@ -6036,6 +6069,7 @@ static int ip6_route_dev_notify(struct n
|
||||||
in6_dev_put_clear(&net->ipv6.ip6_null_entry->rt6i_idev);
|
in6_dev_put_clear(&net->ipv6.ip6_null_entry->rt6i_idev);
|
||||||
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
|
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
|
||||||
in6_dev_put_clear(&net->ipv6.ip6_prohibit_entry->rt6i_idev);
|
in6_dev_put_clear(&net->ipv6.ip6_prohibit_entry->rt6i_idev);
|
||||||
@ -202,7 +202,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
|
|||||||
in6_dev_put_clear(&net->ipv6.ip6_blk_hole_entry->rt6i_idev);
|
in6_dev_put_clear(&net->ipv6.ip6_blk_hole_entry->rt6i_idev);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@@ -6224,6 +6258,8 @@ static int __net_init ip6_route_net_init
|
@@ -6228,6 +6262,8 @@ static int __net_init ip6_route_net_init
|
||||||
|
|
||||||
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
|
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
|
||||||
net->ipv6.fib6_has_custom_rules = false;
|
net->ipv6.fib6_has_custom_rules = false;
|
||||||
@ -211,7 +211,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
|
|||||||
net->ipv6.ip6_prohibit_entry = kmemdup(&ip6_prohibit_entry_template,
|
net->ipv6.ip6_prohibit_entry = kmemdup(&ip6_prohibit_entry_template,
|
||||||
sizeof(*net->ipv6.ip6_prohibit_entry),
|
sizeof(*net->ipv6.ip6_prohibit_entry),
|
||||||
GFP_KERNEL);
|
GFP_KERNEL);
|
||||||
@@ -6234,11 +6270,21 @@ static int __net_init ip6_route_net_init
|
@@ -6238,11 +6274,21 @@ static int __net_init ip6_route_net_init
|
||||||
ip6_template_metrics, true);
|
ip6_template_metrics, true);
|
||||||
INIT_LIST_HEAD(&net->ipv6.ip6_prohibit_entry->rt6i_uncached);
|
INIT_LIST_HEAD(&net->ipv6.ip6_prohibit_entry->rt6i_uncached);
|
||||||
|
|
||||||
@ -234,7 +234,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
|
|||||||
net->ipv6.ip6_blk_hole_entry->dst.ops = &net->ipv6.ip6_dst_ops;
|
net->ipv6.ip6_blk_hole_entry->dst.ops = &net->ipv6.ip6_dst_ops;
|
||||||
dst_init_metrics(&net->ipv6.ip6_blk_hole_entry->dst,
|
dst_init_metrics(&net->ipv6.ip6_blk_hole_entry->dst,
|
||||||
ip6_template_metrics, true);
|
ip6_template_metrics, true);
|
||||||
@@ -6262,6 +6308,8 @@ out:
|
@@ -6266,6 +6312,8 @@ out:
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
|
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
|
||||||
@ -243,7 +243,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
|
|||||||
out_ip6_prohibit_entry:
|
out_ip6_prohibit_entry:
|
||||||
kfree(net->ipv6.ip6_prohibit_entry);
|
kfree(net->ipv6.ip6_prohibit_entry);
|
||||||
out_ip6_null_entry:
|
out_ip6_null_entry:
|
||||||
@@ -6281,6 +6329,7 @@ static void __net_exit ip6_route_net_exi
|
@@ -6285,6 +6333,7 @@ static void __net_exit ip6_route_net_exi
|
||||||
kfree(net->ipv6.ip6_null_entry);
|
kfree(net->ipv6.ip6_null_entry);
|
||||||
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
|
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
|
||||||
kfree(net->ipv6.ip6_prohibit_entry);
|
kfree(net->ipv6.ip6_prohibit_entry);
|
||||||
@ -251,7 +251,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
|
|||||||
kfree(net->ipv6.ip6_blk_hole_entry);
|
kfree(net->ipv6.ip6_blk_hole_entry);
|
||||||
#endif
|
#endif
|
||||||
dst_entries_destroy(&net->ipv6.ip6_dst_ops);
|
dst_entries_destroy(&net->ipv6.ip6_dst_ops);
|
||||||
@@ -6358,6 +6407,9 @@ void __init ip6_route_init_special_entri
|
@@ -6362,6 +6411,9 @@ void __init ip6_route_init_special_entri
|
||||||
init_net.ipv6.ip6_prohibit_entry->rt6i_idev = in6_dev_get(init_net.loopback_dev);
|
init_net.ipv6.ip6_prohibit_entry->rt6i_idev = in6_dev_get(init_net.loopback_dev);
|
||||||
init_net.ipv6.ip6_blk_hole_entry->dst.dev = init_net.loopback_dev;
|
init_net.ipv6.ip6_blk_hole_entry->dst.dev = init_net.loopback_dev;
|
||||||
init_net.ipv6.ip6_blk_hole_entry->rt6i_idev = in6_dev_get(init_net.loopback_dev);
|
init_net.ipv6.ip6_blk_hole_entry->rt6i_idev = in6_dev_get(init_net.loopback_dev);
|
||||||
|
Loading…
Reference in New Issue
Block a user