Skip to content

Commit e1aef3a

Browse files
committed
Merge branch 'for-5.9/selftests-cleanup' into for-next
2 parents 8631420 + 270f780 commit e1aef3a

9,057 files changed

Lines changed: 528148 additions & 186067 deletions

File tree

Some content is hidden

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

.clang-format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ ForEachMacros:
8080
- 'ax25_uid_for_each'
8181
- '__bio_for_each_bvec'
8282
- 'bio_for_each_bvec'
83+
- 'bio_for_each_bvec_all'
8384
- 'bio_for_each_integrity_vec'
8485
- '__bio_for_each_segment'
8586
- 'bio_for_each_segment'

.mailmap

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ Krzysztof Kozlowski <krzk@kernel.org> <k.kozlowski.k@gmail.com>
152152
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
153153
Leon Romanovsky <leon@kernel.org> <leon@leon.nu>
154154
Leon Romanovsky <leon@kernel.org> <leonro@mellanox.com>
155+
Leonardo Bras <leobras.c@gmail.com> <leonardo@linux.ibm.com>
155156
Leonid I Ananiev <leonid.i.ananiev@intel.com>
156157
Linas Vepstas <linas@austin.ibm.com>
157158
Linus Lüssing <linus.luessing@c0d3.blue> <linus.luessing@web.de>
@@ -234,7 +235,9 @@ Ralf Baechle <ralf@linux-mips.org>
234235
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
235236
Randy Dunlap <rdunlap@infradead.org> <rdunlap@xenotime.net>
236237
Rémi Denis-Courmont <rdenis@simphalempin.com>
237-
Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
238+
Ricardo Ribalda <ribalda@kernel.org> <ricardo.ribalda@gmail.com>
239+
Ricardo Ribalda <ribalda@kernel.org> <ricardo@ribalda.com>
240+
Ricardo Ribalda <ribalda@kernel.org> Ricardo Ribalda Delgado <ribalda@kernel.org>
238241
Ross Zwisler <zwisler@kernel.org> <ross.zwisler@linux.intel.com>
239242
Rudolf Marek <R.Marek@sh.cvut.cz>
240243
Rui Saraiva <rmps@joel.ist.utl.pt>
@@ -288,6 +291,8 @@ Vladimir Davydov <vdavydov.dev@gmail.com> <vdavydov@virtuozzo.com>
288291
Vladimir Davydov <vdavydov.dev@gmail.com> <vdavydov@parallels.com>
289292
Takashi YOSHII <takashi.yoshii.zj@renesas.com>
290293
Will Deacon <will@kernel.org> <will.deacon@arm.com>
294+
Wolfram Sang <wsa@kernel.org> <wsa@the-dreams.de>
295+
Wolfram Sang <wsa@kernel.org> <w.sang@pengutronix.de>
291296
Yakir Yang <kuankuan.y@gmail.com> <ykk@rock-chips.com>
292297
Yusuke Goda <goda.yusuke@renesas.com>
293298
Gustavo Padovan <gustavo@las.ic.unicamp.br>

CREDITS

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3104,14 +3104,16 @@ W: http://www.qsl.net/dl1bke/
31043104
D: Generic Z8530 driver, AX.25 DAMA slave implementation
31053105
D: Several AX.25 hacks
31063106

