Skip to content

Commit dc29d8a

Browse files
[bot] AutoMerging: merge all upstream's changes:
* https://github.com/coolsnowwolf/lede: ntfs3-mount: drop ntfs3-oot fs: port ntfs3 from kernel 5.19 to 5.10 fs: port ntfs3 from kernel 5.19 to 5.4 toolchain/gcc: GCC12 sync upstream (coolsnowwolf#10080) ath11k-firmware: WCN6855: fix firmware link (coolsnowwolf#10078) kernel: fixes build error and refresh 5.15 patches (coolsnowwolf#10074)
2 parents 85d6ba4 + d7b9bb3 commit dc29d8a

File tree

113 files changed

+61758
-248
lines changed

Some content is hidden

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

113 files changed

+61758
-248
lines changed

package/firmware/ath11k-firmware/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ define Package/ath11k-firmware-wcn6855/install
103103
$(INSTALL_DATA) \
104104
$(PKG_BUILD_DIR)/WCN6855/hw2.0/regdb.bin \
105105
$(1)/lib/firmware/ath11k/WCN6855/hw2.0/regdb.bin
106-
$(LN) $(1)/lib/firmware/ath11k/WCN6855/hw2.0 $(1)/lib/firmware/ath11k/WCN6855/hw2.1
106+
$(LN) ./hw2.0 $(1)/lib/firmware/ath11k/WCN6855/hw2.1
107107
endef
108108

109109
$(eval $(call BuildPackage,ath11k-firmware-ipq6018))

package/kernel/linux/modules/fs.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ $(eval $(call KernelPackage,fs-ntfs))
530530
define KernelPackage/fs-ntfs3
531531
SUBMENU:=$(FS_MENU)
532532
TITLE:=NTFS3 Read-Write file system support
533-
DEPENDS:=@(LINUX_5_15||LINUX_5_19) +kmod-nls-base
533+
DEPENDS:=@(LINUX_5_4||LINUX_5_10||LINUX_5_15||LINUX_5_19) +kmod-nls-base
534534
KCONFIG:= \
535535
CONFIG_NTFS3_FS \
536536
CONFIG_NTFS3_64BIT_CLUSTER=y \

package/lean/ntfs3-mount/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ define Package/ntfs3-mount
1010
CATEGORY:=Utilities
1111
SUBMENU:=Filesystem
1212
TITLE:=NTFS mount script for Paragon NTFS3 driver
13-
DEPENDS:=+LINUX_5_4:kmod-fs-ntfs3-oot +(LINUX_5_15||LINUX_5_19):kmod-fs-ntfs3
13+
DEPENDS:=+kmod-fs-ntfs3
1414
PKGARCH:=all
1515
endef
1616

target/linux/ath79/patches-5.15/408-mtd-redboot_partition_scan.patch

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- a/drivers/mtd/parsers/redboot.c
22
+++ b/drivers/mtd/parsers/redboot.c
3-
@@ -90,12 +90,18 @@ static int parse_redboot_partitions(stru
3+
@@ -91,12 +91,18 @@ static int parse_redboot_partitions(stru
44

55
parse_redboot_of(master);
66

@@ -19,7 +19,7 @@
1919
return -EIO;
2020
}
2121
offset -= master->erasesize;
22-
@@ -108,10 +114,6 @@ nogood:
22+
@@ -109,10 +115,6 @@ nogood:
2323
goto nogood;
2424
}
2525
}
@@ -30,7 +30,7 @@
3030

