Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'acpi-6.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull ACPI fixes from Rafael Wysocki:
"These fix issues introduced by recent changes related to the handling
of ACPI device properties and a coding mistake in the exit path of the
ACPI processor driver.

Specifics:

- Prevent acpi_thermal_cpufreq_exit() from attempting to remove
the same frequency QoS request multiple times (Riwen Lu)

- Fix type detection for integer ACPI device properties (Stefan
Binding)

- Avoid emitting false-positive warnings when processing ACPI
device properties and drop the useless default case from the
acpi_copy_property_array_uint() macro (Sakari Ailus)"

* tag 'acpi-6.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
ACPI: property: Remove default association from integer maximum values
ACPI: property: Ignore already existing data node tags
ACPI: property: Fix type detection of unified integer reading functions
ACPI: processor: Remove freq Qos request for all CPUs

+6 -7
+1 -1
drivers/acpi/processor_thermal.c
··· 151 151 unsigned int cpu; 152 152 153 153 for_each_cpu(cpu, policy->related_cpus) { 154 - struct acpi_processor *pr = per_cpu(processors, policy->cpu); 154 + struct acpi_processor *pr = per_cpu(processors, cpu); 155 155 156 156 if (pr) 157 157 freq_qos_remove_request(&pr->thermal_req);
+5 -6
drivers/acpi/property.c
··· 370 370 bool ret; 371 371 372 372 status = acpi_attach_data(dn->handle, acpi_nondev_subnode_tag, dn); 373 - if (ACPI_FAILURE(status)) { 373 + if (ACPI_FAILURE(status) && status != AE_ALREADY_EXISTS) { 374 374 acpi_handle_err(dn->handle, "Can't tag data node\n"); 375 375 return false; 376 376 } ··· 1043 1043 break; \ 1044 1044 } \ 1045 1045 if (__items[i].integer.value > _Generic(__val, \ 1046 - u8: U8_MAX, \ 1047 - u16: U16_MAX, \ 1048 - u32: U32_MAX, \ 1049 - u64: U64_MAX, \ 1050 - default: 0U)) { \ 1046 + u8 *: U8_MAX, \ 1047 + u16 *: U16_MAX, \ 1048 + u32 *: U32_MAX, \ 1049 + u64 *: U64_MAX)) { \ 1051 1050 ret = -EOVERFLOW; \ 1052 1051 break; \ 1053 1052 } \