3107-
N: Ricardo Ribalda Delgado
3108-
E: ricardo.ribalda@gmail.com
3107+
N: Ricardo Ribalda
3108+
E: ribalda@kernel.org
31093109
W: http://ribalda.com
31103110
D: PLX USB338x driver
31113111
D: PCA9634 driver
31123112
D: Option GTM671WFS
31133113
D: Fintek F81216A
31143114
D: AD5761 iio driver
3115+
D: TI DAC7612 driver
3116+
D: Sony IMX214 driver
31153117
D: Various kernel hacks
31163118
S: Qtechnology A/S
31173119
S: Valby Langgade 142
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
What: /sys/devices/system/cpu/cpuidle/current_governor_ro
2+
Date: April, 2020
3+
Contact: linux-pm@vger.kernel.org
4+
Description:
5+
current_governor_ro shows current using cpuidle governor, but read only.
6+
with the update that cpuidle governor can be changed at runtime in default,
7+
both current_governor and current_governor_ro co-exist under
8+
/sys/devices/system/cpu/cpuidle/ file, it's duplicate so make
9+
current_governor_ro obselete.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
These files allow sending arbitrary IPC commands to the PMC/SCU which
2+
may be dangerous. These will be removed eventually and should not be
3+
used in any new applications.
4+
5+
What: /sys/bus/platform/devices/INT34D2:00/simplecmd
6+
Date: Jun 2015
7+
KernelVersion: 4.1
8+
Contact: Mika Westerberg <mika.westerberg@linux.intel.com>
9+
Description: This interface allows userspace to send an arbitrary
10+
IPC command to the PMC/SCU.
11+
12+
Format: %d %d where first number is command and
13+
second number is subcommand.
14+
15+
What: /sys/bus/platform/devices/INT34D2:00/northpeak
16+
Date: Jun 2015
17+
KernelVersion: 4.1
18+
Contact: Mika Westerberg <mika.westerberg@linux.intel.com>
19+
Description: This interface allows userspace to enable and disable
20+
Northpeak through the PMC/SCU.
21+
22+
Format: %u.

Documentation/ABI/stable/sysfs-devices-node

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Date: October 2002
5454
Contact: Linux Memory Management list <linux-mm@kvack.org>
5555
Description:
5656
Provides information about the node's distribution and memory
57-
utilization. Similar to /proc/meminfo, see Documentation/filesystems/proc.txt
57+
utilization. Similar to /proc/meminfo, see Documentation/filesystems/proc.rst
5858

5959
What: /sys/devices/system/node/nodeX/numastat
6060
Date: October 2002

Documentation/ABI/testing/debugfs-cec-error-inj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ when changes are made.
3737

3838
The following CEC error injection implementations exist:
3939

40-
- Documentation/media/uapi/cec/cec-pin-error-inj.rst
40+
- Documentation/userspace-api/media/cec/cec-pin-error-inj.rst

Documentation/ABI/testing/debugfs-hisi-hpre

Lines changed: 86 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Contact: linux-crypto@vger.kernel.org
3333
Description: Dump debug registers from the HPRE.
3434
Only available for PF.
3535

36-
What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/qm_regs
36+
What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/regs
3737
Date: Sep 2019
3838
Contact: linux-crypto@vger.kernel.org
3939
Description: Dump debug registers from the QM.
@@ -44,14 +44,97 @@ What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/current_q
4444
Date: Sep 2019
4545
Contact: linux-crypto@vger.kernel.org
4646
Description: One QM may contain multiple queues. Select specific queue to
47-
show its debug registers in above qm_regs.
47+
show its debug registers in above regs.
4848
Only available for PF.
4949

