Re: [PATCH 0/4] platform/x86: wmi: Prepare for future changes
From: Mario Limonciello
Date: Tue Nov 04 2025 - 15:53:40 EST
On 11/4/25 2:45 PM, Armin Wolf wrote:
After over a year of reverse engineering, i am finally ready tomarshaling> Since the resulting patch series is quite large, i am planning to
introduce support for WMI-ACPI marshalling inside the WMI driver core.
submit the necessary patches as three separate patch series.
This is supposed to be the first of the three patch series. Its main
purpose is to prepare the WMI driver core for the upcoming changes.
The first patch fixes an issue inside the nls utf16 to utf8 conversion
code, while the next two patches fix some minor issues inside the WMI
driver core itself. The last patch finally moves the code of the WMI
driver core into a separate repository to allow for future additions
without cluttering the main directory.
One question I have here on the patch to move things.
Since Windows on ARM (WoA) laptops are a thing - is this still actually x86 specific? I am wondering if this should be moving to a different subsystem altogether like ACPI; especially now with this impending other large patch series you have on your way.
Armin Wolf (4):
fs/nls: Fix utf16 to utf8 conversion
platform/x86: wmi: Use correct type when populating ACPI objects
platform/x86: wmi: Remove extern keyword from prototypes
platform/x86: wmi: Move WMI core code into a separate directory
Documentation/driver-api/wmi.rst | 2 +-
MAINTAINERS | 2 +-
drivers/platform/x86/Kconfig | 30 +------------------
drivers/platform/x86/Makefile | 2 +-
drivers/platform/x86/wmi/Kconfig | 34 ++++++++++++++++++++++
drivers/platform/x86/wmi/Makefile | 8 +++++
drivers/platform/x86/{wmi.c => wmi/core.c} | 34 +++++++++++++---------
fs/nls/nls_base.c | 16 +++++++---
include/linux/wmi.h | 15 ++++------
9 files changed, 84 insertions(+), 59 deletions(-)
create mode 100644 drivers/platform/x86/wmi/Kconfig
create mode 100644 drivers/platform/x86/wmi/Makefile
rename drivers/platform/x86/{wmi.c => wmi/core.c} (98%)
Reviewed-by: Mario Limonciello (AMD) <superm1@xxxxxxxxxx>