Skip to content

Commit 34fe4cc

Browse files
committed
Merge remote-tracking branch 'torvalds/master' into perf/core
To pick up fixes that went thru perf/urgent and now are fixed by an upcoming patch. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2 parents feff083 + 5191290 commit 34fe4cc

1,717 files changed

Lines changed: 52753 additions & 22200 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.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
What: /proc/i8k
2+
Date: November 2001
3+
KernelVersion: 2.4.14
4+
Contact: Pali Rohár <pali@kernel.org>
5+
Description: Legacy interface for getting/setting sensor information like
6+
fan speed, temperature, serial number, hotkey status etc
7+
on Dell Laptops.
8+
Since the driver is now using the standard hwmon sysfs interface,
9+
the procfs interface is deprecated.
10+
Users: https://github.com/vitorafsr/i8kutils

Documentation/ABI/stable/sysfs-block

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,55 @@ Description:
155155
last zone of the device which may be smaller.
156156

157157

158+
What: /sys/block/<disk>/queue/crypto/
159+
Date: February 2022
160+
Contact: linux-block@vger.kernel.org
161+
Description:
162+
The presence of this subdirectory of /sys/block/<disk>/queue/
163+
indicates that the device supports inline encryption. This
164+
subdirectory contains files which describe the inline encryption
165+
capabilities of the device. For more information about inline
166+
encryption, refer to Documentation/block/inline-encryption.rst.
167+
168+
169+
What: /sys/block/<disk>/queue/crypto/max_dun_bits
170+
Date: February 2022
171+
Contact: linux-block@vger.kernel.org
172+
Description:
173+
[RO] This file shows the maximum length, in bits, of data unit
174+
numbers accepted by the device in inline encryption requests.
175+
176+
177+
What: /sys/block/<disk>/queue/crypto/modes/<mode>
178+
Date: February 2022
179+
Contact: linux-block@vger.kernel.org
180+
Description:
181+
[RO] For each crypto mode (i.e., encryption/decryption
182+
algorithm) the device supports with inline encryption, a file
183+
will exist at this location. It will contain a hexadecimal
184+
number that is a bitmask of the supported data unit sizes, in
185+
bytes, for that crypto mode.
186+
187+
Currently, the crypto modes that may be supported are:
188+
189+
* AES-256-XTS
190+
* AES-128-CBC-ESSIV
191+
* Adiantum
192+
193+
For example, if a device supports AES-256-XTS inline encryption
194+
with data unit sizes of 512 and 4096 bytes, the file
195+
/sys/block/<disk>/queue/crypto/modes/AES-256-XTS will exist and
196+
will contain "0x1200".
197+
198+
199+
What: /sys/block/<disk>/queue/crypto/num_keyslots
200+
Date: February 2022
201+
Contact: linux-block@vger.kernel.org
202+
Description:
203+
[RO] This file shows the number of keyslots the device has for
204+
use with inline encryption.
205+
206+
158207
What: /sys/block/<disk>/queue/dax
159208
Date: June 2016
160209
Contact: linux-block@vger.kernel.org

Documentation/ABI/stable/sysfs-devices-system-cpu

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ What: /sys/devices/system/cpu/cpuX/topology/die_cpus
8686
Description: internal kernel map of CPUs within the same die.
8787
Values: hexadecimal bitmask.
8888

89+
What: /sys/devices/system/cpu/cpuX/topology/ppin
90+
Description: per-socket protected processor inventory number
91+
Values: hexadecimal.
92+
8993
What: /sys/devices/system/cpu/cpuX/topology/die_cpus_list
9094
Description: human-readable list of CPUs within the same die.
9195
The format is like 0-3, 8-11, 14,17.
Lines changed: 94 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1,140 +1,150 @@
1-
What: /sys/kernel/debug/hisi_hpre/<bdf>/cluster[0-3]/regs
2-
Date: Sep 2019
3-
Contact: linux-crypto@vger.kernel.org
4-
Description: Dump debug registers from the HPRE cluster.
1+
What: /sys/kernel/debug/hisi_hpre/<bdf>/cluster[0-3]/regs
2+
Date: Sep 2019
3+
Contact: linux-crypto@vger.kernel.org
4+
Description: Dump debug registers from the HPRE cluster.
55
Only available for PF.
66

