Skip to content

Commit 9deb084

Browse files
authored
Merge pull request #5503 from bardliao/merge/sound-upstream-20250804
Merge/sound upstream 20250804
2 parents 99f9e26 + 7fd14ba commit 9deb084

488 files changed

Lines changed: 6496 additions & 2267 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.

Documentation/ABI/testing/sysfs-bus-acpi

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
What: /sys/bus/acpi/devices/.../path
22
Date: December 2006
3-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
3+
Contact: Rafael J. Wysocki <rafael@kernel.org>
44
Description:
55
This attribute indicates the full path of ACPI namespace
66
object associated with the device object. For example,
@@ -12,15 +12,15 @@ Description:
1212

1313
What: /sys/bus/acpi/devices/.../modalias
1414
Date: July 2007
15-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
15+
Contact: Rafael J. Wysocki <rafael@kernel.org>
1616
Description:
1717
This attribute indicates the PNP IDs of the device object.
1818
That is acpi:HHHHHHHH:[CCCCCCC:]. Where each HHHHHHHH or
1919
CCCCCCCC contains device object's PNPID (_HID or _CID).
2020

2121
What: /sys/bus/acpi/devices/.../hid
2222
Date: April 2005
23-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
23+
Contact: Rafael J. Wysocki <rafael@kernel.org>
2424
Description:
2525
This attribute indicates the hardware ID (_HID) of the
2626
device object. For example, PNP0103.
@@ -29,14 +29,14 @@ Description:
2929

3030
What: /sys/bus/acpi/devices/.../description
3131
Date: October 2012
32-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
32+
Contact: Rafael J. Wysocki <rafael@kernel.org>
3333
Description:
3434
This attribute contains the output of the device object's
3535
_STR control method, if present.
3636

3737
What: /sys/bus/acpi/devices/.../adr
3838
Date: October 2012
39-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
39+
Contact: Rafael J. Wysocki <rafael@kernel.org>
4040
Description:
4141
This attribute contains the output of the device object's
4242
_ADR control method, which is present for ACPI device
@@ -45,22 +45,22 @@ Description:
4545

4646
What: /sys/bus/acpi/devices/.../uid
4747
Date: October 2012
48-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
48+
Contact: Rafael J. Wysocki <rafael@kernel.org>
4949
Description:
5050
This attribute contains the output of the device object's
5151
_UID control method, if present.
5252

5353
What: /sys/bus/acpi/devices/.../eject
5454
Date: December 2006
55-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
55+
Contact: Rafael J. Wysocki <rafael@kernel.org>
5656
Description:
5757
Writing 1 to this attribute will trigger hot removal of
5858
this device object. This file exists for every device
5959
object that has _EJ0 method.
6060

6161
What: /sys/bus/acpi/devices/.../status
6262
Date: Jan, 2014
63-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
63+
Contact: Rafael J. Wysocki <rafael@kernel.org>
6464
Description:
6565
(RO) Returns the ACPI device status: enabled, disabled or
6666
functioning or present, if the method _STA is present.
@@ -90,7 +90,7 @@ Description:
9090

9191
What: /sys/bus/acpi/devices/.../hrv
9292
Date: Apr, 2016
93-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
93+
Contact: Rafael J. Wysocki <rafael@kernel.org>
9494
Description:
9595
(RO) Allows users to read the hardware version of non-PCI
9696
hardware, if the _HRV control method is present. It is mostly

Documentation/ABI/testing/sysfs-class-devfreq

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,3 +132,12 @@ Description:
132132

133133
A list of governors that support the node:
134134
- simple_ondemand
135+
136+
What: /sys/class/devfreq/.../related_cpus
137+
Date: June 2025
138+
Contact: Linux power management list <linux-pm@vger.kernel.org>
139+
Description: The list of CPUs whose performance is closely related to the
140+
frequency of this devfreq domain.
141+
142+
This file is only present if a specific devfreq device is
143+
closely associated with a subset of CPUs.

