Skip to content

Commit f66ebf3

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR. No conflicts and no adjacent changes. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2 parents c30a3f5 + 8c245fe commit f66ebf3

File tree

1,746 files changed

+17492
-11819
lines changed

Some content is hidden

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

1,746 files changed

+17492
-11819
lines changed

Documentation/admin-guide/device-mapper/delay.rst

Lines changed: 32 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,52 @@ dm-delay
33
========
44

55
Device-Mapper's "delay" target delays reads and/or writes
6-
and maps them to different devices.
6+
and/or flushs and optionally maps them to different devices.
77

8-
Parameters::
8+
Arguments::
99

1010
<device> <offset> <delay> [<write_device> <write_offset> <write_delay>
1111
[<flush_device> <flush_offset> <flush_delay>]]
1212

13-
With separate write parameters, the first set is only used for reads.
13+
Table line has to either have 3, 6 or 9 arguments:
14+
15+
3: apply offset and delay to read, write and flush operations on device
16+
17+
6: apply offset and delay to device, also apply write_offset and write_delay
18+
to write and flush operations on optionally different write_device with
19+
optionally different sector offset
20+
21+
9: same as 6 arguments plus define flush_offset and flush_delay explicitely
22+
on/with optionally different flush_device/flush_offset.
23+
1424
Offsets are specified in sectors.
25+
1526
Delays are specified in milliseconds.
1627

28+
1729
Example scripts
1830
===============
1931

2032
::
21-
2233
#!/bin/sh
23-
# Create device delaying rw operation for 500ms
24-
echo "0 `blockdev --getsz $1` delay $1 0 500" | dmsetup create delayed
34+
#
35+
# Create mapped device named "delayed" delaying read, write and flush operations for 500ms.
36+
#
37+
dmsetup create delayed --table "0 `blockdev --getsz $1` delay $1 0 500"
2538

2639
::
40+
#!/bin/sh
41+
#
42+
# Create mapped device delaying write and flush operations for 400ms and
43+
# splitting reads to device $1 but writes and flushs to different device $2
44+
# to different offsets of 2048 and 4096 sectors respectively.
45+
#
46+
dmsetup create delayed --table "0 `blockdev --getsz $1` delay $1 2048 0 $2 4096 400"
2747

48+
::
2849
#!/bin/sh
29-
# Create device delaying only write operation for 500ms and
30-
# splitting reads and writes to different devices $1 $2
31-
echo "0 `blockdev --getsz $1` delay $1 0 0 $2 0 500" | dmsetup create delayed
50+
#
51+
# Create mapped device delaying reads for 50ms, writes for 100ms and flushs for 333ms
52+
# onto the same backing device at offset 0 sectors.
53+
#
54+
dmsetup create delayed --table "0 `blockdev --getsz $1` delay $1 0 50 $2 0 100 $1 0 333"

Documentation/admin-guide/device-mapper/dm-crypt.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@ iv_large_sectors
160160
The <iv_offset> must be multiple of <sector_size> (in 512 bytes units)
161161
if this flag is specified.
162162

163+
integrity_key_size:<bytes>
164+
Use an integrity key of <bytes> size instead of using an integrity key size
165+
of the digest size of the used HMAC algorithm.
166+
163167

164168
Module parameters::
165169
max_read_size

Documentation/admin-guide/device-mapper/vdo.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,12 @@ The messages are:
251251
by the vdostats userspace program to interpret the output
252252
buffer.
253253

254-
dump:
254+
config:
255+
Outputs useful vdo configuration information. Mostly used
256+
by users who want to recreate a similar VDO volume and
257+
want to know the creation configuration used.
258+
259+
dump:
255260
Dumps many internal structures to the system log. This is
256261
not always safe to run, so it should only be used to debug
257262
a hung vdo. Optional parameters to specify structures to

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2677,6 +2677,23 @@
26772677

26782678
Default is Y (on).
26792679

