]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: wmi: Call WCxx methods when setting data blocks
authorArmin Wolf <W_Armin@gmx.de>
Sun, 16 Feb 2025 19:32:50 +0000 (20:32 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 24 Feb 2025 11:30:15 +0000 (13:30 +0200)
commit08c9f4029007325e0bbd4fdda05650b03e43f071
tree8851b5bebb67a52710455ecaa63ba8dfe31071f5
parent656f0961d126f5d1f0bcc62fa8bb7598d8f89207
platform/x86: wmi: Call WCxx methods when setting data blocks

After performing some tests with a custom SSDT table available at
https://github.com/Wer-Wolf/acpi-wmi-ssdt i found out that Windows
also enables data block collection even when the data block is
being set.

Emulate this behaviour to avoid confusing the ACPI firmware.
The bus-based API already implements this behaviour, so only the
legacy GUID-based API needs to be changed.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20250216193251.866125-8-W_Armin@gmx.de
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Documentation/wmi/acpi-interface.rst
drivers/platform/x86/wmi.c