Skip to content

Commit 1bb297d

Browse files
committed
Merge tag 'v6.6.115' into 6.6-main
This is the 6.6.115 stable release # -----BEGIN PGP SIGNATURE----- # # iQIzBAABCgAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmkCEbMACgkQONu9yGCS # aT650A//U4TRG3FnuODXqk4At5G1c21YBlB8vUewz2jHmOHkOLjaliyxn9RlVNRS # OtahlKt8mXVqjZI4Z4uAmC+NR+aVV8EH1gVstEoXWVxeQ668fP3HRRB28RyUUkCh # 5pWb+cBCNxGJzYFScy6yI2s74loM+Lb6KUPS7vpUy99OtuILmLpjy+vP9mEc0BtV # T5FDxMIdxLlNWbvqvUppyjPYSrXDG+sILA9+S28GHB3RfOi8PNnWPYeyY/SB8da3 # 4CkP9f2lgYBfzxu2jCCvjsWdv9ykPFDwzp6XXJEFjHt8amYzQ8dPElZsXK5oQfH9 # L7MzSClKjDaZUqJbxf4mEZA5tb7icDd5pvSl7y3nYbzNZBzlNjPhPGBXDiWYgApY # hkLjC9E1RqL1emo4pHwPCmAcajMqkaXXkI43rnbTljKdTljytrjusZmE4UyYK52z # 5ALP6juMN0Mn080ha6O8UwPOC0inIrBGGjG6AOqYi1uXpb8eWpD0Bu4gl4UryMxL # U9FZfsT0a96c5lVappBZMEEkaPI1TmDjXfn/Pz6LIKFZXFYC6gYPoICZ8H/yiV6g # YYpDHc3G//l4t0Bwe5R0Yn/j2XkTY0rogapxvt6T7R0fgHpEneUzbGe95Z1S/ebS # l1/fp74M7EH5wqYPaeLx74PaquJlHm7EpgpMAiNdxMH7sgzZCmk= # =H+Is # -----END PGP SIGNATURE----- # gpg: Signature made Wed Oct 29 14:08:03 2025 CET # gpg: using RSA key 647F28654894E3BD457199BE38DBBDC86092693E # gpg: Can't check signature: No public key
2 parents 803031a + e5bbb12 commit 1bb297d

File tree

99 files changed

+922
-603
lines changed

Some content is hidden

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

99 files changed

+922
-603
lines changed

Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,21 @@ required:
8585
- reg
8686
- "#address-cells"
8787
- "#size-cells"
88-
- dma-ranges
8988
- ranges
9089
- clocks
9190
- clock-names
9291
- interrupts
9392
- power-domains
9493

94+
allOf:
95+
- if:
96+
properties:
97+
compatible:
98+
const: fsl,imx8mp-dwc3
99+
then:
100+
required:
101+
- dma-ranges
102+
95103
additionalProperties: false
96104

97105
examples:

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22
VERSION = 6
33
PATCHLEVEL = 6
4-
SUBLEVEL = 114
4+
SUBLEVEL = 115
55
EXTRAVERSION =
66
NAME = Pinguïn Aangedreven
77

@@ -1358,11 +1358,11 @@ endif
13581358

13591359
tools/: FORCE
13601360
$(Q)mkdir -p $(objtree)/tools
1361-
$(Q)$(MAKE) LDFLAGS= O=$(abspath $(objtree)) subdir=tools -C $(srctree)/tools/
1361+
$(Q)$(MAKE) O=$(abspath $(objtree)) subdir=tools -C $(srctree)/tools/
13621362

13631363
tools/%: FORCE
13641364
$(Q)mkdir -p $(objtree)/tools
1365-
$(Q)$(MAKE) LDFLAGS= O=$(abspath $(objtree)) subdir=tools -C $(srctree)/tools/ $*
1365+
$(Q)$(MAKE) O=$(abspath $(objtree)) subdir=tools -C $(srctree)/tools/ $*
13661366

13671367
# ---------------------------------------------------------------------------
13681368
# Kernel selftest

arch/arm64/include/asm/pgtable.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,8 @@ static inline pmd_t set_pmd_bit(pmd_t pmd, pgprot_t prot)
184184
static inline pte_t pte_mkwrite_novma(pte_t pte)
185185
{
186186
pte = set_pte_bit(pte, __pgprot(PTE_WRITE));
187-
pte = clear_pte_bit(pte, __pgprot(PTE_RDONLY));
187+
if (pte_sw_dirty(pte))
188+
pte = clear_pte_bit(pte, __pgprot(PTE_RDONLY));
188189
return pte;
189190
}
190191

arch/m68k/include/asm/bitops.h

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -329,12 +329,12 @@ arch___test_and_change_bit(unsigned long nr, volatile unsigned long *addr)
329329
#include <asm-generic/bitops/ffz.h>
330330
#else
331331

