Skip to content

Commit 4cc1fee

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Several conflicts, seemingly all over the place. I used Stephen Rothwell's sample resolutions for many of these, if not just to double check my own work, so definitely the credit largely goes to him. The NFP conflict consisted of a bug fix (moving operations past the rhashtable operation) while chaning the initial argument in the function call in the moved code. The net/dsa/master.c conflict had to do with a bug fix intermixing of making dsa_master_set_mtu() static with the fixing of the tagging attribute location. cls_flower had a conflict because the dup reject fix from Or overlapped with the addition of port range classifiction. __set_phy_supported()'s conflict was relatively easy to resolve because Andrew fixed it in both trees, so it was just a matter of taking the net-next copy. Or at least I think it was :-) Joe Stringer's fix to the handling of netns id 0 in bpf_sk_lookup() intermixed with changes on how the sdif and caller_net are calculated in these code paths in net-next. The remaining BPF conflicts were largely about the addition of the __bpf_md_ptr stuff in 'net' overlapping with adjustments and additions to the relevant data structure where the MD pointer macros are used. Signed-off-by: David S. Miller <[email protected]>
2 parents a60956e + 40e020c commit 4cc1fee

File tree

576 files changed

+6121
-3146
lines changed

Some content is hidden

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

576 files changed

+6121
-3146
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
What: /sys/class/net/<iface>/tagging
1+
What: /sys/class/net/<iface>/dsa/tagging
22
Date: August 2018
33
KernelVersion: 4.20
44

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 60 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,8 @@
856856
causing system reset or hang due to sending
857857
INIT from AP to BSP.
858858

859-
disable_counter_freezing [HW]
859+
perf_v4_pmi= [X86,INTEL]
860+
Format: <bool>
860861
Disable Intel PMU counter freezing feature.
861862
The feature only exists starting from
862863
Arch Perfmon v4 (Skylake and newer).
@@ -3504,6 +3505,10 @@
35043505
before loading.
35053506
See Documentation/blockdev/ramdisk.txt.
35063507

3508+
psi= [KNL] Enable or disable pressure stall information
3509+
tracking.
3510+
Format: <bool>
3511+
35073512
psmouse.proto= [HW,MOUSE] Highest PS2 mouse protocol extension to
35083513
probe for; one of (bare|imps|exps|lifebook|any).
35093514
psmouse.rate= [HW,MOUSE] Set desired mouse report rate, in reports
@@ -4194,9 +4199,13 @@
41944199

41954200
spectre_v2= [X86] Control mitigation of Spectre variant 2
41964201
(indirect branch speculation) vulnerability.
4202+
The default operation protects the kernel from
4203+
user space attacks.
41974204

4198-
on - unconditionally enable
4199-
off - unconditionally disable
4205+
on - unconditionally enable, implies
4206+
spectre_v2_user=on
4207+
off - unconditionally disable, implies
4208+
spectre_v2_user=off
42004209
auto - kernel detects whether your CPU model is
42014210
vulnerable
42024211

@@ -4206,6 +4215,12 @@
42064215
CONFIG_RETPOLINE configuration option, and the
42074216
compiler with which the kernel was built.
42084217

4218+
Selecting 'on' will also enable the mitigation
4219+
against user space to user space task attacks.
4220+
4221+
Selecting 'off' will disable both the kernel and
4222+
the user space protections.
4223+
42094224
Specific mitigations can also be selected manually:
42104225

42114226
retpoline - replace indirect branches
@@ -4215,6 +4230,48 @@
42154230
Not specifying this option is equivalent to
42164231
spectre_v2=auto.
42174232