7-
What: /sys/kernel/debug/hisi_hpre/<bdf>/cluster[0-3]/cluster_ctrl
8-
Date: Sep 2019
9-
Contact: linux-crypto@vger.kernel.org
10-
Description: Write the HPRE core selection in the cluster into this file,
7+
What: /sys/kernel/debug/hisi_hpre/<bdf>/cluster[0-3]/cluster_ctrl
8+
Date: Sep 2019
9+
Contact: linux-crypto@vger.kernel.org
10+
Description: Write the HPRE core selection in the cluster into this file,
1111
and then we can read the debug information of the core.
1212
Only available for PF.
1313

14-
What: /sys/kernel/debug/hisi_hpre/<bdf>/rdclr_en
15-
Date: Sep 2019
16-
Contact: linux-crypto@vger.kernel.org
17-
Description: HPRE cores debug registers read clear control. 1 means enable
14+
What: /sys/kernel/debug/hisi_hpre/<bdf>/rdclr_en
15+
Date: Sep 2019
16+
Contact: linux-crypto@vger.kernel.org
17+
Description: HPRE cores debug registers read clear control. 1 means enable
1818
register read clear, otherwise 0. Writing to this file has no
1919
functional effect, only enable or disable counters clear after
2020
reading of these registers.
2121
Only available for PF.
2222

23-
What: /sys/kernel/debug/hisi_hpre/<bdf>/current_qm
24-
Date: Sep 2019
25-
Contact: linux-crypto@vger.kernel.org
26-
Description: One HPRE controller has one PF and multiple VFs, each function
23+
What: /sys/kernel/debug/hisi_hpre/<bdf>/current_qm
24+
Date: Sep 2019
25+
Contact: linux-crypto@vger.kernel.org
26+
Description: One HPRE controller has one PF and multiple VFs, each function
2727
has a QM. Select the QM which below qm refers to.
2828
Only available for PF.
2929

30-
What: /sys/kernel/debug/hisi_hpre/<bdf>/regs
31-
Date: Sep 2019
32-
Contact: linux-crypto@vger.kernel.org
33-
Description: Dump debug registers from the HPRE.
30+
What: /sys/kernel/debug/hisi_hpre/<bdf>/alg_qos
31+
Date: Jun 2021
32+
Contact: linux-crypto@vger.kernel.org
33+
Description: The <bdf> is related the function for PF and VF.
34+
HPRE driver supports to configure each function's QoS, the driver
35+
supports to write <bdf> value to alg_qos in the host. Such as
36+
"echo <bdf> value > alg_qos". The qos value is 1~1000, means
37+
1/1000~1000/1000 of total QoS. The driver reading alg_qos to
38+
get related QoS in the host and VM, Such as "cat alg_qos".
39+
40+
What: /sys/kernel/debug/hisi_hpre/<bdf>/regs
41+
Date: Sep 2019
42+
Contact: linux-crypto@vger.kernel.org
43+
Description: Dump debug registers from the HPRE.
3444
Only available for PF.
3545

36-
What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/regs
37-
Date: Sep 2019
38-
Contact: linux-crypto@vger.kernel.org
39-
Description: Dump debug registers from the QM.
46+
What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/regs
47+
Date: Sep 2019
48+
Contact: linux-crypto@vger.kernel.org
49+
Description: Dump debug registers from the QM.
4050
Available for PF and VF in host. VF in guest currently only
4151
has one debug register.
4252

43-
What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/current_q
44-
Date: Sep 2019
45-
Contact: linux-crypto@vger.kernel.org
46-
Description: One QM may contain multiple queues. Select specific queue to
53+
What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/current_q
54+
Date: Sep 2019
55+
Contact: linux-crypto@vger.kernel.org
56+
Description: One QM may contain multiple queues. Select specific queue to
4757
show its debug registers in above regs.
4858
Only available for PF.
4959

