Skip to content

Convert WMI to a proper bus

Darren Hart linux-acpi lkml platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 32 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16platform/x86: wmi: Drop "Mapper (un)loaded" messagesdrivers/platform/x86/wmi.c+0 -30 replies
2/16platform/x86: wmi: Pass the acpi_device through to parse_wdgdrivers/platform/x86/wmi.c+7 -60 replies
3/16platform/x86: wmi: Clean up acpi_wmi_adddrivers/platform/x86/wmi.c+9 -50 replies
4/16platform/x86: wmi: Track wmi devices per ACPI devicedrivers/platform/x86/wmi.c+36 -220 replies
5/16platform/x86: wmi: Turn WMI into a bus driverdrivers/platform/x86/wmi.c include/linux/wmi.h+201 -430 replies
6/16platform/x86: wmi: Fix error handling when creating devicesdrivers/platform/x86/wmi.c+15 -130 replies
7/16platform/x86: wmi: Split devices into types and add basic sysfs attributesdrivers/platform/x86/wmi.c+77 -10 replies
8/16platform/x86: wmi: Probe data objects for read and write capabilitiesdrivers/platform/x86/wmi.c include/linux/wmi.h+103 -40 replies
9/16platform/x86: wmi: Instantiate all devices before adding themdrivers/platform/x86/wmi.c+31 -184 replies
10/16platform/x86: wmi: Incorporate acpi_install_notify_handlerdrivers/platform/x86/wmi.c include/linux/wmi.h+73 -170 replies
11/16platform/x86: wmi: Add a new interface to read block datadrivers/platform/x86/wmi.c include/linux/wmi.h+42 -160 replies
12/16platform/x86: wmi: Bind the platform device, not the ACPI nodedrivers/platform/x86/wmi.c+33 -240 replies
13/16platform/x86: wmi: Add an interface for subdrivers to access sibling devicesdrivers/platform/x86/wmi.c include/linux/wmi.h+21 -00 replies
14/16platform/x86: wmi: Require query for data blocks, rename writable to setabledrivers/platform/x86/wmi.c include/linux/wmi.h+63 -610 replies
15/16platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadatadrivers/platform/x86/Kconfig drivers/platform/x86/Makefile drivers/platform/x86/wmi-mof.c+138 -019 replies
16/16platform/x86: dell-wmi: Convert to the WMI bus infrastructuredrivers/platform/x86/dell-wmi.c+70 -666 replies

Reviews trailers per patch

None of the 16 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRafael J. Wysocki
SeriesA-b
1/16
2/16
3/16
4/16
5/16
6/16
7/16
8/16
9/16
10/16
11/16
12/16
13/16
14/16
15/16
16/16

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

Read the v1 thread

Cover letter [PATCH 00/16] Convert WMI to a proper bus

From: "Darren Hart (VMware)" <[email protected]>

This series is based on the original work of
Andy Lutomirski <[email protected]> [1]. I have made minor edits, and in one instance, squashed two patches in which the latter undid the former.

This series converts WMI [2] into a proper bus, adds some useful information via sysfs, and exposes the embedded MOF [3] binary. It converts dell-wmi to use the new WMI bus architecture.

This is the first part of an ongoing effort to enhance the WMI infrastructure within the kernel, and eventually expose WMI to userspace for the consumption of management utilities as it was intended.

1. https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git/log/?h=platform/wmi
2. https://msdn.microsoft.com/en-us/library/windows/hardware/dn614028(v=vs.85).aspx
3. https://msdn.microsoft.com/en-us/library/aa823192(v=vs.85).aspx

Andy Lutomirski (15):
platform/x86: wmi: Drop "Mapper (un)loaded" messages platform/x86: wmi: Pass the acpi_device through to parse_wdg platform/x86: wmi: Clean up acpi_wmi_add
platform/x86: wmi: Track wmi devices per ACPI device platform/x86: wmi: Turn WMI into a bus driver
platform/x86: wmi: Fix error handling when creating devices platform/x86: wmi: Split devices into types and add basic sysfs attributes platform/x86: wmi: Probe data objects for read and write capabilities platform/x86: wmi: Instantiate all devices before adding them platform/x86: wmi: Incorporate acpi_install_notify_handler platform/x86: wmi: Add a new interface to read block data platform/x86: wmi: Bind the platform device, not the ACPI node platform/x86: wmi: Add an interface for subdrivers to access sibling devices platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata platform/x86: dell-wmi: Convert to the WMI bus infrastructure

Darren Hart (VMware) (1):
platform/x86: wmi: Require query for data blocks, rename writable to setable

 drivers/platform/x86/Kconfig    |  12 +
 drivers/platform/x86/Makefile   |   1 +
 drivers/platform/x86/dell-wmi.c | 136 ++++----
 drivers/platform/x86/wmi-mof.c  | 125 ++++++++
 drivers/platform/x86/wmi.c      | 677 ++++++++++++++++++++++++++++++++--------
 include/linux/wmi.h             |  59 ++++
 6 files changed, 815 insertions(+), 195 deletions(-)
 create mode 100644 drivers/platform/x86/wmi-mof.c
 create mode 100644 include/linux/wmi.h
Signature · 1 line
2.9.4