]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: lenovo-wmi-other: Add force_load_psy_ext module parameter
authorDerek J. Clark <derekjohn.clark@gmail.com>
Wed, 20 May 2026 06:07:38 +0000 (06:07 +0000)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 28 May 2026 11:17:46 +0000 (14:17 +0300)
commitfb8e9629efbab67135f801f5ec5e91307e7693c2
treebcce36a3fb7659612a546fee6bc874956b26a1dc
parent9ca8fc065b88b327acbfdc33454efea391639716
platform/x86: lenovo-wmi-other: Add force_load_psy_ext module parameter

Some Lenovo BIOS have been shown to have incomplete and/or broken
capability data and WMI attribute IDs. In some cases the capability data
reports that a feature is not supported when the get/set methods are
fully implemented. It is also possible that the ACPI methods from the
ideapad_laptop driver we defer to could be bugged while the WMI method
is fully working. To aid end users in submitting more complete bug
reports in these situations, add an override to skip the ACPI and
compatibility checks to force load the power supply extension as if it
is fully supported and has no conflicts.

Reviewed-by: Rong Zhang <i@rong.moe>
Signed-off-by: Derek J. Clark <derekjohn.clark@gmail.com>
Link: https://patch.msgid.link/20260520060740.119554-6-derekjohn.clark@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/lenovo/wmi-other.c