332-
static inline int find_first_zero_bit(const unsigned long *vaddr,
333-
unsigned size)
332+
static inline unsigned long find_first_zero_bit(const unsigned long *vaddr,
333+
unsigned long size)
334334
{
335335
const unsigned long *p = vaddr;
336-
int res = 32;
337-
unsigned int words;
336+
unsigned long res = 32;
337+
unsigned long words;
338338
unsigned long num;
339339

340340
if (!size)
@@ -355,8 +355,9 @@ static inline int find_first_zero_bit(const unsigned long *vaddr,
355355
}
356356
#define find_first_zero_bit find_first_zero_bit
357357

358-
static inline int find_next_zero_bit(const unsigned long *vaddr, int size,
359-
int offset)
358+
static inline unsigned long find_next_zero_bit(const unsigned long *vaddr,
359+
unsigned long size,
360+
unsigned long offset)
360361
{
361362
const unsigned long *p = vaddr + (offset >> 5);
362363
int bit = offset & 31UL, res;
@@ -385,11 +386,12 @@ static inline int find_next_zero_bit(const unsigned long *vaddr, int size,
385386
}
386387
#define find_next_zero_bit find_next_zero_bit
387388

388-
static inline int find_first_bit(const unsigned long *vaddr, unsigned size)
389+
static inline unsigned long find_first_bit(const unsigned long *vaddr,
390+
unsigned long size)
389391
{
390392
const unsigned long *p = vaddr;
391-
int res = 32;
392-
unsigned int words;
393+
unsigned long res = 32;
394+
unsigned long words;
393395
unsigned long num;
394396

395397
if (!size)
@@ -410,8 +412,9 @@ static inline int find_first_bit(const unsigned long *vaddr, unsigned size)
410412
}
411413
#define find_first_bit find_first_bit
412414

413-
static inline int find_next_bit(const unsigned long *vaddr, int size,
414-
int offset)
415+
static inline unsigned long find_next_bit(const unsigned long *vaddr,
416+
unsigned long size,
417+
unsigned long offset)
415418
{
416419
const unsigned long *p = vaddr + (offset >> 5);
417420
int bit = offset & 31UL, res;

arch/mips/mti-malta/malta-setup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ static struct resource standard_io_resources[] = {
4747
.name = "keyboard",
4848
.start = 0x60,
4949
.end = 0x6f,
50-
.flags = IORESOURCE_IO | IORESOURCE_BUSY
50+
.flags = IORESOURCE_IO
5151
},
5252
{
5353
.name = "dma page reg",

arch/nios2/kernel/setup.c

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,20 @@ static void __init find_limits(unsigned long *min, unsigned long *max_low,
147147
*max_high = PFN_DOWN(memblock_end_of_DRAM());
148148
}
149149

150+
static void __init adjust_lowmem_bounds(void)
151+
{
152+
phys_addr_t block_start, block_end;
153+
u64 i;
154+
phys_addr_t memblock_limit = 0;
155+
156+
for_each_mem_range(i, &block_start, &block_end) {
157+
if (block_end > memblock_limit)
158+
memblock_limit = block_end;
159+
}
160+
161+
memblock_set_current_limit(memblock_limit);
162+
}
163+
150164
void __init setup_arch(char **cmdline_p)
151165
{
152166
console_verbose();
@@ -160,6 +174,7 @@ void __init setup_arch(char **cmdline_p)
160174
/* Keep a copy of command line */
161175
*cmdline_p = boot_command_line;
162176

177+
adjust_lowmem_bounds();
163178
find_limits(&min_low_pfn, &max_low_pfn, &max_pfn);
164179
max_mapnr = max_low_pfn;
165180

arch/powerpc/include/asm/pgtable.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,6 @@ struct mm_struct;
2020
#include <asm/nohash/pgtable.h>
2121
#endif /* !CONFIG_PPC_BOOK3S */
2222

23-
/*
24-
* Protection used for kernel text. We want the debuggers to be able to
25-
* set breakpoints anywhere, so don't write protect the kernel text
26-
* on platforms where such control is possible.
27-
*/
28-
#if defined(CONFIG_KGDB) || defined(CONFIG_XMON) || defined(CONFIG_BDI_SWITCH) || \
29-
defined(CONFIG_KPROBES) || defined(CONFIG_DYNAMIC_FTRACE)
30-
#define PAGE_KERNEL_TEXT PAGE_KERNEL_X
31-
#else
32-
#define PAGE_KERNEL_TEXT PAGE_KERNEL_ROX
33-
#endif
34-
3523
/* Make modules code happy. We don't set RO yet */
3624
#define PAGE_KERNEL_EXEC PAGE_KERNEL_X
3725

arch/powerpc/mm/book3s32/mmu.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ void mmu_mark_initmem_nx(void)
204204

205205
for (i = 0; i < nb - 1 && base < top;) {
206206
size = bat_block_size(base, top);
207-
setibat(i++, PAGE_OFFSET + base, base, size, PAGE_KERNEL_TEXT);
207+
setibat(i++, PAGE_OFFSET + base, base, size, PAGE_KERNEL_X);
208208
base += size;
209209
}
210210
if (base < top) {
@@ -215,7 +215,7 @@ void mmu_mark_initmem_nx(void)
215215
pr_warn("Some RW data is getting mapped X. "
216216
"Adjust CONFIG_DATA_SHIFT to avoid that.\n");
217217
}
218-
setibat(i++, PAGE_OFFSET + base, base, size, PAGE_KERNEL_TEXT);
218+
setibat(i++, PAGE_OFFSET + base, base, size, PAGE_KERNEL_X);
219219
base += size;
220220
}
221221
for (; i < nb; i++)

arch/powerpc/mm/pgtable_32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ static void __init __mapin_ram_chunk(unsigned long offset, unsigned long top)
109109
p = memstart_addr + s;
110110
for (; s < top; s += PAGE_SIZE) {
111111
ktext = core_kernel_text(v);
112-
map_kernel_page(v, p, ktext ? PAGE_KERNEL_TEXT : PAGE_KERNEL);
112+
map_kernel_page(v, p, ktext ? PAGE_KERNEL_X : PAGE_KERNEL);
113113
v += PAGE_SIZE;
114114
p += PAGE_SIZE;
115115
}

arch/riscv/include/asm/pgtable.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,8 @@ static inline pgprot_t pgprot_writecombine(pgprot_t _prot)
618618
return __pgprot(prot);
619619
}
620620

621+
#define pgprot_dmacoherent pgprot_writecombine
622+
621623
/*
622624
* THP functions
623625
*/

0 commit comments

Comments
 (0)