From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753138AbdDMPo6 convert rfc822-to-8bit (ORCPT ); Thu, 13 Apr 2017 11:44:58 -0400 Received: from mail.kernel.org ([198.145.29.136]:49328 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751657AbdDMPox (ORCPT ); Thu, 13 Apr 2017 11:44:53 -0400 MIME-Version: 1.0 In-Reply-To: <201704131739.57956@pali> References: <20170412230854.GA11963@fury> <20170413073228.GB1462@ozzy.nask.waw.pl> <201704131739.57956@pali> From: Andy Lutomirski Date: Thu, 13 Apr 2017 08:44:28 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: RFC: WMI Enhancements To: =?UTF-8?Q?Pali_Roh=C3=A1r?= Cc: Andy Lutomirski , =?UTF-8?B?TWljaGHFgiBLxJlwaWXFhA==?= , Darren Hart , Rafael Wysocki , Len Brown , Corentin Chary , Mario Limonciello , Andy Shevchenko , LKML , platform-driver-x86@vger.kernel.org, "linux-pm@vger.kernel.org" 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 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.