Skip to content

Commit e4dbcbd

Browse files
committed
Merge branches 'acpi-processor' and 'acpi-misc' into linux-next
* acpi-processor: ACPI: processor: throttling: Remove space before newline ACPI: processor: perflib: Fix initial _PPC limit application * acpi-misc: ACPI/PNP: Use my kernel.org address in MAINTAINERS and ABI docs
3 parents 5d5cd2e + 94fd442 + 62b2e01 commit e4dbcbd

4 files changed

Lines changed: 21 additions & 13 deletions

File tree

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

MAINTAINERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,8 @@ L: linux-acpi@vger.kernel.org
315315
F: drivers/acpi/apei/
316316

317317
ACPI COMPONENT ARCHITECTURE (ACPICA)
318+
M: "Rafael J. Wysocki" <rafael@kernel.org>
318319
M: Robert Moore <robert.moore@intel.com>
319-
M: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
320320
L: linux-acpi@vger.kernel.org
321321
L: acpica-devel@lists.linux.dev
322322
S: Supported
@@ -19770,7 +19770,7 @@ F: Documentation/devicetree/bindings/iio/magnetometer/pni,rm3100.yaml
1977019770
F: drivers/iio/magnetometer/rm3100*
1977119771

1977219772
PNP SUPPORT
19773-
M: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
19773+
M: "Rafael J. Wysocki" <rafael@kernel.org>
1977419774
L: linux-acpi@vger.kernel.org
1977519775
S: Maintained
1977619776
F: drivers/pnp/

drivers/acpi/processor_perflib.c

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,14 @@ void acpi_processor_ppc_init(struct cpufreq_policy *policy)
173173
{
174174
unsigned int cpu;
175175

176+
if (ignore_ppc == 1)
177+
return;
178+
176179
for_each_cpu(cpu, policy->related_cpus) {
177180
struct acpi_processor *pr = per_cpu(processors, cpu);
178181
int ret;
179182

180-
if (!pr)
183+
if (!pr || !pr->performance)
181184
continue;
182185

183186
/*
@@ -193,6 +196,11 @@ void acpi_processor_ppc_init(struct cpufreq_policy *policy)
193196
if (ret < 0)
194197
pr_err("Failed to add freq constraint for CPU%d (%d)\n",
195198
cpu, ret);
199+
200+
ret = acpi_processor_get_platform_limit(pr);
201+
if (ret)
202+
pr_err("Failed to update freq constraint for CPU%d (%d)\n",
203+
cpu, ret);
196204
}
197205
}
198206

drivers/acpi/processor_throttling.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ static int acpi_processor_throttling_notifier(unsigned long event, void *data)
235235
if (pr->throttling_platform_limit > target_state)
236236
target_state = pr->throttling_platform_limit;
237237
if (target_state >= p_throttling->state_count) {
238-
pr_warn("Exceed the limit of T-state \n");
238+
pr_warn("Exceed the limit of T-state\n");
239239
target_state = p_throttling->state_count - 1;
240240
}
241241
p_tstate->target_state = target_state;

0 commit comments

Comments
 (0)