Skip to content

Commit 40e64a8

Browse files
committed
Merge branch 'for-5.16-vsprintf-pgp' into for-linus
2 parents 24a1dff + 6a7ca80 commit 40e64a8

File tree

3,510 files changed

+190821
-62639
lines changed

Some content is hidden

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

3,510 files changed

+190821
-62639
lines changed

Documentation/ABI/stable/sysfs-driver-dma-idxd

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ Date: Aug 28, 2020
128128
KernelVersion: 5.10.0
129129
130130
Description: The last executed device administrative command's status/error.
131+
Also last configuration error overloaded.
132+
Writing to it will clear the status.
131133

132134
What: /sys/bus/dsa/devices/wq<m>.<n>/block_on_fault
133135
Date: Oct 27, 2020
@@ -211,6 +213,13 @@ Contact: [email protected]
211213
Description: Indicate whether ATS disable is turned on for the workqueue.
212214
0 indicates ATS is on, and 1 indicates ATS is off for the workqueue.
213215

216+
What: /sys/bus/dsa/devices/wq<m>.<n>/occupancy
217+
Date May 25, 2021
218+
KernelVersion: 5.14.0
219+
220+
Description: Show the current number of entries in this WQ if WQ Occupancy
221+
Support bit WQ capabilities is 1.
222+
214223
What: /sys/bus/dsa/devices/engine<m>.<n>/group_id
215224
Date: Oct 25, 2019
216225
KernelVersion: 5.6.0

Documentation/ABI/testing/debugfs-driver-habanalabs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,17 @@ Description: Sets the skip reset on timeout option for the device. Value of
215215
"0" means device will be reset in case some CS has timed out,
216216
otherwise it will not be reset.
217217

218+
What: /sys/kernel/debug/habanalabs/hl<n>/state_dump
219+
Date: Oct 2021
220+
KernelVersion: 5.15
221+
222+
Description: Gets the state dump occurring on a CS timeout or failure.
223+
State dump is used for debug and is created each time in case of
224+
a problem in a CS execution, before reset.
225+
Reading from the node returns the newest state dump available.
226+
Writing an integer X discards X state dumps, so that the
227+
next read would return X+1-st newest state dump.
228+
218229
What: /sys/kernel/debug/habanalabs/hl<n>/stop_on_err
219230
Date: Mar 2020
220231
KernelVersion: 5.6
@@ -230,6 +241,14 @@ Description: Displays a list with information about the currently user
230241
pointers (user virtual addresses) that are pinned and mapped
231242
to DMA addresses
232243

244+
What: /sys/kernel/debug/habanalabs/hl<n>/userptr_lookup
245+
Date: Aug 2021
246+
KernelVersion: 5.15
247+
248+
Description: Allows to search for specific user pointers (user virtual
249+
addresses) that are pinned and mapped to DMA addresses, and see
250+
their resolution to the specific dma address.
251+
233252
What: /sys/kernel/debug/habanalabs/hl<n>/vm
234253
Date: Jan 2019
235254
KernelVersion: 5.1

Documentation/ABI/testing/dell-smbios-wmi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
What: /dev/wmi/dell-smbios
22
Date: November 2017
33
KernelVersion: 4.15
4-
Contact: "Mario Limonciello" <mario.limonciello@dell.com>
4+
Contact: Dell.Client.Kernel@dell.com
55
Description:
66
Perform SMBIOS calls on supported Dell machines.
77
through the Dell ACPI-WMI interface.

