linux/drivers/acpi
Linus Torvalds e3e15872e7 ACPI support fixes for 7.4-rc1
- Separate handler locking from sysfs lifetime in the ACPI platform
    profile driver to avoid possible deadlocks due to sysfs accesses
    during driver removal (Daniel Lezcano)
 
  - Introduce additional locking around the evaluation of selected ACPI
    control methods in a few places to work around issues related to
    concurrency in AML on some platforms (Ali Ahmet Memiş)
 
  - Address two issues reported by Sashiko in the ACPI table data sysfs
    interface (Jamie Nguyen)
 
  - Initialize parser_state.aml_end in acpi_install_method() properly to
    avoid out-of-bounds accesses during control method installation (Ivan
    Hu)
 -----BEGIN PGP SIGNATURE-----
 
 iQFGBAABCAAwFiEEcM8Aw/RY0dgsiRUR7l+9nS/U47UFAmrk+i0SHHJqd0Byand5
 c29ja2kubmV0AAoJEO5fvZ0v1OO1BKUIAIvsvGOzWnUBWGY2GN9umZfNbEFnYrXH
 7mbAzDTP5lDjyqnrod7eSjXAATxWISxupR7qVPSbqjqGURwzMCZsPeX4ZRd5pUTZ
 THA0KTeE57hMKj/dvzvFQKIswGUkruQ09NZ3J6KZ514CJJ7SgSOilbUDf+7xzbLZ
 yLDDBc0POqhZaKIuAYSFsoRw+D7PB2q/k5Hvv8VVhumDgl2YcCLcpQSG4lftqdxn
 R6bjVAQaKJj/nArxwdQRt/LdNSQu1WQgnLkq57Ewwd4tORBlgMsGP9GrR/9QaQqY
 E6VINShueGRnDNIMAzb4imbXVsfE+gtoyYdAffCTV3HXy8aoJ95OwGA=
 =04kC
 -----END PGP SIGNATURE-----

Merge tag 'acpi-7.4-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull ACPI support fixes from Rafael Wysocki:
 "These address assorted issues in ACPI support code and work around
  concurrency-related issues in AML on some platforms:

   - Separate handler locking from sysfs lifetime in the ACPI platform
     profile driver to avoid possible deadlocks due to sysfs accesses
     during driver removal (Daniel Lezcano)

   - Introduce additional locking around the evaluation of selected ACPI
     control methods in a few places to work around issues related to
     concurrency in AML on some platforms (Ali Ahmet Memiş)

   - Address two issues reported by Sashiko in the ACPI table data sysfs
     interface (Jamie Nguyen)

   - Initialize parser_state.aml_end in acpi_install_method() properly
     to avoid out-of-bounds accesses during control method installation
     (Ivan Hu)"

* tag 'acpi-7.4-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
  ACPI: sysfs: Finish sysfs init when creating a table file fails
  ACPI: sysfs: Map only the requested range in acpi_data_show()
  ACPICA: Initialize parser_state.aml_end in acpi_install_method()
  ACPI: platform_profile: Separate handler locking from sysfs lifetime
  platform/x86: ideapad-laptop: Evaluate ACPI methods exclusively
  thermal: intel: int340x: Evaluate _TMP exclusively
  ACPI: battery: Evaluate battery methods exclusively
  ACPI: utils: Add exclusive AML evaluation helpers
