Skip to content

Commit bf7fc63

Browse files
[bot] AutoMerging: merge all upstream's changes:
* https://github.com/coolsnowwolf/lede: (25 commits) kernel: update 5.19 new hashsum dl kernel: update 5.19 new hashsum dl kernel: add linux 5.19 stable release support rockchip: 5.18: diable ntfs option (coolsnowwolf#9875) kernel: add kmod-nvme package wolfssl: make shared again kernel: bump 5.10 to 5.10.134 (coolsnowwolf#9868) kernel: bump 5.18 to 5.18.15 (coolsnowwolf#9859) kernel: bump 5.15 to 5.15.58 (coolsnowwolf#9860) ipq806x: Archer VR2600: fix switch ports numbering firmware-utils: update to git HEAD tools: add 7z host package ramips: 5.4: fix build error (coolsnowwolf#9849) ramips: 5.4: fixes nand patches (coolsnowwolf#9848) kernel: bump 5.10 to 5.10.133 (coolsnowwolf#9845) ramips: move mt7621_nand driver to files and sync with upstream (coolsnowwolf#9844) rockchip: drop most ugly hack code wolfssl: Do not activate HW acceleration on armvirt by default generic: 5.15: Disable more config symbols tools/libressl: bump to v3.5.3 ...
2 parents 18a0e08 + afd4fa3 commit bf7fc63

File tree

196 files changed

+34110
-11235
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

196 files changed

+34110
-11235
lines changed

include/kernel-5.10

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
LINUX_VERSION-5.10 = .131
2-
LINUX_KERNEL_HASH-5.10.131 = 8bc441442c16c330a7148fe3cca9edcd98bc0fc9f68304633c7eb641770d21ce
1+
LINUX_VERSION-5.10 = .134
2+
LINUX_KERNEL_HASH-5.10.134 = ec3513acdf033dd8f8ac2545cd1bb826b0669e151185e5f70408a5c9fe273269

include/kernel-5.15

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
LINUX_VERSION-5.15 = .55
2-
LINUX_KERNEL_HASH-5.15.55 = 1ef6bd508b6c3af3bef2d5b337e4477254dba284c79e329aa38f9763ae3bfdcc
1+
LINUX_VERSION-5.15 = .58
2+
LINUX_KERNEL_HASH-5.15.58 = d75bd9579c4b318e6162e21c591878fd37efda0f79c5cdd0dc4eb9ea9dfc4fa8

include/kernel-5.18

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
LINUX_VERSION-5.18 = .12
2-
LINUX_KERNEL_HASH-5.18.12 = 40b74d0942f255da07481710e1083412d06e37e45b8f9d9e34ae856db37b9527
1+
LINUX_VERSION-5.18 = .15
2+
LINUX_KERNEL_HASH-5.18.15 = 69804febdc388a69dfb64493b7b58d402853de3a14144ea8db7fd67c30dcbe3c

include/kernel-5.19

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
LINUX_VERSION-5.19 =
2+
LINUX_KERNEL_HASH-5.19 = ff240c579b9ee1affc318917de07394fc1c3bb49dac25ec1287370c2e15005a8

package/boot/uboot-rockchip/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ define U-Boot/guangmiao-g4c-rk3399
9797
BUILD_SUBTARGET:=armv8
9898
NAME:=GuangMiao G4C
9999
BUILD_DEVICES:= \
100-
sharevdi_guangmiao-g4c
100+
sharevdi_guangmiao-g4c \
101+
embedfire_doornet2-4gb
101102
DEPENDS:=+PACKAGE_u-boot-guangmiao-g4c-rk3399:arm-trusted-firmware-rockchip
102103
PKG_BUILD_DEPENDS:=arm-trusted-firmware-rockchip
103104
ATF:=rk3399_bl31.elf

package/kernel/linux/modules/block.mk

+23
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,29 @@ endef
508508
$(eval $(call KernelPackage,nbd))
509509

510510

