]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: wmi-bmof: New driver to expose embedded Binary WMI MOF metadata
authorDarren Hart (VMware) <dvhart@infradead.org>
Tue, 6 Jun 2017 17:07:32 +0000 (10:07 -0700)
committerDarren Hart (VMware) <dvhart@infradead.org>
Tue, 6 Jun 2017 17:19:26 +0000 (10:19 -0700)
commit6ca15ab12c061a52c4a427f020d32e879a6cf2a0
treedcad2b949e9c68043c77e96b6c3fac35418e43c2
parent3210ca289f7834c92b6a69e4d555e0697f86a229
platform/x86: wmi-bmof: New driver to expose embedded Binary WMI MOF metadata

Many laptops (and maybe servers?) have embedded WMI Binary MOF metadata.
We do not yet have open-source tools for processing the data, although
one is in the works thanks to Pali:

https://github.com/pali/bmfdec

There is currently no interface to get the data in the first place. By
exposing it, we facilitate the development of new tools.

This is based on the original work of Andy Lutomirski <luto@kernel.org>,
but contains several modifications in response to various reviews.

Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Mario Limonciello <mario_limonciello@dell.com>
Cc: Pali Rohár <pali.rohar@gmail.com>
Cc: linux-kernel@vger.kernel.org
Cc: platform-driver-x86@vger.kernel.org
Cc: linux-acpi@vger.kernel.org
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
drivers/platform/x86/Kconfig
drivers/platform/x86/Makefile
drivers/platform/x86/wmi-bmof.c [new file with mode: 0644]