Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1651773

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

From Darren Hart <dvhart@infradead.org>
Newsgroups linux.kernel
Subject [PATCH 00/16] Convert WMI to a proper bus
Date 2017-05-27 07:40 +0200
Message-ID <tLCCd-7vw-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


From: "Darren Hart (VMware)" <dvhart@infradead.org>

This series is based on the original work of
Andy Lutomirski <luto@amacapital.net> [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

-- 
2.9.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 00/16] Convert WMI to a proper bus Darren Hart <dvhart@infradead.org> - 2017-05-27 07:40 +0200
  [PATCH 11/16] platform/x86: wmi: Add a new interface to read block data Darren Hart <dvhart@infradead.org> - 2017-05-27 07:40 +0200
  [PATCH 02/16] platform/x86: wmi: Pass the acpi_device through to parse_wdg Darren Hart <dvhart@infradead.org> - 2017-05-27 07:40 +0200
  [PATCH 04/16] platform/x86: wmi: Track wmi devices per ACPI device Darren Hart <dvhart@infradead.org> - 2017-05-27 07:40 +0200
  [PATCH 16/16] platform/x86: dell-wmi: Convert to the WMI bus infrastructure Darren Hart <dvhart@infradead.org> - 2017-05-27 07:40 +0200
    Re: [PATCH 16/16] platform/x86: dell-wmi: Convert to the WMI bus infrastructure Pali Rohár <pali.rohar@gmail.com> - 2017-05-27 13:00 +0200
      Re: [PATCH 16/16] platform/x86: dell-wmi: Convert to the WMI bus infrastructure Andy Lutomirski <luto@kernel.org> - 2017-05-27 18:10 +0200
        Re: [PATCH 16/16] platform/x86: dell-wmi: Convert to the WMI bus infrastructure Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-05-27 18:20 +0200
          Re: [PATCH 16/16] platform/x86: dell-wmi: Convert to the WMI bus infrastructure Andy Lutomirski <luto@kernel.org> - 2017-05-27 20:50 +0200
            Re: [PATCH 16/16] platform/x86: dell-wmi: Convert to the WMI bus  infrastructure Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-05-30 04:50 +0200
              Re: [PATCH 16/16] platform/x86: dell-wmi: Convert to the WMI bus  infrastructure Darren Hart <dvhart@infradead.org> - 2017-06-06 05:10 +0200
  Re: [PATCH 00/16] Convert WMI to a proper bus "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2017-05-27 22:00 +0200
    Re: [PATCH 00/16] Convert WMI to a proper bus Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-05-27 22:10 +0200
  Re: [PATCH 00/16] Convert WMI to a proper bus Darren Hart <dvhart@infradead.org> - 2017-06-06 19:30 +0200

csiph-web