Skip to content

Commit b4b12b0

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
The phylink conflict was between a bug fix by Russell King to make sure we have a consistent PHY interface mode, and a change in net-next to pull some code in phylink_resolve() into the helper functions phylink_mac_link_{up,down}() On the dp83867 side it's mostly overlapping changes, with the 'net' side removing a condition that was supposed to trigger for RGMII but because of how it was coded never actually could trigger. Signed-off-by: David S. Miller <[email protected]>
2 parents c9bb616 + 036e343 commit b4b12b0

File tree

1,459 files changed

+5330
-15901
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,459 files changed

+5330
-15901
lines changed

Documentation/ABI/testing/sysfs-bus-mdio

Lines changed: 0 additions & 29 deletions
This file was deleted.

Documentation/ABI/testing/sysfs-class-net-phydev

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,31 @@ Date: February 2014
1111
KernelVersion: 3.15
1212
1313
Description:
14-
Boolean value indicating whether the PHY device has
15-
any fixups registered against it (phy_register_fixup)
14+
This attribute contains the boolean value whether a given PHY
15+
device has had any "fixup" workaround running on it, encoded as
16+
a boolean. This information is provided to help troubleshooting
17+
PHY configurations.
1618

1719
What: /sys/class/mdio_bus/<bus>/<device>/phy_id
1820
Date: November 2012
1921
KernelVersion: 3.8
2022
2123
Description:
22-
32-bit hexadecimal value corresponding to the PHY device's OUI,
23-
model and revision number.
24+
This attribute contains the 32-bit PHY Identifier as reported
25+
by the device during bus enumeration, encoded in hexadecimal.
26+
This ID is used to match the device with the appropriate
27+
driver.
2428

2529
What: /sys/class/mdio_bus/<bus>/<device>/phy_interface
2630
Date: February 2014
2731
KernelVersion: 3.15
2832
2933
Description:
30-
String value indicating the PHY interface, possible
31-
values are:.
34+
This attribute contains the PHY interface as configured by the
35+
Ethernet driver during bus enumeration, encoded in string.
36+
This interface mode is used to configure the Ethernet MAC with the
37+
appropriate mode for its data lines to the PHY hardware.
38+
Possible values are:
3239
<empty> (not available), mii, gmii, sgmii, tbi, rev-mii,
3340
rmii, rgmii, rgmii-id, rgmii-rxid, rgmii-txid, rtbi, smii
3441
xgmii, moca, qsgmii, trgmii, 1000base-x, 2500base-x, rxaui,

Documentation/admin-guide/mm/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ the Linux memory management.
3131
ksm
3232
memory-hotplug
3333
numa_memory_policy
34+
numaperf
3435
pagemap
3536
soft-dirty
3637
transhuge

Documentation/admin-guide/mm/numaperf.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ characteristics. Some memory may share the same node as a CPU, and others
1515
are provided as memory only nodes. While memory only nodes do not provide
1616
CPUs, they may still be local to one or more compute nodes relative to
1717
other nodes. The following diagram shows one such example of two compute
18-
nodes with local memory and a memory only node for each of compute node:
18+
nodes with local memory and a memory only node for each of compute node::
1919

2020
+------------------+ +------------------+
2121
| Compute Node 0 +-----+ Compute Node 1 |

Documentation/arm64/silicon-errata.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,14 @@ stable kernels.
5858
| ARM | Cortex-A72 | #853709 | N/A |
5959
| ARM | Cortex-A73 | #858921 | ARM64_ERRATUM_858921 |
6060
| ARM | Cortex-A55 | #1024718 | ARM64_ERRATUM_1024718 |
61-
| ARM | Cortex-A76 | #1188873 | ARM64_ERRATUM_1188873 |
61+
| ARM | Cortex-A76 | #1188873,1418040| ARM64_ERRATUM_1418040 |
6262
| ARM | Cortex-A76 | #1165522 | ARM64_ERRATUM_1165522 |
6363
| ARM | Cortex-A76 | #1286807 | ARM64_ERRATUM_1286807 |
64-
| ARM | Neoverse-N1 | #1188873 | ARM64_ERRATUM_1188873 |
65-
| ARM | MMU-500 | #841119,#826419 | N/A |
64+
| ARM | Cortex-A76 | #1463225 | ARM64_ERRATUM_1463225 |
65+
| ARM | Neoverse-N1 | #1188873,1418040| ARM64_ERRATUM_1418040 |
66+
| ARM | MMU-500 | #841119,826419 | N/A |
6667
| | | | |
67-
| Cavium | ThunderX ITS | #22375, #24313 | CAVIUM_ERRATUM_22375 |
68+
| Cavium | ThunderX ITS | #22375,24313 | CAVIUM_ERRATUM_22375 |
6869
| Cavium | ThunderX ITS | #23144 | CAVIUM_ERRATUM_23144 |
6970
| Cavium | ThunderX GICv3 | #23154 | CAVIUM_ERRATUM_23154 |
7071
| Cavium | ThunderX Core | #27456 | CAVIUM_ERRATUM_27456 |

