Skip to content

Commit df5165c

Browse files
Merge pull request #48 from torvalds/master
Sync update again
2 parents d040104 + 46b5132 commit df5165c

File tree

507 files changed

+5799
-2273
lines changed

Some content is hidden

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

507 files changed

+5799
-2273
lines changed

.mailmap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ Henrik Rydberg <rydberg@bitmath.org>
327327
Herbert Xu <herbert@gondor.apana.org.au>
328328
Huacai Chen <chenhuacai@kernel.org> <chenhc@lemote.com>
329329
Huacai Chen <chenhuacai@kernel.org> <chenhuacai@loongson.cn>
330+
Ignat Korchagin <ignat@linux.win> <ignat@cloudflare.com>
330331
Ike Panhc <ikepanhc@gmail.com> <ike.pan@canonical.com>
331332
J. Bruce Fields <bfields@fieldses.org> <bfields@redhat.com>
332333
J. Bruce Fields <bfields@fieldses.org> <bfields@citi.umich.edu>
@@ -586,6 +587,7 @@ Morten Welinder <terra@gnome.org>
586587
Morten Welinder <welinder@anemone.rentec.com>
587588
Morten Welinder <welinder@darter.rentec.com>
588589
Morten Welinder <welinder@troll.com>
590+
Muhammad Usama Anjum <usama.anjum@arm.com> <usama.anjum@collabora.com>
589591
Mukesh Ojha <quic_mojha@quicinc.com> <mojha@codeaurora.org>
590592
Muna Sinada <quic_msinada@quicinc.com> <msinada@codeaurora.org>
591593
Murali Nalajala <quic_mnalajal@quicinc.com> <mnalajal@codeaurora.org>

Documentation/core-api/dma-attributes.rst

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,33 @@ For architectures that require cache flushing for DMA coherence
149149
DMA_ATTR_MMIO will not perform any cache flushing. The address
150150
provided must never be mapped cacheable into the CPU.
151151

152-
DMA_ATTR_CPU_CACHE_CLEAN
153-
------------------------
154-
155-
This attribute indicates the CPU will not dirty any cacheline overlapping this
156-
DMA_FROM_DEVICE/DMA_BIDIRECTIONAL buffer while it is mapped. This allows
157-
multiple small buffers to safely share a cacheline without risk of data
158-
corruption, suppressing DMA debug warnings about overlapping mappings.
159-
All mappings sharing a cacheline should have this attribute.
152+
DMA_ATTR_DEBUGGING_IGNORE_CACHELINES
153+
------------------------------------
154+
155+
This attribute indicates that CPU cache lines may overlap for buffers mapped
156+
with DMA_FROM_DEVICE or DMA_BIDIRECTIONAL.
157+
158+
Such overlap may occur when callers map multiple small buffers that reside
159+
within the same cache line. In this case, callers must guarantee that the CPU
160+
will not dirty these cache lines after the mappings are established. When this
161+
condition is met, multiple buffers can safely share a cache line without risking
162+
data corruption.
163+
164+
All mappings that share a cache line must set this attribute to suppress DMA
165+
debug warnings about overlapping mappings.
166+
167+
DMA_ATTR_REQUIRE_COHERENT
168+
-------------------------
169+
170+
DMA mapping requests with the DMA_ATTR_REQUIRE_COHERENT fail on any
171+
system where SWIOTLB or cache management is required. This should only
172+
be used to support uAPI designs that require continuous HW DMA
173+
coherence with userspace processes, for example RDMA and DRM. At a
174+
minimum the memory being mapped must be userspace memory from
175+
pin_user_pages() or similar.
176+
177+
Drivers should consider using dma_mmap_pages() instead of this
178+
interface when building their uAPIs, when possible.
179+
180+
It must never be used in an in-kernel driver that only works with
181+
kernel memory.

Documentation/dev-tools/kunit/run_wrapper.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,8 @@ command line arguments:
336336
- ``--list_tests_attr``: If set, lists all tests that will be run and all of their
337337
attributes.
338338

339+
- ``--list_suites``: If set, lists all suites that will be run.
340+
339341
Command-line completion
340342
==============================
341343