4233+
spectre_v2_user=
4234+
[X86] Control mitigation of Spectre variant 2
4235+
(indirect branch speculation) vulnerability between
4236+
user space tasks
4237+
4238+
on - Unconditionally enable mitigations. Is
4239+
enforced by spectre_v2=on
4240+
4241+
off - Unconditionally disable mitigations. Is
4242+
enforced by spectre_v2=off
4243+
4244+
prctl - Indirect branch speculation is enabled,
4245+
but mitigation can be enabled via prctl
4246+
per thread. The mitigation control state
4247+
is inherited on fork.
4248+
4249+
prctl,ibpb
4250+
- Like "prctl" above, but only STIBP is
4251+
controlled per thread. IBPB is issued
4252+
always when switching between different user
4253+
space processes.
4254+
4255+
seccomp
4256+
- Same as "prctl" above, but all seccomp
4257+
threads will enable the mitigation unless
4258+
they explicitly opt out.
4259+
4260+
seccomp,ibpb
4261+
- Like "seccomp" above, but only STIBP is
4262+
controlled per thread. IBPB is issued
4263+
always when switching between different
4264+
user space processes.
4265+
4266+
auto - Kernel selects the mitigation depending on
4267+
the available CPU features and vulnerability.
4268+
4269+
Default mitigation:
4270+
If CONFIG_SECCOMP=y then "seccomp", otherwise "prctl"
4271+
4272+
Not specifying this option is equivalent to
4273+
spectre_v2_user=auto.
4274+
42184275
spec_store_bypass_disable=
42194276
[HW] Control Speculative Store Bypass (SSB) Disable mitigation
42204277
(Speculative Store Bypass vulnerability)

Documentation/arm64/silicon-errata.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ stable kernels.
5757
| ARM | Cortex-A73 | #858921 | ARM64_ERRATUM_858921 |
5858
| ARM | Cortex-A55 | #1024718 | ARM64_ERRATUM_1024718 |
5959
| ARM | Cortex-A76 | #1188873 | ARM64_ERRATUM_1188873 |
60+
| ARM | Cortex-A76 | #1286807 | ARM64_ERRATUM_1286807 |
6061
| ARM | MMU-500 | #841119,#826419 | N/A |
6162
| | | | |
6263
| Cavium | ThunderX ITS | #22375, #24313 | CAVIUM_ERRATUM_22375 |

Documentation/devicetree/bindings/clock/clock-bindings.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,3 +168,19 @@ a shared clock is forbidden.
168168

169169
Configuration of common clocks, which affect multiple consumer devices can
170170
be similarly specified in the clock provider node.
171+
172+
==Protected clocks==
173+
174+
Some platforms or firmwares may not fully expose all the clocks to the OS, such
175+
as in situations where those clks are used by drivers running in ARM secure
176+
execution levels. Such a configuration can be specified in device tree with the
177+
protected-clocks property in the form of a clock specifier list. This property should
178+
only be specified in the node that is providing the clocks being protected:
179+
180+
clock-controller@a000f000 {
181+
compatible = "vendor,clk95;
182+
reg = <0xa000f000 0x1000>
183+
#clocks-cells = <1>;
184+
...
185+
protected-clocks = <UART3_CLK>, <SPI5_CLK>;
186+
};

Documentation/devicetree/bindings/input/input-reset.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The /chosen node should contain a 'linux,sysrq-reset-seq' child node to define
1212
a set of keys.
1313

1414
Required property:
15-
sysrq-reset-seq: array of Linux keycodes, one keycode per cell.
15+
keyset: array of Linux keycodes, one keycode per cell.
1616

1717
Optional property:
1818
timeout-ms: duration keys must be pressed together in milliseconds before

Documentation/devicetree/bindings/media/rockchip-vpu.txt

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

Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,24 +40,36 @@ Required properties:
4040
"ref" for 19.2 MHz ref clk,
4141
"com_aux" for phy common block aux clock,
4242
"ref_aux" for phy reference aux clock,
43+
44+
For "qcom,ipq8074-qmp-pcie-phy": no clocks are listed.
4345
For "qcom,msm8996-qmp-pcie-phy" must contain:
4446
"aux", "cfg_ahb", "ref".
4547
For "qcom,msm8996-qmp-usb3-phy" must contain:
4648
"aux", "cfg_ahb", "ref".
47-
For "qcom,qmp-v3-usb3-phy" must contain:
49+
For "qcom,sdm845-qmp-usb3-phy" must contain:
50+
"aux", "cfg_ahb", "ref", "com_aux".
51+
For "qcom,sdm845-qmp-usb3-uni-phy" must contain:
4852
"aux", "cfg_ahb", "ref", "com_aux".
53+
For "qcom,sdm845-qmp-ufs-phy" must contain:
54+
"ref", "ref_aux".
4955