Documentation/ABI/testing/ima_policy

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,13 @@ Description:
2727
lsm: [[subj_user=] [subj_role=] [subj_type=]
2828
[obj_user=] [obj_role=] [obj_type=]]
2929
option: [[appraise_type=]] [template=] [permit_directio]
30-
[appraise_flag=] [keyrings=]
30+
[appraise_flag=] [appraise_algos=] [keyrings=]
3131
base:
3232
func:= [BPRM_CHECK][MMAP_CHECK][CREDS_CHECK][FILE_CHECK][MODULE_CHECK]
33-
[FIRMWARE_CHECK]
33+
[FIRMWARE_CHECK]
3434
[KEXEC_KERNEL_CHECK] [KEXEC_INITRAMFS_CHECK]
3535
[KEXEC_CMDLINE] [KEY_CHECK] [CRITICAL_DATA]
36+
[SETXATTR_CHECK]
3637
mask:= [[^]MAY_READ] [[^]MAY_WRITE] [[^]MAY_APPEND]
3738
[[^]MAY_EXEC]
3839
fsmagic:= hex value
@@ -55,6 +56,10 @@ Description:
5556
label:= [selinux]|[kernel_info]|[data_label]
5657
data_label:= a unique string used for grouping and limiting critical data.
5758
For example, "selinux" to measure critical data for SELinux.
59+
appraise_algos:= comma-separated list of hash algorithms
60+
For example, "sha256,sha512" to only accept to appraise
61+
files where the security.ima xattr was hashed with one
62+
of these two algorithms.
5863

5964
default policy:
6065
# PROC_SUPER_MAGIC
@@ -134,3 +139,9 @@ Description:
134139
keys added to .builtin_trusted_keys or .ima keyring:
135140

136141
measure func=KEY_CHECK keyrings=.builtin_trusted_keys|.ima
142+
143+
Example of the special SETXATTR_CHECK appraise rule, that
144+
restricts the hash algorithms allowed when writing to the
145+
security.ima xattr of a file:
146+
147+
appraise func=SETXATTR_CHECK appraise_algos=sha256,sha384,sha512

Documentation/ABI/testing/sysfs-bus-pci

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,23 @@ Description:
121121
child buses, and re-discover devices removed earlier
122122
from this part of the device tree.
123123

124+
What: /sys/bus/pci/devices/.../reset_method
125+
Date: August 2021
126+
Contact: Amey Narkhede <[email protected]>
127+
Description:
128+
Some devices allow an individual function to be reset
129+
without affecting other functions in the same slot.
130+
131+
For devices that have this support, a file named
132+
reset_method is present in sysfs. Reading this file
133+
gives names of the supported and enabled reset methods and
134+
their ordering. Writing a space-separated list of names of
135+
reset methods sets the reset methods and ordering to be
136+
used when resetting the device. Writing an empty string
137+
disables the ability to reset the device. Writing
138+
"default" enables all supported reset methods in the
139+
default ordering.
140+
124141
What: /sys/bus/pci/devices/.../reset
125142
Date: July 2009
126143
Contact: Michael S. Tsirkin <[email protected]>

Documentation/ABI/testing/sysfs-bus-thunderbolt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ Description: When new NVM image is written to the non-active NVM
232232
What: /sys/bus/thunderbolt/devices/.../nvm_authenticate_on_disconnect
233233
Date: Oct 2020
234234
KernelVersion: v5.9
235-
Contact: Mario Limonciello <mario.limonciello@dell.com>
235+
Contact: Mario Limonciello <mario.limonciello@outlook.com>
236236
Description: For supported devices, automatically authenticate the new Thunderbolt
237237
image when the device is disconnected from the host system.
238238