50-
What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/clear_enable
51-
Date: Sep 2019
52-
Contact: linux-crypto@vger.kernel.org
53-
Description: QM debug registers(regs) read clear control. 1 means enable
60+
What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/clear_enable
61+
Date: Sep 2019
62+
Contact: linux-crypto@vger.kernel.org
63+
Description: QM debug registers(regs) read clear control. 1 means enable
5464
register read clear, otherwise 0.
5565
Writing to this file has no functional effect, only enable or
5666
disable counters clear after reading of these registers.
5767
Only available for PF.
5868

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
69+
What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/err_irq
70+
Date: Apr 2020
71+
Contact: linux-crypto@vger.kernel.org
72+
Description: Dump the number of invalid interrupts for
6373
QM task completion.
6474
Available for both PF and VF, and take no other effect on HPRE.
6575

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.
76+
What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/aeq_irq
77+
Date: Apr 2020
78+
Contact: linux-crypto@vger.kernel.org
79+
Description: Dump the number of QM async event queue interrupts.
7080
Available for both PF and VF, and take no other effect on HPRE.
7181

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.
82+
What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/abnormal_irq
83+
Date: Apr 2020
84+
Contact: linux-crypto@vger.kernel.org
85+
Description: Dump the number of interrupts for QM abnormal event.
7686
Available for both PF and VF, and take no other effect on HPRE.
7787

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.
88+
What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/create_qp_err
89+
Date: Apr 2020
90+
Contact: linux-crypto@vger.kernel.org
91+
Description: Dump the number of queue allocation errors.
8292
Available for both PF and VF, and take no other effect on HPRE.
8393

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.
94+
What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/mb_err
95+
Date: Apr 2020
96+
Contact: linux-crypto@vger.kernel.org
97+
Description: Dump the number of failed QM mailbox commands.
8898
Available for both PF and VF, and take no other effect on HPRE.
8999

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.
100+
What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/status
101+
Date: Apr 2020
102+
Contact: linux-crypto@vger.kernel.org
103+
Description: Dump the status of the QM.
94104
Four states: initiated, started, stopped and closed.
95105
Available for both PF and VF, and take no other effect on HPRE.
96106

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.
107+
What: /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/send_cnt
108+
Date: Apr 2020
109+
Contact: linux-crypto@vger.kernel.org
110+
Description: Dump the total number of sent requests.
101111
Available for both PF and VF, and take no other effect on HPRE.
102112

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.
113+
What: /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/recv_cnt
114+
Date: Apr 2020
115+
Contact: linux-crypto@vger.kernel.org
116+
Description: Dump the total number of received requests.
107117
Available for both PF and VF, and take no other effect on HPRE.
108118

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
119+
What: /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/send_busy_cnt
120+
Date: Apr 2020
121+
Contact: linux-crypto@vger.kernel.org
122+
Description: Dump the total number of requests sent
113123
with returning busy.
114124
Available for both PF and VF, and take no other effect on HPRE.
115125

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.
126+
What: /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/send_fail_cnt
127+
Date: Apr 2020
128+
Contact: linux-crypto@vger.kernel.org
129+
Description: Dump the total number of completed but error requests.
120130
Available for both PF and VF, and take no other effect on HPRE.
121131

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.
132+
What: /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/invalid_req_cnt
133+
Date: Apr 2020
134+
Contact: linux-crypto@vger.kernel.org
135+
Description: Dump the total number of invalid requests being received.
126136
Available for both PF and VF, and take no other effect on HPRE.
127137

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
138+
What: /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/overtime_thrhld
139+
Date: Apr 2020
140+
Contact: linux-crypto@vger.kernel.org
141+
Description: Set the threshold time for counting the request which is
132142
processed longer than the threshold.
133143
0: disable(default), 1: 1 microsecond.
134144
Available for both PF and VF, and take no other effect on HPRE.
135145

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.
146+
What: /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/over_thrhld_cnt
147+
Date: Apr 2020
148+
Contact: linux-crypto@vger.kernel.org
149+
Description: Dump the total number of time out requests.
140150
Available for both PF and VF, and take no other effect on HPRE.

0 commit comments

Comments
 (0)