511+
define KernelPackage/nvme
512+
SUBMENU:=$(BLOCK_MENU)
513+
TITLE:=NVM Express block device
514+
DEPENDS:=@PCI_SUPPORT
515+
KCONFIG:= \
516+
CONFIG_NVME_CORE \
517+
CONFIG_BLK_DEV_NVME \
518+
CONFIG_NVME_MULTIPATH=n \
519+
CONFIG_NVME_HWMON=n
520+
FILES:= \
521+
$(LINUX_DIR)/drivers/nvme/host/nvme-core.ko \
522+
$(LINUX_DIR)/drivers/nvme/host/nvme.ko
523+
AUTOLOAD:=$(call AutoLoad,30,nvme-core nvme)
524+
endef
525+
526+
define KernelPackage/nvme/description
527+
Kernel module for NVM Express solid state drives directly
528+
connected to the PCI or PCI Express bus.
529+
endef
530+
531+
$(eval $(call KernelPackage,nvme))
532+
533+
511534
define KernelPackage/scsi-core
512535
SUBMENU:=$(BLOCK_MENU)
513536
TITLE:=SCSI device support

package/libs/wolfssl/Config.in

-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ config WOLFSSL_ASM_CAPABLE
7272

7373
choice
7474
prompt "Hardware Acceleration"
75-
default WOLFSSL_HAS_CPU_CRYPTO if WOLFSSL_ASM_CAPABLE
7675
default WOLFSSL_HAS_NO_HW
7776

7877
config WOLFSSL_HAS_NO_HW

package/libs/wolfssl/Makefile

-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ endef
6161
define Package/libwolfssl
6262
$(call Package/libwolfssl/Default)
6363
TITLE:=wolfSSL library
64-
PKGFLAGS:=nonshared
6564
MENU:=1
6665
PROVIDES:=libcyassl
6766
DEPENDS:=+WOLFSSL_HAS_DEVCRYPTO:kmod-cryptodev +WOLFSSL_HAS_AFALG:kmod-crypto-user

target/linux/ath79/patches-5.10/0003-leds-add-reset-controller-based-driver.patch

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ Signed-off-by: John Crispin <[email protected]>
1313

1414
--- a/drivers/leds/Kconfig
1515
+++ b/drivers/leds/Kconfig
16-
@@ -929,6 +929,17 @@ config LEDS_ACER_A500
17-
This option enables support for the Power Button LED of
18-
Acer Iconia Tab A500.
16+
@@ -931,6 +931,17 @@ config LEDS_ACER_A500
17+
18+
source "drivers/leds/blink/Kconfig"
1919

2020
+config LEDS_RESET
2121
+ tristate "LED support for reset-controller API"

