[PATCH v2] platform/wmi: Allow wmi module to load when acpi_disabled is set
Ilpo Järvinen
ilpo.jarvinen at linux.intel.com
Fri Nov 13 08:01:02 PST 2026
On Thu, 12 Nov 2026 14:49:05 +0100, Hans de Goede wrote:
> The core wmi module provides symbols which may be used by other modules.
> These other modules may still function when acpi_disabled is set, but
> the current behavior of acpi_wmi_init() returning -ENODEV when it is set
> causes loading these modules to fail because the wmi module these depend
> on fails to load with -ENODEV.
>
> One example of this is booting a kernel with both DT and ACPI/WMI support
> on an arm64 systems with devicetree which will lead to acpi_disabled being
> set. Trying to load the amdgpu module will fail in this case because it
> uses symbols from the drivers/acpi/video module which in turn uses symbols
> from the wmi module. Note the video module itself already contains handling
> to still load when acpi_disables is set for similar reasons.
>
> [...]
Thank you for your contribution, it has been applied to my local
review-ilpo-fixes branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my
local branch there, which might take a while.
The list of commits applied:
[1/1] platform/wmi: Allow wmi module to load when acpi_disabled is set
commit: 8ab84b8e07ce3988c4fafbb9c622ec9e12e3b065
--
i.
More information about the linux-riscv
mailing list