5056
- resets: a list of phandles and reset controller specifier pairs,
5157
one for each entry in reset-names.
5258
- reset-names: "phy" for reset of phy block,
5359
"common" for phy common block reset,
54-
"cfg" for phy's ahb cfg block reset (Optional).
60+
"cfg" for phy's ahb cfg block reset.
61+
62+
For "qcom,ipq8074-qmp-pcie-phy" must contain:
63+
"phy", "common".
5564
For "qcom,msm8996-qmp-pcie-phy" must contain:
56-
"phy", "common", "cfg".
65+
"phy", "common", "cfg".
5766
For "qcom,msm8996-qmp-usb3-phy" must contain
58-
"phy", "common".
59-
For "qcom,ipq8074-qmp-pcie-phy" must contain:
60-
"phy", "common".
67+
"phy", "common".
68+
For "qcom,sdm845-qmp-usb3-phy" must contain:
69+
"phy", "common".
70+
For "qcom,sdm845-qmp-usb3-uni-phy" must contain:
71+
"phy", "common".
72+
For "qcom,sdm845-qmp-ufs-phy": no resets are listed.
6173

6274
- vdda-phy-supply: Phandle to a regulator supply to PHY core block.
6375
- vdda-pll-supply: Phandle to 1.8V regulator supply to PHY refclk pll block.
@@ -79,9 +91,10 @@ Required properties for child node:
7991

8092
- #phy-cells: must be 0
8193

94+
Required properties child node of pcie and usb3 qmp phys:
8295
- clocks: a list of phandles and clock-specifier pairs,
8396
one for each entry in clock-names.
84-
- clock-names: Must contain following for pcie and usb qmp phys:
97+
- clock-names: Must contain following:
8598
"pipe<lane-number>" for pipe clock specific to each lane.
8699
- clock-output-names: Name of the PHY clock that will be the parent for
87100
the above pipe clock.
@@ -91,9 +104,11 @@ Required properties for child node:
91104
(or)
92105
"pcie20_phy1_pipe_clk"
93106

107+
Required properties for child node of PHYs with lane reset, AKA:
108+
"qcom,msm8996-qmp-pcie-phy"
94109
- resets: a list of phandles and reset controller specifier pairs,
95110
one for each entry in reset-names.
96-
- reset-names: Must contain following for pcie qmp phys:
111+
- reset-names: Must contain following:
97112
"lane<lane-number>" for reset specific to each lane.
98113

99114
Example:

Documentation/media/uapi/mediactl/media-ioc-request-alloc.rst

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,28 @@
1-
.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections
1+
.. This file is dual-licensed: you can use it either under the terms
2+
.. of the GPL or the GFDL 1.1+ license, at your option. Note that this
3+
.. dual licensing only applies to this file, and not this project as a
4+
.. whole.
5+
..
6+
.. a) This file is free software; you can redistribute it and/or
7+
.. modify it under the terms of the GNU General Public License as
8+
.. published by the Free Software Foundation; either version 2 of
9+
.. the License, or (at your option) any later version.
10+
..
11+
.. This file is distributed in the hope that it will be useful,
12+
.. but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
.. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
.. GNU General Public License for more details.
15+
..
16+
.. Or, alternatively,
17+
..
18+
.. b) Permission is granted to copy, distribute and/or modify this
19+
.. document under the terms of the GNU Free Documentation License,
20+
.. Version 1.1 or any later version published by the Free Software
21+
.. Foundation, with no Invariant Sections, no Front-Cover Texts
22+
.. and no Back-Cover Texts. A copy of the license is included at
23+
.. Documentation/media/uapi/fdl-appendix.rst.
24+
..
25+
.. TODO: replace it to GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections
226
327
.. _media_ioc_request_alloc:
428

Documentation/media/uapi/mediactl/media-request-ioc-queue.rst

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,28 @@
1-
.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections
1+
.. This file is dual-licensed: you can use it either under the terms
2+
.. of the GPL or the GFDL 1.1+ license, at your option. Note that this
3+
.. dual licensing only applies to this file, and not this project as a
4+
.. whole.
5+
..
6+
.. a) This file is free software; you can redistribute it and/or
7+
.. modify it under the terms of the GNU General Public License as
8+
.. published by the Free Software Foundation; either version 2 of
9+
.. the License, or (at your option) any later version.
10+
..
11+
.. This file is distributed in the hope that it will be useful,
12+
.. but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
.. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
.. GNU General Public License for more details.
15+
..
16+
.. Or, alternatively,
17+
..
18+
.. b) Permission is granted to copy, distribute and/or modify this
19+
.. document under the terms of the GNU Free Documentation License,
20+
.. Version 1.1 or any later version published by the Free Software
21+
.. Foundation, with no Invariant Sections, no Front-Cover Texts
22+
.. and no Back-Cover Texts. A copy of the license is included at
23+
.. Documentation/media/uapi/fdl-appendix.rst.
24+
..
25+
.. TODO: replace it to GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections
226
327
.. _media_request_ioc_queue:
428

