diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2023-09-22 13:19:04 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-09-22 13:19:04 -0700 |
commit | b184c040dc393296301ee2fa522f44ad61237d68 (patch) | |
tree | cc7461cba3cfc632af1eae7ec74b633b45d991ca /drivers | |
parent | 36fcf38152d8f163850831d52199adea4d6d9518 (diff) | |
parent | a1001c37f83b30a75c17796b453769773b71f9b2 (diff) | |
download | lwn-b184c040dc393296301ee2fa522f44ad61237d68.tar.gz lwn-b184c040dc393296301ee2fa522f44ad61237d68.zip |
Merge tag 'acpi-6.6-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull ACPI fixes from Rafael Wysocki:
"These fix a general ACPI processor driver regression and an ia64 build
issue, both introduced recently.
Specifics:
- Fix recently introduced uninitialized memory access issue in the
ACPI processor driver (Michal Wilczynski)
- Fix ia64 build inadvertently broken by recent ACPI processor driver
changes, which is prudent to do for 6.6 even though ia64 support is
slated for removal in 6.7 (Ard Biesheuvel)"
* tag 'acpi-6.6-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
ACPI: processor: Fix uninitialized access of buf in acpi_set_pdc_bits()
acpi: Provide ia64 dummy implementation of acpi_proc_quirk_mwait_check()
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acpi/processor_pdc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/processor_pdc.c b/drivers/acpi/processor_pdc.c index 1a8591e9a9bf..994091bd52de 100644 --- a/drivers/acpi/processor_pdc.c +++ b/drivers/acpi/processor_pdc.c @@ -19,6 +19,7 @@ static void acpi_set_pdc_bits(u32 *buf) { buf[0] = ACPI_PDC_REVISION_ID; buf[1] = 1; + buf[2] = 0; /* Twiddle arch-specific bits needed for _PDC */ arch_acpi_set_proc_cap_bits(&buf[2]); |