linux/include/acpi
Ali Ahmet Memiş 80892972ff ACPI: utils: Add exclusive AML evaluation helpers
ACPICA drops the interpreter lock while AML waits, for example around EC
accesses, so two methods can run interleaved.

Some firmware relies on methods not interleaving, for instance by
switching an EC page selector without taking the AML mutex that the
other users of that page hold.

Add acpi_evaluate_object_exclusive(), acpi_evaluate_integer_exclusive()
and acpi_execute_simple_method_exclusive() which serialize the
evaluation under a global mutex, for callers that are known to be
affected.

Suggested-by: Rafael J. Wysocki <rafael@kernel.org>
Link: https://lore.kernel.org/all/CAJZ5v0gS4agVUkCO6M=VW4Wi2y1-s+k23bpzmX9aAZ0Rsv4z9Q@mail.gmail.com/
Signed-off-by: Ali Ahmet Memiş <aliamemis@disroot.org>
Reviewed-by: Rong Zhang <i@rong.moe>
Link: https://patch.msgid.link/20261018122220.678822-2-aliamemis@disroot.org
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2026-10-22 19:01:52 +02:00
..
platform ACPICA: Define acpi_ut_safe_strncpy() as strscpy_pad() alias 2026-07-01 12:29:24 +02:00
acbuffer.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
acconfig.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
acexcep.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
acnames.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
acoutput.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
acpi_bus.h ACPI: utils: Add exclusive AML evaluation helpers 2026-10-22 19:01:52 +02:00
acpi_drivers.h ACPI: PCI: Introduce acpi_dev_get_pci_dev() 2026-07-21 16:59:46 +02:00
acpi_io.h
acpi_lpat.h
acpi_numa.h mm/fake-numa: allow later numa node hotplug 2025-01-25 20:22:29 -08:00
acpi.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
acpiosxf.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
acpixf.h Merge branch 'acpica' 2026-06-11 14:57:55 +02:00
acrestyp.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
actbl.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
actbl1.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
actbl2.h ACPICA: actbl2.h: Add bit constants of the Flags field in the IOVT IOMMU structure 2026-10-12 16:44:05 +02:00
actbl3.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
actypes.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
acuuid.h ACPICA: Update the copyright year to 2026 2026-05-27 20:18:47 +02:00
apei.h
battery.h
button.h
cppc_acpi.h Merge branch 'pm-cpufreq' 2026-10-19 14:20:58 +02:00
ghes.h ACPI: APEI: GHES: Validate CXL protocol error section length before RAS cap copy 2026-09-04 20:22:05 +02:00
hed.h
nfit.h
nhlt.h ACPI: NHLT: Remove always included kconfig.h 2026-07-21 21:27:23 +02:00
pcc.h Revert "mailbox/pcc: support mailbox management of the shared buffer" 2026-01-18 14:19:20 -06:00
proc_cap_intel.h
processor.h ACPI: processor: thermal: Use more suitable cooling device data 2026-09-12 20:12:40 +02:00
reboot.h
video.h ACPI: video: Add Dell UART backlight controller detection 2024-08-19 15:58:35 +02:00