Documentation/media/uapi/mediactl/media-request-ioc-reinit.rst

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,28 @@
1-
.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections
1+
.. This file is dual-licensed: you can use it either under the terms
2+
.. of the GPL or the GFDL 1.1+ license, at your option. Note that this
3+
.. dual licensing only applies to this file, and not this project as a
4+
.. whole.
5+
..
6+
.. a) This file is free software; you can redistribute it and/or
7+
.. modify it under the terms of the GNU General Public License as
8+
.. published by the Free Software Foundation; either version 2 of
9+
.. the License, or (at your option) any later version.
10+
..
11+
.. This file is distributed in the hope that it will be useful,
12+
.. but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
.. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
.. GNU General Public License for more details.
15+
..
16+
.. Or, alternatively,
17+
..
18+
.. b) Permission is granted to copy, distribute and/or modify this
19+
.. document under the terms of the GNU Free Documentation License,
20+
.. Version 1.1 or any later version published by the Free Software
21+
.. Foundation, with no Invariant Sections, no Front-Cover Texts
22+
.. and no Back-Cover Texts. A copy of the license is included at
23+
.. Documentation/media/uapi/fdl-appendix.rst.
24+
..
25+
.. TODO: replace it to GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections
226
327
.. _media_request_ioc_reinit:
428

Documentation/media/uapi/mediactl/request-api.rst

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,28 @@
1-
.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections
1+
.. This file is dual-licensed: you can use it either under the terms
2+
.. of the GPL or the GFDL 1.1+ license, at your option. Note that this
3+
.. dual licensing only applies to this file, and not this project as a
4+
.. whole.
5+
..
6+
.. a) This file is free software; you can redistribute it and/or
7+
.. modify it under the terms of the GNU General Public License as
8+
.. published by the Free Software Foundation; either version 2 of
9+
.. the License, or (at your option) any later version.
10+
..
11+
.. This file is distributed in the hope that it will be useful,
12+
.. but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
.. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
.. GNU General Public License for more details.
15+
..
16+
.. Or, alternatively,
17+
..
18+
.. b) Permission is granted to copy, distribute and/or modify this
19+
.. document under the terms of the GNU Free Documentation License,
20+
.. Version 1.1 or any later version published by the Free Software
21+
.. Foundation, with no Invariant Sections, no Front-Cover Texts
22+
.. and no Back-Cover Texts. A copy of the license is included at
23+
.. Documentation/media/uapi/fdl-appendix.rst.
24+
..
25+
.. TODO: replace it to GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections
226
327
.. _media-request-api:
428

Documentation/media/uapi/mediactl/request-func-close.rst

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,28 @@
1-
.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections
1+
.. This file is dual-licensed: you can use it either under the terms
2+
.. of the GPL or the GFDL 1.1+ license, at your option. Note that this
3+
.. dual licensing only applies to this file, and not this project as a
4+
.. whole.
5+
..
6+
.. a) This file is free software; you can redistribute it and/or
7+
.. modify it under the terms of the GNU General Public License as
8+
.. published by the Free Software Foundation; either version 2 of
9+
.. the License, or (at your option) any later version.
10+
..
11+
.. This file is distributed in the hope that it will be useful,
12+
.. but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
.. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
.. GNU General Public License for more details.
15+
..
16+
.. Or, alternatively,
17+
..
18+
.. b) Permission is granted to copy, distribute and/or modify this
19+
.. document under the terms of the GNU Free Documentation License,
20+
.. Version 1.1 or any later version published by the Free Software
21+
.. Foundation, with no Invariant Sections, no Front-Cover Texts
22+
.. and no Back-Cover Texts. A copy of the license is included at
23+
.. Documentation/media/uapi/fdl-appendix.rst.
24+
..
25+
.. TODO: replace it to GPL-2.0 OR GFDL-1.1-or-later WITH no-invariant-sections
226
327
.. _request-func-close:
428

0 commit comments

Comments
 (0)