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

Armin Wolf posted 3 patches an hour ago
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/loongarch/Kconfig              |  1 +
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 ---
14 files changed, 24 insertions(+), 37 deletions(-)
rename drivers/platform/{x86/wmi-bmof.c => wmi/bmof.c} (100%)
[PATCH v3 0/3] platform/wmi: Add aarch64 support
Posted by Armin Wolf an hour ago
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.

Changes since v2:
- fix Kconfig issue for the loongson-laptop driver

Changes  since v1:
- add additional tags

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/loongarch/Kconfig              |  1 +
 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 ---
 14 files changed, 24 insertions(+), 37 deletions(-)
 rename drivers/platform/{x86/wmi-bmof.c => wmi/bmof.c} (100%)

-- 
2.39.5