Skip to content

Commit d5dea38

Browse files
committed
[bot] AutoMerging: merge all upstream's changes:
* https://github.com/coolsnowwolf/lede: Revert "toolchain: gcc: improve patch handling by introducing major version" iwlwifi: edit package/firmware/linux-firmware/intel.mk for support inter-ax201 (coolsnowwolf#10303) libselinux: sync with upstream (coolsnowwolf#10300) kernel: bump 6.0 to 6.0.3 (coolsnowwolf#10299)
2 parents aff0292 + 779ed7d commit d5dea38

File tree

110 files changed

+219
-383
lines changed

Some content is hidden

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

110 files changed

+219
-383
lines changed

include/kernel-6.0

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
LINUX_VERSION-6.0 = .2
2-
LINUX_KERNEL_HASH-6.0.2 = a13c26388cacccb684cd9f51109596a280c8186b7e95174d31ee7c5718e95c9d
1+
LINUX_VERSION-6.0 = .3
2+
LINUX_KERNEL_HASH-6.0.3 = b0d522241805794d8af3a67d331ba063a16496c6fb6d365d48f7ed78ee1c3dcf

package/firmware/linux-firmware/intel.mk

+7
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,13 @@ define Package/iwlwifi-firmware-ax200/install
175175
endef
176176
$(eval $(call BuildPackage,iwlwifi-firmware-ax200))
177177

178+
Package/iwlwifi-firmware-ax201 = $(call Package/firmware-default,Intel AX201 firmware)
179+
define Package/iwlwifi-firmware-ax201/install
180+
$(INSTALL_DIR) $(1)/lib/firmware
181+
$(INSTALL_DATA) $(PKG_BUILD_DIR)/iwlwifi-so-a0-hr-b0-64.ucode $(1)/lib/firmware
182+
endef
183+
$(eval $(call BuildPackage,iwlwifi-firmware-ax201))
184+
178185
Package/iwlwifi-firmware-ax210 = $(call Package/firmware-default,Intel AX210 firmware)
179186
define Package/iwlwifi-firmware-ax210/install
180187
$(INSTALL_DIR) $(1)/lib/firmware

package/libs/libselinux/Makefile

+9-5
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,20 @@
66
include $(TOPDIR)/rules.mk
77

88
PKG_NAME:=libselinux
9-
PKG_VERSION:=3.2
10-
PKG_RELEASE:=1
9+
PKG_VERSION:=3.3
10+
PKG_RELEASE:=2
1111

1212
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13-
PKG_SOURCE_URL:=https://github.com/SELinuxProject/selinux/releases/download/3.2
14-
PKG_HASH:=df758ef1d9d4811051dd901ea6b029ae334ffd7c671c128beb16bce1e25ac161
13+
PKG_SOURCE_URL:=https://github.com/SELinuxProject/selinux/releases/download/$(PKG_VERSION)
14+
PKG_HASH:=acfdee27633d2496508c28727c3d41d3748076f66d42fccde2e6b9f3463a7057
1515
HOST_BUILD_DEPENDS:=libsepol/host pcre/host
1616

1717
PKG_LICENSE:=libselinux-1.0
1818
PKG_LICENSE_FILES:=LICENSE
1919
PKG_MAINTAINER:=Thomas Petazzoni <[email protected]>
20+
PKG_CPE_ID:=cpe:/a:selinuxproject:libselinux
21+
22+
HOST_BUILD_DEPENDS:=libsepol/host pcre/host
2023

2124
include $(INCLUDE_DIR)/package.mk
2225
include $(INCLUDE_DIR)/host-build.mk
@@ -107,7 +110,8 @@ HOST_LDFLAGS += -Wl,-rpath="$(STAGING_DIR_HOSTPKG)/lib"
107110

108111
HOST_MAKE_FLAGS += \
109112
PREFIX=$(STAGING_DIR_HOSTPKG) \
110-
SHLIBDIR=$(STAGING_DIR_HOSTPKG)/lib
113+
SHLIBDIR=$(STAGING_DIR_HOSTPKG)/lib \
114+
FTS_LDLIBS=-lfts
111115

112116
ifeq ($(CONFIG_USE_MUSL),y)
113117
MAKE_FLAGS += FTS_LDLIBS=-lfts

package/libs/libsepol/Makefile

+4-3
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@
66
include $(TOPDIR)/rules.mk
77