Documentation/ABI/testing/sysfs-class-firmware-attributes

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ What: /sys/class/firmware-attributes/*/attributes/*/
22
Date: February 2021
33
KernelVersion: 5.11
44
Contact: Divya Bharathi <[email protected]>,
5-
Mario Limonciello <[email protected]>,
65
Prasanth KSR <[email protected]>
6+
77
Description:
88
A sysfs interface for systems management software to enable
99
configuration capability on supported systems. This directory
@@ -130,8 +130,8 @@ What: /sys/class/firmware-attributes/*/authentication/
130130
Date: February 2021
131131
KernelVersion: 5.11
132132
Contact: Divya Bharathi <[email protected]>,
133-
Mario Limonciello <[email protected]>,
134133
Prasanth KSR <[email protected]>
134+
135135
Description:
136136
Devices support various authentication mechanisms which can be exposed
137137
as a separate configuration object.
@@ -220,8 +220,8 @@ What: /sys/class/firmware-attributes/*/attributes/pending_reboot
220220
Date: February 2021
221221
KernelVersion: 5.11
222222
Contact: Divya Bharathi <[email protected]>,
223-
Mario Limonciello <[email protected]>,
224223
Prasanth KSR <[email protected]>
224+
225225
Description:
226226
A read-only attribute reads 1 if a reboot is necessary to apply
227227
pending BIOS attribute changes. Also, an uevent_KOBJ_CHANGE is
@@ -249,8 +249,8 @@ What: /sys/class/firmware-attributes/*/attributes/reset_bios
249249
Date: February 2021
250250
KernelVersion: 5.11
251251
Contact: Divya Bharathi <[email protected]>,
252-
Mario Limonciello <[email protected]>,
253252
Prasanth KSR <[email protected]>
253+
254254
Description:
255255
This attribute can be used to reset the BIOS Configuration.
256256
Specifically, it tells which type of reset BIOS configuration is being
@@ -272,3 +272,14 @@ Description:
272272

273273
Note that any changes to this attribute requires a reboot
274274
for changes to take effect.
275+
276+
What: /sys/class/firmware-attributes/*/attributes/debug_cmd
277+
Date: July 2021
278+
KernelVersion: 5.14
279+
Contact: Mark Pearson <[email protected]>
280+
Description:
281+
This write only attribute can be used to send debug commands to the BIOS.
282+
This should only be used when recommended by the BIOS vendor. Vendors may
283+
use it to enable extra debug attributes or BIOS features for testing purposes.
284+
285+
Note that any changes to this attribute requires a reboot for changes to take effect.
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
What: /sys/bus/platform/devices/INTC1092:00/intc_reg
2+
Date: August 2021
3+
KernelVersion: 5.15
4+
Contact: Shravan S <[email protected]>,
5+
An Sudhakar <[email protected]>
6+
Description:
7+
Specific Absorption Rate (SAR) regulatory mode is typically
8+
derived based on information like mcc (Mobile Country Code) and
9+
mnc (Mobile Network Code) that is available for the currently
10+
attached LTE network. A userspace application is required to set
11+
the current SAR regulatory mode on the Dynamic SAR driver using
12+
this sysfs node. Such an application can also read back using
13+
this sysfs node, the currently configured regulatory mode value
14+
from the Dynamic SAR driver.
15+
16+
Acceptable regulatory modes are:
17+
== ====
18+
0 FCC
19+
1 CE
20+
2 ISED
21+
== ====
22+
23+
- The regulatory mode value has one of the above values.
24+
- The default regulatory mode used in the driver is 0.
25+
26+
What: /sys/bus/platform/devices/INTC1092:00/intc_data
27+
Date: August 2021
28+
KernelVersion: 5.15
29+
Contact: Shravan S <[email protected]>,
30+
An Sudhakar <[email protected]>
31+
Description:
32+
This sysfs entry is used to retrieve Dynamic SAR information
33+
emitted/maintained by a BIOS that supports Dynamic SAR.
34+
35+
The retrieved information is in the order given below:
36+
- device_mode
37+
- bandtable_index
38+
- antennatable_index
39+
- sartable_index
40+
41+
The above information is sent as integer values separated
42+
by a single space. This information can then be pushed to a
43+
WWAN modem that uses this to control the transmit signal
44+
level using the Band/Antenna/SAR table index information.
45+
These parameters are derived/decided by aggregating
46+
device-mode like laptop/tablet/clamshell etc. and the
47+
proximity-sensor data available to the embedded controller on
48+
given host. The regulatory mode configured on Dynamic SAR
49+
driver also influences these values.
50+
51+
The userspace applications can poll for changes to this file
52+
using POLLPRI event on file-descriptor (fd) obtained by opening
53+
this sysfs entry. Application can then read this information from
54+
the sysfs node and consume the given information.

0 commit comments

Comments
 (0)