mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/8] platform/x86: wmi: Rework WMI device enabling
@ 2025-02-16 19:32 Armin Wolf
  2025-02-16 19:32 ` [PATCH v2 1/8] hwmon: (hp-wmi-sensors) Use the WMI bus API when accessing sensors Armin Wolf
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Armin Wolf @ 2025-02-16 19:32 UTC (permalink / raw)
  To: james, markpearson, jorge.lopez2
  Cc: jdelvare, linux, linux-hwmon, linux-kernel, hdegoede,
	ilpo.jarvinen, platform-driver-x86, corbet, linux-doc

This patch series reworks how WMI devices are enabled and disabled
to improve the compatibility with various firmware implementations.

The first three patches make sure that no WMI driver using the WMI bus
infrastructure is using the deprecated GUID-based API to access the
underlying WMI device.

The fourth patch is a unrelated cleanup patch.

The last four patches finally rework the WMI device enabling inside
the WMI core and update the documentation.

The WMI core patches have been tested on a Dell Inspiron 3505, but
the remaining patches are mostly compile-tested only.

Changes since v2:
- add Reviewed-by, Acked-by and Tested-by tags
- use devres to disable the WMI device

Armin Wolf (8):
  hwmon: (hp-wmi-sensors) Use the WMI bus API when accessing sensors
  platform/x86: think-lmi: Use ACPI object when extracting strings
  platform/x86: think-lmi: Use WMI bus API when accessing BIOS settings
  platform/x86: hp-bioscfg: Use wmi_instance_count()
  platform/x86: wmi: Use devres to disable the WMI device
  platform/x86: wmi: Rework WCxx/WExx ACPI method handling
  platform/x86: wmi: Call WCxx methods when setting data blocks
  platform/x86: wmi: Update documentation regarding the GUID-based API

 Documentation/wmi/acpi-interface.rst          |   3 +
 .../wmi/driver-development-guide.rst          |   4 +
 drivers/hwmon/hp-wmi-sensors.c                |   4 +-
 drivers/platform/x86/hp/hp-bioscfg/bioscfg.c  |  13 +-
 drivers/platform/x86/think-lmi.c              |  51 +++----
 drivers/platform/x86/think-lmi.h              |   2 +
 drivers/platform/x86/wmi.c                    | 141 ++++++++++--------
 7 files changed, 116 insertions(+), 102 deletions(-)

--
2.39.5


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-02-24 15:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-16 19:32 [PATCH v2 0/8] platform/x86: wmi: Rework WMI device enabling Armin Wolf
2025-02-16 19:32 ` [PATCH v2 1/8] hwmon: (hp-wmi-sensors) Use the WMI bus API when accessing sensors Armin Wolf
2025-02-16 19:32 ` [PATCH v2 2/8] platform/x86: think-lmi: Use ACPI object when extracting strings Armin Wolf
2025-02-16 19:32 ` [PATCH v2 3/8] platform/x86: think-lmi: Use WMI bus API when accessing BIOS settings Armin Wolf
2025-02-16 19:32 ` [PATCH v2 4/8] platform/x86: hp-bioscfg: Use wmi_instance_count() Armin Wolf
2025-02-16 19:32 ` [PATCH v2 5/8] platform/x86: wmi: Use devres to disable the WMI device Armin Wolf
2025-02-16 19:32 ` [PATCH v2 6/8] platform/x86: wmi: Rework WCxx/WExx ACPI method handling Armin Wolf
2025-02-16 19:32 ` [PATCH v2 7/8] platform/x86: wmi: Call WCxx methods when setting data blocks Armin Wolf
2025-02-16 19:32 ` [PATCH v2 8/8] platform/x86: wmi: Update documentation regarding the GUID-based API Armin Wolf
2025-02-24 15:17 ` [PATCH v2 0/8] platform/x86: wmi: Rework WMI device enabling Ilpo Järvinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®