Skip to content

Commit c9160fb

Browse files
committed
Merge tag 'rolling-lts/wsl/5.10.93.2' into linux-msft-wsl-5.10.y
Signed-off-by: Tyler Hicks <[email protected]>
2 parents b93dc08 + ef43e1f commit c9160fb

File tree

886 files changed

+10593
-4773
lines changed

Some content is hidden

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

886 files changed

+10593
-4773
lines changed

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1617,6 +1617,8 @@
16171617
architectures force reset to be always executed
16181618
i8042.unlock [HW] Unlock (ignore) the keylock
16191619
i8042.kbdreset [HW] Reset device connected to KBD port
1620+
i8042.probe_defer
1621+
[HW] Allow deferred probing upon i8042 probe errors
16201622

16211623
i810= [HW,DRM]
16221624

@@ -2294,8 +2296,12 @@
22942296
Default is 1 (enabled)
22952297

22962298
kvm-intel.emulate_invalid_guest_state=
2297-
[KVM,Intel] Enable emulation of invalid guest states
2298-
Default is 0 (disabled)
2299+
[KVM,Intel] Disable emulation of invalid guest state.
2300+
Ignored if kvm-intel.enable_unrestricted_guest=1, as
2301+
guest state is never invalid for unrestricted guests.
2302+
This param doesn't apply to nested guests (L2), as KVM
2303+
never emulates invalid L2 guest state.
2304+
Default is 1 (enabled)
22992305

23002306
kvm-intel.flexpriority=
23012307
[KVM,Intel] Disable FlexPriority feature (TPR shadow).

Documentation/admin-guide/sysctl/kernel.rst

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1457,11 +1457,22 @@ unprivileged_bpf_disabled
14571457
=========================
14581458

14591459
Writing 1 to this entry will disable unprivileged calls to ``bpf()``;
1460-
once disabled, calling ``bpf()`` without ``CAP_SYS_ADMIN`` will return
1461-
``-EPERM``.
1460+
once disabled, calling ``bpf()`` without ``CAP_SYS_ADMIN`` or ``CAP_BPF``
1461+
will return ``-EPERM``. Once set to 1, this can't be cleared from the
1462+
running kernel anymore.
14621463

1463-
Once set, this can't be cleared.
1464+
Writing 2 to this entry will also disable unprivileged calls to ``bpf()``,
1465+
however, an admin can still change this setting later on, if needed, by
1466+
writing 0 or 1 to this entry.
14641467

1468+
If ``BPF_UNPRIV_DEFAULT_OFF`` is enabled in the kernel config, then this
1469+
entry will default to 2 instead of 0.
1470+
1471+
= =============================================================
1472+
0 Unprivileged calls to ``bpf()`` are enabled
1473+
1 Unprivileged calls to ``bpf()`` are disabled without recovery
1474+
2 Unprivileged calls to ``bpf()`` are disabled
1475+
= =============================================================
14651476

14661477
watchdog
14671478
========

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,14 @@ properties:
9191
compensate for the board being designed with the lanes
9292
swapped.
9393

94+
enet-phy-lane-no-swap:
95+
$ref: /schemas/types.yaml#/definitions/flag
96+
description:
97+
If set, indicates that PHY will disable swap of the
98+
TX/RX lanes. This property allows the PHY to work correcly after
99+
e.g. wrong bootstrap configuration caused by issues in PCB
100+
layout design.
101+
94102
eee-broken-100tx:
95103
$ref: /schemas/types.yaml#definitions/flag
96104
description:

Documentation/hwmon/lm90.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,16 @@ Supported chips:
265265

266266
https://www.ti.com/litv/pdf/sbos686
267267

268+
* Texas Instruments TMP461
269+
270+
Prefix: 'tmp461'
271+
272+
Addresses scanned: I2C 0x48 through 0x4F
273+
274+
Datasheet: Publicly available at TI website
275+
276+
https://www.ti.com/lit/gpn/tmp461
277+
268278
Author: Jean Delvare <[email protected]>
269279

