From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753630AbdDMQJZ (ORCPT ); Thu, 13 Apr 2017 12:09:25 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:43967 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751541AbdDMQJW (ORCPT ); Thu, 13 Apr 2017 12:09:22 -0400 Date: Thu, 13 Apr 2017 09:09:19 -0700 From: Darren Hart To: Andy Lutomirski Cc: Pali =?iso-8859-1?Q?Roh=E1r?= , =?utf-8?B?TWljaGHFgiBLxJlwaWXFhA==?= , Rafael Wysocki , Len Brown , Corentin Chary , Mario Limonciello , Andy Shevchenko , LKML , platform-driver-x86@vger.kernel.org, "linux-pm@vger.kernel.org" Subject: Re: RFC: WMI Enhancements Message-ID: <20170413160919.GC2064@fury> References: <20170412230854.GA11963@fury> <20170413073228.GB1462@ozzy.nask.waw.pl> <201704131739.57956@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 13, 2017 at 08:44:28AM -0700, Andy Lutomirski wrote: > On Thu, Apr 13, 2017 at 8:39 AM, Pali Rohár wrote: > > On Thursday 13 April 2017 17:32:48 Andy Lutomirski wrote: > >> On Thu, Apr 13, 2017 at 12:32 AM, Michał Kępień > >> wrote: > >> > What we still need, though, is an open source version of > >> > wmiofck.exe. I am unaware of anything like that existing and > >> > installing the Windows Driver Kit just to run one command which > >> > spits out a single *.h file is not something I would describe as > >> > convenient (been there). > >> > >> I haven't tried to see whether they do what's needed, but there's > >> OpenWBEM and OpenPegasus. > >> > >> Anyway, if such a tool exists, it would be handy to expose the binary > >> MOF data to userspace so the tool could be used to help get WMI > >> working on new platforms. > > > > In this case, when WMI stay in kernel, MOF data could be exported via > > debugfs? I think there is no need to have them in sysfs stable ABI. As > > above usage (get WMI working on new platforms) looks like for debugging > > purpose. > > > > That's a reasonable point. > Also agreed. -- Darren Hart VMware Open Source Technology Center