Skip to content

Commit dc9d875

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
2 parents de1db4a + 291009f commit dc9d875

File tree

320 files changed

+3829
-1440
lines changed

Some content is hidden

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

320 files changed

+3829
-1440
lines changed

.mailmap

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Andrew Murray <[email protected]> <[email protected]>
3737
3838
Andrew Vasquez <[email protected]>
3939
40+
4041
Andy Adamson <[email protected]>
4142
4243
@@ -179,6 +180,8 @@ Kees Cook <[email protected]> <[email protected]>
179180
180181
181182
183+
184+
182185
Kenneth W Chen <[email protected]>
183186
Konstantin Khlebnikov <[email protected]> <[email protected]>
184187
Konstantin Khlebnikov <[email protected]> <[email protected]>
@@ -199,6 +202,8 @@ Li Yang <[email protected]> <[email protected]>
199202
200203
201204
205+
Manivannan Sadhasivam <[email protected]> <[email protected]>
206+
Manivannan Sadhasivam <[email protected]> <[email protected]>
202207
203208
204209
Mark Brown <[email protected]>
@@ -244,6 +249,7 @@ Morten Welinder <[email protected]>
244249
Morten Welinder <[email protected]>
245250
Morten Welinder <[email protected]>
246251
Mythri P K <[email protected]>
252+
247253
Nguyen Anh Quynh <[email protected]>
248254
249255
@@ -334,6 +340,8 @@ Vinod Koul <[email protected]> <[email protected]>
334340
335341
336342
343+
344+
337345
338346
339347

Documentation/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ quiet_cmd_sphinx = SPHINX $@ --> file://$(abspath $(BUILDDIR)/$3/$4)
7575
cmd_sphinx = $(MAKE) BUILDDIR=$(abspath $(BUILDDIR)) $(build)=Documentation/userspace-api/media $2 && \
7676
PYTHONDONTWRITEBYTECODE=1 \
7777
BUILDDIR=$(abspath $(BUILDDIR)) SPHINX_CONF=$(abspath $(srctree)/$(src)/$5/$(SPHINX_CONF)) \
78-
$(PYTHON) $(srctree)/scripts/jobserver-exec \
78+
$(PYTHON3) $(srctree)/scripts/jobserver-exec \
7979
$(SHELL) $(srctree)/Documentation/sphinx/parallel-wrapper.sh \
8080
$(SPHINXBUILD) \
8181
-b $2 \

Documentation/admin-guide/syscall-user-dispatch.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ trampoline code on the vDSO, that trampoline is never intercepted.
7070
[selector] is a pointer to a char-sized region in the process memory
7171
region, that provides a quick way to enable disable syscall redirection
7272
thread-wide, without the need to invoke the kernel directly. selector
73-
can be set to PR_SYS_DISPATCH_ON or PR_SYS_DISPATCH_OFF. Any other
74-
value should terminate the program with a SIGSYS.
73+
can be set to SYSCALL_DISPATCH_FILTER_ALLOW or SYSCALL_DISPATCH_FILTER_BLOCK.
74+
Any other value should terminate the program with a SIGSYS.
7575

7676
Security Notes
7777
--------------

Documentation/dev-tools/kasan.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,7 @@ particular KASAN features.
163163
- ``kasan=off`` or ``=on`` controls whether KASAN is enabled (default: ``on``).
164164

165165
- ``kasan.stacktrace=off`` or ``=on`` disables or enables alloc and free stack
166-
traces collection (default: ``on`` for ``CONFIG_DEBUG_KERNEL=y``, otherwise
167-
``off``).
166+
traces collection (default: ``on``).
168167

169168
- ``kasan.fault=report`` or ``=panic`` controls whether to only print a KASAN
170169
report or also panic the kernel (default: ``report``).

Documentation/devicetree/bindings/input/adc-keys.txt

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ Required properties:
55
- compatible: "adc-keys"
66
- io-channels: Phandle to an ADC channel
77
- io-channel-names = "buttons";
8-
- keyup-threshold-microvolt: Voltage at which all the keys are considered up.
8+
- keyup-threshold-microvolt: Voltage above or equal to which all the keys are
9+
considered up.
910