Documentation/ABI/testing/sysfs-devices-power

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
What: /sys/devices/.../power/
22
Date: January 2009
3-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
3+
Contact: Rafael J. Wysocki <rafael@kernel.org>
44
Description:
55
The /sys/devices/.../power directory contains attributes
66
allowing the user space to check and modify some power
77
management related properties of given device.
88

99
What: /sys/devices/.../power/wakeup
1010
Date: January 2009
11-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
11+
Contact: Rafael J. Wysocki <rafael@kernel.org>
1212
Description:
1313
The /sys/devices/.../power/wakeup attribute allows the user
1414
space to check if the device is enabled to wake up the system
@@ -34,7 +34,7 @@ Description:
3434

3535
What: /sys/devices/.../power/control
3636
Date: January 2009
37-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
37+
Contact: Rafael J. Wysocki <rafael@kernel.org>
3838
Description:
3939
The /sys/devices/.../power/control attribute allows the user
4040
space to control the run-time power management of the device.
@@ -53,7 +53,7 @@ Description:
5353

5454
What: /sys/devices/.../power/async
5555
Date: January 2009
56-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
56+
Contact: Rafael J. Wysocki <rafael@kernel.org>
5757
Description:
5858
The /sys/devices/.../async attribute allows the user space to
5959
enable or disable the device's suspend and resume callbacks to
@@ -79,7 +79,7 @@ Description:
7979

8080
What: /sys/devices/.../power/wakeup_count
8181
Date: September 2010
82-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
82+
Contact: Rafael J. Wysocki <rafael@kernel.org>
8383
Description:
8484
The /sys/devices/.../wakeup_count attribute contains the number
8585
of signaled wakeup events associated with the device. This
@@ -90,7 +90,7 @@ Description:
9090

9191
What: /sys/devices/.../power/wakeup_active_count
9292
Date: September 2010
93-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
93+
Contact: Rafael J. Wysocki <rafael@kernel.org>
9494
Description:
9595
The /sys/devices/.../wakeup_active_count attribute contains the
9696
number of times the processing of wakeup events associated with
@@ -102,7 +102,7 @@ Description:
102102

103103
What: /sys/devices/.../power/wakeup_abort_count
104104
Date: February 2012
105-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
105+
Contact: Rafael J. Wysocki <rafael@kernel.org>
106106
Description:
107107
The /sys/devices/.../wakeup_abort_count attribute contains the
108108
number of times the processing of a wakeup event associated with
@@ -114,7 +114,7 @@ Description:
114114

115115
What: /sys/devices/.../power/wakeup_expire_count
116116
Date: February 2012
117-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
117+
Contact: Rafael J. Wysocki <rafael@kernel.org>
118118
Description:
119119
The /sys/devices/.../wakeup_expire_count attribute contains the
120120
number of times a wakeup event associated with the device has
@@ -126,7 +126,7 @@ Description:
126126

127127
What: /sys/devices/.../power/wakeup_active
128128
Date: September 2010
129-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
129+
Contact: Rafael J. Wysocki <rafael@kernel.org>
130130
Description:
131131
The /sys/devices/.../wakeup_active attribute contains either 1,
132132
or 0, depending on whether or not a wakeup event associated with
@@ -138,7 +138,7 @@ Description:
138138

139139
What: /sys/devices/.../power/wakeup_total_time_ms
140140
Date: September 2010
141-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
141+
Contact: Rafael J. Wysocki <rafael@kernel.org>
142142
Description:
143143
The /sys/devices/.../wakeup_total_time_ms attribute contains
144144
the total time of processing wakeup events associated with the
@@ -149,7 +149,7 @@ Description:
149149

150150
What: /sys/devices/.../power/wakeup_max_time_ms
151151
Date: September 2010
152-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
152+
Contact: Rafael J. Wysocki <rafael@kernel.org>
153153
Description:
154154
The /sys/devices/.../wakeup_max_time_ms attribute contains
155155
the maximum time of processing a single wakeup event associated
@@ -161,7 +161,7 @@ Description:
161161

162162
What: /sys/devices/.../power/wakeup_last_time_ms
163163
Date: September 2010
164-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
164+
Contact: Rafael J. Wysocki <rafael@kernel.org>
165165
Description:
166166
The /sys/devices/.../wakeup_last_time_ms attribute contains
167167
the value of the monotonic clock corresponding to the time of
@@ -173,7 +173,7 @@ Description:
173173

