Skip to content

Commit 87bbddb

Browse files
committed
Merge remote-tracking branch 'linux-pm/linux-next' into sound/upstream-20250619
2 parents 1504a42 + 7ff27ee commit 87bbddb

326 files changed

Lines changed: 2470 additions & 1388 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.

.mailmap

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,9 @@ Krzysztof Wilczyński <kwilczynski@kernel.org> <krzysztof.wilczynski@linux.com>
426426
Krzysztof Wilczyński <kwilczynski@kernel.org> <kw@linux.com>
427427
Kshitiz Godara <quic_kgodara@quicinc.com> <kgodara@codeaurora.org>
428428
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
429+
Kuniyuki Iwashima <kuniyu@google.com> <kuniyu@amazon.com>
430+
Kuniyuki Iwashima <kuniyu@google.com> <kuniyu@amazon.co.jp>
431+
Kuniyuki Iwashima <kuniyu@google.com> <kuni1840@gmail.com>
429432
Kuogee Hsieh <quic_khsieh@quicinc.com> <khsieh@codeaurora.org>
430433
Lee Jones <lee@kernel.org> <joneslee@google.com>
431434
Lee Jones <lee@kernel.org> <lee.jones@canonical.com>
@@ -719,6 +722,7 @@ Srinivas Ramana <quic_sramana@quicinc.com> <sramana@codeaurora.org>
719722
Sriram R <quic_srirrama@quicinc.com> <srirrama@codeaurora.org>
720723
Sriram Yagnaraman <sriram.yagnaraman@ericsson.com> <sriram.yagnaraman@est.tech>
721724
Stanislav Fomichev <sdf@fomichev.me> <sdf@google.com>
725+
Stanislav Fomichev <sdf@fomichev.me> <stfomichev@gmail.com>
722726
Stefan Wahren <wahrenst@gmx.net> <stefan.wahren@i2se.com>
723727
Stéphane Witzmann <stephane.witzmann@ubpmes.univ-bpclermont.fr>
724728
Stephen Hemminger <stephen@networkplumber.org> <shemminger@linux-foundation.org>