1011
Optional properties:
1112
- poll-interval: Poll interval time in milliseconds
@@ -17,7 +18,12 @@ Each button (key) is represented as a sub-node of "adc-keys":
1718
Required subnode-properties:
1819
- label: Descriptive name of the key.
1920
- linux,code: Keycode to emit.
20-
- press-threshold-microvolt: Voltage ADC input when this key is pressed.
21+
- press-threshold-microvolt: voltage above or equal to which this key is
22+
considered pressed.
23+
24+
No two values of press-threshold-microvolt may be the same.
25+
All values of press-threshold-microvolt must be less than
26+
keyup-threshold-microvolt.
2127

2228
Example:
2329

@@ -47,3 +53,15 @@ Example:
4753
press-threshold-microvolt = <500000>;
4854
};
4955
};
56+
57+
+--------------------------------+------------------------+
58+
| 2.000.000 <= value | no key pressed |
59+
+--------------------------------+------------------------+
60+
| 1.500.000 <= value < 2.000.000 | KEY_VOLUMEUP pressed |
61+
+--------------------------------+------------------------+
62+
| 1.000.000 <= value < 1.500.000 | KEY_VOLUMEDOWN pressed |
63+
+--------------------------------+------------------------+
64+
| 500.000 <= value < 1.000.000 | KEY_ENTER pressed |
65+
+--------------------------------+------------------------+
66+
| value < 500.000 | no key pressed |
67+
+--------------------------------+------------------------+

Documentation/devicetree/bindings/input/touchscreen/goodix.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ properties:
2626
- goodix,gt927
2727
- goodix,gt9271
2828
- goodix,gt928
29+
- goodix,gt9286
2930
- goodix,gt967
3031

3132
reg:

Documentation/filesystems/overlayfs.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,14 @@ without significant effort.
586586
The advantage of mounting with the "volatile" option is that all forms of
587587
sync calls to the upper filesystem are omitted.
588588

589+
In order to avoid a giving a false sense of safety, the syncfs (and fsync)
590+
semantics of volatile mounts are slightly different than that of the rest of
591+
VFS. If any writeback error occurs on the upperdir's filesystem after a
592+
volatile mount takes place, all sync functions will return an error. Once this
593+
condition is reached, the filesystem will not recover, and every subsequent sync
594+
call will return an error, even if the upperdir has not experience a new error
595+
since the last sync call.
596+
589597
When overlay is mounted with "volatile" option, the directory
590598
"$workdir/work/incompat/volatile" is created. During next mount, overlay
591599
checks for this directory and refuses to mount if present. This is a strong

Documentation/kbuild/gcc-plugins.rst

Lines changed: 21 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,13 @@ compiler [1]_. They are useful for runtime instrumentation and static analysis.
1111
We can analyse, change and add further code during compilation via
1212
callbacks [2]_, GIMPLE [3]_, IPA [4]_ and RTL passes [5]_.
1313

14-
The GCC plugin infrastructure of the kernel supports all gcc versions from
15-
4.5 to 6.0, building out-of-tree modules, cross-compilation and building in a
16-
separate directory.
17-
Plugin source files have to be compilable by both a C and a C++ compiler as well
18-
because gcc versions 4.5 and 4.6 are compiled by a C compiler,
19-
gcc-4.7 can be compiled by a C or a C++ compiler,
20-
and versions 4.8+ can only be compiled by a C++ compiler.
14+
The GCC plugin infrastructure of the kernel supports building out-of-tree
15+
modules, cross-compilation and building in a separate directory.
16+
Plugin source files have to be compilable by a C++ compiler.
2117

22-
Currently the GCC plugin infrastructure supports only the x86, arm, arm64 and
23-
powerpc architectures.
18+
Currently the GCC plugin infrastructure supports only some architectures.
19+
Grep "select HAVE_GCC_PLUGINS" to find out which architectures support
20+
GCC plugins.
2421

2522
This infrastructure was ported from grsecurity [6]_ and PaX [7]_.
2623

@@ -47,42 +44,39 @@ Files
4744
This is a compatibility header for GCC plugins.
4845
It should be always included instead of individual gcc headers.
4946

50-
**$(src)/scripts/gcc-plugin.sh**
51-
52-
This script checks the availability of the included headers in
53-
gcc-common.h and chooses the proper host compiler to build the plugins
54-
(gcc-4.7 can be built by either gcc or g++).
55-
5647
**$(src)/scripts/gcc-plugins/gcc-generate-gimple-pass.h,
5748
$(src)/scripts/gcc-plugins/gcc-generate-ipa-pass.h,
5849
$(src)/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h,
5950
$(src)/scripts/gcc-plugins/gcc-generate-rtl-pass.h**
6051