3131
pr_notice("Searching for RedBoot partition table in %s at offset 0x%lx\n",
3232
master->name, offset);
33-
@@ -183,6 +185,12 @@ nogood:
33+
@@ -184,6 +186,12 @@ nogood:
3434
}
3535
if (i == numslots) {
3636
/* Didn't find it */

target/linux/generic/backport-5.15/850-v5.17-0007-PCI-aardvark-Mask-all-interrupts-when-unbinding-driv.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Signed-off-by: Lorenzo Pieralisi <[email protected]>
1818

1919
--- a/drivers/pci/controller/pci-aardvark.c
2020
+++ b/drivers/pci/controller/pci-aardvark.c
21-
@@ -1874,6 +1874,27 @@ static int advk_pcie_remove(struct platf
21+
@@ -1889,6 +1889,27 @@ static int advk_pcie_remove(struct platf
2222
advk_writel(pcie, PCIE_ISR1_ALL_MASK, PCIE_ISR1_REG);
2323
advk_writel(pcie, PCIE_IRQ_ALL_MASK, HOST_CTRL_INT_STATUS_REG);
2424

target/linux/generic/backport-5.15/850-v5.17-0008-PCI-aardvark-Fix-memory-leak-in-driver-unbind.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Signed-off-by: Lorenzo Pieralisi <[email protected]>
2121

2222
--- a/drivers/pci/controller/pci-aardvark.c
2323
+++ b/drivers/pci/controller/pci-aardvark.c
24-
@@ -1912,6 +1912,9 @@ static int advk_pcie_remove(struct platf
24+
@@ -1927,6 +1927,9 @@ static int advk_pcie_remove(struct platf
2525
val &= ~LINK_TRAINING_EN;
2626
advk_writel(pcie, val, PCIE_CORE_CTRL0_REG);
2727

target/linux/generic/backport-5.15/850-v5.17-0009-PCI-aardvark-Assert-PERST-when-unbinding-driver.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Signed-off-by: Lorenzo Pieralisi <[email protected]>
2020

2121
--- a/drivers/pci/controller/pci-aardvark.c
2222
+++ b/drivers/pci/controller/pci-aardvark.c
23-
@@ -1915,6 +1915,10 @@ static int advk_pcie_remove(struct platf
23+
@@ -1930,6 +1930,10 @@ static int advk_pcie_remove(struct platf
2424
/* Free config space for emulated root bridge */
2525
pci_bridge_emul_cleanup(&pcie->bridge);
2626

target/linux/generic/backport-5.15/850-v5.17-0010-PCI-aardvark-Disable-link-training-when-unbinding-dr.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Signed-off-by: Lorenzo Pieralisi <[email protected]>
2020

2121
--- a/drivers/pci/controller/pci-aardvark.c
2222
+++ b/drivers/pci/controller/pci-aardvark.c
23-
@@ -1919,6 +1919,11 @@ static int advk_pcie_remove(struct platf
23+
@@ -1934,6 +1934,11 @@ static int advk_pcie_remove(struct platf
2424
if (pcie->reset_gpio)
2525
gpiod_set_value_cansleep(pcie->reset_gpio, 1);
2626

target/linux/generic/backport-5.15/850-v5.17-0011-PCI-aardvark-Disable-common-PHY-when-unbinding-drive.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Signed-off-by: Lorenzo Pieralisi <[email protected]>
1818

1919
--- a/drivers/pci/controller/pci-aardvark.c
2020
+++ b/drivers/pci/controller/pci-aardvark.c
21-
@@ -1634,6 +1634,9 @@ static int advk_pcie_enable_phy(struct a
21+
@@ -1649,6 +1649,9 @@ static int advk_pcie_enable_phy(struct a
2222
return ret;
2323
}
2424

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
config NTFS3_FS
3+
tristate "NTFS Read-Write file system support"
4+
select NLS
5+
help
6+
Windows OS native file system (NTFS) support up to NTFS version 3.1.
7+
8+
Y or M enables the NTFS3 driver with full features enabled (read,
9+
write, journal replaying, sparse/compressed files support).
10+
File system type to use on mount is "ntfs3". Module name (M option)
11+
is also "ntfs3".
12+
13+
Documentation: <file:Documentation/filesystems/ntfs3.rst>
14+
15+
config NTFS3_64BIT_CLUSTER
16+
bool "64 bits per NTFS clusters"
17+
depends on NTFS3_FS && 64BIT
18+
help
19+
Windows implementation of ntfs.sys uses 32 bits per clusters.
20+
If activated 64 bits per clusters you will be able to use 4k cluster
21+
for 16T+ volumes. Windows will not be able to mount such volumes.
22+
23+
It is recommended to say N here.
24+
25+
config NTFS3_LZX_XPRESS
26+
bool "activate support of external compressions lzx/xpress"
27+
depends on NTFS3_FS
28+
help
29+
In Windows 10 one can use command "compact" to compress any files.
30+
4 possible variants of compression are: xpress4k, xpress8k, xpress16k and lzx.
31+
If activated you will be able to read such files correctly.
32+
33+
It is recommended to say Y here.
34+
35+
config NTFS3_FS_POSIX_ACL
36+
bool "NTFS POSIX Access Control Lists"
37+
depends on NTFS3_FS
38+
select FS_POSIX_ACL
39+
help
40+
POSIX Access Control Lists (ACLs) support additional access rights
41+
for users and groups beyond the standard owner/group/world scheme,
42+
and this option selects support for ACLs specifically for ntfs
43+
filesystems.
44+
NOTE: this is linux only feature. Windows will ignore these ACLs.
45+
46+
If you don't know what Access Control Lists are, say N.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
#
3+
# Makefile for the ntfs3 filesystem support.
4+
#
5+
6+
# to check robot warnings
7+
ccflags-y += -Wint-to-pointer-cast \
8+
$(call cc-option,-Wunused-but-set-variable,-Wunused-const-variable) \
9+
$(call cc-option,-Wold-style-declaration,-Wout-of-line-declaration)
10+
11+
obj-$(CONFIG_NTFS3_FS) += ntfs3.o
12+
13+
ntfs3-y := attrib.o \
14+
attrlist.o \
15+
bitfunc.o \
16+
bitmap.o \
17+
dir.o \
18+
fsntfs.o \
19+
frecord.o \
20+
file.o \
21+
fslog.o \
22+
inode.o \
23+
index.o \
24+
lznt.o \
25+
namei.o \
26+
record.o \
27+
run.o \
28+
super.o \
29+
upcase.o \
30+
xattr.o
31+
32+
ntfs3-$(CONFIG_NTFS3_LZX_XPRESS) += $(addprefix lib/,\
33+
decompress_common.o \
34+
lzx_decompress.o \
35+
xpress_decompress.o \
36+
)
37+
38+
ccflags-$(CONFIG_NTFS3_LZX_XPRESS) += -DCONFIG_NTFS3_LZX_XPRESS
39+
ccflags-$(CONFIG_NTFS3_FS_POSIX_ACL) += -DCONFIG_NTFS3_FS_POSIX_ACL
40+
41+
all:
42+
make -C /lib/modules/$(KVERSION)/build M=$(PWD) modules
43+
44+
clean:
45+
make -C /lib/modules/$(KVERSION)/build M=$(PWD) clean

0 commit comments

Comments
 (0)