174174
What: /sys/devices/.../power/wakeup_prevent_sleep_time_ms
175175
Date: February 2012
176-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
176+
Contact: Rafael J. Wysocki <rafael@kernel.org>
177177
Description:
178178
The /sys/devices/.../wakeup_prevent_sleep_time_ms attribute
179179
contains the total time the device has been preventing
@@ -203,7 +203,7 @@ Description:
203203

204204
What: /sys/devices/.../power/pm_qos_resume_latency_us
205205
Date: March 2012
206-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
206+
Contact: Rafael J. Wysocki <rafael@kernel.org>
207207
Description:
208208
The /sys/devices/.../power/pm_qos_resume_latency_us attribute
209209
contains the PM QoS resume latency limit for the given device,
@@ -223,7 +223,7 @@ Description:
223223

224224
What: /sys/devices/.../power/pm_qos_latency_tolerance_us
225225
Date: January 2014
226-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
226+
Contact: Rafael J. Wysocki <rafael@kernel.org>
227227
Description:
228228
The /sys/devices/.../power/pm_qos_latency_tolerance_us attribute
229229
contains the PM QoS active state latency tolerance limit for the
@@ -248,7 +248,7 @@ Description:
248248

249249
What: /sys/devices/.../power/pm_qos_no_power_off
250250
Date: September 2012
251-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
251+
Contact: Rafael J. Wysocki <rafael@kernel.org>
252252
Description:
253253
The /sys/devices/.../power/pm_qos_no_power_off attribute
254254
is used for manipulating the PM QoS "no power off" flag. If
@@ -263,7 +263,7 @@ Description:
263263

264264
What: /sys/devices/.../power/runtime_status
265265
Date: April 2010
266-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
266+
Contact: Rafael J. Wysocki <rafael@kernel.org>
267267
Description:
268268
The /sys/devices/.../power/runtime_status attribute contains
269269
the current runtime PM status of the device, which may be

Documentation/ABI/testing/sysfs-firmware-acpi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,15 +108,15 @@ Description:
108108
number of a "General Purpose Events" (GPE).
109109

110110
A GPE vectors to a specified handler in AML, which
111-
can do a anything the BIOS writer wants from
111+
can do anything the BIOS writer wants from
112112
OS context. GPE 0x12, for example, would vector
113113
to a level or edge handler called _L12 or _E12.
114114
The handler may do its business and return.
115-
Or the handler may send send a Notify event
115+
Or the handler may send a Notify event
116116
to a Linux device driver registered on an ACPI device,
117117
such as a battery, or a processor.
118118

119-
To figure out where all the SCI's are coming from,
119+
To figure out where all the SCIs are coming from,
120120
/sys/firmware/acpi/interrupts contains a file listing
121121
every possible source, and the count of how many
122122
times it has triggered::

Documentation/ABI/testing/sysfs-power

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
What: /sys/power/
22
Date: August 2006
3-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
3+
Contact: Rafael J. Wysocki <rafael@kernel.org>
44
Description:
55
The /sys/power directory will contain files that will
66
provide a unified interface to the power management
77
subsystem.
88

99
What: /sys/power/state
1010
Date: November 2016
11-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
11+
Contact: Rafael J. Wysocki <rafael@kernel.org>
1212
Description:
1313
The /sys/power/state file controls system sleep states.
1414
Reading from this file returns the available sleep state
@@ -23,7 +23,7 @@ Description:
2323

2424
What: /sys/power/mem_sleep
2525
Date: November 2016
26-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
26+
Contact: Rafael J. Wysocki <rafael@kernel.org>
2727
Description:
2828
The /sys/power/mem_sleep file controls the operating mode of
2929
system suspend. Reading from it returns the available modes
@@ -41,7 +41,7 @@ Description:
4141

4242
What: /sys/power/disk
4343
Date: September 2006
44-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
44+
Contact: Rafael J. Wysocki <rafael@kernel.org>
4545
Description:
4646
The /sys/power/disk file controls the operating mode of the
4747
suspend-to-disk mechanism. Reading from this file returns
@@ -90,7 +90,7 @@ Description:
9090

