Skip to content

Commit 2dca475

Browse files
committed
Merge remote-tracking branch 'stable/linux-6.12.y' into rpi-6.12.y
2 parents 27c1f66 + fbad404 commit 2dca475

File tree

304 files changed

+5903
-2737
lines changed

Some content is hidden

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

304 files changed

+5903
-2737
lines changed

Documentation/ABI/testing/sysfs-devices-system-cpu

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,7 @@ What: /sys/devices/system/cpu/vulnerabilities
523523
/sys/devices/system/cpu/vulnerabilities/spectre_v1
524524
/sys/devices/system/cpu/vulnerabilities/spectre_v2
525525
/sys/devices/system/cpu/vulnerabilities/srbds
526+
/sys/devices/system/cpu/vulnerabilities/tsa
526527
/sys/devices/system/cpu/vulnerabilities/tsx_async_abort
527528
Date: January 2018
528529
Contact: Linux kernel mailing list <[email protected]>

Documentation/ABI/testing/sysfs-driver-ufs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ Description: This file shows the thin provisioning type. This is one of
711711

712712
The file is read only.
713713

714-
What: /sys/class/scsi_device/*/device/unit_descriptor/physical_memory_resourse_count
714+
What: /sys/class/scsi_device/*/device/unit_descriptor/physical_memory_resource_count
715715
Date: February 2018
716716
Contact: Stanislav Nijnikov <[email protected]>
717717
Description: This file shows the total physical memory resources. This is

Documentation/admin-guide/hw-vuln/processor_mmio_stale_data.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,7 @@ This is achieved by using the otherwise unused and obsolete VERW instruction in
157157
combination with a microcode update. The microcode clears the affected CPU
158158
buffers when the VERW instruction is executed.
159159

160-
Kernel reuses the MDS function to invoke the buffer clearing:
161-
162-
mds_clear_cpu_buffers()
160+
Kernel does the buffer clearing with x86_clear_cpu_buffers().
163161

164162
On MDS affected CPUs, the kernel already invokes CPU buffer clear on
165163
kernel/userspace, hypervisor/guest and C-state (idle) transitions. No

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6993,6 +6993,19 @@
69936993
having this key zero'ed is acceptable. E.g. in testing
69946994
scenarios.
69956995

6996+
tsa= [X86] Control mitigation for Transient Scheduler
6997+
Attacks on AMD CPUs. Search the following in your
6998+
favourite search engine for more details:
6999+
7000+
"Technical guidance for mitigating transient scheduler
7001+
attacks".
7002+
7003+
off - disable the mitigation
7004+
on - enable the mitigation (default)
7005+
user - mitigate only user/kernel transitions
7006+
vm - mitigate only guest/host transitions
7007+
7008+
69967009
tsc= Disable clocksource stability checks for TSC.
69977010
Format: <string>
69987011
[x86] reliable: mark tsc clocksource as reliable, this

Documentation/arch/x86/mds.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ enters a C-state.
9393

9494
The kernel provides a function to invoke the buffer clearing:
9595

96-
mds_clear_cpu_buffers()
96+
x86_clear_cpu_buffers()
9797

9898
Also macro CLEAR_CPU_BUFFERS can be used in ASM late in exit-to-user path.
9999
Other than CFLAGS.ZF, this macro doesn't clobber any registers.
@@ -185,9 +185,9 @@ Mitigation points
185185
idle clearing would be a window dressing exercise and is therefore not
186186
activated.
187187

188-
The invocation is controlled by the static key mds_idle_clear which is
189-
switched depending on the chosen mitigation mode and the SMT state of
190-
the system.
188+
The invocation is controlled by the static key cpu_buf_idle_clear which is
189+
switched depending on the chosen mitigation mode and the SMT state of the
190+
system.
191191

192192
The buffer clear is only invoked before entering the C-State to prevent
193193
that stale data from the idling CPU from spilling to the Hyper-Thread

Documentation/core-api/symbol-namespaces.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ kernel. As of today, modules that make use of symbols exported into namespaces,
2828
are required to import the namespace. Otherwise the kernel will, depending on
2929
its configuration, reject loading the module or warn about a missing import.
3030

31+
Additionally, it is possible to put symbols into a module namespace, strictly
32+
limiting which modules are allowed to use these symbols.
33+
3134
2. How to define Symbol Namespaces
3235
==================================
3336

@@ -84,6 +87,22 @@ unit as preprocessor statement. The above example would then read::
8487
within the corresponding compilation unit before any EXPORT_SYMBOL macro is
8588
used.
8689

90+
2.3 Using the EXPORT_SYMBOL_GPL_FOR_MODULES() macro
91+
===================================================
92+
93+
Symbols exported using this macro are put into a module namespace. This
94+
namespace cannot be imported.
95+
96+
The macro takes a comma separated list of module names, allowing only those
97+
modules to access this symbol. Simple tail-globs are supported.
98+
99+
For example:
100+
101+
EXPORT_SYMBOL_GPL_FOR_MODULES(preempt_notifier_inc, "kvm,kvm-*")
102+
103+
will limit usage of this symbol to modules whoes name matches the given
104+
patterns.
105+
87106
3. How to use Symbols exported in Namespaces
88107
============================================
89108

@@ -155,3 +174,6 @@ in-tree modules::
155174
You can also run nsdeps for external module builds. A typical usage is::
156175

157176
$ make -C <path_to_kernel_src> M=$PWD nsdeps
177+
178+
Note: it will happily generate an import statement for the module namespace;
179+
which will not work and generates build and runtime failures.

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

arch/arm64/boot/dts/apple/t8103-jxxx.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
*/
7272
&port00 {
7373
bus-range = <1 1>;
74-
wifi0: network@0,0 {
74+
wifi0: wifi@0,0 {
7575
compatible = "pci14e4,4425";
7676
reg = <0x10000 0x0 0x0 0x0 0x0>;
7777
/* To be filled by the loader */

0 commit comments

Comments
 (0)