88
PKG_NAME:=libsepol
9-
PKG_VERSION:=3.2
9+
PKG_VERSION:=3.3
1010
PKG_RELEASE:=1
1111

1212
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13-
PKG_SOURCE_URL:=https://github.com/SELinuxProject/selinux/releases/download/3.2
14-
PKG_HASH:=dfc7f662af8000116e56a01de6a0394ed79be1b34b999e551346233c5dd19508
13+
PKG_SOURCE_URL:=https://github.com/SELinuxProject/selinux/releases/download/$(PKG_VERSION)
14+
PKG_HASH:=2d97df3eb8466169b389c3660acbb90c54200ac96e452eca9f41a9639f4f238b
1515

1616
PKG_MAINTAINER:=Thomas Petazzoni <[email protected]>
17+
PKG_CPE_ID:=cpe:/a:selinuxproject:libsepol
1718

1819
include $(INCLUDE_DIR)/package.mk
1920
include $(INCLUDE_DIR)/host-build.mk

target/linux/generic/backport-6.0/100-mm-x86-arm64-add-arch_has_hw_pte_young.patch

+4-15
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,9 @@ Change-Id: Ib49b44fb56df3333a2ff1fcc496fb1980b976e7a
4444
mm/memory.c | 14 +-------------
4545
4 files changed, 19 insertions(+), 29 deletions(-)
4646