Documentation/admin-guide/cifs/usage.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,8 @@ configured for Unix Extensions (and the client has not disabled
270270
illegal Windows/NTFS/SMB characters to a remap range (this mount parameter
271271
is the default for SMB3). This remap (``mapposix``) range is also
272272
compatible with Mac (and "Services for Mac" on some older Windows).
273+
When POSIX Extensions for SMB 3.1.1 are negotiated, remapping is automatically
274+
disabled.
273275

274276
CIFS VFS Mount Options
275277
======================

Documentation/block/ublk.rst

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,83 @@ For reaching best IO performance, ublk server should align its segment
352352
parameter of `struct ublk_param_segment` with backend for avoiding
353353
unnecessary IO split, which usually hurts io_uring performance.
354354

355+
Auto Buffer Registration
356+
------------------------
357+
358+
The ``UBLK_F_AUTO_BUF_REG`` feature automatically handles buffer registration
359+
and unregistration for I/O requests, which simplifies the buffer management
360+
process and reduces overhead in the ublk server implementation.
361+
362+
This is another feature flag for using zero copy, and it is compatible with
363+
``UBLK_F_SUPPORT_ZERO_COPY``.
364+
365+
Feature Overview
366+
~~~~~~~~~~~~~~~~
367+
368+
This feature automatically registers request buffers to the io_uring context
369+
before delivering I/O commands to the ublk server and unregisters them when
370+
completing I/O commands. This eliminates the need for manual buffer
371+
registration/unregistration via ``UBLK_IO_REGISTER_IO_BUF`` and
372+
``UBLK_IO_UNREGISTER_IO_BUF`` commands, then IO handling in ublk server
373+
can avoid dependency on the two uring_cmd operations.
374+
375+
IOs can't be issued concurrently to io_uring if there is any dependency
376+
among these IOs. So this way not only simplifies ublk server implementation,
377+
but also makes concurrent IO handling becomes possible by removing the
378+
dependency on buffer registration & unregistration commands.
379+
380+
Usage Requirements
381+
~~~~~~~~~~~~~~~~~~
382+
383+
1. The ublk server must create a sparse buffer table on the same ``io_ring_ctx``
384+
used for ``UBLK_IO_FETCH_REQ`` and ``UBLK_IO_COMMIT_AND_FETCH_REQ``. If
385+
uring_cmd is issued on a different ``io_ring_ctx``, manual buffer
386+
unregistration is required.
387+
388+
2. Buffer registration data must be passed via uring_cmd's ``sqe->addr`` with the
389+
following structure::
390+
391+
struct ublk_auto_buf_reg {
392+
__u16 index; /* Buffer index for registration */
393+
__u8 flags; /* Registration flags */
394+
__u8 reserved0; /* Reserved for future use */
395+
__u32 reserved1; /* Reserved for future use */
396+
};
397+
398+
ublk_auto_buf_reg_to_sqe_addr() is for converting the above structure into
399+
``sqe->addr``.
400+
401+
3. All reserved fields in ``ublk_auto_buf_reg`` must be zeroed.
402+
403+
4. Optional flags can be passed via ``ublk_auto_buf_reg.flags``.
404+
405+
Fallback Behavior
406+
~~~~~~~~~~~~~~~~~
407+
408+
If auto buffer registration fails:
409+
410+
1. When ``UBLK_AUTO_BUF_REG_FALLBACK`` is enabled:
411+
412+
- The uring_cmd is completed
413+
- ``UBLK_IO_F_NEED_REG_BUF`` is set in ``ublksrv_io_desc.op_flags``
414+
- The ublk server must manually deal with the failure, such as, register
415+
the buffer manually, or using user copy feature for retrieving the data
416+
for handling ublk IO
417+
418+
2. If fallback is not enabled:
419+
420+
- The ublk I/O request fails silently
421+
- The uring_cmd won't be completed
422+
423+
Limitations
424+
~~~~~~~~~~~
425+
426+
- Requires same ``io_ring_ctx`` for all operations
427+
- May require manual buffer management in fallback cases
428+
- io_ring_ctx buffer table has a max size of 16K, which may not be enough
429+
in case that too many ublk devices are handled by this single io_ring_ctx
430+
and each one has very large queue depth
431+
355432
References
356433
==========
357434

Documentation/devicetree/bindings/pinctrl/starfive,jh7110-aon-pinctrl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ description: |
1515
Some peripherals such as PWM have their I/O go through the 4 "GPIOs".
1616
1717
maintainers:
18-
- Jianlong Huang <jianlong.huang@starfivetech.com>
18+
- Hal Feng <hal.feng@starfivetech.com>
1919

2020
properties:
2121
compatible:

Documentation/devicetree/bindings/pinctrl/starfive,jh7110-sys-pinctrl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ description: |
1818
any GPIO can be set up to be controlled by any of the peripherals.
1919
2020
maintainers:
21-
- Jianlong Huang <jianlong.huang@starfivetech.com>
21+
- Hal Feng <hal.feng@starfivetech.com>
2222

2323
properties:
2424
compatible:

Documentation/driver-api/thermal/intel_dptf.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,15 @@ All these controls needs admin privilege to update.
206206
Update a new temperature target in milli degree celsius for hardware to
207207
use for the temperature control.
208208

209+
``thermal_tolerance`` (RW)
210+
This attribute ranges from 0 to 7, where 0 represents
211+
the most aggressive control to avoid any temperature overshoots, and
212+
7 represents a more graceful approach, favoring performance even at
213+
the expense of temperature overshoots.
214+
Note: This level may not scale linearly. For example, a value of 3 does
215+
not necessarily imply a 50% improvement in performance compared to a
216+
value of 0.
217+
209218
Given that this is platform temperature control, it is expected that a
210219
single user-level manager owns and manages the controls. If multiple
211220
user-level software applications attempt to write different targets, it

Documentation/filesystems/proc.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,6 @@ encoded manner. The codes are the following:
584584
ms may share
585585
gd stack segment growns down
586586
pf pure PFN range
587-
dw disabled write to the mapped file
588587
lo pages are locked in memory
589588
io memory mapped I/O area
590589
sr sequential read advise provided
@@ -607,8 +606,11 @@ encoded manner. The codes are the following:
607606
mt arm64 MTE allocation tags are enabled
608607
um userfaultfd missing tracking
609608
uw userfaultfd wr-protect tracking
609+
ui userfaultfd minor fault
610610
ss shadow/guarded control stack page
611611
sl sealed
612+
lf lock on fault pages
613+
dp always lazily freeable mapping
612614
== =======================================
613615

614616
Note that there is no guarantee that every flag and associated mnemonic will

MAINTAINERS

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4555,6 +4555,7 @@ BPF [NETWORKING] (tcx & tc BPF, sock_addr)
45554555
M: Martin KaFai Lau <martin.lau@linux.dev>
45564556
M: Daniel Borkmann <daniel@iogearbox.net>
45574557
R: John Fastabend <john.fastabend@gmail.com>
4558+
R: Stanislav Fomichev <sdf@fomichev.me>
45584559
L: bpf@vger.kernel.org
45594560
L: netdev@vger.kernel.org
45604561
S: Maintained
@@ -6254,6 +6255,7 @@ F: include/linux/cpuhotplug.h
62546255
F: include/linux/smpboot.h
62556256
F: kernel/cpu.c
62566257
F: kernel/smpboot.*
6258+
F: rust/helper/cpu.c
62576259
F: rust/kernel/cpu.rs
62586260

62596261
CPU IDLE TIME MANAGEMENT FRAMEWORK
@@ -15919,6 +15921,7 @@ R: Liam R. Howlett <Liam.Howlett@oracle.com>
1591915921
R: Nico Pache <npache@redhat.com>
1592015922
R: Ryan Roberts <ryan.roberts@arm.com>
1592115923
R: Dev Jain <dev.jain@arm.com>
15924+
R: Barry Song <baohua@kernel.org>
1592215925
L: linux-mm@kvack.org
1592315926
S: Maintained
1592415927
W: http://www.linux-mm.org
@@ -17493,7 +17496,7 @@ F: tools/testing/selftests/net/srv6*
1749317496
NETWORKING [TCP]
1749417497
M: Eric Dumazet <edumazet@google.com>
1749517498
M: Neal Cardwell <ncardwell@google.com>
17496-
R: Kuniyuki Iwashima <kuniyu@amazon.com>
17499+
R: Kuniyuki Iwashima <kuniyu@google.com>
1749717500
L: netdev@vger.kernel.org
1749817501
S: Maintained
1749917502
F: Documentation/networking/net_cachelines/tcp_sock.rst
@@ -17523,7 +17526,7 @@ F: net/tls/*
1752317526

1752417527
NETWORKING [SOCKETS]
1752517528
M: Eric Dumazet <edumazet@google.com>
17526-
M: Kuniyuki Iwashima <kuniyu@amazon.com>
17529+
M: Kuniyuki Iwashima <kuniyu@google.com>
1752717530
M: Paolo Abeni <pabeni@redhat.com>
1752817531
M: Willem de Bruijn <willemb@google.com>
1752917532
S: Maintained
@@ -17538,7 +17541,7 @@ F: net/core/scm.c
1753817541
F: net/socket.c
1753917542

1754017543
NETWORKING [UNIX SOCKETS]
17541-
M: Kuniyuki Iwashima <kuniyu@amazon.com>
17544+
M: Kuniyuki Iwashima <kuniyu@google.com>
1754217545
S: Maintained
1754317546
F: include/net/af_unix.h
1754417547
F: include/net/netns/unix.h
@@ -23660,7 +23663,6 @@ F: include/dt-bindings/clock/starfive?jh71*.h
2366023663

2366123664
STARFIVE JH71X0 PINCTRL DRIVERS
2366223665
M: Emil Renner Berthing <kernel@esmil.dk>
23663-
M: Jianlong Huang <jianlong.huang@starfivetech.com>
2366423666
M: Hal Feng <hal.feng@starfivetech.com>
2366523667
L: linux-gpio@vger.kernel.org
2366623668
S: Maintained
@@ -26966,6 +26968,7 @@ M: David S. Miller <davem@davemloft.net>
2696626968
M: Jakub Kicinski <kuba@kernel.org>
2696726969
M: Jesper Dangaard Brouer <hawk@kernel.org>
2696826970
M: John Fastabend <john.fastabend@gmail.com>
26971+
R: Stanislav Fomichev <sdf@fomichev.me>
2696926972
L: netdev@vger.kernel.org
2697026973
L: bpf@vger.kernel.org
2697126974
S: Supported
@@ -26987,6 +26990,7 @@ M: Björn Töpel <bjorn@kernel.org>
2698726990
M: Magnus Karlsson <magnus.karlsson@intel.com>
2698826991
M: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
2698926992
R: Jonathan Lemon <jonathan.lemon@gmail.com>
26993+
R: Stanislav Fomichev <sdf@fomichev.me>
2699026994
L: netdev@vger.kernel.org
2699126995
L: bpf@vger.kernel.org
2699226996
S: Maintained

Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VERSION = 6
33
PATCHLEVEL = 16
44
SUBLEVEL = 0
5-
EXTRAVERSION = -rc1
5+
EXTRAVERSION = -rc2
66
NAME = Baby Opossum Posse
77

88
# *DOCUMENTATION*
@@ -1832,12 +1832,9 @@ rustfmtcheck: rustfmt
18321832
# Misc
18331833
# ---------------------------------------------------------------------------
18341834

1835-
# Run misc checks when ${KBUILD_EXTRA_WARN} contains 1
18361835
PHONY += misc-check
1837-
ifneq ($(findstring 1,$(KBUILD_EXTRA_WARN)),)
18381836
misc-check:
18391837
$(Q)$(srctree)/scripts/misc-check
1840-
endif
18411838

18421839
all: misc-check
18431840

arch/alpha/include/asm/pgtable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ extern inline pte_t mk_swap_pte(unsigned long type, unsigned long offset)
327327
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
328328
#define __swp_entry_to_pte(x) ((pte_t) { (x).val })
329329

330-
static inline int pte_swp_exclusive(pte_t pte)
330+
static inline bool pte_swp_exclusive(pte_t pte)
331331
{
332332
return pte_val(pte) & _PAGE_SWP_EXCLUSIVE;
333333
}

0 commit comments

Comments
 (0)