target/linux/ath79/patches-5.10/910-unaligned_access_hacks.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@
706706
EXPORT_SYMBOL(xfrm_parse_spi);
707707
--- a/net/ipv4/tcp_input.c
708708
+++ b/net/ipv4/tcp_input.c
709-
@@ -4087,14 +4087,16 @@ static bool tcp_parse_aligned_timestamp(
709+
@@ -4092,14 +4092,16 @@ static bool tcp_parse_aligned_timestamp(
710710
{
711711
const __be32 *ptr = (const __be32 *)(th + 1);
712712

target/linux/ath79/patches-5.15/910-unaligned_access_hacks.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@
706706
EXPORT_SYMBOL(xfrm_parse_spi);
707707
--- a/net/ipv4/tcp_input.c
708708
+++ b/net/ipv4/tcp_input.c
709-
@@ -4133,14 +4133,16 @@ static bool tcp_parse_aligned_timestamp(
709+
@@ -4138,14 +4138,16 @@ static bool tcp_parse_aligned_timestamp(
710710
{
711711
const __be32 *ptr = (const __be32 *)(th + 1);
712712

target/linux/generic/backport-5.10/732-net-next-1-of-net-pass-the-dst-buffer-to-of_get_mac_address.patch

+2-2
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ Signed-off-by: David S. Miller <[email protected]>
11621162

11631163
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c
11641164
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c
1165-
@@ -444,7 +444,7 @@ static int dwc_eth_dwmac_probe(struct pl
1165+
@@ -445,7 +445,7 @@ static int dwc_eth_dwmac_probe(struct pl
11661166
if (IS_ERR(stmmac_res.addr))
11671167
return PTR_ERR(stmmac_res.addr);
11681168

@@ -1360,7 +1360,7 @@ Signed-off-by: David S. Miller <[email protected]>
13601360
int irq;
13611361
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
13621362
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
1363-
@@ -4988,7 +4988,7 @@ int stmmac_dvr_probe(struct device *devi
1363+
@@ -4987,7 +4987,7 @@ int stmmac_dvr_probe(struct device *devi
13641364
priv->wol_irq = res->wol_irq;
13651365
priv->lpi_irq = res->lpi_irq;
13661366

target/linux/generic/backport-5.15/702-v5.19-19-net-ethernet-mtk_eth_soc-add-txd_size-to-mtk_soc_dat.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Signed-off-by: David S. Miller <[email protected]>
1414

1515
--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
1616
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
17-
@@ -837,20 +837,20 @@ static inline bool mtk_rx_get_desc(struc
17+
@@ -837,20 +837,20 @@ static void *mtk_max_lro_buf_alloc(gfp_t
1818
/* the qdma core needs scratch memory to be setup */
1919
static int mtk_init_fq_dma(struct mtk_eth *eth)
2020
{
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
--- a/init/Kconfig
2+
+++ b/init/Kconfig
3+
@@ -1380,16 +1380,6 @@ config BOOT_CONFIG_EMBED_FILE
4+
This bootconfig will be used if there is no initrd or no other
5+
bootconfig in the initrd.
6+
7+
-config INITRAMFS_PRESERVE_MTIME
8+
- bool "Preserve cpio archive mtimes in initramfs"
9+
- default y
10+
- help
11+
- Each entry in an initramfs cpio archive carries an mtime value. When
12+
- enabled, extracted cpio items take this mtime, with directory mtime
13+
- setting deferred until after creation of any child entries.
14+
-
15+
- If unsure, say Y.
16+
-
17+
choice
18+
prompt "Compiler optimization level"
19+
default CC_OPTIMIZE_FOR_PERFORMANCE
20+
--- a/init/initramfs.c
21+
+++ b/init/initramfs.c
22+
@@ -127,17 +127,15 @@ static void __init free_hash(void)
23+
}
24+
}
25+
26+
-#ifdef CONFIG_INITRAMFS_PRESERVE_MTIME
27+
-static void __init do_utime(char *filename, time64_t mtime)
28+
+static long __init do_utime(char *filename, time64_t mtime)
29+
{
30+
- struct timespec64 t[2] = { { .tv_sec = mtime }, { .tv_sec = mtime } };
31+
- init_utimes(filename, t);
32+
-}
33+
+ struct timespec64 t[2];
34+
35+
-static void __init do_utime_path(const struct path *path, time64_t mtime)
36+
-{
37+
- struct timespec64 t[2] = { { .tv_sec = mtime }, { .tv_sec = mtime } };
38+
- vfs_utimes(path, t);
39+
+ t[0].tv_sec = mtime;
40+
+ t[0].tv_nsec = 0;
41+
+ t[1].tv_sec = mtime;
42+
+ t[1].tv_nsec = 0;
43+
+ return init_utimes(filename, t);
44+
}
45+
46+
static __initdata LIST_HEAD(dir_list);
47+
@@ -170,12 +168,6 @@ static void __init dir_utime(void)
48+
kfree(de);
49+
}
50+
}
51+
-#else
52+
-static void __init do_utime(char *filename, time64_t mtime) {}
53+
-static void __init do_utime_path(const struct path *path, time64_t mtime) {}
54+
-static void __init dir_add(const char *name, time64_t mtime) {}
55+
-static void __init dir_utime(void) {}
56+
-#endif
57+
58+
static __initdata time64_t mtime;
59+
60+
@@ -407,10 +399,14 @@ static int __init do_name(void)
61+
static int __init do_copy(void)
62+
{
63+
if (byte_count >= body_len) {
64+
+ struct timespec64 t[2] = { };
65+
if (xwrite(wfile, victim, body_len, &wfile_pos) != body_len)
66+
error("write error");
67+
68+
- do_utime_path(&wfile->f_path, mtime);
69+
+ t[0].tv_sec = mtime;
70+
+ t[1].tv_sec = mtime;
71+
+ vfs_utimes(&wfile->f_path, t);
72+
+
73+
fput(wfile);
74+
if (csum_present && io_csum != hdr_csum)
75+
error("bad data checksum");
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
--- a/include/linux/netdevice.h
2+
+++ b/include/linux/netdevice.h
3+
@@ -2119,8 +2119,6 @@ struct net_device {
4+
5+
/* Protocol-specific pointers */
6+
7+
- struct in_device __rcu *ip_ptr;
8+
- struct inet6_dev __rcu *ip6_ptr;
9+
#if IS_ENABLED(CONFIG_VLAN_8021Q)
10+
struct vlan_info __rcu *vlan_info;
11+
#endif
12+
@@ -2133,18 +2131,16 @@ struct net_device {
13+
#if IS_ENABLED(CONFIG_ATALK)
14+
void *atalk_ptr;
15+
#endif
16+
+ struct in_device __rcu *ip_ptr;
17+
#if IS_ENABLED(CONFIG_DECNET)
18+
struct dn_dev __rcu *dn_ptr;
19+
#endif
20+
+ struct inet6_dev __rcu *ip6_ptr;
21+
#if IS_ENABLED(CONFIG_AX25)
22+
void *ax25_ptr;
23+
#endif
24+
-#if IS_ENABLED(CONFIG_CFG80211)
25+
struct wireless_dev *ieee80211_ptr;
26+
-#endif
27+
-#if IS_ENABLED(CONFIG_IEEE802154) || IS_ENABLED(CONFIG_6LOWPAN)
28+
struct wpan_dev *ieee802154_ptr;
29+
-#endif
30+
#if IS_ENABLED(CONFIG_MPLS_ROUTING)
31+
struct mpls_dev __rcu *mpls_ptr;
32+
#endif
33+
--- a/include/net/cfg80211.h
34+
+++ b/include/net/cfg80211.h
35+
@@ -8006,9 +8006,7 @@ int cfg80211_register_netdevice(struct n
36+
*/
37+
static inline void cfg80211_unregister_netdevice(struct net_device *dev)
38+
{
39+
-#if IS_ENABLED(CONFIG_CFG80211)
40+
cfg80211_unregister_wdev(dev->ieee80211_ptr);
41+
-#endif
42+
}
43+
44+
/**
45+
--- a/include/net/cfg802154.h
46+
+++ b/include/net/cfg802154.h
47+
@@ -373,7 +373,6 @@ struct wpan_dev {
48+
49+
#define to_phy(_dev) container_of(_dev, struct wpan_phy, dev)
50+
51+
-#if IS_ENABLED(CONFIG_IEEE802154) || IS_ENABLED(CONFIG_6LOWPAN)
52+
static inline int
53+
wpan_dev_hard_header(struct sk_buff *skb, struct net_device *dev,
54+
const struct ieee802154_addr *daddr,
55+
@@ -384,7 +383,6 @@ wpan_dev_hard_header(struct sk_buff *skb
56+
57+
return wpan_dev->header_ops->create(skb, dev, daddr, saddr, len);
58+
}
59+
-#endif
60+
61+
struct wpan_phy *
62+
wpan_phy_new(const struct cfg802154_ops *ops, size_t priv_size);
63+
--- a/net/batman-adv/hard-interface.c
64+
+++ b/net/batman-adv/hard-interface.c
65+
@@ -307,11 +307,9 @@ static bool batadv_is_cfg80211_netdev(st
66+
if (!net_device)
67+
return false;
68+
69+
-#if IS_ENABLED(CONFIG_CFG80211)
70+
/* cfg80211 drivers have to set ieee80211_ptr */
71+
if (net_device->ieee80211_ptr)
72+
return true;
73+
-#endif
74+
75+
return false;
76+
}
77+
--- a/net/core/net-sysfs.c
78+
+++ b/net/core/net-sysfs.c
79+
@@ -747,6 +747,7 @@ static const struct attribute_group nets
80+
.attrs = netstat_attrs,
81+
};
82+
83+
+#if IS_ENABLED(CONFIG_WIRELESS_EXT) || IS_ENABLED(CONFIG_CFG80211)
84+
static struct attribute *wireless_attrs[] = {
85+
NULL
86+
};
87+
@@ -755,19 +756,7 @@ static const struct attribute_group wire
88+
.name = "wireless",
89+
.attrs = wireless_attrs,
90+
};
91+
-
92+
-static bool wireless_group_needed(struct net_device *ndev)
93+
-{
94+
-#if IS_ENABLED(CONFIG_CFG80211)
95+
- if (ndev->ieee80211_ptr)
96+
- return true;
97+
#endif
98+
-#if IS_ENABLED(CONFIG_WIRELESS_EXT)
99+
- if (ndev->wireless_handlers)
100+
- return true;
101+
-#endif
102+
- return false;
103+
-}
104+
105+
#else /* CONFIG_SYSFS */
106+
#define net_class_groups NULL
107+
@@ -2008,8 +1997,14 @@ int netdev_register_kobject(struct net_d
108+
109+
*groups++ = &netstat_group;
110+
111+
- if (wireless_group_needed(ndev))
112+
+#if IS_ENABLED(CONFIG_WIRELESS_EXT) || IS_ENABLED(CONFIG_CFG80211)
113+
+ if (ndev->ieee80211_ptr)
114+
+ *groups++ = &wireless_group;
115+
+#if IS_ENABLED(CONFIG_WIRELESS_EXT)
116+
+ else if (ndev->wireless_handlers)
117+
*groups++ = &wireless_group;
118+
+#endif
119+
+#endif
120+
#endif /* CONFIG_SYSFS */
121+
122+
error = device_add(dev);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
From 173019b66dcc9d68ad9333aa744dad1e369b5aa8 Mon Sep 17 00:00:00 2001
2+
From: Felix Fietkau <[email protected]>
3+
Date: Sun, 9 Jul 2017 00:26:53 +0200
4+
Subject: [PATCH 34/34] kernel: add compile fix for linux 4.9 on x86
5+
6+
Signed-off-by: Felix Fietkau <[email protected]>
7+
---
8+
Makefile | 4 ++--
9+
1 file changed, 2 insertions(+), 2 deletions(-)
10+
11+
--- a/Makefile
12+
+++ b/Makefile
13+
@@ -534,7 +534,7 @@ KBUILD_LDFLAGS_MODULE :=
14+
KBUILD_LDFLAGS :=
15+
CLANG_FLAGS :=
16+
17+
-export ARCH SRCARCH CONFIG_SHELL BASH HOSTCC KBUILD_HOSTCFLAGS CROSS_COMPILE LD CC HOSTPKG_CONFIG
18+
+export ARCH SRCARCH SUBARCH CONFIG_SHELL BASH HOSTCC KBUILD_HOSTCFLAGS CROSS_COMPILE LD CC HOSTPKG_CONFIG
19+
export CPP AR NM STRIP OBJCOPY OBJDUMP READELF PAHOLE RESOLVE_BTFIDS LEX YACC AWK INSTALLKERNEL
20+
export PERL PYTHON3 CHECK CHECKFLAGS MAKE UTS_MACHINE HOSTCXX
21+
export KGZIP KBZIP2 KLZOP LZMA LZ4 XZ ZSTD

0 commit comments

Comments
 (0)