[PATCH 0/3] platform/wmi: Add aarch64 support

From: Armin Wolf

Date: Thu Jul 16 2026 - 19:47:25 EST


The aarch64-laptops project found out that some Windows-on-Arm
notebooks contain WMI-ACPI mapping devices (PNP0C14) that work
exactly like on x86. Those devices however are currently not
supported by the WMI driver core due to only supporting x86.

The first patch removes this restriction and allows the WMI
driver core to run on all architectures that support ACPI.
The second patch updates the acpi-video driver to take advantage
of the improved support for architectures other than x86, and
the last patch enables the generic WMI BMOF driver to support
aarch64 as well.

All patches have been tested on a ACPI-based aarch64 VM and
work just fine.

Armin Wolf (3):
platform/wmi: Remove dependency on CONFIG_X86
ACPI: video: Remove CONFIG_X86 handling from nvidia_wmi_ec_supported()
platform/x86: wmi-bmof: Move to generic WMI code

MAINTAINERS | 2 +-
drivers/acpi/Kconfig | 2 +-
drivers/acpi/video_detect.c | 8 --------
drivers/gpu/drm/amd/amdgpu/Kconfig | 4 +---
drivers/gpu/drm/gma500/Kconfig | 1 -
drivers/gpu/drm/i915/Kconfig | 1 -
drivers/gpu/drm/radeon/Kconfig | 4 +---
drivers/gpu/drm/xe/Kconfig | 5 ++---
drivers/platform/wmi/Kconfig | 14 +++++++++++++-
drivers/platform/wmi/Makefile | 4 ++++
drivers/platform/{x86/wmi-bmof.c => wmi/bmof.c} | 0
drivers/platform/x86/Kconfig | 12 ------------
drivers/platform/x86/Makefile | 3 ---
13 files changed, 23 insertions(+), 37 deletions(-)
rename drivers/platform/{x86/wmi-bmof.c => wmi/bmof.c} (100%)

--
2.39.5