Skip to content

Commit 9760383

Browse files
committed
Merge tag 'v5.14-rc5' into next
Linux 5.14-rc5
2 parents 9fce3b3 + 36a21d5 commit 9760383

File tree

767 files changed

+8707
-4219
lines changed

Some content is hidden

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

767 files changed

+8707
-4219
lines changed

Documentation/arm64/tagged-address-abi.rst

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,24 @@ how the user addresses are used by the kernel:
4545

4646
1. User addresses not accessed by the kernel but used for address space
4747
management (e.g. ``mprotect()``, ``madvise()``). The use of valid
48-
tagged pointers in this context is allowed with the exception of
49-
``brk()``, ``mmap()`` and the ``new_address`` argument to
50-
``mremap()`` as these have the potential to alias with existing
51-
user addresses.
52-
53-
NOTE: This behaviour changed in v5.6 and so some earlier kernels may
54-
incorrectly accept valid tagged pointers for the ``brk()``,
55-
``mmap()`` and ``mremap()`` system calls.
48+
tagged pointers in this context is allowed with these exceptions:
49+
50+
- ``brk()``, ``mmap()`` and the ``new_address`` argument to
51+
``mremap()`` as these have the potential to alias with existing
52+
user addresses.
53+
54+
NOTE: This behaviour changed in v5.6 and so some earlier kernels may
55+
incorrectly accept valid tagged pointers for the ``brk()``,
56+
``mmap()`` and ``mremap()`` system calls.
57+
58+
- The ``range.start``, ``start`` and ``dst`` arguments to the
59+
``UFFDIO_*`` ``ioctl()``s used on a file descriptor obtained from
60+
``userfaultfd()``, as fault addresses subsequently obtained by reading
61+
the file descriptor will be untagged, which may otherwise confuse
62+
tag-unaware programs.
63+
64+
NOTE: This behaviour changed in v5.14 and so some earlier kernels may
65+
incorrectly accept valid tagged pointers for this system call.
5666

5767
2. User addresses accessed by the kernel (e.g. ``write()``). This ABI
5868
relaxation is disabled by default and the application thread needs to

Documentation/devicetree/bindings/net/imx-dwmac.txt

Lines changed: 0 additions & 56 deletions
This file was deleted.
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/net/nxp,dwmac-imx.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: NXP i.MX8 DWMAC glue layer Device Tree Bindings
8+
9+
maintainers:
10+
- Joakim Zhang <[email protected]>
11+
12+
# We need a select here so we don't match all nodes with 'snps,dwmac'
13+
select:
14+
properties:
15+
compatible:
16+
contains:
17+
enum:
18+
- nxp,imx8mp-dwmac-eqos
19+
- nxp,imx8dxl-dwmac-eqos
20+
required:
21+
- compatible
22+
23+
allOf:
24+
- $ref: "snps,dwmac.yaml#"
25+
26+
properties:
27+
compatible:
28+
oneOf:
29+
- items:
30+
- enum:
31+
- nxp,imx8mp-dwmac-eqos
32+
- nxp,imx8dxl-dwmac-eqos
33+
- const: snps,dwmac-5.10a
34+
35+
clocks:
36+
minItems: 3
37+
maxItems: 5
38+
items:
39+
- description: MAC host clock
40+
- description: MAC apb clock
41+
- description: MAC timer clock
42+
- description: MAC RGMII TX clock
43+
- description: EQOS MEM clock
44+
45+
clock-names:
46+
minItems: 3
47+
maxItems: 5
48+
contains:
49+
enum:
50+
- stmmaceth
51+
- pclk
52+
- ptp_ref
53+
- tx
54+
- mem
55+
56+
intf_mode:
57+
$ref: /schemas/types.yaml#/definitions/phandle-array
58+
description:
59+
Should be phandle/offset pair. The phandle to the syscon node which
60+
encompases the GPR register, and the offset of the GPR register.
61+
62+
snps,rmii_refclk_ext:
63+
$ref: /schemas/types.yaml#/definitions/flag
64+
description:
65+
To select RMII reference clock from external.
66+
67+
required:
68+
- compatible
69+
- clocks
70+
- clock-names
71+
72+
unevaluatedProperties: false
73+
74+
examples:
75+
- |
76+
#include <dt-bindings/interrupt-controller/arm-gic.h>
77+
#include <dt-bindings/interrupt-controller/irq.h>
78+
#include <dt-bindings/clock/imx8mp-clock.h>
79+
80+
eqos: ethernet@30bf0000 {
81+
compatible = "nxp,imx8mp-dwmac-eqos","snps,dwmac-5.10a";
82+
reg = <0x30bf0000 0x10000>;
83+
interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
84+
<GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
85+
interrupt-names = "macirq", "eth_wake_irq";
86+
clocks = <&clk IMX8MP_CLK_ENET_QOS_ROOT>,
87+
<&clk IMX8MP_CLK_QOS_ENET_ROOT>,
88+
<&clk IMX8MP_CLK_ENET_QOS_TIMER>,
89+
<&clk IMX8MP_CLK_ENET_QOS>;
90+
clock-names = "stmmaceth", "pclk", "ptp_ref", "tx";
91+
phy-mode = "rgmii";
92+
status = "disabled";
93+
};

