Skip to content

Commit d0ddf50

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Documentation/bpf/bpf_devel_QA.rst b7abcd9 ("bpf, doc: Link to submitting-patches.rst for general patch submission info") d56b0c4 ("bpf, docs: Fix link to netdev-FAQ target") https://lore.kernel.org/all/20230307095812.236eb1be@canb.auug.org.au/ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2 parents db47fa2 + 44889ba commit d0ddf50

File tree

726 files changed

+13911
-6601
lines changed

Some content is hidden

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

726 files changed

+13911
-6601
lines changed

.clang-format

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ ForEachMacros:
226226
- 'for_each_console_srcu'
227227
- 'for_each_cpu'
228228
- 'for_each_cpu_and'
229-
- 'for_each_cpu_not'
230229
- 'for_each_cpu_wrap'
231230
- 'for_each_dapm_widgets'
232231
- 'for_each_dedup_cand'

.mailmap

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ Dengcheng Zhu <dzhu@wavecomp.com> <dengcheng.zhu@gmail.com>
121121
Dengcheng Zhu <dzhu@wavecomp.com> <dengcheng.zhu@imgtec.com>
122122
Dengcheng Zhu <dzhu@wavecomp.com> <dengcheng.zhu@mips.com>
123123
<dev.kurt@vandijck-laurijssen.be> <kurt.van.dijck@eia.be>
124+
Dikshita Agarwal <dikshita@qti.qualcomm.com> <dikshita@codeaurora.org>
124125
Dmitry Baryshkov <dbaryshkov@gmail.com>
125126
Dmitry Baryshkov <dbaryshkov@gmail.com> <[dbaryshkov@gmail.com]>
126127
Dmitry Baryshkov <dbaryshkov@gmail.com> <dmitry_baryshkov@mentor.com>
@@ -150,6 +151,7 @@ Gao Xiang <xiang@kernel.org> <gaoxiang25@huawei.com>
150151
Gao Xiang <xiang@kernel.org> <hsiangkao@aol.com>
151152
Gao Xiang <xiang@kernel.org> <hsiangkao@linux.alibaba.com>
152153
Gao Xiang <xiang@kernel.org> <hsiangkao@redhat.com>
154+
Georgi Djakov <djakov@kernel.org> <georgi.djakov@linaro.org>
153155
Gerald Schaefer <gerald.schaefer@linux.ibm.com> <geraldsc@de.ibm.com>
154156
Gerald Schaefer <gerald.schaefer@linux.ibm.com> <gerald.schaefer@de.ibm.com>
155157
Gerald Schaefer <gerald.schaefer@linux.ibm.com> <geraldsc@linux.vnet.ibm.com>
@@ -304,6 +306,8 @@ Mauro Carvalho Chehab <mchehab@kernel.org> <mchehab@osg.samsung.com>
304306
Mauro Carvalho Chehab <mchehab@kernel.org> <mchehab@redhat.com>
305307
Mauro Carvalho Chehab <mchehab@kernel.org> <m.chehab@samsung.com>
306308
Mauro Carvalho Chehab <mchehab@kernel.org> <mchehab@s-opensource.com>
309+
Maxim Mikityanskiy <maxtram95@gmail.com> <maximmi@mellanox.com>
310+
Maxim Mikityanskiy <maxtram95@gmail.com> <maximmi@nvidia.com>
307311
Maxime Ripard <mripard@kernel.org> <maxime.ripard@bootlin.com>
308312
Maxime Ripard <mripard@kernel.org> <maxime.ripard@free-electrons.com>
309313
Mayuresh Janorkar <mayur@ti.com>
@@ -409,7 +413,10 @@ Shuah Khan <shuah@kernel.org> <shuah.kh@samsung.com>
409413
Simon Arlott <simon@octiron.net> <simon@fire.lp0.eu>
410414
Simon Kelley <simon@thekelleys.org.uk>
411415
Stéphane Witzmann <stephane.witzmann@ubpmes.univ-bpclermont.fr>
412-
Stephen Hemminger <shemminger@osdl.org>
416+
Stephen Hemminger <stephen@networkplumber.org> <shemminger@linux-foundation.org>
417+
Stephen Hemminger <stephen@networkplumber.org> <shemminger@osdl.org>
418+
Stephen Hemminger <stephen@networkplumber.org> <sthemmin@microsoft.com>
419+
Stephen Hemminger <stephen@networkplumber.org> <sthemmin@vyatta.com>
413420
Steve Wise <larrystevenwise@gmail.com> <swise@chelsio.com>
414421
Steve Wise <larrystevenwise@gmail.com> <swise@opengridcomputing.com>
415422
Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
@@ -441,6 +448,7 @@ Vasily Averin <vasily.averin@linux.dev> <vvs@openvz.org>
441448
Vasily Averin <vasily.averin@linux.dev> <vvs@parallels.com>
442449
Vasily Averin <vasily.averin@linux.dev> <vvs@sw.ru>
443450
Valentin Schneider <vschneid@redhat.com> <valentin.schneider@arm.com>
451+
Vikash Garodia <quic_vgarodia@quicinc.com> <vgarodia@codeaurora.org>
444452
Vinod Koul <vkoul@kernel.org> <vinod.koul@intel.com>
445453
Vinod Koul <vkoul@kernel.org> <vinod.koul@linux.intel.com>
446454
Vinod Koul <vkoul@kernel.org> <vkoul@infradead.org>