6152
These headers automatically generate the registration structures for
62-
GIMPLE, SIMPLE_IPA, IPA and RTL passes. They support all gcc versions
63-
from 4.5 to 6.0.
53+
GIMPLE, SIMPLE_IPA, IPA and RTL passes.
6454
They should be preferred to creating the structures by hand.
6555

6656

6757
Usage
6858
=====
6959

7060
You must install the gcc plugin headers for your gcc version,
71-
e.g., on Ubuntu for gcc-4.9::
61+
e.g., on Ubuntu for gcc-10::
7262

73-
apt-get install gcc-4.9-plugin-dev
63+
apt-get install gcc-10-plugin-dev
7464

7565
Or on Fedora::
7666

7767
dnf install gcc-plugin-devel
7868

79-
Enable a GCC plugin based feature in the kernel config::
69+
Enable the GCC plugin infrastructure and some plugin(s) you want to use
70+
in the kernel config::
8071

81-
CONFIG_GCC_PLUGIN_CYC_COMPLEXITY = y
72+
CONFIG_GCC_PLUGINS=y
73+
CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=y
74+
CONFIG_GCC_PLUGIN_LATENT_ENTROPY=y
75+
...
8276

83-
To compile only the plugin(s)::
77+
To compile the minimum tool set including the plugin(s)::
8478

85-
make gcc-plugins
79+
make scripts
8680

8781
or just run the kernel make and compile the whole kernel with
8882
the cyclomatic complexity GCC plugin.
@@ -91,7 +85,8 @@ the cyclomatic complexity GCC plugin.
9185
4. How to add a new GCC plugin
9286
==============================
9387

94-
The GCC plugins are in $(src)/scripts/gcc-plugins/. You can use a file or a directory
95-
here. It must be added to $(src)/scripts/gcc-plugins/Makefile,
96-
$(src)/scripts/Makefile.gcc-plugins and $(src)/arch/Kconfig.
88+
The GCC plugins are in scripts/gcc-plugins/. You need to put plugin source files
89+
right under scripts/gcc-plugins/. Creating subdirectories is not supported.
90+
It must be added to scripts/gcc-plugins/Makefile, scripts/Makefile.gcc-plugins
91+
and a relevant Kconfig file.
9792
See the cyc_complexity_plugin.c (CONFIG_GCC_PLUGIN_CYC_COMPLEXITY) GCC plugin.

Documentation/kbuild/llvm.rst

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,50 @@ They can be enabled individually. The full list of the parameters: ::
6363
Currently, the integrated assembler is disabled by default. You can pass
6464
``LLVM_IAS=1`` to enable it.
6565

66+
Supported Architectures
67+
-----------------------
68+
69+
LLVM does not target all of the architectures that Linux supports and
70+
just because a target is supported in LLVM does not mean that the kernel
71+
will build or work without any issues. Below is a general summary of
72+
architectures that currently work with ``CC=clang`` or ``LLVM=1``. Level
73+
of support corresponds to "S" values in the MAINTAINERS files. If an
74+
architecture is not present, it either means that LLVM does not target
75+
it or there are known issues. Using the latest stable version of LLVM or
76+
even the development tree will generally yield the best results.
77+
An architecture's ``defconfig`` is generally expected to work well,
78+
certain configurations may have problems that have not been uncovered
79+
yet. Bug reports are always welcome at the issue tracker below!
80+
81+
.. list-table::
82+
:widths: 10 10 10
83+
:header-rows: 1
84+
85+
* - Architecture
86+
- Level of support
87+
- ``make`` command
88+
* - arm
89+
- Supported
90+
- ``LLVM=1``
91+
* - arm64
92+
- Supported
93+
- ``LLVM=1``
94+
* - mips
95+
- Maintained
96+
- ``CC=clang``
97+
* - powerpc
98+
- Maintained
99+
- ``CC=clang``
100+
* - riscv
101+
- Maintained
102+
- ``CC=clang``
103+
* - s390
104+
- Maintained
105+
- ``CC=clang``
106+
* - x86
107+
- Supported
108+
- ``LLVM=1``
109+
66110
Getting Help
67111
------------
68112