47-
diff --git a/arch/arm64/include/asm/pgtable.h b/arch/arm64/include/asm/pgtable.h
48-
index b5df82aa99e6..71a1af42f0e8 100644
4947
--- a/arch/arm64/include/asm/pgtable.h
5048
+++ b/arch/arm64/include/asm/pgtable.h
51-
@@ -1082,24 +1082,13 @@ static inline void update_mmu_cache(struct vm_area_struct *vma,
49+
@@ -1082,24 +1082,13 @@ static inline void update_mmu_cache(stru
5250
* page after fork() + CoW for pfn mappings. We don't always have a
5351
* hardware-managed access flag on arm64.
5452
*/
@@ -75,11 +73,9 @@ index b5df82aa99e6..71a1af42f0e8 100644
7573

7674
static inline bool pud_sect_supported(void)
7775
{
78-
diff --git a/arch/x86/include/asm/pgtable.h b/arch/x86/include/asm/pgtable.h
79-
index 44e2d6f1dbaa..dc5f7d8ef68a 100644
8076
--- a/arch/x86/include/asm/pgtable.h
8177
+++ b/arch/x86/include/asm/pgtable.h
82-
@@ -1431,10 +1431,10 @@ static inline bool arch_has_pfn_modify_check(void)
78+
@@ -1431,10 +1431,10 @@ static inline bool arch_has_pfn_modify_c
8379
return boot_cpu_has_bug(X86_BUG_L1TF);
8480
}
8581

@@ -93,11 +89,9 @@ index 44e2d6f1dbaa..dc5f7d8ef68a 100644
9389
}
9490

9591
#ifdef CONFIG_PAGE_TABLE_CHECK
96-
diff --git a/include/linux/pgtable.h b/include/linux/pgtable.h
97-
index 014ee8f0fbaa..95f408df4695 100644
9892
--- a/include/linux/pgtable.h
9993
+++ b/include/linux/pgtable.h
100-
@@ -260,6 +260,19 @@ static inline int pmdp_clear_flush_young(struct vm_area_struct *vma,
94+
@@ -260,6 +260,19 @@ static inline int pmdp_clear_flush_young
10195
#endif /* CONFIG_TRANSPARENT_HUGEPAGE */
10296
#endif
10397

@@ -117,8 +111,6 @@ index 014ee8f0fbaa..95f408df4695 100644
117111
#ifndef __HAVE_ARCH_PTEP_GET_AND_CLEAR
118112
static inline pte_t ptep_get_and_clear(struct mm_struct *mm,
119113
unsigned long address,
120-
diff --git a/mm/memory.c b/mm/memory.c
121-
index a78814413ac0..68294ce1cb06 100644
122114
--- a/mm/memory.c
123115
+++ b/mm/memory.c
124116
@@ -125,18 +125,6 @@ int randomize_va_space __read_mostly =
@@ -140,7 +132,7 @@ index a78814413ac0..68294ce1cb06 100644
140132
#ifndef arch_wants_old_prefaulted_pte
141133
static inline bool arch_wants_old_prefaulted_pte(void)
142134
{
143-
@@ -2870,7 +2858,7 @@ static inline bool __wp_page_copy_user(struct page *dst, struct page *src,
135+
@@ -2872,7 +2860,7 @@ static inline bool __wp_page_copy_user(s
144136
* On architectures with software "accessed" bits, we would
145137
* take a double page fault, so mark it accessed here.
146138
*/
@@ -149,6 +141,3 @@ index a78814413ac0..68294ce1cb06 100644
149141
pte_t entry;
150142

151143
vmf->pte = pte_offset_map_lock(mm, vmf->pmd, addr, &vmf->ptl);
152-
--
153-
2.17.1
154-

target/linux/generic/backport-6.0/101-mm-x86-add-CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG.patch

+5-18
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ Change-Id: I1a17be3ae926f721f7b17ea1539e5c39e8c4f9a8
5050
include/linux/pgtable.h | 4 ++--
5151
5 files changed, 17 insertions(+), 4 deletions(-)
5252

53-
diff --git a/arch/Kconfig b/arch/Kconfig
54-
index 8b311e400ec1..bf19a84fffa2 100644
5553
--- a/arch/Kconfig
5654
+++ b/arch/Kconfig
5755
@@ -1418,6 +1418,14 @@ config DYNAMIC_SIGFRAME
@@ -69,8 +67,6 @@ index 8b311e400ec1..bf19a84fffa2 100644
6967
source "kernel/gcov/Kconfig"
7068

7169
source "scripts/gcc-plugins/Kconfig"
72-
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
73-
index f9920f1341c8..674d694a665e 100644
7470
--- a/arch/x86/Kconfig
7571
+++ b/arch/x86/Kconfig
7672
@@ -85,6 +85,7 @@ config X86
@@ -81,11 +77,9 @@ index f9920f1341c8..674d694a665e 100644
8177
select ARCH_HAS_UACCESS_FLUSHCACHE if X86_64
8278
select ARCH_HAS_COPY_MC if X86_64
8379
select ARCH_HAS_SET_MEMORY
84-
diff --git a/arch/x86/include/asm/pgtable.h b/arch/x86/include/asm/pgtable.h
85-
index dc5f7d8ef68a..5059799bebe3 100644
8680
--- a/arch/x86/include/asm/pgtable.h
8781
+++ b/arch/x86/include/asm/pgtable.h
88-
@@ -815,7 +815,8 @@ static inline unsigned long pmd_page_vaddr(pmd_t pmd)
82+
@@ -815,7 +815,8 @@ static inline unsigned long pmd_page_vad
8983

9084
static inline int pmd_bad(pmd_t pmd)
9185
{
@@ -95,11 +89,9 @@ index dc5f7d8ef68a..5059799bebe3 100644
9589
}
9690

9791
static inline unsigned long pages_to_mb(unsigned long npg)
98-
diff --git a/arch/x86/mm/pgtable.c b/arch/x86/mm/pgtable.c
99-
index a932d7712d85..8525f2876fb4 100644
10092
--- a/arch/x86/mm/pgtable.c
10193
+++ b/arch/x86/mm/pgtable.c
102-
@@ -550,7 +550,7 @@ int ptep_test_and_clear_young(struct vm_area_struct *vma,
94+
@@ -550,7 +550,7 @@ int ptep_test_and_clear_young(struct vm_
10395
return ret;
10496
}
10597

@@ -108,7 +100,7 @@ index a932d7712d85..8525f2876fb4 100644
108100
int pmdp_test_and_clear_young(struct vm_area_struct *vma,
109101
unsigned long addr, pmd_t *pmdp)
110102
{
111-
@@ -562,6 +562,9 @@ int pmdp_test_and_clear_young(struct vm_area_struct *vma,
103+
@@ -562,6 +562,9 @@ int pmdp_test_and_clear_young(struct vm_
112104

113105
return ret;
114106
}
@@ -118,11 +110,9 @@ index a932d7712d85..8525f2876fb4 100644
118110
int pudp_test_and_clear_young(struct vm_area_struct *vma,
119111
unsigned long addr, pud_t *pudp)
120112
{
121-
diff --git a/include/linux/pgtable.h b/include/linux/pgtable.h
122-
index 95f408df4695..d9095251bffd 100644
123113
--- a/include/linux/pgtable.h
124114
+++ b/include/linux/pgtable.h
125-
@@ -213,7 +213,7 @@ static inline int ptep_test_and_clear_young(struct vm_area_struct *vma,
115+
@@ -213,7 +213,7 @@ static inline int ptep_test_and_clear_yo
126116
#endif
127117

128118
#ifndef __HAVE_ARCH_PMDP_TEST_AND_CLEAR_YOUNG
@@ -131,7 +121,7 @@ index 95f408df4695..d9095251bffd 100644
131121
static inline int pmdp_test_and_clear_young(struct vm_area_struct *vma,
132122
unsigned long address,
133123
pmd_t *pmdp)
134-
@@ -234,7 +234,7 @@ static inline int pmdp_test_and_clear_young(struct vm_area_struct *vma,
124+
@@ -234,7 +234,7 @@ static inline int pmdp_test_and_clear_yo
135125
BUILD_BUG();
136126
return 0;
137127
}
@@ -140,6 +130,3 @@ index 95f408df4695..d9095251bffd 100644
140130
#endif
141131

142132
#ifndef __HAVE_ARCH_PTEP_CLEAR_YOUNG_FLUSH
143-
--
144-
2.17.1
145-

target/linux/generic/backport-6.0/102-mm-vmscan.c-refactor-shrink_node.patch

+1-6
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ Change-Id: Iae734b5b4030205b7db6e8c841f747b6f6ae1a04
2929
mm/vmscan.c | 198 +++++++++++++++++++++++++++-------------------------
3030
1 file changed, 104 insertions(+), 94 deletions(-)
3131

32-
diff --git a/mm/vmscan.c b/mm/vmscan.c
33-
index 382dbe97329f..4e4331367db9 100644
3432
--- a/mm/vmscan.c
3533
+++ b/mm/vmscan.c
3634
@@ -2728,6 +2728,109 @@ enum scan_balance {
@@ -143,7 +141,7 @@ index 382dbe97329f..4e4331367db9 100644
143141
/*
144142
* Determine how aggressively the anon and file LRU lists should be
145143
* scanned.
146-
@@ -3197,109 +3300,16 @@ static void shrink_node(pg_data_t *pgdat, struct scan_control *sc)
144+
@@ -3197,109 +3300,16 @@ static void shrink_node(pg_data_t *pgdat
147145
unsigned long nr_reclaimed, nr_scanned;
148146
struct lruvec *target_lruvec;
149147
bool reclaimable = false;
@@ -254,6 +252,3 @@ index 382dbe97329f..4e4331367db9 100644
254252

255253
shrink_node_memcgs(pgdat, sc);
256254

257-
--
258-
2.17.1
259-

target/linux/generic/backport-6.0/103-Revert-include-linux-mm_inline.h-fold-__update_lru_s.patch

+2-7
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,9 @@ Change-Id: I6155c407d50199a43b179c7f45904d4b7c052118
3232
include/linux/mm_inline.h | 9 ++++++++-
3333
1 file changed, 8 insertions(+), 1 deletion(-)
3434

35-
diff --git a/include/linux/mm_inline.h b/include/linux/mm_inline.h
36-
index 7b25b53c474a..fb8aadb81cd6 100644
3735
--- a/include/linux/mm_inline.h
3836
+++ b/include/linux/mm_inline.h
39-
@@ -34,7 +34,7 @@ static inline int page_is_file_lru(struct page *page)
37+
@@ -34,7 +34,7 @@ static inline int page_is_file_lru(struc
4038
return folio_is_file_lru(page_folio(page));
4139
}
4240

@@ -45,7 +43,7 @@ index 7b25b53c474a..fb8aadb81cd6 100644
4543
enum lru_list lru, enum zone_type zid,
4644
long nr_pages)
4745
{
48-
@@ -43,6 +43,13 @@ static __always_inline void update_lru_size(struct lruvec *lruvec,
46+
@@ -43,6 +43,13 @@ static __always_inline void update_lru_s
4947
__mod_lruvec_state(lruvec, NR_LRU_BASE + lru, nr_pages);
5048
__mod_zone_page_state(&pgdat->node_zones[zid],
5149
NR_ZONE_LRU_BASE + lru, nr_pages);
@@ -59,6 +57,3 @@ index 7b25b53c474a..fb8aadb81cd6 100644
5957
#ifdef CONFIG_MEMCG
6058
mem_cgroup_update_lru_size(lruvec, lru, zid, nr_pages);
6159
#endif
62-
--
63-
2.17.1
64-

0 commit comments

Comments
 (0)