Documentation/ABI/testing/sysfs-class-power

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,8 @@ What: /sys/class/power_supply/<supply_name>/present
437437
Date: May 2007
438438
Contact: linux-pm@vger.kernel.org
439439
Description:
440-
Reports whether a battery is present or not in the system.
440+
Reports whether a battery is present or not in the system. If the
441+
property does not exist, the battery is considered to be present.
441442

442443
Access: Read
443444

Documentation/ABI/testing/sysfs-class-watchdog

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,19 @@ Description:
66
device at boot. It is equivalent to WDIOC_GETBOOTSTATUS of
77
ioctl interface.
88

9+
What: /sys/class/watchdog/watchdogn/options
10+
Date: April 2023
11+
Contact: Thomas Weißschuh
12+
Description:
13+
It is a read only file. It contains options of watchdog device.
14+
15+
What: /sys/class/watchdog/watchdogn/fw_version
16+
Date: April 2023
17+
Contact: Thomas Weißschuh
18+
Description:
19+
It is a read only file. It contains firmware version of
20+
watchdog device.
21+
922
What: /sys/class/watchdog/watchdogn/identity
1023
Date: August 2015
1124
Contact: Wim Van Sebroeck <wim@iguana.be>

Documentation/ABI/testing/sysfs-fs-f2fs

Lines changed: 70 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,23 @@ Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
4949
Description: Controls the in-place-update policy.
5050
updates in f2fs. User can set:
5151

52-
==== =================
53-
0x01 F2FS_IPU_FORCE
54-
0x02 F2FS_IPU_SSR
55-
0x04 F2FS_IPU_UTIL
56-
0x08 F2FS_IPU_SSR_UTIL
57-
0x10 F2FS_IPU_FSYNC
58-
0x20 F2FS_IPU_ASYNC
59-
0x40 F2FS_IPU_NOCACHE
60-
0x80 F2FS_IPU_HONOR_OPU_WRITE
61-
==== =================
52+
===== =============== ===================================================
53+
value policy description
54+
0x00 DISABLE disable IPU(=default option in LFS mode)
55+
0x01 FORCE all the time
56+
0x02 SSR if SSR mode is activated
57+
0x04 UTIL if FS utilization is over threashold
58+
0x08 SSR_UTIL if SSR mode is activated and FS utilization is over
59+
threashold
60+
0x10 FSYNC activated in fsync path only for high performance
61+
flash storages. IPU will be triggered only if the
62+
# of dirty pages over min_fsync_blocks.
63+
(=default option)
64+
0x20 ASYNC do IPU given by asynchronous write requests
65+
0x40 NOCACHE disable IPU bio cache
66+
0x80 HONOR_OPU_WRITE use OPU write prior to IPU write if inode has
67+
FI_OPU_WRITE flag
68+
===== =============== ===================================================
6269

