Skip to content

Commit bc10cbc

Browse files
committed
Merge tag 'v6.1-rc1' into sync
Linux 6.1-rc1 There were two required changes: - KUnit moved the assert format function pointer from the assertion struct to the kunit_do_failed_assertion() call instead. See commit a8495ad ("kunit: remove format func from struct kunit_assert, get it to 0 bytes"). - `file_operations` gained the `uring_cmd_iopoll` field. See commit de27e18 ("fs: add file_operations->uring_cmd_iopoll"). Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2 parents 3255493 + 9abf231 commit bc10cbc

File tree

11,935 files changed

+606467
-217299
lines changed

Some content is hidden

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

11,935 files changed

+606467
-217299
lines changed

.mailmap

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ Ben M Cahill <ben.m.cahill@intel.com>
7171
Ben Widawsky <bwidawsk@kernel.org> <ben@bwidawsk.net>
7272
Ben Widawsky <bwidawsk@kernel.org> <ben.widawsky@intel.com>
7373
Ben Widawsky <bwidawsk@kernel.org> <benjamin.widawsky@intel.com>
74+
Bjorn Andersson <andersson@kernel.org> <bjorn@kryo.se>
75+
Bjorn Andersson <andersson@kernel.org> <bjorn.andersson@linaro.org>
76+
Bjorn Andersson <andersson@kernel.org> <bjorn.andersson@sonymobile.com>
7477
Björn Steinbrink <B.Steinbrink@gmx.de>
7578
Björn Töpel <bjorn@kernel.org> <bjorn.topel@gmail.com>
7679
Björn Töpel <bjorn@kernel.org> <bjorn.topel@intel.com>
@@ -134,6 +137,7 @@ Filipe Lautert <filipe@icewall.org>
134137
Finn Thain <fthain@linux-m68k.org> <fthain@telegraphics.com.au>
135138
Franck Bui-Huu <vagabon.xyz@gmail.com>
136139
Frank Rowand <frowand.list@gmail.com> <frank.rowand@am.sony.com>
140+
Frank Rowand <frowand.list@gmail.com> <frank.rowand@sony.com>
137141
Frank Rowand <frowand.list@gmail.com> <frank.rowand@sonymobile.com>
138142
Frank Rowand <frowand.list@gmail.com> <frowand@mvista.com>
139143
Frank Zago <fzago@systemfabricworks.com>
@@ -333,6 +337,7 @@ Oleksij Rempel <linux@rempel-privat.de> <external.Oleksij.Rempel@de.bosch.com>
333337
Oleksij Rempel <linux@rempel-privat.de> <fixed-term.Oleksij.Rempel@de.bosch.com>
334338
Oleksij Rempel <linux@rempel-privat.de> <o.rempel@pengutronix.de>
335339
Oleksij Rempel <linux@rempel-privat.de> <ore@pengutronix.de>
340+
Oliver Upton <oliver.upton@linux.dev> <oupton@google.com>
336341
Pali Rohár <pali@kernel.org> <pali.rohar@gmail.com>
337342
Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
338343
Patrick Mochel <mochel@digitalimplant.org>

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

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,17 @@ Contact: dmaengine@vger.kernel.org
227227
Description: Indicate the number of retires for an enqcmds submission on a sharedwq.
228228
A max value to set attribute is capped at 64.
229229

