Skip to content

RFC platform/x86: Allow retrieving the number of WMI object instances

Armin Wolf lkml platform-driver-x86 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest2 patches 4 repliesIn review
  2. v1 RFC1 patch 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2platform/x86: wmi: Allow retrieving the number of WMI object instancesdrivers/platform/x86/wmi.c include/linux/acpi.h include/linux/wmi.h+44 -04 replies
2/2platform/x86: dell-sysman: Improve instance detectiondrivers/platform/x86/dell/dell-wmi-sysman/sysman.c+7 -80 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchJames Seo
1/2T-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [RFC v2 0/2] platform/x86: Allow retrieving the number of WMI object instances

This experimental patch series allows WMI drivers to retrieve the number of WMI object instances. This functionallity benefits several current and upcoming WMI drivers, the dell-wmi-sysman driver is converted to use this new API as an example.

The changes are compile-tested only, the change to the dell-wmi-sysman driver also needs to be tested on real hardware.

Armin Wolf (2):
platform/x86: wmi: Allow retrieving the number of WMI object instances platform/x86: dell-sysman: Improve instance detection

 .../x86/dell/dell-wmi-sysman/sysman.c         | 15 ++++---
 drivers/platform/x86/wmi.c                    | 40 +++++++++++++++++++
 include/linux/acpi.h                          |  2 +
 include/linux/wmi.h                           |  2 +
 4 files changed, 51 insertions(+), 8 deletions(-)

--
2.30.2