2026-10-30 13:10:30 -10:00
..
acpica ACPICA: Initialize parser_state.aml_end in acpi_install_method() 2026-10-22 20:07:16 +02:00
apei ACPI: APEI: accumulate the queued flag across error sections 2026-10-12 17:22:50 +02:00
arm64 ACPI support updates for 7.4-rc1 2026-10-21 12:08:18 -10:00
dptf Thermal control updates for 6.19-rc1 2025-12-02 17:49:12 -08:00
loongarch ACPI: LoongArch: Add support for acpi_iommu_configure_id() 2026-10-27 22:51:12 +08:00
nfit ACPI: NFIT: core: Fix possible deadlock and missing notifications 2026-06-08 14:14:45 +02:00
numa Merge branches 'acpi-pcc', 'acpi-numa', 'acpi-pfrut', 'acpi-misc' and 'pnp' 2026-10-19 13:39:11 +02:00
pmic ACPI: PMIC: Replace mutex_lock/unlock() with guard()/scoped_guard() 2026-05-08 21:09:23 +02:00
riscv RISC-V updates for v7.4 2026-10-29 12:33:25 -10:00
x86 ACPI: PM: s2idle: Add _Ixx GPE wake indicator support 2026-09-17 16:33:23 +02:00
ac.c ACPI: AC: Switch over to devres-based resource management 2026-05-25 16:43:51 +02:00
acpi_adxl.c
acpi_apd.c serial: 8250_dw: Add device HID for AMDI0021 AMD UART controller 2026-09-23 14:42:07 +02:00
acpi_configfs.c configfs: Constify configfs_bin_attribute 2026-10-16 09:17:20 -07:00
acpi_dbg.c
acpi_extlog.c PCI/AER: Map a raw AER Capability image field by field 2026-10-01 18:42:02 +02:00
acpi_ffh.c
acpi_fpdt.c ACPI: FPDT: validate table and record lengths 2026-07-21 14:36:10 +02:00
acpi_ipmi.c ACPI: IPMI: Fix inverted interface check in ipmi_bmc_gone() 2026-06-19 20:56:20 +02:00
acpi_lpat.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
acpi_lpit.c
acpi_memhotplug.c ACPI: driver: Do not set acpi_device_class() unnecessarily 2026-03-13 16:48:26 +01:00
acpi_mrrm.c ACPI: MRRM: Use for_each_populated_zone() in get_node_num() 2026-09-09 17:22:27 +02:00
acpi_pad.c ACPI: PAD: Use sysfs_emit() in idlecpus_show() 2026-06-01 19:43:41 +02:00
acpi_pcc.c ACPI: PCC: Cache OpRegion command timeout 2026-09-25 18:16:26 +02:00
acpi_platform.c Merge branch 'acpi-bus' 2026-08-26 19:22:52 +02:00
acpi_pnp.c ACPI: PNP: Drop CMOS RTC PNP device support 2026-02-26 18:48:07 +01:00
acpi_processor.c ACPI: processor: idle: Add switch for strict _LPI processing 2026-07-17 11:10:09 +02:00
acpi_tad.c ACPI: TAD: Add locking around AML evaluations 2026-08-07 16:00:02 +02:00
acpi_video.c ACPI: video: Use thermal_cooling_device_create() 2026-09-12 20:11:58 +02:00
acpi_watchdog.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
battery.c ACPI: battery: Evaluate battery methods exclusively 2026-10-22 19:05:28 +02:00
bgrt.c
bus.c ACPI: LoongArch: Add acpi_arch_[late]_init() 2026-10-27 22:51:12 +08:00
button.c ACPI: button: Add lid_init_state quirk for Razer Blade Stealth 13 (Early 2020) RZ09-0310 2026-09-09 17:31:28 +02:00
container.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
cppc_acpi.c ACPI: CPPC: Accept requests to retain immutable autonomous selection 2026-09-18 17:29:09 +02:00
debugfs.c
device_pm.c ACPI: scan: Stop calling acpi_bus_init_power() early 2026-09-09 18:07:59 +02:00
device_sysfs.c ACPI: sysfs: Replace sprintf() with sysfs_emit() 2026-01-27 21:58:58 +01:00
dock.c ACPI: dock: Retry probing battery docks after hotplug 2026-10-12 19:55:53 +02:00
ec_sys.c
ec.c ACPI: EC: Avoid _REG disconnect on GPIO IRQ defer 2026-07-21 15:49:56 +02:00
event.c ACPI: event: Redefine acpi_notifier_call_chain() 2026-03-13 16:48:24 +01:00
evged.c
fan_attr.c ACPI: fan: Use ACPI handle when retrieving _FST 2025-10-24 10:29:08 +02:00
fan_core.c ACPI: fan: Use __free() to simplify AML error handling 2026-09-24 22:17:24 +02:00
fan_hwmon.c ACPI: fan: Store ACPI device pointer in struct acpi_fan 2026-09-12 20:12:40 +02:00
fan.h ACPI: fan: Store ACPI device pointer in struct acpi_fan 2026-09-12 20:12:40 +02:00
glue.c ACPI: glue: Skip devices with no type in acpi_device_notify() 2026-09-11 15:26:49 +02:00
hed.c ACPI: HED: Switch over to devres-based resource management 2026-05-25 16:43:51 +02:00
internal.h ACPI: PM: Move acpi_bus_init_power() declaration to internal header file 2026-09-09 18:07:59 +02:00
ioapic.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
irq.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
Kconfig LoongArch changes for v7.4 2026-10-30 09:44:29 -10:00
Makefile ACPI: LoongArch: Add acpi_arch_[late]_init() 2026-10-27 22:51:12 +08:00
mipi-disco-img.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
nhlt.c
nvs.c ACPI: NVS: replace __get_free_page() with kmalloc() 2026-07-21 14:23:24 +02:00
osi.c ACPI: OSI: Add DMI quirk for Acer Aspire One D255 2026-02-24 15:43:51 +01:00
osl.c ACPI: OSL: Use vsnprintf() in acpi_os_vprintf() 2026-09-09 17:40:36 +02:00
pci_irq.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
pci_link.c ACPI: PCI: pci_link: clear driver_data before free 2026-10-12 17:33:52 +02:00
pci_mcfg.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
pci_root.c PCI/ACPI: Centralize pcie_ports_native checking 2026-10-06 12:16:17 -05:00
pci_slot.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
pfr_telemetry.c ACPI: driver: Check ACPI_COMPANION() against NULL during probe 2026-05-11 18:50:06 +02:00
pfr_update.c ACPI: pfr_update: zero-initialize capability query result 2026-09-09 17:26:03 +02:00
platform_profile.c ACPI: platform_profile: Separate handler locking from sysfs lifetime 2026-10-22 19:35:22 +02:00
power.c ACPI: PM: Add Acer Aspire A515-53G to dmi_leave_unused_power_resources_on[] 2026-10-14 20:23:23 +02:00
pptt.c Merge branches 'acpica', 'acpi-osl' and 'acpi-tables' 2026-04-09 21:19:34 +02:00
prmt.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
proc.c
processor_core.c ACPI: processor: validate MADT IOAPIC entry bounds 2026-07-21 15:57:48 +02:00
processor_driver.c ACPI: processor: thermal: Use more suitable cooling device data 2026-09-12 20:12:40 +02:00
processor_idle.c ACPI: processor: idle: Add switch for strict _LPI processing 2026-07-17 11:10:09 +02:00
processor_pdc.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
processor_perflib.c acpi: Stop using 32-bit MSR interfaces 2026-07-17 10:26:50 +02:00
processor_thermal.c ACPI: processor: thermal: Use more suitable cooling device data 2026-09-12 20:12:40 +02:00
processor_throttling.c acpi: Stop using 32-bit MSR interfaces 2026-07-17 10:26:50 +02:00
property.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
reboot.c
resource.c ACPI: resource: Amend kernel-doc style 2026-06-19 20:21:42 +02:00
sbs.c ACPI: SBS: Fix NULL pointer dereference on allocation failure 2026-09-14 20:06:15 +02:00
sbshc.c ACPI: driver: Check ACPI_COMPANION() against NULL during probe 2026-05-11 18:50:06 +02:00
sbshc.h
scan.c LoongArch changes for v7.4 2026-10-30 09:44:29 -10:00
sleep.c ACPI: PM: sleep: Drop unused sleep_no_lps0 define 2026-10-12 20:06:07 +02:00
sleep.h ACPI: PM: s2idle: Staticise LPS0 callback functions 2025-10-20 20:39:33 +02:00
spcr.c ACPI: SPCR: Check for table version when using precise baudrate 2025-10-27 20:43:41 +01:00
sysfs.c ACPI: sysfs: Finish sysfs init when creating a table file fails 2026-10-22 20:39:55 +02:00
tables.c ACPI: tables: handle failed initrd override mappings 2026-09-16 15:08:17 +02:00
thermal_lib.c
thermal.c ACPI: thermal: Fix acpi_thermal_guess_offset() for device with a 273.0°K offset 2026-09-22 15:19:53 +02:00
tiny-power-button.c ACPI: driver: Check ACPI_COMPANION() against NULL during probe 2026-05-11 18:50:06 +02:00
utils.c ACPI: utils: Add exclusive AML evaluation helpers 2026-10-22 19:01:52 +02:00
video_detect.c platform-drivers-x86 for v7.4-1 2026-10-28 07:36:32 -10:00
viot.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
wakeup.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00