Skip to content

Commit 771a1ac

Browse files
committed
Merge Linux v6.17.5
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2 parents b6e4220 + 99efbd4 commit 771a1ac

File tree

208 files changed

+2355
-1221
lines changed

Some content is hidden

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

208 files changed

+2355
-1221
lines changed

Documentation/arch/arm64/silicon-errata.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,8 @@ stable kernels.
200200
+----------------+-----------------+-----------------+-----------------------------+
201201
| ARM | Neoverse-V3 | #3312417 | ARM64_ERRATUM_3194386 |
202202
+----------------+-----------------+-----------------+-----------------------------+
203+
| ARM | Neoverse-V3AE | #3312417 | ARM64_ERRATUM_3194386 |
204+
+----------------+-----------------+-----------------+-----------------------------+
203205
| ARM | MMU-500 | #841119,826419 | ARM_SMMU_MMU_500_CPRE_ERRATA|
204206
| | | #562869,1047329 | |
205207
+----------------+-----------------+-----------------+-----------------------------+

Documentation/networking/seg6-sysctl.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ seg6_require_hmac - INTEGER
2525

2626
Default is 0.
2727

28+
/proc/sys/net/ipv6/seg6_* variables:
29+
====================================
30+
2831
seg6_flowlabel - INTEGER
2932
Controls the behaviour of computing the flowlabel of outer
3033
IPv6 header in case of SR T.encaps

Documentation/sphinx/kernel_feat.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,11 @@
4040
from docutils import nodes, statemachine
4141
from docutils.statemachine import ViewList
4242
from docutils.parsers.rst import directives, Directive
43-
from docutils.utils.error_reporting import ErrorString
4443
from sphinx.util.docutils import switch_source_input
4544

45+
def ErrorString(exc): # Shamelessly stolen from docutils
46+
return f'{exc.__class__.__name}: {exc}'
47+
4648
__version__ = '1.0'
4749

4850
def setup(app):

Documentation/sphinx/kernel_include.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,15 @@
3535
import os.path
3636

3737
from docutils import io, nodes, statemachine
38-
from docutils.utils.error_reporting import SafeString, ErrorString
3938
from docutils.parsers.rst import directives
4039
from docutils.parsers.rst.directives.body import CodeBlock, NumberLines
4140
from docutils.parsers.rst.directives.misc import Include
4241

4342
__version__ = '1.0'
4443

44+
def ErrorString(exc): # Shamelessly stolen from docutils
45+
return f'{exc.__class__.__name}: {exc}'
46+
4547
# ==============================================================================
4648
def setup(app):
4749
# ==============================================================================
@@ -112,7 +114,7 @@ def _run(self):
112114
raise self.severe('Problems with "%s" directive path:\n'
113115
'Cannot encode input file path "%s" '
114116
'(wrong locale?).' %
115-
(self.name, SafeString(path)))
117+
(self.name, path))
116118
except IOError as error:
117119
raise self.severe('Problems with "%s" directive path:\n%s.' %
118120
(self.name, ErrorString(error)))

Documentation/sphinx/maintainers_include.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
import os.path
2323

2424
from docutils import statemachine
25-
from docutils.utils.error_reporting import ErrorString
2625
from docutils.parsers.rst import Directive
2726
from docutils.parsers.rst.directives.misc import Include
2827

28+
def ErrorString(exc): # Shamelessly stolen from docutils
29+
return f'{exc.__class__.__name}: {exc}'
30+
2931
__version__ = '1.0'
3032

3133
def setup(app):

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 = 17
4-
SUBLEVEL = 4
4+
SUBLEVEL = 5
55
EXTRAVERSION =
66
NAME = Baby Opossum Posse
77

arch/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -917,6 +917,7 @@ config HAVE_CFI_ICALL_NORMALIZE_INTEGERS_RUSTC
917917
def_bool y
918918
depends on HAVE_CFI_ICALL_NORMALIZE_INTEGERS_CLANG
919919
depends on RUSTC_VERSION >= 107900
920+
depends on ARM64 || X86_64
920921
# With GCOV/KASAN we need this fix: https://github.com/rust-lang/rust/pull/129373
921922
depends on (RUSTC_LLVM_VERSION >= 190103 && RUSTC_VERSION >= 108200) || \
922923
(!GCOV_KERNEL && !KASAN_GENERIC && !KASAN_SW_TAGS)

arch/arm64/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,6 +1138,7 @@ config ARM64_ERRATUM_3194386
11381138
* ARM Neoverse-V1 erratum 3324341
11391139
* ARM Neoverse V2 erratum 3324336
11401140
* ARM Neoverse-V3 erratum 3312417
1141+
* ARM Neoverse-V3AE erratum 3312417
11411142

11421143
On affected cores "MSR SSBS, #0" instructions may not affect
11431144
subsequent speculative instructions, which may permit unexepected

arch/arm64/include/asm/cputype.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
#define ARM_CPU_PART_NEOVERSE_V2 0xD4F
9494
#define ARM_CPU_PART_CORTEX_A720 0xD81
9595
#define ARM_CPU_PART_CORTEX_X4 0xD82
96+
#define ARM_CPU_PART_NEOVERSE_V3AE 0xD83
9697
#define ARM_CPU_PART_NEOVERSE_V3 0xD84
9798
#define ARM_CPU_PART_CORTEX_X925 0xD85
9899
#define ARM_CPU_PART_CORTEX_A725 0xD87
@@ -182,6 +183,7 @@
182183
#define MIDR_NEOVERSE_V2 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_V2)
183184
#define MIDR_CORTEX_A720 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A720)
184185
#define MIDR_CORTEX_X4 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X4)
186+
#define MIDR_NEOVERSE_V3AE MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_V3AE)
185187
#define MIDR_NEOVERSE_V3 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_V3)
186188
#define MIDR_CORTEX_X925 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X925)
187189
#define MIDR_CORTEX_A725 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A725)

arch/arm64/include/asm/sysreg.h

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1231,10 +1231,19 @@
12311231
__val; \
12321232
})
12331233

1234+
/*
1235+
* The "Z" constraint combined with the "%x0" template should be enough
1236+
* to force XZR generation if (v) is a constant 0 value but LLVM does not
1237+
* yet understand that modifier/constraint combo so a conditional is required
1238+
* to nudge the compiler into using XZR as a source for a 0 constant value.
1239+
*/
12341240
#define write_sysreg_s(v, r) do { \
12351241
u64 __val = (u64)(v); \
12361242
u32 __maybe_unused __check_r = (u32)(r); \
1237-
asm volatile(__msr_s(r, "%x0") : : "rZ" (__val)); \
1243+
if (__builtin_constant_p(__val) && __val == 0) \
1244+
asm volatile(__msr_s(r, "xzr")); \
1245+
else \
1246+
asm volatile(__msr_s(r, "%x0") : : "r" (__val)); \
12381247
} while (0)
12391248

12401249
/*

0 commit comments

Comments
 (0)