6370
Refer segment.h for details.
6471

@@ -669,3 +676,56 @@ Contact: "Ping Xiong" <xiongping1@xiaomi.com>
669676
Description: When DATA SEPARATION is on, it controls the age threshold to indicate
670677
the data blocks as warm. By default it was initialized as 2621440 blocks
671678
(equals to 10GB).
679+
680+
What: /sys/fs/f2fs/<disk>/fault_rate
681+
Date: May 2016
682+
Contact: "Sheng Yong" <shengyong@oppo.com>
683+
Contact: "Chao Yu" <chao@kernel.org>
684+
Description: Enable fault injection in all supported types with
685+
specified injection rate.
686+
687+
What: /sys/fs/f2fs/<disk>/fault_type
688+
Date: May 2016
689+
Contact: "Sheng Yong" <shengyong@oppo.com>
690+
Contact: "Chao Yu" <chao@kernel.org>
691+
Description: Support configuring fault injection type, should be
692+
enabled with fault_injection option, fault type value
693+
is shown below, it supports single or combined type.
694+
695+
=================== ===========
696+
Type_Name Type_Value
697+
=================== ===========
698+
FAULT_KMALLOC 0x000000001
699+
FAULT_KVMALLOC 0x000000002
700+
FAULT_PAGE_ALLOC 0x000000004
701+
FAULT_PAGE_GET 0x000000008
702+
FAULT_ALLOC_BIO 0x000000010 (obsolete)
703+
FAULT_ALLOC_NID 0x000000020
704+
FAULT_ORPHAN 0x000000040
705+
FAULT_BLOCK 0x000000080
706+
FAULT_DIR_DEPTH 0x000000100
707+
FAULT_EVICT_INODE 0x000000200
708+
FAULT_TRUNCATE 0x000000400
709+
FAULT_READ_IO 0x000000800
710+
FAULT_CHECKPOINT 0x000001000
711+
FAULT_DISCARD 0x000002000
712+
FAULT_WRITE_IO 0x000004000
713+
FAULT_SLAB_ALLOC 0x000008000
714+
FAULT_DQUOT_INIT 0x000010000
715+
FAULT_LOCK_OP 0x000020000
716+
FAULT_BLKADDR 0x000040000
717+
=================== ===========
718+
719+
What: /sys/fs/f2fs/<disk>/discard_io_aware_gran
720+
Date: January 2023
721+
Contact: "Yangtao Li" <frank.li@vivo.com>
722+
Description: Controls background discard granularity of inner discard thread
723+
when is not in idle. Inner thread will not issue discards with size that
724+
is smaller than granularity. The unit size is one block(4KB), now only
725+
support configuring in range of [0, 512].
726+
Default: 512
727+
728+
What: /sys/fs/f2fs/<disk>/last_age_weight
729+
Date: January 2023
730+
Contact: "Ping Xiong" <xiongping1@xiaomi.com>
731+
Description: When DATA SEPARATION is on, it controls the weight of last data block age.

Documentation/admin-guide/hw-vuln/spectre.rst

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -479,8 +479,16 @@ Spectre variant 2
479479
On Intel Skylake-era systems the mitigation covers most, but not all,
480480
cases. See :ref:`[3] <spec_ref3>` for more details.
481481

