Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit fe36488

Browse files
committed
Merge tag 'v6.11.4' into 6.11
This is the 6.11.4 stable release
2 parents 9751005 + 17365d6 commit fe36488

266 files changed

Lines changed: 5943 additions & 4521 deletions

File tree

Some content is hidden

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

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22
VERSION = 6
33
PATCHLEVEL = 11
4-
SUBLEVEL = 3
4+
SUBLEVEL = 4
55
EXTRAVERSION =
66
NAME = Baby Opossum Posse
77

arch/loongarch/pci/acpi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root)
225225
if (bus) {
226226
memcpy(bus->sysdata, info->cfg, sizeof(struct pci_config_window));
227227
kfree(info);
228+
kfree(root_ops);
228229
} else {
229230
struct pci_bus *child;
230231

arch/riscv/include/asm/sparsemem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#ifdef CONFIG_64BIT
88
#define MAX_PHYSMEM_BITS 56
99
#else
10-
#define MAX_PHYSMEM_BITS 34
10+
#define MAX_PHYSMEM_BITS 32
1111
#endif /* CONFIG_64BIT */
1212
#define SECTION_SIZE_BITS 27
1313
#endif /* CONFIG_SPARSEMEM */

arch/riscv/include/asm/string.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ extern asmlinkage void *__memcpy(void *, const void *, size_t);
1919
extern asmlinkage void *memmove(void *, const void *, size_t);
2020
extern asmlinkage void *__memmove(void *, const void *, size_t);
2121

22+
#if !(defined(CONFIG_KASAN_GENERIC) || defined(CONFIG_KASAN_SW_TAGS))
2223
#define __HAVE_ARCH_STRCMP
2324
extern asmlinkage int strcmp(const char *cs, const char *ct);
2425

@@ -27,6 +28,7 @@ extern asmlinkage __kernel_size_t strlen(const char *);
2728

2829
#define __HAVE_ARCH_STRNCMP
2930
extern asmlinkage int strncmp(const char *cs, const char *ct, size_t count);
31+
#endif
3032

3133
/* For those files which don't want to check by kasan. */
3234
#if defined(CONFIG_KASAN) && !defined(__SANITIZE_ADDRESS__)

arch/riscv/kernel/elf_kexec.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,12 @@ int arch_kexec_apply_relocations_add(struct purgatory_info *pi,
451451
*(u32 *)loc = CLEAN_IMM(CJTYPE, *(u32 *)loc) |
452452
ENCODE_CJTYPE_IMM(val - addr);
453453
break;
454+
case R_RISCV_ADD16:
455+
*(u16 *)loc += val;
456+
break;
457+
case R_RISCV_SUB16:
458+
*(u16 *)loc -= val;
459+
break;
454460
case R_RISCV_ADD32:
455461
*(u32 *)loc += val;
456462
break;

arch/riscv/kernel/entry.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ SYM_CODE_START(ret_from_fork)
239239
jalr s0
240240
1:
241241
move a0, sp /* pt_regs */
242-
la ra, ret_from_exception
243-
tail syscall_exit_to_user_mode
242+
call syscall_exit_to_user_mode
243+
j ret_from_exception
244244
SYM_CODE_END(ret_from_fork)
245245

246246
#ifdef CONFIG_IRQ_STACKS

arch/riscv/kernel/riscv_ksyms.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
EXPORT_SYMBOL(memset);
1313
EXPORT_SYMBOL(memcpy);
1414
EXPORT_SYMBOL(memmove);
15-
EXPORT_SYMBOL(strcmp);
16-
EXPORT_SYMBOL(strlen);
17-
EXPORT_SYMBOL(strncmp);
1815
EXPORT_SYMBOL(__memset);
1916
EXPORT_SYMBOL(__memcpy);
2017
EXPORT_SYMBOL(__memmove);

arch/riscv/lib/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ lib-y += delay.o
33
lib-y += memcpy.o
44
lib-y += memset.o
55
lib-y += memmove.o
6+
ifeq ($(CONFIG_KASAN_GENERIC)$(CONFIG_KASAN_SW_TAGS),)
67
lib-y += strcmp.o
78
lib-y += strlen.o
89
lib-y += strncmp.o
10+
endif
911
lib-y += csum.o
1012
ifeq ($(CONFIG_MMU), y)
1113
lib-$(CONFIG_RISCV_ISA_V) += uaccess_vector.o

arch/riscv/lib/strcmp.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,4 @@ strcmp_zbb:
120120
.option pop
121121
#endif
122122
SYM_FUNC_END(strcmp)
123+
EXPORT_SYMBOL(strcmp)

arch/riscv/lib/strlen.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,4 @@ strlen_zbb:
131131
#endif
132132
SYM_FUNC_END(strlen)
133133
SYM_FUNC_ALIAS(__pi_strlen, strlen)
134+
EXPORT_SYMBOL(strlen)

0 commit comments

Comments
 (0)