Skip to content

Commit 8859a44

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Conflicts: MAINTAINERS - keep Chandrasekar drivers/net/ethernet/mellanox/mlx5/core/en_main.c - simple fix + trust the code re-added to param.c in -next is fine include/linux/bpf.h - trivial include/linux/ethtool.h - trivial, fix kdoc while at it include/linux/skmsg.h - move to relevant place in tcp.c, comment re-wrapped net/core/skmsg.c - add the sk = sk // sk = NULL around calls net/tipc/crypto.c - trivial Signed-off-by: Jakub Kicinski <[email protected]>
2 parents 6c5e6b4 + 4e04e75 commit 8859a44

File tree

522 files changed

+4690
-2217
lines changed

Some content is hidden

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

522 files changed

+4690
-2217
lines changed

Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Optional node properties:
3232
- "#thermal-sensor-cells" Used to expose itself to thermal fw.
3333

3434
Read more about iio bindings at
35-
Documentation/devicetree/bindings/iio/iio-bindings.txt
35+
https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/
3636

3737
Example:
3838
ncp15wb473@0 {

Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ description: >
1414
Industrial I/O subsystem bindings for ADC controller found in
1515
Ingenic JZ47xx SoCs.
1616
17-
ADC clients must use the format described in iio-bindings.txt, giving
18-
a phandle and IIO specifier pair ("io-channels") to the ADC controller.
17+
ADC clients must use the format described in
18+
https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/iio-consumer.yaml,
19+
giving a phandle and IIO specifier pair ("io-channels") to the ADC controller.
1920
2021
properties:
2122
compatible:

Documentation/devicetree/bindings/input/adc-joystick.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ properties:
2424
description: >
2525
List of phandle and IIO specifier pairs.
2626
Each pair defines one ADC channel to which a joystick axis is connected.
27-
See Documentation/devicetree/bindings/iio/iio-bindings.txt for details.
27+
See
28+
https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/iio-consumer.yaml
29+
for details.
2830
2931
'#address-cells':
3032
const: 1

Documentation/devicetree/bindings/input/touchscreen/resistive-adc-touch.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ Required properties:
55
- compatible: must be "resistive-adc-touch"
66
The device must be connected to an ADC device that provides channels for
77
position measurement and optional pressure.
8-
Refer to ../iio/iio-bindings.txt for details
8+
Refer to
9+
https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/iio-consumer.yaml
10+
for details
11+
912
- iio-channels: must have at least two channels connected to an ADC device.
1013
These should correspond to the channels exposed by the ADC device and should
1114
have the right index as the ADC device registers them. These channels

Documentation/devicetree/bindings/mfd/ab8500.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ Required child device properties:
7272
pwm|regulator|rtc|sysctrl|usb]";
7373

7474
A few child devices require ADC channels from the GPADC node. Those follow the
75-
standard bindings from iio/iio-bindings.txt and iio/adc/adc.txt
75+
standard bindings from
76+
https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/iio-consumer.yaml
77+
and Documentation/devicetree/bindings/iio/adc/adc.yaml
7678

7779
abx500-temp : io-channels "aux1" and "aux2" for measuring external
7880
temperatures.

Documentation/devicetree/bindings/mfd/motorola-cpcap.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ Optional subnodes:
1616
The sub-functions of CPCAP get their own node with their own compatible values,
1717
which are described in the following files:
1818

19-
- ../power/supply/cpcap-battery.txt
20-
- ../power/supply/cpcap-charger.txt
21-
- ../regulator/cpcap-regulator.txt
22-
- ../phy/phy-cpcap-usb.txt
23-
- ../input/cpcap-pwrbutton.txt
24-
- ../rtc/cpcap-rtc.txt
25-
- ../leds/leds-cpcap.txt
26-
- ../iio/adc/cpcap-adc.txt
19+
- Documentation/devicetree/bindings/power/supply/cpcap-battery.txt
20+
- Documentation/devicetree/bindings/power/supply/cpcap-charger.txt
21+
- Documentation/devicetree/bindings/regulator/cpcap-regulator.txt
22+
- Documentation/devicetree/bindings/phy/phy-cpcap-usb.txt
23+
- Documentation/devicetree/bindings/input/cpcap-pwrbutton.txt
24+
- Documentation/devicetree/bindings/rtc/cpcap-rtc.txt
25+
- Documentation/devicetree/bindings/leds/leds-cpcap.txt
26+
- Documentation/devicetree/bindings/iio/adc/motorola,cpcap-adc.yaml
2727

2828
The only exception is the audio codec. Instead of a compatible value its
2929
node must be named "audio-codec".

Documentation/devicetree/bindings/net/brcm,bcm4908-enet.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ required:
4040
- interrupts
4141
- interrupt-names
4242

43-
additionalProperties: false
43+
unevaluatedProperties: false
4444

4545
examples:
4646
- |

Documentation/devicetree/bindings/net/ethernet-controller.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ properties:
4949
description:
5050
Reference to an nvmem node for the MAC address
5151

52-
nvmem-cells-names:
52+
nvmem-cell-names:
5353
const: mac-address
5454

5555
phy-connection-type:

Documentation/devicetree/bindings/net/micrel-ksz90x1.txt

Lines changed: 94 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,71 @@ KSZ9031:
6565
step is 60ps. The default value is the neutral setting, so setting
6666
rxc-skew-ps=<0> actually results in -900 picoseconds adjustment.
6767