230+
What: /sys/bus/dsa/devices/wq<m>.<n>/op_config
231+
Date: Sept 14, 2022
232+
KernelVersion: 6.0.0
233+
Contact: dmaengine@vger.kernel.org
234+
Description: Shows the operation capability bits displayed in bitmap format
235+
presented by %*pb printk() output format specifier.
236+
The attribute can be configured when the WQ is disabled in
237+
order to configure the WQ to accept specific bits that
238+
correlates to the operations allowed. It's visible only
239+
on platforms that support the capability.
240+
230241
What: /sys/bus/dsa/devices/engine<m>.<n>/group_id
231242
Date: Oct 25, 2019
232243
KernelVersion: 5.6.0
@@ -255,3 +266,27 @@ Contact: dmaengine@vger.kernel.org
255266
Description: Indicates the number of Read Buffers reserved for the use of
256267
engines in the group. See DSA spec v1.2 9.2.18 GRPCFG Read Buffers
257268
Reserved.
269+
270+
What: /sys/bus/dsa/devices/group<m>.<n>/desc_progress_limit
271+
Date: Sept 14, 2022
272+
KernelVersion: 6.0.0
273+
Contact: dmaengine@vger.kernel.org
274+
Description: Allows control of the number of work descriptors that can be
275+
concurrently processed by an engine in the group as a fraction
276+
of the Maximum Work Descriptors in Progress value specified in
277+
the ENGCAP register. The acceptable values are 0 (default),
278+
1 (1/2 of max value), 2 (1/4 of the max value), and 3 (1/8 of
279+
the max value). It's visible only on platforms that support
280+
the capability.
281+
282+
What: /sys/bus/dsa/devices/group<m>.<n>/batch_progress_limit
283+
Date: Sept 14, 2022
284+
KernelVersion: 6.0.0
285+
Contact: dmaengine@vger.kernel.org
286+
Description: Allows control of the number of batch descriptors that can be
287+
concurrently processed by an engine in the group as a fraction
288+
of the Maximum Batch Descriptors in Progress value specified in
289+
the ENGCAP register. The acceptable values are 0 (default),
290+
1 (1/2 of max value), 2 (1/4 of the max value), and 3 (1/8 of
291+
the max value). It's visible only on platforms that support
292+
the capability.

Documentation/ABI/testing/debugfs-cros-ec

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,25 @@ Description:
5454
this feature.
5555