Documentation/devicetree/bindings/mtd/st,spear600-smi.yaml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ description:
1919
Flash sub nodes describe the memory range and optional per-flash
2020
properties.
2121

22-
allOf:
23-
- $ref: mtd.yaml#
24-
2522
properties:
2623
compatible:
2724
const: st,spear600-smi
@@ -42,14 +39,29 @@ properties:
4239
$ref: /schemas/types.yaml#/definitions/uint32
4340
description: Functional clock rate of the SMI controller in Hz.
4441

45-
st,smi-fast-mode:
46-
type: boolean
47-
description: Indicates that the attached flash supports fast read mode.
42+
patternProperties:
43+
"^flash@.*$":
44+
$ref: /schemas/mtd/mtd.yaml#
45+
46+
properties:
47+
reg:
48+
maxItems: 1
49+
50+
st,smi-fast-mode:
51+
type: boolean
52+
description: Indicates that the attached flash supports fast read mode.
53+
54+
unevaluatedProperties: false
55+
56+
required:
57+
- reg
4858

4959
required:
5060
- compatible
5161
- reg
5262
- clock-rate
63+
- "#address-cells"
64+
- "#size-cells"
5365

5466
unevaluatedProperties: false
5567

@@ -64,7 +76,7 @@ examples:
6476
interrupts = <12>;
6577
clock-rate = <50000000>; /* 50 MHz */
6678
67-
flash@f8000000 {
79+
flash@fc000000 {
6880
reg = <0xfc000000 0x1000>;
6981
st,smi-fast-mode;
7082
};

Documentation/devicetree/bindings/regulator/regulator.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ properties:
168168
offset from voltage set to regulator.
169169

170170
regulator-uv-protection-microvolt:
171-
description: Set over under voltage protection limit. This is a limit where
171+
description: Set under voltage protection limit. This is a limit where
172172
hardware performs emergency shutdown. Zero can be passed to disable
173173
protection and value '1' indicates that protection should be enabled but
174174
limit setting can be omitted. Limit is given as microvolt offset from
@@ -182,7 +182,7 @@ properties:
182182
is given as microvolt offset from voltage set to regulator.
183183

184184
regulator-uv-warn-microvolt:
185-
description: Set over under voltage warning limit. This is a limit where
185+
description: Set under voltage warning limit. This is a limit where
186186
hardware is assumed still to be functional but approaching limit where
187187
it gets damaged. Recovery actions should be initiated. Zero can be passed
188188
to disable detection and value '1' indicates that detection should

Documentation/driver-api/driver-model/binding.rst

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,51 @@ of the driver is decremented. All symlinks between the two are removed.
9999
When a driver is removed, the list of devices that it supports is
100100
iterated over, and the driver's remove callback is called for each
101101
one. The device is removed from that list and the symlinks removed.
102+
103+
104+
Driver Override
105+
~~~~~~~~~~~~~~~
106+
107+
Userspace may override the standard matching by writing a driver name to
108+
a device's ``driver_override`` sysfs attribute. When set, only a driver
109+
whose name matches the override will be considered during binding. This
110+
bypasses all bus-specific matching (OF, ACPI, ID tables, etc.).
111+
112+
The override may be cleared by writing an empty string, which returns
113+
the device to standard matching rules. Writing to ``driver_override``
114+
does not automatically unbind the device from its current driver or
115+
make any attempt to load the specified driver.
116+
117+
Buses opt into this mechanism by setting the ``driver_override`` flag in
118+
their ``struct bus_type``::
119+
120+
const struct bus_type example_bus_type = {
121+
...
122+
.driver_override = true,
123+
};
124+
125+
When the flag is set, the driver core automatically creates the
126+
``driver_override`` sysfs attribute for every device on that bus.
127+
128+
The bus's ``match()`` callback should check the override before performing
129+
its own matching, using ``device_match_driver_override()``::
130+
131+
static int example_match(struct device *dev, const struct device_driver *drv)
132+
{
133+
int ret;
134+
135+
ret = device_match_driver_override(dev, drv);
136+
if (ret >= 0)
137+
return ret;
138+
139+
/* Fall through to bus-specific matching... */
140+
}
141+
142+
``device_match_driver_override()`` returns > 0 if the override matches
143+
the given driver, 0 if the override is set but does not match, or < 0 if
144+
no override is set at all.
145+
146+
Additional helpers are available:
147+
148+
- ``device_set_driver_override()`` - set or clear the override from kernel code.
149+
- ``device_has_driver_override()`` - check whether an override is set.

Documentation/netlink/specs/net_shaper.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ operations:
247247
flags: [admin-perm]
248248

249249
do:
250-
pre: net-shaper-nl-pre-doit
251-
post: net-shaper-nl-post-doit
250+
pre: net-shaper-nl-pre-doit-write
251+
post: net-shaper-nl-post-doit-write
252252
request:
253253
attributes:
254254
- ifindex
@@ -278,8 +278,8 @@ operations:
278278
flags: [admin-perm]
279279

280280
do:
281-
pre: net-shaper-nl-pre-doit
282-
post: net-shaper-nl-post-doit
281+
pre: net-shaper-nl-pre-doit-write
282+
post: net-shaper-nl-post-doit-write
283283
request:
284284
attributes: *ns-binding
285285

@@ -309,8 +309,8 @@ operations:
309309
flags: [admin-perm]
310310

311311
do:
312-
pre: net-shaper-nl-pre-doit
313-
post: net-shaper-nl-post-doit
312+
pre: net-shaper-nl-pre-doit-write
313+
post: net-shaper-nl-post-doit-write
314314
request:
315315
attributes:
316316
- ifindex

Documentation/userspace-api/landlock.rst

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Landlock: unprivileged access control
88
=====================================
99

1010
:Author: Mickaël Salaün
11-
:Date: January 2026
11+
:Date: March 2026
1212

1313
The goal of Landlock is to enable restriction of ambient rights (e.g. global
1414
filesystem or network access) for a set of processes. Because Landlock
@@ -197,12 +197,27 @@ similar backwards compatibility check is needed for the restrict flags
197197

198198
.. code-block:: c
199199
200-
__u32 restrict_flags = LANDLOCK_RESTRICT_SELF_LOG_NEW_EXEC_ON;
201-
if (abi < 7) {
202-
/* Clear logging flags unsupported before ABI 7. */
200+
__u32 restrict_flags =
201+
LANDLOCK_RESTRICT_SELF_LOG_NEW_EXEC_ON |
202+
LANDLOCK_RESTRICT_SELF_TSYNC;
203+
switch (abi) {
204+
case 1 ... 6:
205+
/* Removes logging flags for ABI < 7 */
203206
restrict_flags &= ~(LANDLOCK_RESTRICT_SELF_LOG_SAME_EXEC_OFF |
204207
LANDLOCK_RESTRICT_SELF_LOG_NEW_EXEC_ON |
205208
LANDLOCK_RESTRICT_SELF_LOG_SUBDOMAINS_OFF);
209+
__attribute__((fallthrough));
210+
case 7:
211+
/*
212+
* Removes multithreaded enforcement flag for ABI < 8
213+
*
214+
* WARNING: Without this flag, calling landlock_restrict_self(2) is
215+
* only equivalent if the calling process is single-threaded. Below
216+
* ABI v8 (and as of ABI v8, when not using this flag), a Landlock
217+
* policy would only be enforced for the calling thread and its
218+
* children (and not for all threads, including parents and siblings).
219+
*/
220+
restrict_flags &= ~LANDLOCK_RESTRICT_SELF_TSYNC;
206221
}
207222
208223
The next step is to restrict the current thread from gaining more privileges

MAINTAINERS

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3986,7 +3986,7 @@ F: drivers/hwmon/asus-ec-sensors.c
39863986
ASUS NOTEBOOKS AND EEEPC ACPI/WMI EXTRAS DRIVERS
39873987
M: Corentin Chary <corentin.chary@gmail.com>
39883988
M: Luke D. Jones <luke@ljones.dev>
3989-
M: Denis Benato <benato.denis96@gmail.com>
3989+
M: Denis Benato <denis.benato@linux.dev>
39903990
L: platform-driver-x86@vger.kernel.org
39913991
S: Maintained
39923992
W: https://asus-linux.org/
@@ -4022,7 +4022,7 @@ F: drivers/hwmon/asus_wmi_sensors.c
40224022
ASYMMETRIC KEYS
40234023
M: David Howells <dhowells@redhat.com>
40244024
M: Lukas Wunner <lukas@wunner.de>
4025-
M: Ignat Korchagin <ignat@cloudflare.com>
4025+
M: Ignat Korchagin <ignat@linux.win>
40264026
L: keyrings@vger.kernel.org
40274027
L: linux-crypto@vger.kernel.org
40284028
S: Maintained
@@ -4035,7 +4035,7 @@ F: include/linux/verification.h
40354035

40364036
ASYMMETRIC KEYS - ECDSA
40374037
M: Lukas Wunner <lukas@wunner.de>
4038-
M: Ignat Korchagin <ignat@cloudflare.com>
4038+
M: Ignat Korchagin <ignat@linux.win>
40394039
R: Stefan Berger <stefanb@linux.ibm.com>
40404040
L: linux-crypto@vger.kernel.org
40414041
S: Maintained
@@ -4045,14 +4045,14 @@ F: include/crypto/ecc*
40454045

40464046
ASYMMETRIC KEYS - GOST
40474047
M: Lukas Wunner <lukas@wunner.de>
4048-
M: Ignat Korchagin <ignat@cloudflare.com>
4048+
M: Ignat Korchagin <ignat@linux.win>
40494049
L: linux-crypto@vger.kernel.org
40504050
S: Odd fixes
40514051
F: crypto/ecrdsa*
40524052

40534053
ASYMMETRIC KEYS - RSA
40544054
M: Lukas Wunner <lukas@wunner.de>
4055-
M: Ignat Korchagin <ignat@cloudflare.com>
4055+
M: Ignat Korchagin <ignat@linux.win>
40564056
L: linux-crypto@vger.kernel.org
40574057
S: Maintained
40584058
F: crypto/rsa*
@@ -7998,7 +7998,9 @@ F: Documentation/devicetree/bindings/display/himax,hx8357.yaml
79987998
F: drivers/gpu/drm/tiny/hx8357d.c
79997999

80008000
DRM DRIVER FOR HYPERV SYNTHETIC VIDEO DEVICE
8001-
M: Deepak Rawat <drawat.floss@gmail.com>
8001+
M: Dexuan Cui <decui@microsoft.com>
8002+
M: Long Li <longli@microsoft.com>
8003+
M: Saurabh Sengar <ssengar@linux.microsoft.com>
80028004
L: linux-hyperv@vger.kernel.org
80038005
L: dri-devel@lists.freedesktop.org
80048006
S: Maintained
@@ -24900,9 +24902,9 @@ F: drivers/clk/spear/
2490024902
F: drivers/pinctrl/spear/
2490124903

2490224904
SPI NOR SUBSYSTEM
24903-
M: Tudor Ambarus <tudor.ambarus@linaro.org>
2490424905
M: Pratyush Yadav <pratyush@kernel.org>
2490524906
M: Michael Walle <mwalle@kernel.org>
24907+
R: Takahiro Kuwano <takahiro.kuwano@infineon.com>
2490624908
L: linux-mtd@lists.infradead.org
2490724909
S: Maintained
2490824910
W: http://www.linux-mtd.infradead.org/

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VERSION = 7
33
PATCHLEVEL = 0
44
SUBLEVEL = 0
5-
EXTRAVERSION = -rc4
5+
EXTRAVERSION = -rc5
66
NAME = Baby Opossum Posse
77

88
# *DOCUMENTATION*
@@ -1654,7 +1654,7 @@ CLEAN_FILES += vmlinux.symvers modules-only.symvers \
16541654
modules.builtin.ranges vmlinux.o.map vmlinux.unstripped \
16551655
compile_commands.json rust/test \
16561656
rust-project.json .vmlinux.objs .vmlinux.export.c \
1657-
.builtin-dtbs-list .builtin-dtb.S
1657+
.builtin-dtbs-list .builtin-dtbs.S
16581658

16591659
# Directories & files removed with 'make mrproper'
16601660
MRPROPER_FILES += include/config include/generated \

0 commit comments

Comments
 (0)