68+
The KSZ9031 hardware supports a range of skew values from negative to
69+
positive, where the specific range is property dependent. All values
70+
specified in the devicetree are offset by the minimum value so they
71+
can be represented as positive integers in the devicetree since it's
72+
difficult to represent a negative number in the devictree.
73+
74+
The following 5-bit values table apply to rxc-skew-ps and txc-skew-ps.
75+
76+
Pad Skew Value Delay (ps) Devicetree Value
77+
------------------------------------------------------
78+
0_0000 -900ps 0
79+
0_0001 -840ps 60
80+
0_0010 -780ps 120
81+
0_0011 -720ps 180
82+
0_0100 -660ps 240
83+
0_0101 -600ps 300
84+
0_0110 -540ps 360
85+
0_0111 -480ps 420
86+
0_1000 -420ps 480
87+
0_1001 -360ps 540
88+
0_1010 -300ps 600
89+
0_1011 -240ps 660
90+
0_1100 -180ps 720
91+
0_1101 -120ps 780
92+
0_1110 -60ps 840
93+
0_1111 0ps 900
94+
1_0000 60ps 960
95+
1_0001 120ps 1020
96+
1_0010 180ps 1080
97+
1_0011 240ps 1140
98+
1_0100 300ps 1200
99+
1_0101 360ps 1260
100+
1_0110 420ps 1320
101+
1_0111 480ps 1380
102+
1_1000 540ps 1440
103+
1_1001 600ps 1500
104+
1_1010 660ps 1560
105+
1_1011 720ps 1620
106+
1_1100 780ps 1680
107+
1_1101 840ps 1740
108+
1_1110 900ps 1800
109+
1_1111 960ps 1860
110+
111+
The following 4-bit values table apply to the txdX-skew-ps, rxdX-skew-ps
112+
data pads, and the rxdv-skew-ps, txen-skew-ps control pads.
113+
114+
Pad Skew Value Delay (ps) Devicetree Value
115+
------------------------------------------------------
116+
0000 -420ps 0
117+
0001 -360ps 60
118+
0010 -300ps 120
119+
0011 -240ps 180
120+
0100 -180ps 240
121+
0101 -120ps 300
122+
0110 -60ps 360
123+
0111 0ps 420
124+
1000 60ps 480
125+
1001 120ps 540
126+
1010 180ps 600
127+
1011 240ps 660
128+
1100 300ps 720
129+
1101 360ps 780
130+
1110 420ps 840
131+
1111 480ps 900
132+
68133
Optional properties:
69134

70135
Maximum value of 1860, default value 900:
@@ -120,11 +185,21 @@ KSZ9131:
120185

121186
Examples:
122187

188+
/* Attach to an Ethernet device with autodetected PHY */
189+
&enet {
190+
rxc-skew-ps = <1800>;
191+
rxdv-skew-ps = <0>;
192+
txc-skew-ps = <1800>;
193+
txen-skew-ps = <0>;
194+
status = "okay";
195+
};
196+
197+
/* Attach to an explicitly-specified PHY */
123198
mdio {
124199
phy0: ethernet-phy@0 {
125-
rxc-skew-ps = <3000>;
200+
rxc-skew-ps = <1800>;
126201
rxdv-skew-ps = <0>;
127-
txc-skew-ps = <3000>;
202+
txc-skew-ps = <1800>;
128203
txen-skew-ps = <0>;
129204
reg = <0>;
130205
};
@@ -133,3 +208,20 @@ Examples:
133208
phy = <&phy0>;
134209
phy-mode = "rgmii-id";
135210
};
211+
212+
References
213+
214+
Micrel ksz9021rl/rn Data Sheet, Revision 1.2. Dated 2/13/2014.
215+
http://www.micrel.com/_PDF/Ethernet/datasheets/ksz9021rl-rn_ds.pdf
216+
217+
Micrel ksz9031rnx Data Sheet, Revision 2.1. Dated 11/20/2014.
218+
http://www.micrel.com/_PDF/Ethernet/datasheets/KSZ9031RNX.pdf
219+
220+
Notes:
221+
222+
Note that a previous version of the Micrel ksz9021rl/rn Data Sheet
223+
was missing extended register 106 (transmit data pad skews), and
224+
incorrectly specified the ps per step as 200ps/step instead of
225+
120ps/step. The latest update to this document reflects the latest
226+
revision of the Micrel specification even though usage in the kernel
227+
still reflects that incorrect document.

Documentation/networking/ethtool-netlink.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -980,9 +980,9 @@ constraints on coalescing parameters and their values.
980980

981981

982982
PAUSE_GET
983-
============
983+
=========
984984

985-
Gets channel counts like ``ETHTOOL_GPAUSE`` ioctl request.
985+
Gets pause frame settings like ``ETHTOOL_GPAUSEPARAM`` ioctl request.
986986

987987
Request contents:
988988

@@ -1011,7 +1011,7 @@ the statistics in the following structure:
10111011
Each member has a corresponding attribute defined.
10121012

10131013
PAUSE_SET
1014-
============
1014+
=========
10151015

10161016
Sets pause parameters like ``ETHTOOL_GPAUSEPARAM`` ioctl request.
10171017

@@ -1028,7 +1028,7 @@ Request contents:
10281028
EEE_GET
10291029
=======
10301030

1031-
Gets channel counts like ``ETHTOOL_GEEE`` ioctl request.
1031+
Gets Energy Efficient Ethernet settings like ``ETHTOOL_GEEE`` ioctl request.
10321032

10331033
Request contents:
10341034

@@ -1058,7 +1058,7 @@ first 32 are provided by the ``ethtool_ops`` callback.
10581058
EEE_SET
10591059
=======
10601060

1061-
Sets pause parameters like ``ETHTOOL_GEEEPARAM`` ioctl request.
1061+
Sets Energy Efficient Ethernet parameters like ``ETHTOOL_SEEE`` ioctl request.
10621062

10631063
Request contents:
10641064

0 commit comments

Comments
 (0)