Skip to content

Commit 4f470ff

Browse files
author
Ingo Molnar
committed
Merge tag 'v5.7-rc7' into WIP.locking/core, to refresh the tree
Signed-off-by: Ingo Molnar <[email protected]>
2 parents db78538 + 9cb1fd0 commit 4f470ff

File tree

995 files changed

+9417
-4501
lines changed

Some content is hidden

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

995 files changed

+9417
-4501
lines changed

.mailmap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,8 @@ Vladimir Davydov <[email protected]> <[email protected]>
288288
289289
Takashi YOSHII <[email protected]>
290290
291+
292+
291293
292294
Yusuke Goda <[email protected]>
293295
Gustavo Padovan <[email protected]>

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

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,15 @@ fix_padding
182182
space-efficient. If this option is not present, large padding is
183183
used - that is for compatibility with older kernels.
184184

185-
186-
The journal mode (D/J), buffer_sectors, journal_watermark, commit_time can
187-
be changed when reloading the target (load an inactive table and swap the
188-
tables with suspend and resume). The other arguments should not be changed
189-
when reloading the target because the layout of disk data depend on them
190-
and the reloaded target would be non-functional.
185+
allow_discards
186+
Allow block discard requests (a.k.a. TRIM) for the integrity device.
187+
Discards are only allowed to devices using internal hash.
188+
189+
The journal mode (D/J), buffer_sectors, journal_watermark, commit_time and
190+
allow_discards can be changed when reloading the target (load an inactive
191+
table and swap the tables with suspend and resume). The other arguments
192+
should not be changed when reloading the target because the layout of disk
193+
data depend on them and the reloaded target would be non-functional.
191194

192195

193196
The layout of the formatted block device:

Documentation/core-api/printk-formats.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,20 @@ used when printing stack backtraces. The specifier takes into
112112
consideration the effect of compiler optimisations which may occur
113113
when tail-calls are used and marked with the noreturn GCC attribute.
114114

115+
Probed Pointers from BPF / tracing
116+
----------------------------------
117+
118+
::
119+
120+
%pks kernel string
121+
%pus user string
122+
123+
The ``k`` and ``u`` specifiers are used for printing prior probed memory from
124+
either kernel memory (k) or user memory (u). The subsequent ``s`` specifier
125+
results in printing a string. For direct use in regular vsnprintf() the (k)
126+
and (u) annotation is ignored, however, when used out of BPF's bpf_trace_printk(),
127+
for example, it reads the memory it is pointing to without faulting.
128+
115129
Kernel Pointers
116130
---------------
117131

Documentation/devicetree/bindings/dma/fsl-edma.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ Required properties:
1010
- compatible :
1111
- "fsl,vf610-edma" for eDMA used similar to that on Vybrid vf610 SoC
1212
- "fsl,imx7ulp-edma" for eDMA2 used similar to that on i.mx7ulp
13-
- "fsl,fsl,ls1028a-edma" for eDMA used similar to that on Vybrid vf610 SoC
13+
- "fsl,ls1028a-edma" followed by "fsl,vf610-edma" for eDMA used on the
14+
LS1028A SoC.
1415
- reg : Specifies base physical address(s) and size of the eDMA registers.
1516
The 1st region is eDMA control register's address and size.
1617
The 2nd and the 3rd regions are programmable channel multiplexing

Documentation/devicetree/bindings/dma/socionext,uniphier-xdmac.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ properties:
2222
const: socionext,uniphier-xdmac
2323

2424
reg:
25-
items:
26-
- description: XDMAC base register region (offset and length)
27-
- description: XDMAC extension register region (offset and length)
25+
maxItems: 1
2826

2927
interrupts:
3028
maxItems: 1
@@ -49,12 +47,13 @@ required:
4947
- reg
5048
- interrupts
5149
- "#dma-cells"
50+
- dma-channels
5251