Documentation/devicetree/bindings/net/snps,dwmac.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ select:
2828
- snps,dwmac-4.00
2929
- snps,dwmac-4.10a
3030
- snps,dwmac-4.20a
31+
- snps,dwmac-5.10a
3132
- snps,dwxgmac
3233
- snps,dwxgmac-2.10
3334

@@ -82,6 +83,7 @@ properties:
8283
- snps,dwmac-4.00
8384
- snps,dwmac-4.10a
8485
- snps,dwmac-4.20a
86+
- snps,dwmac-5.10a
8587
- snps,dwxgmac
8688
- snps,dwxgmac-2.10
8789

@@ -375,6 +377,7 @@ allOf:
375377
- snps,dwmac-4.00
376378
- snps,dwmac-4.10a
377379
- snps,dwmac-4.20a
380+
- snps,dwmac-5.10a
378381
- snps,dwxgmac
379382
- snps,dwxgmac-2.10
380383
- st,spear600-gmac

Documentation/devicetree/bindings/regulator/fixed-regulator.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,14 @@ properties:
5757
maxItems: 1
5858

5959
power-domains:
60+
deprecated: true
6061
description:
6162
Power domain to use for enable control. This binding is only
6263
available if the compatible is chosen to regulator-fixed-domain.
6364
maxItems: 1
6465

6566
required-opps:
67+
deprecated: true
6668
description:
6769
Performance state to use for enable control. This binding is only
6870
available if the compatible is chosen to regulator-fixed-domain. The

Documentation/devicetree/bindings/sound/renesas,rsnd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ properties:
114114

115115
ports:
116116
$ref: /schemas/graph.yaml#/properties/ports
117-
properties:
117+
patternProperties:
118118
port(@[0-9a-f]+)?:
119119
$ref: audio-graph-port.yaml#
120120
unevaluatedProperties: false

Documentation/networking/af_xdp.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,16 +243,16 @@ Configuration Flags and Socket Options
243243
These are the various configuration flags that can be used to control
244244
and monitor the behavior of AF_XDP sockets.
245245

246-
XDP_COPY and XDP_ZERO_COPY bind flags
247-
-------------------------------------
246+
XDP_COPY and XDP_ZEROCOPY bind flags
247+
------------------------------------
248248

249249
When you bind to a socket, the kernel will first try to use zero-copy
250250
copy. If zero-copy is not supported, it will fall back on using copy
251251
mode, i.e. copying all packets out to user space. But if you would
252252
like to force a certain mode, you can use the following flags. If you
253253
pass the XDP_COPY flag to the bind call, the kernel will force the
254254
socket into copy mode. If it cannot use copy mode, the bind call will
255-
fail with an error. Conversely, the XDP_ZERO_COPY flag will force the
255+
fail with an error. Conversely, the XDP_ZEROCOPY flag will force the
256256
socket into zero-copy mode or fail.
257257

258258
XDP_SHARED_UMEM bind flag

Documentation/networking/ip-sysctl.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ tcp_fastopen_blackhole_timeout_sec - INTEGER
826826
initial value when the blackhole issue goes away.
827827
0 to disable the blackhole detection.
828828

829-
By default, it is set to 1hr.
829+
By default, it is set to 0 (feature is disabled).
830830

831831
tcp_fastopen_key - list of comma separated 32-digit hexadecimal INTEGERs
832832
The list consists of a primary key and an optional backup key. The

Documentation/networking/netdev-FAQ.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,23 @@ before posting to the mailing list. The patchwork build bot instance
228228
gets overloaded very easily and netdev@vger really doesn't need more
229229
traffic if we can help it.
230230

231+
netdevsim is great, can I extend it for my out-of-tree tests?
232+
-------------------------------------------------------------
233+
234+
No, `netdevsim` is a test vehicle solely for upstream tests.
235+
(Please add your tests under tools/testing/selftests/.)
236+
237+
We also give no guarantees that `netdevsim` won't change in the future
238+
in a way which would break what would normally be considered uAPI.
239+
240+
Is netdevsim considered a "user" of an API?
241+
-------------------------------------------
242+
243+
Linux kernel has a long standing rule that no API should be added unless
244+
it has a real, in-tree user. Mock-ups and tests based on `netdevsim` are
245+
strongly encouraged when adding new APIs, but `netdevsim` in itself
246+
is **not** considered a use case/user.
247+
231248
Any other tips to help ensure my net/net-next patch gets OK'd?
232249
--------------------------------------------------------------
233250
Attention to detail. Re-read your own work as if you were the

Documentation/networking/operstates.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ IF_OPER_LOWERLAYERDOWN (3):
7373
state (f.e. VLAN).
7474

7575
IF_OPER_TESTING (4):
76-
Unused in current kernel.
76+
Interface is in testing mode, for example executing driver self-tests
77+
or media (cable) test. It can't be used for normal traffic until tests
78+
complete.
7779

7880
IF_OPER_DORMANT (5):
7981
Interface is L1 up, but waiting for an external event, f.e. for a
@@ -111,7 +113,7 @@ it as lower layer.
111113

112114
Note that for certain kind of soft-devices, which are not managing any
113115
real hardware, it is possible to set this bit from userspace. One
114-
should use TVL IFLA_CARRIER to do so.
116+
should use TLV IFLA_CARRIER to do so.
115117

116118
netif_carrier_ok() can be used to query that bit.
117119

0 commit comments

Comments
 (0)