270280

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/locking/locktypes.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -439,11 +439,9 @@ preemption. The following substitution works on both kernels::
439439
spin_lock(&p->lock);
440440
p->count += this_cpu_read(var2);
441441

442-
On a non-PREEMPT_RT kernel migrate_disable() maps to preempt_disable()
443-
which makes the above code fully equivalent. On a PREEMPT_RT kernel
444442
migrate_disable() ensures that the task is pinned on the current CPU which
445443
in turn guarantees that the per-CPU access to var1 and var2 are staying on
446-
the same CPU.
444+
the same CPU while the task remains preemptible.
447445

448446
The migrate_disable() substitution is not valid for the following
449447
scenario::
@@ -456,9 +454,8 @@ scenario::
456454
p = this_cpu_ptr(&var1);
457455
p->val = func2();
458456

459-
While correct on a non-PREEMPT_RT kernel, this breaks on PREEMPT_RT because
460-
here migrate_disable() does not protect against reentrancy from a
461-
preempting task. A correct substitution for this case is::
457+
This breaks because migrate_disable() does not protect against reentrancy from
458+
a preempting task. A correct substitution for this case is::
462459

463460
func()
464461
{

Documentation/networking/bonding.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,12 @@ ad_actor_sys_prio
196196
ad_actor_system
197197

198198
In an AD system, this specifies the mac-address for the actor in
199-
protocol packet exchanges (LACPDUs). The value cannot be NULL or
200-
multicast. It is preferred to have the local-admin bit set for this
201-
mac but driver does not enforce it. If the value is not given then
202-
system defaults to using the masters' mac address as actors' system
203-
address.
199+
protocol packet exchanges (LACPDUs). The value cannot be a multicast
200+
address. If the all-zeroes MAC is specified, bonding will internally
201+
use the MAC of the bond itself. It is preferred to have the
202+
local-admin bit set for this mac but driver does not enforce it. If
203+
the value is not given then system defaults to using the masters'
204+
mac address as actors' system address.
204205

205206
This parameter has effect only in 802.3ad mode and is available through
206207
SysFs interface.

Documentation/networking/device_drivers/ethernet/intel/ixgbe.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,22 @@ NOTE: For 82599-based network connections, if you are enabling jumbo frames in
440440
a virtual function (VF), jumbo frames must first be enabled in the physical
441441
function (PF). The VF MTU setting cannot be larger than the PF MTU.
442442

443+
NBASE-T Support
444+
---------------
445+
The ixgbe driver supports NBASE-T on some devices. However, the advertisement
446+
of NBASE-T speeds is suppressed by default, to accommodate broken network
447+
switches which cannot cope with advertised NBASE-T speeds. Use the ethtool
448+
command to enable advertising NBASE-T speeds on devices which support it::
449+
450+
ethtool -s eth? advertise 0x1800000001028
451+
452+
On Linux systems with INTERFACES(5), this can be specified as a pre-up command
453+
in /etc/network/interfaces so that the interface is always brought up with
454+
NBASE-T support, e.g.::
455+
456+
iface eth? inet dhcp
457+
pre-up ethtool -s eth? advertise 0x1800000001028 || true
458+
443459
Generic Receive Offload, aka GRO
444460
--------------------------------
445461
The driver supports the in-kernel software implementation of GRO. GRO has

Documentation/networking/ipvs-sysctl.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ conn_reuse_mode - INTEGER
3737

3838
0: disable any special handling on port reuse. The new
3939
connection will be delivered to the same real server that was
40-
servicing the previous connection. This will effectively
41-
disable expire_nodest_conn.
40+
servicing the previous connection.
4241

4342
bit 1: enable rescheduling of new connections when it is safe.
4443
That is, whenever expire_nodest_conn and for TCP sockets, when

Documentation/sound/hd-audio/models.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,8 @@ usi-headset
326326
Headset support on USI machines
327327
dual-codecs
328328
Lenovo laptops with dual codecs
329+
alc285-hp-amp-init
330+
HP laptops which require speaker amplifier initialization (ALC285)
329331

330332
ALC680
331333
======

0 commit comments

Comments
 (0)