mirror of
https://github.com/coolsnowwolf/lede.git
synced 2026-05-28 03:07:12 +08:00
kernel: bump all to latest HEAD
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
LINUX_VERSION-6.12 = .79
|
||||
LINUX_KERNEL_HASH-6.12.79 = 4bfa751f33de2a5d7ecb4ff964743a027fc726a2225a76a18f92f0582aa0790b
|
||||
LINUX_VERSION-6.12 = .80
|
||||
LINUX_KERNEL_HASH-6.12.80 = c92591d896e79ecddbc3319136f0c2f855e832b397de7593f013ad7590a43e53
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
LINUX_VERSION-6.18 = .20
|
||||
LINUX_KERNEL_HASH-6.18.20 = 837a5abd98e46078a0ae1400e2daad89ece45cc3209037b09c2265dab2393553
|
||||
LINUX_VERSION-6.18 = .21
|
||||
LINUX_KERNEL_HASH-6.18.21 = 1c38214fb137bae85b82b82537b5987358621b915ab2a8e4f09e60697c19474f
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
LINUX_VERSION-6.6 = .129
|
||||
LINUX_KERNEL_HASH-6.6.129 = caa08f0122224fbbfab177e2a37cc2a94a0046bd2e7e87f03f8913f2b812448a
|
||||
LINUX_VERSION-6.6 = .132
|
||||
LINUX_KERNEL_HASH-6.6.132 = c5b62bbb104f5fddf6be6f50ebd170146c1995d2cc84e591a914decb4b6b2eb4
|
||||
|
||||
@@ -1,85 +0,0 @@
|
||||
From e184e8609f8c1cd9fef703f667245b6ebd89c2ed Mon Sep 17 00:00:00 2001
|
||||
From: "Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>
|
||||
Date: Tue, 3 Oct 2023 14:34:24 +0100
|
||||
Subject: [PATCH] net: sfp: re-implement ignoring the hardware TX_FAULT signal
|
||||
|
||||
Re-implement how we ignore the hardware TX_FAULT signal. Rather than
|
||||
having a separate boolean for this, use a bitmask of the hardware
|
||||
signals that we wish to ignore. This gives more flexibility in the
|
||||
future to ignore other signals such as RX_LOS.
|
||||
|
||||
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
|
||||
Tested-by: Christian Marangi <ansuelsmth@gmail.com>
|
||||
Link: https://lore.kernel.org/r/E1qnfXc-008UDY-91@rmk-PC.armlinux.org.uk
|
||||
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|
||||
---
|
||||
drivers/net/phy/sfp.c | 16 ++++++++--------
|
||||
1 file changed, 8 insertions(+), 8 deletions(-)
|
||||
|
||||
--- a/drivers/net/phy/sfp.c
|
||||
+++ b/drivers/net/phy/sfp.c
|
||||
@@ -257,6 +257,7 @@ struct sfp {
|
||||
unsigned int state_hw_drive;
|
||||
unsigned int state_hw_mask;
|
||||
unsigned int state_soft_mask;
|
||||
+ unsigned int state_ignore_mask;
|
||||
unsigned int state;
|
||||
|
||||
struct delayed_work poll;
|
||||
@@ -280,7 +281,6 @@ struct sfp {
|
||||
unsigned int rs_state_mask;
|
||||
|
||||
bool have_a2;
|
||||
- bool tx_fault_ignore;
|
||||
|
||||
const struct sfp_quirk *quirk;
|
||||
|
||||
@@ -347,7 +347,7 @@ static void sfp_fixup_long_startup(struc
|
||||
|
||||
static void sfp_fixup_ignore_tx_fault(struct sfp *sfp)
|
||||
{
|
||||
- sfp->tx_fault_ignore = true;
|
||||
+ sfp->state_ignore_mask |= SFP_F_TX_FAULT;
|
||||
}
|
||||
|
||||
// For 10GBASE-T short-reach modules
|
||||
@@ -796,7 +796,8 @@ static void sfp_soft_start_poll(struct s
|
||||
|
||||
mutex_lock(&sfp->st_mutex);
|
||||
// Poll the soft state for hardware pins we want to ignore
|
||||
- sfp->state_soft_mask = ~sfp->state_hw_mask & mask;
|
||||
+ sfp->state_soft_mask = ~sfp->state_hw_mask & ~sfp->state_ignore_mask &
|
||||
+ mask;
|
||||
|
||||
if (sfp->state_soft_mask & (SFP_F_LOS | SFP_F_TX_FAULT) &&
|
||||
!sfp->need_poll)
|
||||
@@ -2321,7 +2322,7 @@ static int sfp_sm_mod_probe(struct sfp *
|
||||
sfp->module_t_start_up = T_START_UP;
|
||||
sfp->module_t_wait = T_WAIT;
|
||||
|
||||
- sfp->tx_fault_ignore = false;
|
||||
+ sfp->state_ignore_mask = 0;
|
||||
|
||||
if (sfp->id.base.extended_cc == SFF8024_ECC_10GBASE_T_SFI ||
|
||||
sfp->id.base.extended_cc == SFF8024_ECC_10GBASE_T_SR ||
|
||||
@@ -2344,6 +2345,8 @@ static int sfp_sm_mod_probe(struct sfp *
|
||||
|
||||
if (sfp->quirk && sfp->quirk->fixup)
|
||||
sfp->quirk->fixup(sfp);
|
||||
+
|
||||
+ sfp->state_hw_mask &= ~sfp->state_ignore_mask;
|
||||
mutex_unlock(&sfp->st_mutex);
|
||||
|
||||
return 0;
|
||||
@@ -2844,10 +2847,7 @@ static void sfp_check_state(struct sfp *
|
||||
mutex_lock(&sfp->st_mutex);
|
||||
state = sfp_get_state(sfp);
|
||||
changed = state ^ sfp->state;
|
||||
- if (sfp->tx_fault_ignore)
|
||||
- changed &= SFP_F_PRESENT | SFP_F_LOS;
|
||||
- else
|
||||
- changed &= SFP_F_PRESENT | SFP_F_LOS | SFP_F_TX_FAULT;
|
||||
+ changed &= SFP_F_PRESENT | SFP_F_LOS | SFP_F_TX_FAULT;
|
||||
|
||||
for (i = 0; i < GPIO_MAX; i++)
|
||||
if (changed & BIT(i))
|
||||
@@ -235,7 +235,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
||||
if (!pe)
|
||||
--- a/mm/vmalloc.c
|
||||
+++ b/mm/vmalloc.c
|
||||
@@ -5071,6 +5071,9 @@ static int vmalloc_info_show(struct seq_
|
||||
@@ -5079,6 +5079,9 @@ static int vmalloc_info_show(struct seq_
|
||||
|
||||
static int __init proc_vmalloc_init(void)
|
||||
{
|
||||
@@ -287,7 +287,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
||||
goto err;
|
||||
--- a/net/core/net-procfs.c
|
||||
+++ b/net/core/net-procfs.c
|
||||
@@ -295,10 +295,12 @@ static int __net_init dev_proc_net_init(
|
||||
@@ -312,10 +312,12 @@ static int __net_init dev_proc_net_init(
|
||||
if (!proc_create_net("dev", 0444, net->proc_net, &dev_seq_ops,
|
||||
sizeof(struct seq_net_private)))
|
||||
goto out;
|
||||
@@ -299,10 +299,10 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
||||
- if (!proc_create_net("ptype", 0444, net->proc_net, &ptype_seq_ops,
|
||||
+ if (!IS_ENABLED(CONFIG_PROC_STRIPPED) &&
|
||||
+ !proc_create_net("ptype", 0444, net->proc_net, &ptype_seq_ops,
|
||||
sizeof(struct seq_net_private)))
|
||||
sizeof(struct ptype_iter_state)))
|
||||
goto out_softnet;
|
||||
|
||||
@@ -308,9 +310,11 @@ static int __net_init dev_proc_net_init(
|
||||
@@ -325,9 +327,11 @@ static int __net_init dev_proc_net_init(
|
||||
out:
|
||||
return rc;
|
||||
out_ptype:
|
||||
@@ -316,7 +316,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
||||
out_dev:
|
||||
remove_proc_entry("dev", net->proc_net);
|
||||
goto out;
|
||||
@@ -320,8 +324,10 @@ static void __net_exit dev_proc_net_exit
|
||||
@@ -337,8 +341,10 @@ static void __net_exit dev_proc_net_exit
|
||||
{
|
||||
wext_proc_exit(net);
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ FEATURES:=squashfs vdi vmdk vhdx pcmcia fpu boot-part rootfs-part
|
||||
SUBTARGETS:=64 generic geode legacy
|
||||
|
||||
KERNEL_PATCHVER:=6.12
|
||||
KERNEL_TESTING_PATCHVER:=6.18
|
||||
KERNEL_TESTING_PATCHVER:=6.6
|
||||
|
||||
KERNELNAME:=bzImage
|
||||
|
||||
|
||||
Reference in New Issue
Block a user