5050
What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/clear_enable
5151
Date: Sep 2019
5252
Contact: linux-crypto@vger.kernel.org
53-
Description: QM debug registers(qm_regs) read clear control. 1 means enable
53+
Description: QM debug registers(regs) read clear control. 1 means enable
5454
register read clear, otherwise 0.
5555
Writing to this file has no functional effect, only enable or
5656
disable counters clear after reading of these registers.
5757
Only available for PF.
58+
59+
What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/err_irq
60+
Date: Apr 2020
61+
Contact: linux-crypto@vger.kernel.org
62+
Description: Dump the number of invalid interrupts for
63+
QM task completion.
64+
Available for both PF and VF, and take no other effect on HPRE.
65+
66+
What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/aeq_irq
67+
Date: Apr 2020
68+
Contact: linux-crypto@vger.kernel.org
69+
Description: Dump the number of QM async event queue interrupts.
70+
Available for both PF and VF, and take no other effect on HPRE.
71+
72+
What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/abnormal_irq
73+
Date: Apr 2020
74+
Contact: linux-crypto@vger.kernel.org
75+
Description: Dump the number of interrupts for QM abnormal event.
76+
Available for both PF and VF, and take no other effect on HPRE.
77+
78+
What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/create_qp_err
79+
Date: Apr 2020
80+
Contact: linux-crypto@vger.kernel.org
81+
Description: Dump the number of queue allocation errors.
82+
Available for both PF and VF, and take no other effect on HPRE.
83+
84+
What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/mb_err
85+
Date: Apr 2020
86+
Contact: linux-crypto@vger.kernel.org
87+
Description: Dump the number of failed QM mailbox commands.
88+
Available for both PF and VF, and take no other effect on HPRE.
89+
90+
What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/status
91+
Date: Apr 2020
92+
Contact: linux-crypto@vger.kernel.org
93+
Description: Dump the status of the QM.
94+
Four states: initiated, started, stopped and closed.
95+
Available for both PF and VF, and take no other effect on HPRE.
96+
97+
What: /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/send_cnt
98+
Date: Apr 2020
99+
Contact: linux-crypto@vger.kernel.org
100+
Description: Dump the total number of sent requests.
101+
Available for both PF and VF, and take no other effect on HPRE.
102+
103+
What: /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/recv_cnt
104+
Date: Apr 2020
105+
Contact: linux-crypto@vger.kernel.org
106+
Description: Dump the total number of received requests.
107+
Available for both PF and VF, and take no other effect on HPRE.
108+
109+
What: /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/send_busy_cnt
110+
Date: Apr 2020
111+
Contact: linux-crypto@vger.kernel.org
112+
Description: Dump the total number of requests sent
113+
with returning busy.
114+
Available for both PF and VF, and take no other effect on HPRE.
115+
116+
What: /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/send_fail_cnt
117+
Date: Apr 2020
118+
Contact: linux-crypto@vger.kernel.org
119+
Description: Dump the total number of completed but error requests.
120+
Available for both PF and VF, and take no other effect on HPRE.
121+
122+
What: /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/invalid_req_cnt
123+
Date: Apr 2020
124+
Contact: linux-crypto@vger.kernel.org
125+
Description: Dump the total number of invalid requests being received.
126+
Available for both PF and VF, and take no other effect on HPRE.
127+
128+
What: /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/overtime_thrhld
129+
Date: Apr 2020
130+
Contact: linux-crypto@vger.kernel.org
131+
Description: Set the threshold time for counting the request which is
132+
processed longer than the threshold.
133+
0: disable(default), 1: 1 microsecond.
134+
Available for both PF and VF, and take no other effect on HPRE.
135+
136+
What: /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/over_thrhld_cnt
137+
Date: Apr 2020
138+
Contact: linux-crypto@vger.kernel.org
139+
Description: Dump the total number of time out requests.
140+
Available for both PF and VF, and take no other effect on HPRE.
Lines changed: 82 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,113 @@
1-
What: /sys/kernel/debug/hisi_sec/<bdf>/sec_dfx
2-
Date: Oct 2019
3-
Contact: linux-crypto@vger.kernel.org
4-
Description: Dump the debug registers of SEC cores.
5-
Only available for PF.
6-
7-
What: /sys/kernel/debug/hisi_sec/<bdf>/clear_enable
1+
What: /sys/kernel/debug/hisi_sec2/<bdf>/clear_enable
82
Date: Oct 2019
93
Contact: linux-crypto@vger.kernel.org
104
Description: Enabling/disabling of clear action after reading
115
the SEC debug registers.
126
0: disable, 1: enable.
137
Only available for PF, and take no other effect on SEC.
148

15-
What: /sys/kernel/debug/hisi_sec/<bdf>/current_qm
9+
What: /sys/kernel/debug/hisi_sec2/<bdf>/current_qm
1610
Date: Oct 2019
1711
Contact: linux-crypto@vger.kernel.org
1812
Description: One SEC controller has one PF and multiple VFs, each function
1913
has a QM. This file can be used to select the QM which below
2014
qm refers to.
2115
Only available for PF.
2216

23-
What: /sys/kernel/debug/hisi_sec/<bdf>/qm/qm_regs
17+
What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/qm_regs
2418
Date: Oct 2019
2519
Contact: linux-crypto@vger.kernel.org
2620
Description: Dump of QM related debug registers.
2721
Available for PF and VF in host. VF in guest currently only
2822
has one debug register.
2923

30-
What: /sys/kernel/debug/hisi_sec/<bdf>/qm/current_q
24+
What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/current_q
3125
Date: Oct 2019
3226
Contact: linux-crypto@vger.kernel.org
3327
Description: One QM of SEC may contain multiple queues. Select specific
34-
queue to show its debug registers in above 'qm_regs'.
28+
queue to show its debug registers in above 'regs'.
3529
Only available for PF.
3630