482-
On CPUs with hardware mitigation for Spectre variant 2 (e.g. Enhanced
483-
IBRS on x86), retpoline is automatically disabled at run time.
482+
On CPUs with hardware mitigation for Spectre variant 2 (e.g. IBRS
483+
or enhanced IBRS on x86), retpoline is automatically disabled at run time.
484+
485+
Systems which support enhanced IBRS (eIBRS) enable IBRS protection once at
486+
boot, by setting the IBRS bit, and they're automatically protected against
487+
Spectre v2 variant attacks, including cross-thread branch target injections
488+
on SMT systems (STIBP). In other words, eIBRS enables STIBP too.
489+
490+
Legacy IBRS systems clear the IBRS bit on exit to userspace and
491+
therefore explicitly enable STIBP for that
484492

485493
The retpoline mitigation is turned on by default on vulnerable
486494
CPUs. It can be forced on or off by the administrator
@@ -504,9 +512,12 @@ Spectre variant 2
504512
For Spectre variant 2 mitigation, individual user programs
505513
can be compiled with return trampolines for indirect branches.
506514
This protects them from consuming poisoned entries in the branch
507-
target buffer left by malicious software. Alternatively, the
508-
programs can disable their indirect branch speculation via prctl()
509-
(See :ref:`Documentation/userspace-api/spec_ctrl.rst <set_spec_ctrl>`).
515+
target buffer left by malicious software.
516+
517+
On legacy IBRS systems, at return to userspace, implicit STIBP is disabled
518+
because the kernel clears the IBRS bit. In this case, the userspace programs
519+
can disable indirect branch speculation via prctl() (See
520+
:ref:`Documentation/userspace-api/spec_ctrl.rst <set_spec_ctrl>`).
510521
On x86, this will turn on STIBP to guard against attacks from the
511522
sibling thread when the user program is running, and use IBPB to
512523
flush the branch target buffer when switching to/from the program.

Documentation/bpf/bpf_devel_QA.rst

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ workflows related to reporting bugs, submitting patches, and queueing
77
patches for stable kernels.
88

99
For general information about submitting patches, please refer to
10-
`Documentation/process/`_. This document only describes additional specifics
11-
related to BPF.
10+
Documentation/process/submitting-patches.rst. This document only describes
11+
additional specifics related to BPF.
1212

1313
.. contents::
1414
:local:
@@ -461,15 +461,15 @@ needed::
461461

462462
$ sudo make run_tests
463463

464-
See the kernels selftest `Documentation/dev-tools/kselftest.rst`_
465-
document for further documentation.
464+
See :doc:`kernel selftest documentation </dev-tools/kselftest>`
465+
for details.
466466

467467
To maximize the number of tests passing, the .config of the kernel
468468
under test should match the config file fragment in
469469
tools/testing/selftests/bpf as closely as possible.
470470

471471
Finally to ensure support for latest BPF Type Format features -
472-
discussed in `Documentation/bpf/btf.rst`_ - pahole version 1.16
472+
discussed in Documentation/bpf/btf.rst - pahole version 1.16
473473
is required for kernels built with CONFIG_DEBUG_INFO_BTF=y.
474474
pahole is delivered in the dwarves package or can be built
475475
from source at
@@ -684,12 +684,8 @@ when:
684684

685685

686686
.. Links
687-
.. _Documentation/process/: https://www.kernel.org/doc/html/latest/process/
688687
.. _netdev-FAQ: https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html
689688
.. _selftests:
690689
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/testing/selftests/bpf/
691-
.. _Documentation/dev-tools/kselftest.rst:
692-
https://www.kernel.org/doc/html/latest/dev-tools/kselftest.html
693-
.. _Documentation/bpf/btf.rst: btf.rst
694690

695691
Happy BPF hacking!

Documentation/devicetree/bindings/power/supply/richtek,rt9467-charger.yaml renamed to Documentation/devicetree/bindings/power/supply/richtek,rt9467.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
22
%YAML 1.2
33
---
4-
$id: http://devicetree.org/schemas/power/supply/richtek,rt9467-charger.yaml#
4+
$id: http://devicetree.org/schemas/power/supply/richtek,rt9467.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