Documentation/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
extensions = ['kerneldoc', 'rstFlatTable', 'kernel_include', 'cdomain', 'kfigure', 'sphinx.ext.ifconfig']
3838

3939
# The name of the math extension changed on Sphinx 1.4
40-
if major == 1 and minor > 3:
40+
if (major == 1 and minor > 3) or (major > 1):
4141
extensions.append("sphinx.ext.imgmath")
4242
else:
4343
extensions.append("sphinx.ext.pngmath")

Documentation/devicetree/bindings/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ DT_MK_SCHEMA ?= dt-mk-schema
55
DT_MK_SCHEMA_FLAGS := $(if $(DT_SCHEMA_FILES), -u)
66

77
quiet_cmd_chk_binding = CHKDT $(patsubst $(srctree)/%,%,$<)
8-
cmd_chk_binding = $(DT_DOC_CHECKER) $< ; \
8+
cmd_chk_binding = $(DT_DOC_CHECKER) -u $(srctree)/$(src) $< ; \
99
$(DT_EXTRACT_EX) $< > $@
1010

1111
$(obj)/%.example.dts: $(src)/%.yaml FORCE

Documentation/devicetree/bindings/arm/arm-boards

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ Example:
216216
#size-cells = <0>;
217217

218218
A57_0: cpu@0 {
219-
compatible = "arm,cortex-a57","arm,armv8";
219+
compatible = "arm,cortex-a57";
220220
reg = <0x0 0x0>;
221221
device_type = "cpu";
222222
enable-method = "psci";
@@ -225,7 +225,7 @@ Example:
225225
.....
226226

227227
A53_0: cpu@100 {
228-
compatible = "arm,cortex-a53","arm,armv8";
228+
compatible = "arm,cortex-a53";
229229
reg = <0x0 0x100>;
230230
device_type = "cpu";
231231
enable-method = "psci";

Documentation/devicetree/bindings/arm/cpu-capacity.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ cpus {
118118
};
119119

120120
A57_0: cpu@0 {
121-
compatible = "arm,cortex-a57","arm,armv8";
121+
compatible = "arm,cortex-a57";
122122
reg = <0x0 0x0>;
123123
device_type = "cpu";
124124
enable-method = "psci";
@@ -129,7 +129,7 @@ cpus {
129129
};
130130

131131
A57_1: cpu@1 {
132-
compatible = "arm,cortex-a57","arm,armv8";
132+
compatible = "arm,cortex-a57";
133133
reg = <0x0 0x1>;
134134
device_type = "cpu";
135135
enable-method = "psci";
@@ -140,7 +140,7 @@ cpus {
140140
};
141141

142142
A53_0: cpu@100 {
143-
compatible = "arm,cortex-a53","arm,armv8";
143+
compatible = "arm,cortex-a53";
144144
reg = <0x0 0x100>;
145145
device_type = "cpu";
146146
enable-method = "psci";
@@ -151,7 +151,7 @@ cpus {
151151
};
152152

153153
A53_1: cpu@101 {
154-
compatible = "arm,cortex-a53","arm,armv8";
154+
compatible = "arm,cortex-a53";
155155
reg = <0x0 0x101>;
156156
device_type = "cpu";
157157
enable-method = "psci";
@@ -162,7 +162,7 @@ cpus {
162162
};
163163

164164
A53_2: cpu@102 {
165-
compatible = "arm,cortex-a53","arm,armv8";
165+
compatible = "arm,cortex-a53";
166166
reg = <0x0 0x102>;
167167
device_type = "cpu";
168168
enable-method = "psci";
@@ -173,7 +173,7 @@ cpus {
173173
};
174174

175175
A53_3: cpu@103 {
176-
compatible = "arm,cortex-a53","arm,armv8";
176+
compatible = "arm,cortex-a53";
177177
reg = <0x0 0x103>;
178178
device_type = "cpu";
179179
enable-method = "psci";

Documentation/devicetree/bindings/arm/omap/crossbar.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Examples:
4141
Consumer:
4242
========
4343
See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt and
44-
Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt for
44+
Documentation/devicetree/bindings/interrupt-controller/arm,gic.yaml for
4545
further details.
4646

4747
An interrupt consumer on an SoC using crossbar will use:

Documentation/devicetree/bindings/clock/samsung,s5pv210-clock.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ board device tree, including the system base clock, as selected by XOM[0]
3535
pin of the SoC. Refer to generic fixed rate clock bindings
3636
documentation[1] for more information how to specify these clocks.
3737

38-
[1] Documentation/devicetree/bindings/clock/fixed-clock.txt
38+
[1] Documentation/devicetree/bindings/clock/fixed-clock.yaml
3939

4040
Example: Clock controller node:
4141

Documentation/devicetree/bindings/interrupt-controller/arm,gic.yaml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ properties:
9292
minItems: 2
9393
maxItems: 4
9494

95+
ranges: true
96+
9597
interrupts:
9698
description: Interrupt source of the parent interrupt controller on
9799
secondary GICs, or VGIC maintenance interrupt on primary GIC (see
@@ -197,28 +199,28 @@ examples:
197199
interrupt-controller@e1101000 {
198200
compatible = "arm,gic-400";
199201
#interrupt-cells = <3>;
200-
#address-cells = <2>;
201-
#size-cells = <2>;
202+
#address-cells = <1>;
203+
#size-cells = <1>;
202204
interrupt-controller;
203205
interrupts = <1 8 0xf04>;
204-
ranges = <0 0 0 0xe1100000 0 0x100000>;
205-
reg = <0x0 0xe1110000 0 0x01000>,
206-
<0x0 0xe112f000 0 0x02000>,
207-
<0x0 0xe1140000 0 0x10000>,
208-
<0x0 0xe1160000 0 0x10000>;
206+
ranges = <0 0xe1100000 0x100000>;
207+
reg = <0xe1110000 0x01000>,
208+
<0xe112f000 0x02000>,
209+
<0xe1140000 0x10000>,
210+
<0xe1160000 0x10000>;
209211
210-
v2m0: v2m@8000 {
212+
v2m0: v2m@80000 {
211213
compatible = "arm,gic-v2m-frame";
212214
msi-controller;
213-
reg = <0x0 0x80000 0 0x1000>;
215+
reg = <0x80000 0x1000>;
214216
};
215217
216218
//...
217219
218-
v2mN: v2m@9000 {
220+
v2mN: v2m@90000 {
219221
compatible = "arm,gic-v2m-frame";
220222
msi-controller;
221-
reg = <0x0 0x90000 0 0x1000>;
223+
reg = <0x90000 0x1000>;
222224
};
223225
};
224226
...

Documentation/devicetree/bindings/interrupt-controller/marvell,odmi-controller.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Required properties:
2323
- marvell,spi-base : List of GIC base SPI interrupts, one for each
2424
ODMI frame. Those SPI interrupts are 0-based,
2525
i.e marvell,spi-base = <128> will use SPI #96.
26-
See Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt
26+
See Documentation/devicetree/bindings/interrupt-controller/arm,gic.yaml
2727
for details about the GIC Device Tree binding.
2828

2929
Example:

Documentation/devicetree/bindings/leds/irled/spi-ir-led.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Optional properties:
1515
- power-supply: specifies the power source. It can either be a regulator
1616
or a gpio which enables a regulator, i.e. a regulator-fixed as
1717
described in
18-
Documentation/devicetree/bindings/regulator/fixed-regulator.txt
18+
Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
1919

2020
Example:
2121

Documentation/devicetree/bindings/mtd/amlogic,meson-nand.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Optional children nodes:
2424
Children nodes represent the available nand chips.
2525

2626
Other properties:
27-
see Documentation/devicetree/bindings/mtd/nand.txt for generic bindings.
27+
see Documentation/devicetree/bindings/mtd/nand-controller.yaml for generic bindings.
2828

2929
Example demonstrate on AXG SoC:
3030

Documentation/devicetree/bindings/mtd/brcm,brcmnand.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@ Required properties:
101101
number (e.g., 0, 1, 2, etc.)
102102
- #address-cells : see partition.txt
103103
- #size-cells : see partition.txt
104-
- nand-ecc-strength : see nand.txt
105-
- nand-ecc-step-size : must be 512 or 1024. See nand.txt
104+
- nand-ecc-strength : see nand-controller.yaml
105+
- nand-ecc-step-size : must be 512 or 1024. See nand-controller.yaml
106106

107107
Optional properties:
108108
- nand-on-flash-bbt : boolean, to enable the on-flash BBT for this
109-
chip-select. See nand.txt
109+
chip-select. See nand-controller.yaml
110110
- brcm,nand-oob-sector-size : integer, to denote the spare area sector size
111111
expected for the ECC layout in use. This size, in
112112
addition to the strength and step-size,

Documentation/devicetree/bindings/mtd/denali-nand.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ Sub-nodes:
2222
select is connected.
2323

2424
Optional properties:
25-
- nand-ecc-step-size: see nand.txt for details.
25+
- nand-ecc-step-size: see nand-controller.yaml for details.
2626
If present, the value must be
2727
512 for "altr,socfpga-denali-nand"
2828
1024 for "socionext,uniphier-denali-nand-v5a"
2929
1024 for "socionext,uniphier-denali-nand-v5b"
30-
- nand-ecc-strength: see nand.txt for details. Valid values are:
30+
- nand-ecc-strength: see nand-controller.yaml for details. Valid values are:
3131
8, 15 for "altr,socfpga-denali-nand"
3232
8, 16, 24 for "socionext,uniphier-denali-nand-v5a"
3333
8, 16 for "socionext,uniphier-denali-nand-v5b"
34-
- nand-ecc-maximize: see nand.txt for details
34+
- nand-ecc-maximize: see nand-controller.yaml for details
3535

3636
The chip nodes may optionally contain sub-nodes describing partitions of the
3737
address space. See partition.txt for more detail.

Documentation/devicetree/bindings/mtd/fsmc-nand.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ Optional properties:
3030
command is asserted. Zero means one cycle, 255 means 256
3131
cycles.
3232
- bank: default NAND bank to use (0-3 are valid, 0 is the default).
33-
- nand-ecc-mode : see nand.txt
34-
- nand-ecc-strength : see nand.txt
35-
- nand-ecc-step-size : see nand.txt
33+
- nand-ecc-mode : see nand-controller.yaml
34+
- nand-ecc-strength : see nand-controller.yaml
35+
- nand-ecc-step-size : see nand-controller.yaml
3636

3737
Can support 1-bit HW ECC (default) or if stronger correction is required,
3838
software-based BCH.

Documentation/devicetree/bindings/mtd/gpmc-nand.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ explained in a separate documents - please refer to
88
Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt
99

1010
For NAND specific properties such as ECC modes or bus width, please refer to
11-
Documentation/devicetree/bindings/mtd/nand.txt
11+
Documentation/devicetree/bindings/mtd/nand-controller.yaml
1212

1313

1414
Required properties:

Documentation/devicetree/bindings/mtd/hisi504-nand.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Required properties:
77
NAND controller's registers. The second contains base
88
physical address and size of NAND controller's buffer.
99
- interrupts: Interrupt number for nfc.
10-
- nand-bus-width: See nand.txt.
10+
- nand-bus-width: See nand-controller.yaml.
1111
- nand-ecc-mode: Support none and hw ecc mode.
1212
- #address-cells: Partition address, should be set 1.
1313
- #size-cells: Partition size, should be set 1.

Documentation/devicetree/bindings/mtd/marvell-nand.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,29 +36,29 @@ Children nodes represent the available NAND chips.
3636

3737
Required properties:
3838
- reg: shall contain the native Chip Select ids (0-3).
39-
- nand-rb: see nand.txt (0-1).
39+
- nand-rb: see nand-controller.yaml (0-1).
4040

4141
Optional properties:
4242
- marvell,nand-keep-config: orders the driver not to take the timings
4343
from the core and leaving them completely untouched. Bootloader
4444
timings will then be used.
4545
- label: MTD name.
46-
- nand-on-flash-bbt: see nand.txt.
47-
- nand-ecc-mode: see nand.txt. Will use hardware ECC if not specified.
48-
- nand-ecc-algo: see nand.txt. This property is essentially useful when
46+
- nand-on-flash-bbt: see nand-controller.yaml.
47+
- nand-ecc-mode: see nand-controller.yaml. Will use hardware ECC if not specified.
48+
- nand-ecc-algo: see nand-controller.yaml. This property is essentially useful when
4949
not using hardware ECC. Howerver, it may be added when using hardware
5050
ECC for clarification but will be ignored by the driver because ECC
5151
mode is chosen depending on the page size and the strength required by
5252
the NAND chip. This value may be overwritten with nand-ecc-strength
5353
property.
54-
- nand-ecc-strength: see nand.txt.
55-
- nand-ecc-step-size: see nand.txt. Marvell's NAND flash controller does
54+
- nand-ecc-strength: see nand-controller.yaml.
55+
- nand-ecc-step-size: see nand-controller.yaml. Marvell's NAND flash controller does
5656
use fixed strength (1-bit for Hamming, 16-bit for BCH), so the actual
5757
step size will shrink or grow in order to fit the required strength.
5858
Step sizes are not completely random for all and follow certain
5959
patterns described in AN-379, "Marvell SoC NFC ECC".
6060

61-
See Documentation/devicetree/bindings/mtd/nand.txt for more details on
61+
See Documentation/devicetree/bindings/mtd/nand-controller.yaml for more details on
6262
generic bindings.
6363

6464

0 commit comments

Comments
 (0)