9191
What: /sys/power/image_size
9292
Date: August 2006
93-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
93+
Contact: Rafael J. Wysocki <rafael@kernel.org>
9494
Description:
9595
The /sys/power/image_size file controls the size of the image
9696
created by the suspend-to-disk mechanism. It can be written a
@@ -107,7 +107,7 @@ Description:
107107

108108
What: /sys/power/pm_trace
109109
Date: August 2006
110-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
110+
Contact: Rafael J. Wysocki <rafael@kernel.org>
111111
Description:
112112
The /sys/power/pm_trace file controls the code which saves the
113113
last PM event point in the RTC across reboots, so that you can
@@ -156,7 +156,7 @@ Description:
156156

157157
What: /sys/power/pm_async
158158
Date: January 2009
159-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
159+
Contact: Rafael J. Wysocki <rafael@kernel.org>
160160
Description:
161161
The /sys/power/pm_async file controls the switch allowing the
162162
user space to enable or disable asynchronous suspend and resume
@@ -169,7 +169,7 @@ Description:
169169

170170
What: /sys/power/wakeup_count
171171
Date: July 2010
172-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
172+
Contact: Rafael J. Wysocki <rafael@kernel.org>
173173
Description:
174174
The /sys/power/wakeup_count file allows user space to put the
175175
system into a sleep state while taking into account the
@@ -184,7 +184,7 @@ Description:
184184

185185
What: /sys/power/reserved_size
186186
Date: May 2011
187-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
187+
Contact: Rafael J. Wysocki <rafael@kernel.org>
188188
Description:
189189
The /sys/power/reserved_size file allows user space to control
190190
the amount of memory reserved for allocations made by device
@@ -198,7 +198,7 @@ Description:
198198

199199
What: /sys/power/autosleep
200200
Date: April 2012
201-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
201+
Contact: Rafael J. Wysocki <rafael@kernel.org>
202202
Description:
203203
The /sys/power/autosleep file can be written one of the strings
204204
returned by reads from /sys/power/state. If that happens, a
@@ -215,7 +215,7 @@ Description:
215215

216216
What: /sys/power/wake_lock
217217
Date: February 2012
218-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
218+
Contact: Rafael J. Wysocki <rafael@kernel.org>
219219
Description:
220220
The /sys/power/wake_lock file allows user space to create
221221
wakeup source objects and activate them on demand (if one of
@@ -242,7 +242,7 @@ Description:
242242

243243
What: /sys/power/wake_unlock
244244
Date: February 2012
245-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
245+
Contact: Rafael J. Wysocki <rafael@kernel.org>
246246
Description:
247247
The /sys/power/wake_unlock file allows user space to deactivate
248248
wakeup sources created with the help of /sys/power/wake_lock.
@@ -283,7 +283,7 @@ Description:
283283

284284
What: /sys/power/pm_debug_messages
285285
Date: July 2017
286-
Contact: Rafael J. Wysocki <rjw@rjwysocki.net>
286+
Contact: Rafael J. Wysocki <rafael@kernel.org>
287287
Description:
288288
The /sys/power/pm_debug_messages file controls the printing
289289
of debug messages from the system suspend/hiberbation

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5000,6 +5000,18 @@
50005000
that number, otherwise (e.g., 'pmu_override=on'), MMCR1
50015001
remains 0.
50025002

5003+
pm_async= [PM]
5004+
Format: off
5005+
This parameter sets the initial value of the
5006+
/sys/power/pm_async sysfs knob at boot time.
5007+
If set to "off", disables asynchronous suspend and
5008+
resume of devices during system-wide power transitions.
5009+
This can be useful on platforms where device
5010+
dependencies are not well-defined, or for debugging
5011+
power management issues. Asynchronous operations are
5012+
enabled by default.
5013+
5014+
50035015
pm_debug_messages [SUSPEND,KNL]
50045016
Enable suspend/resume debug messages during boot up.
50055017

0 commit comments

Comments
 (0)