77
title: Richtek RT9467 Switching Battery Charger with Power Path Management
@@ -25,7 +25,7 @@ description: |
2525
2626
properties:
2727
compatible:
28-
const: richtek,rt9467-charger
28+
const: richtek,rt9467
2929

3030
reg:
3131
maxItems: 1
@@ -65,7 +65,7 @@ examples:
6565
#size-cells = <0>;
6666
6767
charger@5b {
68-
compatible = "richtek,rt9467-charger";
68+
compatible = "richtek,rt9467";
6969
reg = <0x5b>;
7070
wakeup-source;
7171
interrupts-extended = <&gpio_intc 32 IRQ_TYPE_LEVEL_LOW>;
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/pwm/mediatek,mt2712-pwm.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: MediaTek PWM Controller
8+
9+
maintainers:
10+
- John Crispin <john@phrozen.org>
11+
12+
allOf:
13+
- $ref: pwm.yaml#
14+
15+
properties:
16+
compatible:
17+
oneOf:
18+
- enum:
19+
- mediatek,mt2712-pwm
20+
- mediatek,mt6795-pwm
21+
- mediatek,mt7622-pwm
22+
- mediatek,mt7623-pwm
23+
- mediatek,mt7628-pwm
24+
- mediatek,mt7629-pwm
25+
- mediatek,mt8183-pwm
26+
- mediatek,mt8365-pwm
27+
- mediatek,mt8516-pwm
28+
- items:
29+
- enum:
30+
- mediatek,mt8195-pwm
31+
- const: mediatek,mt8183-pwm
32+
33+
reg:
34+
maxItems: 1
35+
36+
"#pwm-cells":
37+
const: 2
38+
39+
interrupts:
40+
maxItems: 1
41+
42+
clocks:
43+
minItems: 2
44+
maxItems: 10
45+
46+
clock-names:
47+
description:
48+
This controller needs two input clocks for its core and one
49+
clock for each PWM output.
50+
minItems: 2
51+
items:
52+
- const: top
53+
- const: main
54+
- const: pwm1
55+
- const: pwm2
56+
- const: pwm3
57+
- const: pwm4
58+
- const: pwm5
59+
- const: pwm6
60+
- const: pwm7
61+
- const: pwm8
62+
63+
required:
64+
- compatible
65+
- reg
66+
- "#pwm-cells"
67+
- clocks
68+
- clock-names
69+
70+
additionalProperties: false
71+
72+
examples:
73+
- |
74+
#include <dt-bindings/interrupt-controller/arm-gic.h>
75+
#include <dt-bindings/clock/mt2712-clk.h>
76+
#include <dt-bindings/interrupt-controller/irq.h>
77+
78+
pwm0: pwm@11006000 {
79+
compatible = "mediatek,mt2712-pwm";
80+
reg = <0x11006000 0x1000>;
81+
#pwm-cells = <2>;
82+
interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_LOW>;
83+
clocks = <&topckgen CLK_TOP_PWM_SEL>, <&pericfg CLK_PERI_PWM>,
84+
<&pericfg CLK_PERI_PWM0>, <&pericfg CLK_PERI_PWM1>,
85+
<&pericfg CLK_PERI_PWM2>, <&pericfg CLK_PERI_PWM3>,
86+
<&pericfg CLK_PERI_PWM4>, <&pericfg CLK_PERI_PWM5>,
87+
<&pericfg CLK_PERI_PWM6>, <&pericfg CLK_PERI_PWM7>;
88+
clock-names = "top", "main",
89+
"pwm1", "pwm2",
90+
"pwm3", "pwm4",
91+
"pwm5", "pwm6",
92+
"pwm7", "pwm8";
93+
};

0 commit comments

Comments
 (0)