2680+
kvm.enable_virt_at_load=[KVM,ARM64,LOONGARCH,MIPS,RISCV,X86]
2681+
If enabled, KVM will enable virtualization in hardware
2682+
when KVM is loaded, and disable virtualization when KVM
2683+
is unloaded (if KVM is built as a module).
2684+
2685+
If disabled, KVM will dynamically enable and disable
2686+
virtualization on-demand when creating and destroying
2687+
VMs, i.e. on the 0=>1 and 1=>0 transitions of the
2688+
number of VMs.
2689+
2690+
Enabling virtualization at module lode avoids potential
2691+
latency for creation of the 0=>1 VM, as KVM serializes
2692+
virtualization enabling across all online CPUs. The
2693+
"cost" of enabling virtualization when KVM is loaded,
2694+
is that doing so may interfere with using out-of-tree
2695+
hypervisors that want to "own" virtualization hardware.
2696+
26802697
kvm.enable_vmware_backdoor=[KVM] Support VMware backdoor PV interface.
26812698
Default is false (don't support).
26822699

Documentation/arch/arm/mem_alignment.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ones.
1212

1313
Of course this is a bad idea to rely on the alignment trap to perform
1414
unaligned memory access in general. If those access are predictable, you
15-
are better to use the macros provided by include/asm/unaligned.h. The
15+
are better to use the macros provided by include/linux/unaligned.h. The
1616
alignment trap can fixup misaligned access for the exception cases, but at
1717
a high performance cost. It better be rare.
1818

Documentation/arch/loongarch/irq-chip-model.rst

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,38 @@ to CPUINTC directly::
8585
| Devices |
8686
+---------+
8787

88+
Advanced Extended IRQ model
89+
===========================
90+
91+
In this model, IPI (Inter-Processor Interrupt) and CPU Local Timer interrupt go
92+
to CPUINTC directly, CPU UARTS interrupts go to LIOINTC, PCH-MSI interrupts go
93+
to AVECINTC, and then go to CPUINTC directly, while all other devices interrupts
94+
go to PCH-PIC/PCH-LPC and gathered by EIOINTC, and then go to CPUINTC directly::
95+
96+
+-----+ +-----------------------+ +-------+
97+
| IPI | --> | CPUINTC | <-- | Timer |
98+
+-----+ +-----------------------+ +-------+
99+
^ ^ ^
100+
| | |
101+
+---------+ +----------+ +---------+ +-------+
102+
| EIOINTC | | AVECINTC | | LIOINTC | <-- | UARTs |
103+
+---------+ +----------+ +---------+ +-------+
104+
^ ^
105+
| |
106+
+---------+ +---------+
107+
| PCH-PIC | | PCH-MSI |
108+
+---------+ +---------+
109+
^ ^ ^
110+
| | |
111+
+---------+ +---------+ +---------+
112+
| Devices | | PCH-LPC | | Devices |
113+
+---------+ +---------+ +---------+
114+
^
115+
|
116+
+---------+
117+
| Devices |
118+
+---------+
119+
88120
ACPI-related definitions
89121
========================
90122

Documentation/arch/s390/vfio-ap.rst

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -999,6 +999,36 @@ the vfio_ap mediated device to which it is assigned as long as each new APQN
999999
resulting from plugging it in references a queue device bound to the vfio_ap
10001000
device driver.
10011001

1002+
Driver Features
1003+
===============
1004+
The vfio_ap driver exposes a sysfs file containing supported features.
1005+
This exists so third party tools (like Libvirt and mdevctl) can query the
1006+
availability of specific features.
1007+
1008+
The features list can be found here: /sys/bus/matrix/devices/matrix/features
1009+
1010+
Entries are space delimited. Each entry consists of a combination of
1011+
alphanumeric and underscore characters.
1012+
1013+
Example:
1014+
cat /sys/bus/matrix/devices/matrix/features
1015+
guest_matrix dyn ap_config
1016+
1017+
the following features are advertised:
1018+
1019+
---------------+---------------------------------------------------------------+
1020+
| Flag | Description |
1021+
+==============+===============================================================+
1022+
| guest_matrix | guest_matrix attribute exists. It reports the matrix of |
1023+
| | adapters and domains that are or will be passed through to a |
1024+
| | guest when the mdev is attached to it. |
1025+
+--------------+---------------------------------------------------------------+
1026+
| dyn | Indicates hot plug/unplug of AP adapters, domains and control |
1027+
| | domains for a guest to which the mdev is attached. |
1028+
+------------+-----------------------------------------------------------------+
1029+
| ap_config | ap_config interface for one-shot modifications to mdev config |
1030+
+--------------+---------------------------------------------------------------+
1031+
10021032
Limitations
10031033
===========
10041034
Live guest migration is not supported for guests using AP devices without

Documentation/core-api/cleanup.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.. SPDX-License-Identifier: GPL-2.0
2+
3+
===========================
4+
Scope-based Cleanup Helpers
5+
===========================
6+
7+
.. kernel-doc:: include/linux/cleanup.h
8+
:doc: scope-based cleanup helpers

0 commit comments

Comments
 (0)