5656
Output will be in the format: "0x%08x\n".
57+
58+
What: /sys/kernel/debug/<cros-ec-device>/suspend_timeout_ms
59+
Date: August 2022
60+
KernelVersion: 6.1
61+
Description:
62+
Some ECs have a feature where they will track transitions of
63+
a hardware-controlled sleep line, such as Intel's SLP_S0 line,
64+
in order to detect cases where a system failed to go into deep
65+
sleep states. The suspend_timeout_ms file controls the amount of
66+
time in milliseconds the EC will wait before declaring a sleep
67+
timeout event and attempting to wake the system.
68+
69+
Supply 0 to use the default value coded into EC firmware. Supply
70+
65535 (EC_HOST_SLEEP_TIMEOUT_INFINITE) to disable the EC sleep
71+
failure detection mechanism. Values in between 0 and 65535
72+
indicate the number of milliseconds the EC should wait after a
73+
sleep transition before declaring a timeout. This includes both
74+
the duration after a sleep command was received but before the
75+
hardware line changed, as well as the duration between when the
76+
hardware line changed and the kernel sent an EC resume command.
77+
78+
Output will be in the format: "%u\n".
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
What: /sys/bus/platform/drivers/amd_pmc/*/smu_fw_version
2+
Date: October 2022
3+
Contact: Mario Limonciello <mario.limonciello@amd.com>
4+
Description: Reading this file reports the version of the firmware loaded to
5+
System Management Unit (SMU) contained in AMD CPUs and
6+
APUs.
7+
8+
What: /sys/bus/platform/drivers/amd_pmc/*/smu_program
9+
Date: October 2022
10+
Contact: Mario Limonciello <mario.limonciello@amd.com>
11+
Description: Reading this file reports the program corresponding to the SMU
12+
firmware version. The program field is used to disambiguate two
13+
APU/CPU models that can share the same firmware binary.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
What: /sys/devices/platform/*/cnqf_enable
2+
Date: September 2022
3+
Contact: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
4+
Description: Reading this file tells if the AMD Platform Management(PMF)
5+
Cool n Quiet Framework(CnQF) feature is enabled or not.
6+
7+
This feature is not enabled by default and gets only turned on
8+
if OEM BIOS passes a "flag" to PMF ACPI function (index 11 or 12)
9+
or in case the user writes "on".
10+
11+
To turn off CnQF user can write "off" to the sysfs node.
12+
Note: Systems that support auto mode will not have this sysfs file
13+
available.

Documentation/ABI/testing/sysfs-bus-bcma

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Date: May 2011
33
KernelVersion: 3.0
44
Contact: Rafał Miłecki <zajec5@gmail.com>
55
Description:
6-
Each BCMA core has it's manufacturer id. See
6+
Each BCMA core has its manufacturer id. See
77
include/linux/bcma/bcma.h for possible values.
88

99
What: /sys/bus/bcma/devices/.../id

Documentation/ABI/testing/sysfs-bus-coresight-devices-etm4x

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,3 +516,11 @@ Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
516516
Description: (Read) Returns the number of special conditional P1 right-hand keys
517517
that the trace unit can use (0x194). The value is taken
518518
directly from the HW.
519+
520+
What: /sys/bus/coresight/devices/etm<N>/ts_source
521+
Date: October 2022
522+
KernelVersion: 6.1
523+
Contact: Mathieu Poirier <mathieu.poirier@linaro.org> or Suzuki K Poulose <suzuki.poulose@arm.com>
524+
Description: (Read) When FEAT_TRF is implemented, value of TRFCR_ELx.TS used for
525+
trace session. Otherwise -1 indicates an unknown time source. Check
526+
trcidr0.tssize to see if a global timestamp is available.

Documentation/ABI/testing/sysfs-bus-counter

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ Contact: linux-iio@vger.kernel.org
44
Description:
55
Count data of Count Y represented as a string.
66

7+
What: /sys/bus/counter/devices/counterX/countY/capture
8+
KernelVersion: 6.1
9+
Contact: linux-iio@vger.kernel.org
10+
Description:
11+
Historical capture of the Count Y count data.
12+
713
What: /sys/bus/counter/devices/counterX/countY/ceiling
814
KernelVersion: 5.2
915
Contact: linux-iio@vger.kernel.org
@@ -203,6 +209,13 @@ Description:
203209
both edges:
204210
Any state transition.
205211

212+
What: /sys/bus/counter/devices/counterX/countY/num_overflows
213+
KernelVersion: 6.1
214+
Contact: linux-iio@vger.kernel.org
215+
Description:
216+
This attribute indicates the number of overflows of count Y.
217+
218+
What: /sys/bus/counter/devices/counterX/countY/capture_component_id
206219
What: /sys/bus/counter/devices/counterX/countY/ceiling_component_id
207220
What: /sys/bus/counter/devices/counterX/countY/floor_component_id
208221
What: /sys/bus/counter/devices/counterX/countY/count_mode_component_id
@@ -213,11 +226,14 @@ What: /sys/bus/counter/devices/counterX/countY/prescaler_component_id
213226
What: /sys/bus/counter/devices/counterX/countY/preset_component_id
214227
What: /sys/bus/counter/devices/counterX/countY/preset_enable_component_id
215228
What: /sys/bus/counter/devices/counterX/countY/signalZ_action_component_id
229+
What: /sys/bus/counter/devices/counterX/countY/num_overflows_component_id
216230
What: /sys/bus/counter/devices/counterX/signalY/cable_fault_component_id
217231
What: /sys/bus/counter/devices/counterX/signalY/cable_fault_enable_component_id
218232
What: /sys/bus/counter/devices/counterX/signalY/filter_clock_prescaler_component_id
219233
What: /sys/bus/counter/devices/counterX/signalY/index_polarity_component_id
234+
What: /sys/bus/counter/devices/counterX/signalY/polarity_component_id
220235
What: /sys/bus/counter/devices/counterX/signalY/synchronous_mode_component_id
236+
What: /sys/bus/counter/devices/counterX/signalY/frequency_component_id
221237
KernelVersion: 5.16
222238
Contact: linux-iio@vger.kernel.org
223239
Description:
@@ -303,6 +319,19 @@ Description:
303319
Discrete set of available values for the respective Signal Y
304320
configuration are listed in this file.
305321

322+
What: /sys/bus/counter/devices/counterX/signalY/polarity
323+
KernelVersion: 6.1
324+
Contact: linux-iio@vger.kernel.org
325+
Description:
326+
Active level of Signal Y. The following polarity values are
327+
available:
328+
329+
positive:
330+
Signal high state considered active level (rising edge).
331+
332+
negative:
333+
Signal low state considered active level (falling edge).
334+
306335
What: /sys/bus/counter/devices/counterX/signalY/name
307336
KernelVersion: 5.2
308337
Contact: linux-iio@vger.kernel.org
@@ -345,3 +374,9 @@ Description:
345374
via index_polarity. The index function (as enabled via
346375
preset_enable) is performed synchronously with the
347376
quadrature clock on the active level of the index input.
377+
378+
What: /sys/bus/counter/devices/counterX/signalY/frequency
379+
KernelVersion: 6.1
380+
Contact: linux-iio@vger.kernel.org
381+
Description:
382+
Read-only attribute that indicates the signal Y frequency, in Hz.

Documentation/ABI/testing/sysfs-bus-fcoe

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Description: 'FCoE Controller' instances on the fcoe bus.
3131
1) Write interface name to ctlr_create 2) Configure the FCoE
3232
Controller (ctlr_X) 3) Enable the FCoE Controller to begin
3333
discovery and login. The FCoE Controller is destroyed by
34-
writing it's name, i.e. ctlr_X to the ctlr_delete file.
34+
writing its name, i.e. ctlr_X to the ctlr_delete file.
3535

3636
Attributes:
3737

Documentation/ABI/testing/sysfs-bus-iio

Lines changed: 125 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ Description:
196196
Raw capacitance measurement from channel Y. Units after
197197
application of scale and offset are nanofarads.
198198

199-
What: /sys/.../iio:deviceX/in_capacitanceY-in_capacitanceZ_raw
199+
What: /sys/.../iio:deviceX/in_capacitanceY-capacitanceZ_raw
200200
KernelVersion: 3.2
201201
Contact: linux-iio@vger.kernel.org
202202
Description:
@@ -207,6 +207,25 @@ Description:
207207
is required is a consistent labeling. Units after application
208208
of scale and offset are nanofarads.
209209

210+
What: /sys/.../iio:deviceX/in_capacitanceY-capacitanceZ_zeropoint
211+
KernelVersion: 6.1
212+
Contact: linux-iio@vger.kernel.org
213+
Description:
214+
For differential channels, this an offset that is applied
215+
equally to both inputs. As the reading is of the difference
216+
between the two inputs, this should not be applied to the _raw
217+
reading by userspace (unlike _offset) and unlike calibbias
218+
it does not affect the differential value measured because
219+
the effect of _zeropoint cancels out across the two inputs
220+
that make up the differential pair. It's purpose is to bring
221+
the individual signals, before the differential is measured,
222+
within the measurement range of the device. The naming is
223+
chosen because if the separate inputs that make the
224+
differential pair are drawn on a graph in their
225+
_raw units, this is the value that the zero point on the
226+
measurement axis represents. It is expressed with the
227+
same scaling as _raw.
228+
210229
What: /sys/bus/iio/devices/iio:deviceX/in_temp_raw
211230
What: /sys/bus/iio/devices/iio:deviceX/in_tempX_raw
212231
What: /sys/bus/iio/devices/iio:deviceX/in_temp_x_raw
@@ -241,6 +260,15 @@ Description:
241260
Has all of the equivalent parameters as per voltageY. Units
242261
after application of scale and offset are m/s^2.
243262

263+
What: /sys/bus/iio/devices/iio:deviceX/in_accel_linear_x_raw
264+
What: /sys/bus/iio/devices/iio:deviceX/in_accel_linear_y_raw
265+
What: /sys/bus/iio/devices/iio:deviceX/in_accel_linear_z_raw
266+
KernelVersion: 6.1
267+
Contact: linux-iio@vger.kernel.org
268+
Description:
269+
As per in_accel_X_raw attributes, but minus the
270+
acceleration due to gravity.
271+
244272
What: /sys/bus/iio/devices/iio:deviceX/in_gravity_x_raw
245273
What: /sys/bus/iio/devices/iio:deviceX/in_gravity_y_raw
246274
What: /sys/bus/iio/devices/iio:deviceX/in_gravity_z_raw
@@ -2038,3 +2066,99 @@ Description:
20382066
Available range for the forced calibration value, expressed as:
20392067

20402068
- a range specified as "[min step max]"
2069+
2070+
What: /sys/bus/iio/devices/iio:deviceX/in_voltageX_sampling_frequency
2071+
What: /sys/bus/iio/devices/iio:deviceX/in_powerY_sampling_frequency
2072+
What: /sys/bus/iio/devices/iio:deviceX/in_currentZ_sampling_frequency
2073+
KernelVersion: 5.20
2074+
Contact: linux-iio@vger.kernel.org
2075+
Description:
2076+
Some devices have separate controls of sampling frequency for
2077+
individual channels. If multiple channels are enabled in a scan,
2078+
then the sampling_frequency of the scan may be computed from the
2079+
per channel sampling frequencies.
2080+
2081+
What: /sys/.../events/in_accel_gesture_singletap_en
2082+
What: /sys/.../events/in_accel_gesture_doubletap_en
2083+
KernelVersion: 6.1
2084+
Contact: linux-iio@vger.kernel.org
2085+
Description:
2086+
Device generates an event on a single or double tap.
2087+
2088+
What: /sys/.../events/in_accel_gesture_singletap_value
2089+
What: /sys/.../events/in_accel_gesture_doubletap_value
2090+
KernelVersion: 6.1
2091+
Contact: linux-iio@vger.kernel.org
2092+
Description:
2093+
Specifies the threshold value that the device is comparing
2094+
against to generate the tap gesture event. The lower
2095+
threshold value increases the sensitivity of tap detection.
2096+
Units and the exact meaning of value are device-specific.
2097+
2098+
What: /sys/.../events/in_accel_gesture_tap_value_available
2099+
KernelVersion: 6.1
2100+
Contact: linux-iio@vger.kernel.org
2101+
Description:
2102+
Lists all available threshold values which can be used to
2103+
modify the sensitivity of the tap detection.
2104+
2105+
What: /sys/.../events/in_accel_gesture_singletap_reset_timeout
2106+
What: /sys/.../events/in_accel_gesture_doubletap_reset_timeout
2107+
KernelVersion: 6.1
2108+
Contact: linux-iio@vger.kernel.org
2109+
Description:
2110+
Specifies the timeout value in seconds for the tap detector
2111+
to not to look for another tap event after the event as
2112+
occurred. Basically the minimum quiet time between the two
2113+
single-tap's or two double-tap's.
2114+
2115+
What: /sys/.../events/in_accel_gesture_tap_reset_timeout_available
2116+
KernelVersion: 6.1
2117+
Contact: linux-iio@vger.kernel.org
2118+
Description:
2119+
Lists all available tap reset timeout values. Units in seconds.
2120+
2121+
What: /sys/.../events/in_accel_gesture_doubletap_tap2_min_delay
2122+
KernelVersion: 6.1
2123+
Contact: linux-iio@vger.kernel.org
2124+
Description:
2125+
Specifies the minimum quiet time in seconds between the two
2126+
taps of a double tap.
2127+
2128+
What: /sys/.../events/in_accel_gesture_doubletap_tap2_min_delay_available
2129+
KernelVersion: 6.1
2130+
Contact: linux-iio@vger.kernel.org
2131+
Description:
2132+
Lists all available delay values between two taps in the double
2133+
tap. Units in seconds.
2134+
2135+
What: /sys/.../events/in_accel_gesture_tap_maxtomin_time
2136+
KernelVersion: 6.1
2137+
Contact: linux-iio@vger.kernel.org
2138+
Description:
2139+
Specifies the maximum time difference allowed between upper
2140+
and lower peak of tap to consider it as the valid tap event.
2141+
Units in seconds.
2142+
2143+
What: /sys/.../events/in_accel_gesture_tap_maxtomin_time_available
2144+
KernelVersion: 6.1
2145+
Contact: linux-iio@vger.kernel.org
2146+
Description:
2147+
Lists all available time values between upper peak to lower
2148+
peak. Units in seconds.
2149+
2150+
What: /sys/bus/iio/devices/iio:deviceX/in_rot_yaw_raw
2151+
What: /sys/bus/iio/devices/iio:deviceX/in_rot_pitch_raw
2152+
What: /sys/bus/iio/devices/iio:deviceX/in_rot_roll_raw
2153+
KernelVersion: 6.1
2154+
Contact: linux-iio@vger.kernel.org
2155+
Description:
2156+
Raw (unscaled) euler angles readings. Units after
2157+
application of scale are deg.
2158+
2159+
What: /sys/bus/iio/devices/iio:deviceX/serialnumber
2160+
KernelVersion: 6.1
2161+
Contact: linux-iio@vger.kernel.org
2162+
Description:
2163+
An example format is 16-bytes, 2-digits-per-byte, HEX-string
2164+
representing the sensor unique ID number.

0 commit comments

Comments
 (0)