Documentation/kbuild/makefiles.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ more details, with real examples.
755755
bits on the scripts nonetheless.
756756

757757
Kbuild provides variables $(CONFIG_SHELL), $(AWK), $(PERL),
758-
$(PYTHON) and $(PYTHON3) to refer to interpreters for the respective
758+
and $(PYTHON3) to refer to interpreters for the respective
759759
scripts.
760760

761761
Example::

Documentation/virt/kvm/nested-vmx.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@ call L2.
3737
Running nested VMX
3838
------------------
3939

40-
The nested VMX feature is disabled by default. It can be enabled by giving
41-
the "nested=1" option to the kvm-intel module.
40+
The nested VMX feature is enabled by default since Linux kernel v4.20. For
41+
older Linux kernel, it can be enabled by giving the "nested=1" option to the
42+
kvm-intel module.
43+
4244

4345
No modifications are required to user space (qemu). However, qemu's default
4446
emulated CPU type (qemu64) does not list the "VMX" CPU feature, so it must be

Documentation/virt/kvm/running-nested-guests.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ few:
7474
Enabling "nested" (x86)
7575
-----------------------
7676

77-
From Linux kernel v4.19 onwards, the ``nested`` KVM parameter is enabled
77+
From Linux kernel v4.20 onwards, the ``nested`` KVM parameter is enabled
7878
by default for Intel and AMD. (Though your Linux distribution might
7979
override this default.)
8080

MAINTAINERS

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2616,8 +2616,8 @@ S: Maintained
26162616
F: drivers/power/reset/keystone-reset.c
26172617

26182618
ARM/TEXAS INSTRUMENTS K3 ARCHITECTURE
2619-
M: Tero Kristo <[email protected]>
26202619
M: Nishanth Menon <[email protected]>
2620+
M: Tero Kristo <[email protected]>
26212621
L: [email protected] (moderated for non-subscribers)
26222622
S: Supported
26232623
F: Documentation/devicetree/bindings/arm/ti/k3.yaml
@@ -4336,7 +4336,7 @@ S: Maintained
43364336
F: .clang-format
43374337

43384338
CLANG/LLVM BUILD SUPPORT
4339-
M: Nathan Chancellor <[email protected]>
4339+
M: Nathan Chancellor <[email protected]>
43404340
M: Nick Desaulniers <[email protected]>
43414341
43424342
S: Supported
@@ -6506,9 +6506,9 @@ S: Maintained
65066506
F: drivers/edac/skx_*.[ch]
65076507

65086508
EDAC-TI
6509-
M: Tero Kristo <t-kristo@ti.com>
6509+
M: Tero Kristo <kristo@kernel.org>
65106510
6511-
S: Maintained
6511+
S: Odd Fixes
65126512
F: drivers/edac/ti_edac.c
65136513

65146514
EDIROL UA-101/UA-1000 DRIVER
@@ -9591,7 +9591,7 @@ F: Documentation/hwmon/k8temp.rst
95919591
F: drivers/hwmon/k8temp.c
95929592

95939593
KASAN
9594-
M: Andrey Ryabinin <aryabinin@virtuozzo.com>
9594+
M: Andrey Ryabinin <ryabinin.a.a@gmail.com>
95959595
R: Alexander Potapenko <[email protected]>
95969596
R: Dmitry Vyukov <[email protected]>
95979597
@@ -17613,7 +17613,7 @@ F: include/linux/dma/k3-psil.h
1761317613

1761417614
TEXAS INSTRUMENTS' SYSTEM CONTROL INTERFACE (TISCI) PROTOCOL DRIVER
1761517615
M: Nishanth Menon <[email protected]>
17616-
M: Tero Kristo <t-kristo@ti.com>
17616+
M: Tero Kristo <kristo@kernel.org>
1761717617
M: Santosh Shilimkar <[email protected]>
1761817618
1761917619
S: Maintained
@@ -17757,9 +17757,9 @@ S: Maintained
1775717757
F: drivers/clk/clk-cdce706.c
1775817758

1775917759
TI CLOCK DRIVER
17760-
M: Tero Kristo <t-kristo@ti.com>
17760+
M: Tero Kristo <kristo@kernel.org>
1776117761
17762-
S: Maintained
17762+
S: Odd Fixes
1776317763
F: drivers/clk/ti/
1776417764
F: include/linux/clk/ti.h
1776517765

0 commit comments

Comments
 (0)