Skip to content

Commit

Permalink
[bot] AutoMerging: merge all upstream's changes:
Browse files Browse the repository at this point in the history
* https://github.com/coolsnowwolf/lede:
  kernel: bump 5.18 to 5.18.16 (coolsnowwolf#9892)
  kernel: bump 5.15 to 5.15.59 (coolsnowwolf#9891)
  kernel: refresh 5.19 patch (coolsnowwolf#9890)
  rockchip: 5.19: disable ntfs option (coolsnowwolf#9889)
  rockchip: refresh 5.19 patch
  rockchip: add kernel 5.19 support
  kernel: bump 5.10 to 5.10.135 (coolsnowwolf#9887)
  ntfs3-mount : add support kernel 5.19
  kernel: refresh RTL 5.19 patch
  • Loading branch information
github-actions[bot] committed Aug 5, 2022
2 parents e376de3 + 3c31611 commit 3a9cc12
Show file tree
Hide file tree
Showing 96 changed files with 14,761 additions and 50 deletions.
4 changes: 2 additions & 2 deletions include/kernel-5.10
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
LINUX_VERSION-5.10 = .134
LINUX_KERNEL_HASH-5.10.134 = ec3513acdf033dd8f8ac2545cd1bb826b0669e151185e5f70408a5c9fe273269
LINUX_VERSION-5.10 = .135
LINUX_KERNEL_HASH-5.10.135 = e499a61be9ce670716dd27b5124bb9ef6c6bc0e8fab443abf717a77136543344
4 changes: 2 additions & 2 deletions include/kernel-5.15
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
LINUX_VERSION-5.15 = .58
LINUX_KERNEL_HASH-5.15.58 = d75bd9579c4b318e6162e21c591878fd37efda0f79c5cdd0dc4eb9ea9dfc4fa8
LINUX_VERSION-5.15 = .59
LINUX_KERNEL_HASH-5.15.59 = e6ddc642057340db06b3b921c2b31bfed2c611359e8f144c3e5cf9c3ac33bccb
4 changes: 2 additions & 2 deletions include/kernel-5.18
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
LINUX_VERSION-5.18 = .15
LINUX_KERNEL_HASH-5.18.15 = 69804febdc388a69dfb64493b7b58d402853de3a14144ea8db7fd67c30dcbe3c
LINUX_VERSION-5.18 = .16
LINUX_KERNEL_HASH-5.18.16 = f1f586251e63de14c86e5f95b96beb15a0434f1e6e21df788d123564af0d11ce
2 changes: 1 addition & 1 deletion package/lean/ntfs3-mount/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ define Package/ntfs3-mount
CATEGORY:=Utilities
SUBMENU:=Filesystem
TITLE:=NTFS mount script for Paragon NTFS3 driver
DEPENDS:=+LINUX_5_4:kmod-fs-ntfs3-oot +(LINUX_5_15||LINUX_5_18):kmod-fs-ntfs3
DEPENDS:=+LINUX_5_4:kmod-fs-ntfs3-oot +(LINUX_5_15||LINUX_5_18||LINUX_5_19):kmod-fs-ntfs3
PKGARCH:=all
endef

Expand Down
2 changes: 1 addition & 1 deletion package/lean/r8125/patches/020-5.19-support.patch
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#define FIRMWARE_8168FP_3 "rtl_nic/rtl8168fp-3.fw"
#define FIRMWARE_8168FP_4 "rtl_nic/rtl8168fp-4.fw"

+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 18, 0)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 19, 0)
+static inline void netif_set_gso_max_size(struct net_device *dev,
+ unsigned int size)
+{
Expand Down
2 changes: 1 addition & 1 deletion package/lean/r8152/patches/010-5.19-support.patch
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#define RTL_ADVERTISED_1000_FULL BIT(5)
#define RTL_ADVERTISED_2500_FULL BIT(6)

+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 18, 0)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 19, 0)
+static inline void netif_set_gso_max_size(struct net_device *dev,
+ unsigned int size)
+{
Expand Down
2 changes: 1 addition & 1 deletion package/lean/r8168/patches/030-5.19-support.patch
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#define FIRMWARE_8168FP_3 "rtl_nic/rtl8168fp-3.fw"
#define FIRMWARE_8168FP_4 "rtl_nic/rtl8168fp-4.fw"

+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 18, 0)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 19, 0)
+static inline void netif_set_gso_max_size(struct net_device *dev,
+ unsigned int size)
+{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@
list_for_each_entry(p, head, list) {
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -612,48 +612,53 @@ static void tcp_options_write(__be32 *pt
@@ -609,48 +609,53 @@ static void tcp_options_write(__be32 *pt
u16 options = opts->options; /* mungable copy */

if (unlikely(OPTION_MD5 & options)) {
Expand Down Expand Up @@ -382,7 +382,7 @@
}

if (unlikely(opts->num_sack_blocks)) {
@@ -661,16 +666,17 @@ static void tcp_options_write(__be32 *pt
@@ -658,16 +663,17 @@ static void tcp_options_write(__be32 *pt
tp->duplicate_sack : tp->selective_acks;
int this_sack;

Expand All @@ -406,7 +406,7 @@
}

tp->rx_opt.dsack = 0;
@@ -683,13 +689,14 @@ static void tcp_options_write(__be32 *pt
@@ -680,13 +686,14 @@ static void tcp_options_write(__be32 *pt

if (foc->exp) {
len = TCPOLEN_EXP_FASTOPEN_BASE + foc->len;
Expand Down Expand Up @@ -706,7 +706,7 @@
EXPORT_SYMBOL(xfrm_parse_spi);
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -4092,14 +4092,16 @@ static bool tcp_parse_aligned_timestamp(
@@ -4093,14 +4093,16 @@ static bool tcp_parse_aligned_timestamp(
{
const __be32 *ptr = (const __be32 *)(th + 1);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@
list_for_each_entry(p, head, list) {
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -613,48 +613,53 @@ static void tcp_options_write(__be32 *pt
@@ -610,48 +610,53 @@ static void tcp_options_write(__be32 *pt
u16 options = opts->options; /* mungable copy */

if (unlikely(OPTION_MD5 & options)) {
Expand Down Expand Up @@ -382,7 +382,7 @@
}

if (unlikely(opts->num_sack_blocks)) {
@@ -662,16 +667,17 @@ static void tcp_options_write(__be32 *pt
@@ -659,16 +664,17 @@ static void tcp_options_write(__be32 *pt
tp->duplicate_sack : tp->selective_acks;
int this_sack;

Expand All @@ -406,7 +406,7 @@
}

tp->rx_opt.dsack = 0;
@@ -684,13 +690,14 @@ static void tcp_options_write(__be32 *pt
@@ -681,13 +687,14 @@ static void tcp_options_write(__be32 *pt

if (foc->exp) {
len = TCPOLEN_EXP_FASTOPEN_BASE + foc->len;
Expand Down Expand Up @@ -706,7 +706,7 @@
EXPORT_SYMBOL(xfrm_parse_spi);
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -4138,14 +4138,16 @@ static bool tcp_parse_aligned_timestamp(
@@ -4140,14 +4140,16 @@ static bool tcp_parse_aligned_timestamp(
{
const __be32 *ptr = (const __be32 *)(th + 1);

Expand Down
4 changes: 2 additions & 2 deletions target/linux/generic/hack-5.15/902-debloat_proc.patch
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ Signed-off-by: Felix Fietkau <[email protected]>

--- a/net/ipv4/fib_trie.c
+++ b/net/ipv4/fib_trie.c
@@ -3019,11 +3019,13 @@ static const struct seq_operations fib_r
@@ -3022,11 +3022,13 @@ static const struct seq_operations fib_r

int __net_init fib_proc_init(struct net *net)
{
Expand All @@ -357,7 +357,7 @@ Signed-off-by: Felix Fietkau <[email protected]>
fib_triestat_seq_show, NULL))
goto out2;

@@ -3034,17 +3036,21 @@ int __net_init fib_proc_init(struct net
@@ -3037,17 +3039,21 @@ int __net_init fib_proc_init(struct net
return 0;

out3:
Expand Down
4 changes: 2 additions & 2 deletions target/linux/generic/hack-5.18/902-debloat_proc.patch
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ Signed-off-by: Felix Fietkau <[email protected]>

--- a/net/ipv4/fib_trie.c
+++ b/net/ipv4/fib_trie.c
@@ -3026,11 +3026,13 @@ static const struct seq_operations fib_r
@@ -3029,11 +3029,13 @@ static const struct seq_operations fib_r

int __net_init fib_proc_init(struct net *net)
{
Expand All @@ -357,7 +357,7 @@ Signed-off-by: Felix Fietkau <[email protected]>
fib_triestat_seq_show, NULL))
goto out2;

@@ -3041,17 +3043,21 @@ int __net_init fib_proc_init(struct net
@@ -3044,17 +3046,21 @@ int __net_init fib_proc_init(struct net
return 0;

out3:
Expand Down
4 changes: 2 additions & 2 deletions target/linux/generic/hack-5.19/902-debloat_proc.patch
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ Signed-off-by: Felix Fietkau <[email protected]>

--- a/net/ipv4/fib_trie.c
+++ b/net/ipv4/fib_trie.c
@@ -3026,11 +3026,13 @@ static const struct seq_operations fib_r
@@ -3029,11 +3029,13 @@ static const struct seq_operations fib_r

int __net_init fib_proc_init(struct net *net)
{
Expand All @@ -357,7 +357,7 @@ Signed-off-by: Felix Fietkau <[email protected]>
fib_triestat_seq_show, NULL))
goto out2;

@@ -3041,17 +3043,21 @@ int __net_init fib_proc_init(struct net
@@ -3044,17 +3046,21 @@ int __net_init fib_proc_init(struct net
return 0;

out3:
Expand Down
4 changes: 2 additions & 2 deletions target/linux/generic/hack-5.19/904-debloat_dma_buf.patch
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Signed-off-by: Felix Fietkau <[email protected]>
+dma-shared-buffer-objs := $(dma-buf-objs-y)
--- a/drivers/dma-buf/dma-buf.c
+++ b/drivers/dma-buf/dma-buf.c
@@ -1459,4 +1459,5 @@ static void __exit dma_buf_deinit(void)
@@ -1473,4 +1473,5 @@ static void __exit dma_buf_deinit(void)
kern_unmount(dma_buf_mnt);
dma_buf_uninit_sysfs_statistics();
}
Expand All @@ -73,7 +73,7 @@ Signed-off-by: Felix Fietkau <[email protected]>
+MODULE_LICENSE("GPL");
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -4287,6 +4287,7 @@ int wake_up_state(struct task_struct *p,
@@ -4284,6 +4284,7 @@ int wake_up_state(struct task_struct *p,
{
return try_to_wake_up(p, state, 0);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Signed-off-by: Zhi Chen <[email protected]>

--- a/include/net/netfilter/nf_conntrack_ecache.h
+++ b/include/net/netfilter/nf_conntrack_ecache.h
@@ -81,9 +81,14 @@ struct nf_ct_event_notifier {
@@ -65,9 +65,14 @@ struct nf_ct_event_notifier {
int (*exp_event)(unsigned int events, const struct nf_exp_event *item);
};

Expand All @@ -38,7 +38,7 @@ Signed-off-by: Zhi Chen <[email protected]>

void nf_ct_deliver_cached_events(struct nf_conn *ct);
int nf_conntrack_eventmask_report(unsigned int eventmask, struct nf_conn *ct,
@@ -109,11 +114,13 @@ static inline void
@@ -98,11 +103,13 @@ static inline void
nf_conntrack_event_cache(enum ip_conntrack_events event, struct nf_conn *ct)
{
#ifdef CONFIG_NF_CONNTRACK_EVENTS
Expand All @@ -53,7 +53,7 @@ Signed-off-by: Zhi Chen <[email protected]>

e = nf_ct_ecache_find(ct);
if (e == NULL)
@@ -117,20 +124,24 @@
@@ -117,20 +124,24 @@ nf_conntrack_event_report(enum ip_conntr
u32 portid, int report)
{
#ifdef CONFIG_NF_CONNTRACK_EVENTS
Expand All @@ -80,9 +80,9 @@ Signed-off-by: Zhi Chen <[email protected]>
#ifdef CONFIG_NF_CONNTRACK_EVENTS
--- a/include/net/netns/conntrack.h
+++ b/include/net/netns/conntrack.h
@@ -112,6 +112,9 @@ struct netns_ct {
@@ -107,6 +107,9 @@ struct netns_ct {
u8 sysctl_checksum;

struct ct_pcpu __percpu *pcpu_lists;
struct ip_conntrack_stat __percpu *stat;
+#ifdef CONFIG_NF_CONNTRACK_CHAIN_EVENTS
+ struct atomic_notifier_head nf_conntrack_chain;
Expand All @@ -109,7 +109,7 @@ Signed-off-by: Zhi Chen <[email protected]>
depends on NETFILTER_ADVANCED
--- a/net/netfilter/nf_conntrack_core.c
+++ b/net/netfilter/nf_conntrack_core.c
@@ -2837,6 +2837,10 @@ int nf_conntrack_init_net(struct net *ne
@@ -2802,6 +2802,10 @@ int nf_conntrack_init_net(struct net *ne
nf_conntrack_helper_pernet_init(net);
nf_conntrack_proto_pernet_init(net);

Expand Down Expand Up @@ -305,7 +305,7 @@ Signed-off-by: Zhi Chen <[email protected]>
struct nf_conn *ct = item->ct;
struct sk_buff *skb;
unsigned int type;
@@ -3825,11 +3832,17 @@ static int ctnetlink_stat_exp_cpu(struct
@@ -3791,11 +3798,17 @@ static int ctnetlink_stat_exp_cpu(struct
}

#ifdef CONFIG_NF_CONNTRACK_EVENTS
Expand All @@ -323,7 +323,7 @@ Signed-off-by: Zhi Chen <[email protected]>

static const struct nfnl_callback ctnl_cb[IPCTNL_MSG_MAX] = {
[IPCTNL_MSG_CT_NEW] = {
@@ -3928,8 +3941,12 @@ static int __net_init ctnetlink_net_init
@@ -3894,8 +3907,12 @@ static int __net_init ctnetlink_net_init
static void ctnetlink_net_pre_exit(struct net *net)
{
#ifdef CONFIG_NF_CONNTRACK_EVENTS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
struct list_head *br_ip_list);
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -1022,6 +1022,10 @@ struct sk_buff {
@@ -1146,6 +1146,10 @@ struct sk_buff {
__u8 slow_gro:1;
__u8 csum_not_inet:1;

Expand All @@ -38,7 +38,7 @@
#endif
--- a/include/net/netfilter/nf_conntrack_ecache.h
+++ b/include/net/netfilter/nf_conntrack_ecache.h
@@ -84,6 +84,8 @@ struct nf_ct_event_notifier {
@@ -68,6 +68,8 @@ struct nf_ct_event_notifier {
#ifdef CONFIG_NF_CONNTRACK_CHAIN_EVENTS
extern int nf_conntrack_register_notifier(struct net *net, struct notifier_block *nb);
extern int nf_conntrack_unregister_notifier(struct net *net, struct notifier_block *nb);
Expand Down Expand Up @@ -92,7 +92,7 @@
struct net_bridge_port *p;
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -3532,9 +3532,17 @@ static int xmit_one(struct sk_buff *skb,
@@ -3581,9 +3581,17 @@ static int xmit_one(struct sk_buff *skb,
{
unsigned int len;
int rc;
Expand All @@ -110,8 +110,8 @@
+#endif

len = skb->len;
PRANDOM_ADD_NOISE(skb, dev, txq, len + jiffies);
@@ -5161,6 +5169,11 @@ void netdev_rx_handler_unregister(struct
trace_net_dev_start_xmit(skb, dev);
@@ -5232,6 +5240,11 @@ void netdev_rx_handler_unregister(struct
}
EXPORT_SYMBOL_GPL(netdev_rx_handler_unregister);

Expand All @@ -123,7 +123,7 @@
/*
* Limit the use of PFMEMALLOC reserves to those protocols that implement
* the special handling of PFMEMALLOC skbs.
@@ -5209,6 +5222,10 @@ static int __netif_receive_skb_core(stru
@@ -5280,6 +5293,10 @@ static int __netif_receive_skb_core(stru
int ret = NET_RX_DROP;
__be16 type;

Expand All @@ -134,7 +134,7 @@
net_timestamp_check(!netdev_tstamp_prequeue, skb);

trace_netif_receive_skb(skb);
@@ -5246,6 +5263,15 @@ another_round:
@@ -5317,6 +5334,15 @@ another_round:
goto out;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Signed-off-by: Tobias Wolf <[email protected]>

--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -7055,7 +7055,7 @@ static void __ref alloc_node_mem_map(str
@@ -7059,7 +7059,7 @@ static void __ref alloc_node_mem_map(str
if (pgdat == NODE_DATA(0)) {
mem_map = NODE_DATA(0)->node_mem_map;
if (page_to_pfn(mem_map) != pgdat->node_start_pfn)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Signed-off-by: Tobias Wolf <[email protected]>

--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -7552,7 +7552,7 @@ static void __init alloc_node_mem_map(st
@@ -7556,7 +7556,7 @@ static void __init alloc_node_mem_map(st
if (pgdat == NODE_DATA(0)) {
mem_map = NODE_DATA(0)->node_mem_map;
if (page_to_pfn(mem_map) != pgdat->node_start_pfn)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Signed-off-by: Jonas Gorski <[email protected]>
static void rt_fibinfo_free(struct rtable __rcu **rtp)
--- a/net/ipv4/fib_trie.c
+++ b/net/ipv4/fib_trie.c
@@ -2767,6 +2767,7 @@ static const char *const rtn_type_names[
@@ -2770,6 +2770,7 @@ static const char *const rtn_type_names[
[RTN_THROW] = "THROW",
[RTN_NAT] = "NAT",
[RTN_XRESOLVE] = "XRESOLVE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Signed-off-by: Tobias Wolf <[email protected]>

--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -7668,7 +7668,7 @@ static void __init alloc_node_mem_map(st
@@ -7672,7 +7672,7 @@ static void __init alloc_node_mem_map(st
if (pgdat == NODE_DATA(0)) {
mem_map = NODE_DATA(0)->node_mem_map;
if (page_to_pfn(mem_map) != pgdat->node_start_pfn)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Signed-off-by: Jonas Gorski <[email protected]>
static void rt_fibinfo_free(struct rtable __rcu **rtp)
--- a/net/ipv4/fib_trie.c
+++ b/net/ipv4/fib_trie.c
@@ -2773,6 +2773,7 @@ static const char *const rtn_type_names[
@@ -2776,6 +2776,7 @@ static const char *const rtn_type_names[
[RTN_THROW] = "THROW",
[RTN_NAT] = "NAT",
[RTN_XRESOLVE] = "XRESOLVE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Signed-off-by: Tobias Wolf <[email protected]>

--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -7698,7 +7698,7 @@ static void __init alloc_node_mem_map(st
@@ -7702,7 +7702,7 @@ static void __init alloc_node_mem_map(st
if (pgdat == NODE_DATA(0)) {
mem_map = NODE_DATA(0)->node_mem_map;
if (page_to_pfn(mem_map) != pgdat->node_start_pfn)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Signed-off-by: Jonas Gorski <[email protected]>
static void rt_fibinfo_free(struct rtable __rcu **rtp)
--- a/net/ipv4/fib_trie.c
+++ b/net/ipv4/fib_trie.c
@@ -2773,6 +2773,7 @@ static const char *const rtn_type_names[
@@ -2776,6 +2776,7 @@ static const char *const rtn_type_names[
[RTN_THROW] = "THROW",
[RTN_NAT] = "NAT",
[RTN_XRESOLVE] = "XRESOLVE",
Expand Down
4 changes: 2 additions & 2 deletions target/linux/rockchip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ BOARDNAME:=Rockchip
FEATURES:=ext4 audio usb usbgadget display gpio fpu pci pcie rootfs-part boot-part squashfs
SUBTARGETS:=armv8

KERNEL_PATCHVER=5.18
KERNEL_TESTING_PATCHVER=5.4
KERNEL_PATCHVER=5.15
KERNEL_TESTING_PATCHVER=5.19

define Target/Description
Build firmware image for Rockchip SoC devices.
Expand Down
Loading

0 comments on commit 3a9cc12

Please sign in to comment.