forked from LiBwrt/openwrt-6.x
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.60 Removed upstreamed: generic/backport-6.6/409-mtd-spi-nor-winbond-fix-w25q128-regression.patch All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.60&id=27a58a19bd20a7afe369da2ce6d4ebea70768acd Build system: x86/64 Build-tested: x86/64/AMD Cezanne, flogic/glinet_gl-mt6000, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Run-tested: x86/64/AMD Cezanne, flogic/glinet_gl-mt6000, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Signed-off-by: John Audia <[email protected]> Link: openwrt/openwrt#16892 Signed-off-by: Nick Hainke <[email protected]>
- Loading branch information
1 parent
999ef82
commit 85844cf
Showing
21 changed files
with
54 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
LINUX_VERSION-6.6 = .59 | ||
LINUX_KERNEL_HASH-6.6.59 = 23616808d8c08f12815ff898f4edb4c11397a2b2843d029ee62452d21833a76d | ||
LINUX_VERSION-6.6 = .60 | ||
LINUX_KERNEL_HASH-6.6.60 = 52f9e32d5082ab94253447fd66670d0c3bb765cfcb99b0bf61d1b8eae25952ef |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -181,7 +181,7 @@ Signed-off-by: Christian Marangi <[email protected]> | |
* @dev: Device for which which resource was allocated. | ||
--- a/include/linux/thermal.h | ||
+++ b/include/linux/thermal.h | ||
@@ -261,6 +261,10 @@ struct thermal_zone_params { | ||
@@ -263,6 +263,10 @@ struct thermal_zone_params { | ||
#ifdef CONFIG_THERMAL_OF | ||
struct thermal_zone_device *devm_thermal_of_zone_register(struct device *dev, int id, void *data, | ||
const struct thermal_zone_device_ops *ops); | ||
|
@@ -192,7 +192,7 @@ Signed-off-by: Christian Marangi <[email protected]> | |
|
||
void devm_thermal_of_zone_unregister(struct device *dev, struct thermal_zone_device *tz); | ||
|
||
@@ -272,6 +276,15 @@ struct thermal_zone_device *devm_thermal | ||
@@ -274,6 +278,15 @@ struct thermal_zone_device *devm_thermal | ||
{ | ||
return ERR_PTR(-ENOTSUPP); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -193,7 +193,7 @@ Signed-off-by: Dave Stevenson <[email protected]> | |
tsdata->tdata_offset + crclen; | ||
} | ||
|
||
@@ -1317,17 +1374,27 @@ static int edt_ft5x06_ts_probe(struct i2 | ||
@@ -1335,17 +1392,27 @@ static int edt_ft5x06_ts_probe(struct i2 | ||
return error; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ Signed-off-by: Dave Stevenson <[email protected]> | |
|
||
--- a/drivers/input/touchscreen/edt-ft5x06.c | ||
+++ b/drivers/input/touchscreen/edt-ft5x06.c | ||
@@ -1420,6 +1420,10 @@ static void edt_ft5x06_ts_remove(struct | ||
@@ -1438,6 +1438,10 @@ static void edt_ft5x06_ts_remove(struct | ||
{ | ||
struct edt_ft5x06_ts_data *tsdata = i2c_get_clientdata(client); | ||
|
||
|
@@ -27,5 +27,5 @@ Signed-off-by: Dave Stevenson <[email protected]> | |
+ cancel_work_sync(&tsdata->work_i2c_poll); | ||
+ } | ||
edt_ft5x06_ts_teardown_debugfs(tsdata); | ||
regmap_exit(tsdata->regmap); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,15 +20,15 @@ Signed-off-by: Phil Elwell <[email protected]> | |
|
||
--- a/net/bluetooth/hci_sync.c | ||
+++ b/net/bluetooth/hci_sync.c | ||
@@ -4861,6 +4861,7 @@ static const struct { | ||
@@ -4865,6 +4865,7 @@ static const struct { | ||
*/ | ||
static int hci_dev_setup_sync(struct hci_dev *hdev) | ||
{ | ||
+ struct fwnode_handle *fwnode = dev_fwnode(hdev->dev.parent); | ||
int ret = 0; | ||
bool invalid_bdaddr; | ||
size_t i; | ||
@@ -4889,7 +4890,8 @@ static int hci_dev_setup_sync(struct hci | ||
@@ -4893,7 +4894,8 @@ static int hci_dev_setup_sync(struct hci | ||
test_bit(HCI_QUIRK_USE_BDADDR_PROPERTY, &hdev->quirks); | ||
if (!ret) { | ||
if (test_bit(HCI_QUIRK_USE_BDADDR_PROPERTY, &hdev->quirks) && | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,7 @@ Signed-off-by: Nick Hollinghurst <[email protected]> | |
if (!error && num_points) | ||
error = regmap_bulk_read(tsdata->regmap, | ||
tsdata->tdata_offset, | ||
@@ -1300,7 +1318,7 @@ static int edt_ft5x06_ts_probe(struct i2 | ||
@@ -1318,7 +1336,7 @@ static int edt_ft5x06_ts_probe(struct i2 | ||
if (tsdata->reset_gpio) { | ||
usleep_range(5000, 6000); | ||
gpiod_set_value_cansleep(tsdata->reset_gpio, 0); | ||
|
@@ -67,7 +67,7 @@ Signed-off-by: Nick Hollinghurst <[email protected]> | |
} | ||
|
||
input = devm_input_allocate_device(&client->dev); | ||
@@ -1389,11 +1407,12 @@ static int edt_ft5x06_ts_probe(struct i2 | ||
@@ -1407,11 +1425,12 @@ static int edt_ft5x06_ts_probe(struct i2 | ||
return error; | ||
} | ||
} else { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ Signed-off-by: Phil Elwell <[email protected]> | |
|
||
--- a/net/bluetooth/hci_sync.c | ||
+++ b/net/bluetooth/hci_sync.c | ||
@@ -4861,7 +4861,8 @@ static const struct { | ||
@@ -4865,7 +4865,8 @@ static const struct { | ||
*/ | ||
static int hci_dev_setup_sync(struct hci_dev *hdev) | ||
{ | ||
|
59 changes: 0 additions & 59 deletions
59
target/linux/generic/backport-6.6/409-mtd-spi-nor-winbond-fix-w25q128-regression.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
|
||
--- a/net/core/dev.c | ||
+++ b/net/core/dev.c | ||
@@ -4477,13 +4477,7 @@ static inline void ____napi_schedule(str | ||
@@ -4481,13 +4481,7 @@ static inline void ____napi_schedule(str | ||
*/ | ||
thread = READ_ONCE(napi->thread); | ||
if (thread) { | ||
|
@@ -47,7 +47,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
wake_up_process(thread); | ||
return; | ||
} | ||
@@ -6639,8 +6633,6 @@ static int napi_poll(struct napi_struct | ||
@@ -6643,8 +6637,6 @@ static int napi_poll(struct napi_struct | ||
|
||
static int napi_thread_wait(struct napi_struct *napi) | ||
{ | ||
|
@@ -56,7 +56,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
set_current_state(TASK_INTERRUPTIBLE); | ||
|
||
while (!kthread_should_stop()) { | ||
@@ -6649,15 +6641,13 @@ static int napi_thread_wait(struct napi_ | ||
@@ -6653,15 +6645,13 @@ static int napi_thread_wait(struct napi_ | ||
* Testing SCHED bit is not enough because SCHED bit might be | ||
* set by some other busy poll thread or by napi_disable(). | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,15 +108,15 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
static inline void rps_lock_irqsave(struct softnet_data *sd, | ||
unsigned long *flags) | ||
{ | ||
@@ -4445,6 +4471,7 @@ EXPORT_SYMBOL(__dev_direct_xmit); | ||
@@ -4449,6 +4475,7 @@ EXPORT_SYMBOL(__dev_direct_xmit); | ||
/************************************************************************* | ||
* Receiver routines | ||
*************************************************************************/ | ||
+static DEFINE_PER_CPU(struct task_struct *, backlog_napi); | ||
|
||
int netdev_max_backlog __read_mostly = 1000; | ||
EXPORT_SYMBOL(netdev_max_backlog); | ||
@@ -4477,12 +4504,16 @@ static inline void ____napi_schedule(str | ||
@@ -4481,12 +4508,16 @@ static inline void ____napi_schedule(str | ||
*/ | ||
thread = READ_ONCE(napi->thread); | ||
if (thread) { | ||
|
@@ -133,7 +133,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
list_add_tail(&napi->poll_list, &sd->poll_list); | ||
WRITE_ONCE(napi->list_owner, smp_processor_id()); | ||
/* If not called from net_rx_action() | ||
@@ -4728,6 +4759,11 @@ static void napi_schedule_rps(struct sof | ||
@@ -4732,6 +4763,11 @@ static void napi_schedule_rps(struct sof | ||
|
||
#ifdef CONFIG_RPS | ||
if (sd != mysd) { | ||
|
@@ -145,7 +145,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
sd->rps_ipi_next = mysd->rps_ipi_list; | ||
mysd->rps_ipi_list = sd; | ||
|
||
@@ -5951,7 +5987,7 @@ static void net_rps_action_and_irq_enabl | ||
@@ -5955,7 +5991,7 @@ static void net_rps_action_and_irq_enabl | ||
#ifdef CONFIG_RPS | ||
struct softnet_data *remsd = sd->rps_ipi_list; | ||
|
||
|
@@ -154,7 +154,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
sd->rps_ipi_list = NULL; | ||
|
||
local_irq_enable(); | ||
@@ -5966,7 +6002,7 @@ static void net_rps_action_and_irq_enabl | ||
@@ -5970,7 +6006,7 @@ static void net_rps_action_and_irq_enabl | ||
static bool sd_has_rps_ipi_waiting(struct softnet_data *sd) | ||
{ | ||
#ifdef CONFIG_RPS | ||
|
@@ -163,7 +163,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
#else | ||
return false; | ||
#endif | ||
@@ -6010,7 +6046,7 @@ static int process_backlog(struct napi_s | ||
@@ -6014,7 +6050,7 @@ static int process_backlog(struct napi_s | ||
* We can use a plain write instead of clear_bit(), | ||
* and we dont need an smp_mb() memory barrier. | ||
*/ | ||
|
@@ -172,7 +172,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
again = false; | ||
} else { | ||
skb_queue_splice_tail_init(&sd->input_pkt_queue, | ||
@@ -6676,43 +6712,48 @@ static void skb_defer_free_flush(struct | ||
@@ -6680,43 +6716,48 @@ static void skb_defer_free_flush(struct | ||
} | ||
} | ||
|
||
|
@@ -250,7 +250,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
return 0; | ||
} | ||
|
||
@@ -11293,7 +11334,7 @@ static int dev_cpu_dead(unsigned int old | ||
@@ -11297,7 +11338,7 @@ static int dev_cpu_dead(unsigned int old | ||
|
||
list_del_init(&napi->poll_list); | ||
if (napi->poll == process_backlog) | ||
|
@@ -259,7 +259,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
else | ||
____napi_schedule(sd, napi); | ||
} | ||
@@ -11301,12 +11342,14 @@ static int dev_cpu_dead(unsigned int old | ||
@@ -11305,12 +11346,14 @@ static int dev_cpu_dead(unsigned int old | ||
raise_softirq_irqoff(NET_TX_SOFTIRQ); | ||
local_irq_enable(); | ||
|
||
|
@@ -278,7 +278,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
|
||
/* Process offline CPU's input_pkt_queue */ | ||
while ((skb = __skb_dequeue(&oldsd->process_queue))) { | ||
@@ -11569,6 +11612,38 @@ static struct pernet_operations __net_in | ||
@@ -11573,6 +11616,38 @@ static struct pernet_operations __net_in | ||
* | ||
*/ | ||
|
||
|
@@ -317,7 +317,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
/* | ||
* This is called single threaded during boot, so no need | ||
* to take the rtnl semaphore. | ||
@@ -11619,7 +11694,10 @@ static int __init net_dev_init(void) | ||
@@ -11623,7 +11698,10 @@ static int __init net_dev_init(void) | ||
init_gro_hash(&sd->backlog); | ||
sd->backlog.poll = process_backlog; | ||
sd->backlog.weight = weight_p; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,7 +82,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
spin_unlock_irq(&sd->input_pkt_queue.lock); | ||
else if (!IS_ENABLED(CONFIG_PREEMPT_RT)) | ||
local_irq_enable(); | ||
@@ -4778,6 +4778,23 @@ static void napi_schedule_rps(struct sof | ||
@@ -4782,6 +4782,23 @@ static void napi_schedule_rps(struct sof | ||
__napi_schedule_irqoff(&mysd->backlog); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,7 +67,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
{ | ||
if (IS_ENABLED(CONFIG_RPS) || use_backlog_threads()) | ||
spin_unlock_irq(&sd->input_pkt_queue.lock); | ||
@@ -4783,12 +4783,12 @@ void kick_defer_list_purge(struct softne | ||
@@ -4787,12 +4787,12 @@ void kick_defer_list_purge(struct softne | ||
unsigned long flags; | ||
|
||
if (use_backlog_threads()) { | ||
|
@@ -82,7 +82,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
|
||
} else if (!cmpxchg(&sd->defer_ipi_scheduled, 0, 1)) { | ||
smp_call_function_single_async(cpu, &sd->defer_csd); | ||
@@ -4850,7 +4850,7 @@ static int enqueue_to_backlog(struct sk_ | ||
@@ -4854,7 +4854,7 @@ static int enqueue_to_backlog(struct sk_ | ||
reason = SKB_DROP_REASON_NOT_SPECIFIED; | ||
sd = &per_cpu(softnet_data, cpu); | ||
|
||
|
@@ -91,7 +91,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
if (!netif_running(skb->dev)) | ||
goto drop; | ||
qlen = skb_queue_len(&sd->input_pkt_queue); | ||
@@ -4859,7 +4859,7 @@ static int enqueue_to_backlog(struct sk_ | ||
@@ -4863,7 +4863,7 @@ static int enqueue_to_backlog(struct sk_ | ||
enqueue: | ||
__skb_queue_tail(&sd->input_pkt_queue, skb); | ||
input_queue_tail_incr_save(sd, qtail); | ||
|
@@ -100,7 +100,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
return NET_RX_SUCCESS; | ||
} | ||
|
||
@@ -4874,7 +4874,7 @@ enqueue: | ||
@@ -4878,7 +4878,7 @@ enqueue: | ||
|
||
drop: | ||
sd->dropped++; | ||
|
@@ -109,7 +109,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
|
||
dev_core_stats_rx_dropped_inc(skb->dev); | ||
kfree_skb_reason(skb, reason); | ||
@@ -5905,7 +5905,7 @@ static void flush_backlog(struct work_st | ||
@@ -5909,7 +5909,7 @@ static void flush_backlog(struct work_st | ||
local_bh_disable(); | ||
sd = this_cpu_ptr(&softnet_data); | ||
|
||
|
@@ -118,7 +118,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
skb_queue_walk_safe(&sd->input_pkt_queue, skb, tmp) { | ||
if (skb->dev->reg_state == NETREG_UNREGISTERING) { | ||
__skb_unlink(skb, &sd->input_pkt_queue); | ||
@@ -5913,7 +5913,7 @@ static void flush_backlog(struct work_st | ||
@@ -5917,7 +5917,7 @@ static void flush_backlog(struct work_st | ||
input_queue_head_incr(sd); | ||
} | ||
} | ||
|
@@ -127,7 +127,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
|
||
skb_queue_walk_safe(&sd->process_queue, skb, tmp) { | ||
if (skb->dev->reg_state == NETREG_UNREGISTERING) { | ||
@@ -5931,14 +5931,14 @@ static bool flush_required(int cpu) | ||
@@ -5935,14 +5935,14 @@ static bool flush_required(int cpu) | ||
struct softnet_data *sd = &per_cpu(softnet_data, cpu); | ||
bool do_flush; | ||
|
||
|
@@ -144,7 +144,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
|
||
return do_flush; | ||
#endif | ||
@@ -6053,7 +6053,7 @@ static int process_backlog(struct napi_s | ||
@@ -6057,7 +6057,7 @@ static int process_backlog(struct napi_s | ||
|
||
} | ||
|
||
|
@@ -153,7 +153,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
if (skb_queue_empty(&sd->input_pkt_queue)) { | ||
/* | ||
* Inline a custom version of __napi_complete(). | ||
@@ -6069,7 +6069,7 @@ static int process_backlog(struct napi_s | ||
@@ -6073,7 +6073,7 @@ static int process_backlog(struct napi_s | ||
skb_queue_splice_tail_init(&sd->input_pkt_queue, | ||
&sd->process_queue); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ Signed-off-by: Jakub Kicinski <[email protected]> | |
|
||
--- a/net/core/dev.c | ||
+++ b/net/core/dev.c | ||
@@ -9755,6 +9755,15 @@ static void netdev_sync_lower_features(s | ||
@@ -9759,6 +9759,15 @@ static void netdev_sync_lower_features(s | ||
} | ||
} | ||
|
||
|
@@ -36,7 +36,7 @@ Signed-off-by: Jakub Kicinski <[email protected]> | |
static netdev_features_t netdev_fix_features(struct net_device *dev, | ||
netdev_features_t features) | ||
{ | ||
@@ -9836,15 +9845,9 @@ static netdev_features_t netdev_fix_feat | ||
@@ -9840,15 +9849,9 @@ static netdev_features_t netdev_fix_feat | ||
features &= ~NETIF_F_LRO; | ||
} | ||
|
||
|
@@ -55,7 +55,7 @@ Signed-off-by: Jakub Kicinski <[email protected]> | |
} | ||
|
||
if ((features & NETIF_F_HW_TLS_RX) && !(features & NETIF_F_RXCSUM)) { | ||
@@ -9852,6 +9855,11 @@ static netdev_features_t netdev_fix_feat | ||
@@ -9856,6 +9859,11 @@ static netdev_features_t netdev_fix_feat | ||
features &= ~NETIF_F_HW_TLS_RX; | ||
} | ||
|
||
|
Oops, something went wrong.