5352
examples:
5453
- |
5554
xdmac: dma-controller@5fc10000 {
5655
compatible = "socionext,uniphier-xdmac";
57-
reg = <0x5fc10000 0x1000>, <0x5fc20000 0x800>;
56+
reg = <0x5fc10000 0x5300>;
5857
interrupts = <0 188 4>;
5958
#dma-cells = <2>;
6059
dma-channels = <16>;

Documentation/devicetree/bindings/net/dsa/b53.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ Ethernet switch connected via MDIO to the host, CPU port wired to eth0:
110110
#size-cells = <0>;
111111

112112
ports {
113+
#address-cells = <1>;
114+
#size-cells = <0>;
115+
113116
port0@0 {
114117
reg = <0>;
115118
label = "lan1";

Documentation/networking/devlink/ice.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ The ``ice`` driver reports the following versions
6161
- running
6262
- ICE OS Default Package
6363
- The name of the DDP package that is active in the device. The DDP
64-
package is loaded by the driver during initialization. Each varation
65-
of DDP package shall have a unique name.
64+
package is loaded by the driver during initialization. Each
65+
variation of the DDP package has a unique name.
6666
* - ``fw.app``
6767
- running
6868
- 1.3.1.0

Documentation/usb/raw-gadget.rst

Lines changed: 30 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ differences are:
2727
3. Raw Gadget provides a way to select a UDC device/driver to bind to,
2828
while GadgetFS currently binds to the first available UDC.
2929

30-
4. Raw Gadget uses predictable endpoint names (handles) across different
31-
UDCs (as long as UDCs have enough endpoints of each required transfer
32-
type).
30+
4. Raw Gadget explicitly exposes information about endpoints addresses and
31+
capabilities allowing a user to write UDC-agnostic gadgets.
3332

3433
5. Raw Gadget has ioctl-based interface instead of a filesystem-based one.
3534

@@ -50,12 +49,36 @@ The typical usage of Raw Gadget looks like:
5049
Raw Gadget and react to those depending on what kind of USB device
5150
needs to be emulated.
5251

52+
Note, that some UDC drivers have fixed addresses assigned to endpoints, and
53+
therefore arbitrary endpoint addresses can't be used in the descriptors.
54+
Nevertheles, Raw Gadget provides a UDC-agnostic way to write USB gadgets.
55+
Once a USB_RAW_EVENT_CONNECT event is received via USB_RAW_IOCTL_EVENT_FETCH,
56+
the USB_RAW_IOCTL_EPS_INFO ioctl can be used to find out information about
57+
endpoints that the UDC driver has. Based on that information, the user must
58+
chose UDC endpoints that will be used for the gadget being emulated, and
59+
properly assign addresses in endpoint descriptors.
60+
61+
You can find usage examples (along with a test suite) here:
62+
63+
https://github.com/xairy/raw-gadget
64+
65+
Internal details
66+
~~~~~~~~~~~~~~~~
67+
68+
Currently every endpoint read/write ioctl submits a USB request and waits until
69+
its completion. This is the desired mode for coverage-guided fuzzing (as we'd
70+
like all USB request processing happen during the lifetime of a syscall),
71+
and must be kept in the implementation. (This might be slow for real world
72+
applications, thus the O_NONBLOCK improvement suggestion below.)
73+
5374
Potential future improvements
5475
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5576

56-
- Implement ioctl's for setting/clearing halt status on endpoints.
57-
58-
- Reporting more events (suspend, resume, etc.) through
59-
USB_RAW_IOCTL_EVENT_FETCH.
77+
- Report more events (suspend, resume, etc.) through USB_RAW_IOCTL_EVENT_FETCH.
6078

6179
- Support O_NONBLOCK I/O.
80+
81+
- Support USB 3 features (accept SS endpoint companion descriptor when
82+
enabling endpoints; allow providing stream_id for bulk transfers).
83+
84+
- Support ISO transfer features (expose frame_number for completed requests).

Documentation/virt/kvm/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@ KVM
2828
arm/index
2929

3030
devices/index
31+
32+
running-nested-guests

0 commit comments

Comments
 (0)