From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752311AbdE0FcR (ORCPT ); Sat, 27 May 2017 01:32:17 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:45296 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752116AbdE0Fbs (ORCPT ); Sat, 27 May 2017 01:31:48 -0400 From: Darren Hart To: platform-driver-x86@vger.kernel.org Cc: Andy Shevchenko , "Darren Hart (VMware)" , Andy Lutomirski , Mario Limonciello , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Rafael Wysocki , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 00/16] Convert WMI to a proper bus Date: Fri, 26 May 2017 22:31:14 -0700 Message-Id: X-Mailer: git-send-email 2.9.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Darren Hart (VMware)" This series is based on the original work of Andy Lutomirski [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