37-
What: /sys/kernel/debug/hisi_sec/<bdf>/qm/clear_enable
31+
What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/clear_enable
3832
Date: Oct 2019
3933
Contact: linux-crypto@vger.kernel.org
4034
Description: Enabling/disabling of clear action after reading
4135
the SEC's QM debug registers.
4236
0: disable, 1: enable.
4337
Only available for PF, and take no other effect on SEC.
38+
39+
What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/err_irq
40+
Date: Apr 2020
41+
Contact: linux-crypto@vger.kernel.org
42+
Description: Dump the number of invalid interrupts for
43+
QM task completion.
44+
Available for both PF and VF, and take no other effect on SEC.
45+
46+
What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/aeq_irq
47+
Date: Apr 2020
48+
Contact: linux-crypto@vger.kernel.org
49+
Description: Dump the number of QM async event queue interrupts.
50+
Available for both PF and VF, and take no other effect on SEC.
51+
52+
What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/abnormal_irq
53+
Date: Apr 2020
54+
Contact: linux-crypto@vger.kernel.org
55+
Description: Dump the number of interrupts for QM abnormal event.
56+
Available for both PF and VF, and take no other effect on SEC.
57+
58+
What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/create_qp_err
59+
Date: Apr 2020
60+
Contact: linux-crypto@vger.kernel.org
61+
Description: Dump the number of queue allocation errors.
62+
Available for both PF and VF, and take no other effect on SEC.
63+
64+
What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/mb_err
65+
Date: Apr 2020
66+
Contact: linux-crypto@vger.kernel.org
67+
Description: Dump the number of failed QM mailbox commands.
68+
Available for both PF and VF, and take no other effect on SEC.
69+
70+
What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/status
71+
Date: Apr 2020
72+
Contact: linux-crypto@vger.kernel.org
73+
Description: Dump the status of the QM.
74+
Four states: initiated, started, stopped and closed.
75+
Available for both PF and VF, and take no other effect on SEC.
76+
77+
What: /sys/kernel/debug/hisi_sec2/<bdf>/sec_dfx/send_cnt
78+
Date: Apr 2020
79+
Contact: linux-crypto@vger.kernel.org
80+
Description: Dump the total number of sent requests.
81+
Available for both PF and VF, and take no other effect on SEC.
82+
83+
What: /sys/kernel/debug/hisi_sec2/<bdf>/sec_dfx/recv_cnt
84+
Date: Apr 2020
85+
Contact: linux-crypto@vger.kernel.org
86+
Description: Dump the total number of received requests.
87+
Available for both PF and VF, and take no other effect on SEC.
88+
89+
What: /sys/kernel/debug/hisi_sec2/<bdf>/sec_dfx/send_busy_cnt
90+
Date: Apr 2020
91+
Contact: linux-crypto@vger.kernel.org
92+
Description: Dump the total number of requests sent with returning busy.
93+
Available for both PF and VF, and take no other effect on SEC.
94+
95+
What: /sys/kernel/debug/hisi_sec2/<bdf>/sec_dfx/err_bd_cnt
96+
Date: Apr 2020
97+
Contact: linux-crypto@vger.kernel.org
98+
Description: Dump the total number of BD type error requests
99+
to be received.
100+
Available for both PF and VF, and take no other effect on SEC.
101+
102+
What: /sys/kernel/debug/hisi_sec2/<bdf>/sec_dfx/invalid_req_cnt
103+
Date: Apr 2020
104+
Contact: linux-crypto@vger.kernel.org
105+
Description: Dump the total number of invalid requests being received.
106+
Available for both PF and VF, and take no other effect on SEC.
107+
108+
What: /sys/kernel/debug/hisi_sec2/<bdf>/sec_dfx/done_flag_cnt
109+
Date: Apr 2020
110+
Contact: linux-crypto@vger.kernel.org
111+
Description: Dump the total number of completed but marked error requests
112+
to be received.
113+
Available for both PF and VF, and take no other effect on SEC.

0 commit comments

Comments
 (0)