From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751112AbdJAOZE (ORCPT ); Sun, 1 Oct 2017 10:25:04 -0400 Received: from esa8.dell-outbound.iphmx.com ([68.232.149.218]:5867 "EHLO esa8.dell-outbound.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750988AbdJAOZD (ORCPT ); Sun, 1 Oct 2017 10:25:03 -0400 From: X-LoopCount0: from 10.166.132.195 X-IronPort-AV: E=Sophos;i="5.42,464,1500958800"; d="scan'208";a="154772549" X-DLP: DLP_GlobalPCIDSS To: CC: , , , , , , , , , Subject: RE: [PATCH v3 4/8] platform/x86: wmi: create character devices when requested by drivers Thread-Topic: [PATCH v3 4/8] platform/x86: wmi: create character devices when requested by drivers Thread-Index: AQHTOY7Ks8ArSW0bhE6Px1JsMwinOaLNaE6AgABnUbCAAYINAP//vO7g Date: Sun, 1 Oct 2017 14:25:00 +0000 Message-ID: References: <17fcf9748e83ede2751a00d8248cb32cbdc610d6.1506571188.git.mario.limonciello@dell.com> <20170930015228.GC13307@fury> <20170930081205.GA22980@kroah.com> <81ddaac76f15420b800db365d694e156@ausx13mpc120.AMER.DELL.COM> <20171001132336.GA26295@kroah.com> In-Reply-To: <20171001132336.GA26295@kroah.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.143.242.75] Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v91EP9w8020885 > -----Original Message----- > From: Greg KH [mailto:gregkh@linuxfoundation.org] > Sent: Sunday, October 1, 2017 8:24 AM > To: Limonciello, Mario > Cc: dvhart@infradead.org; andy.shevchenko@gmail.com; linux- > kernel@vger.kernel.org; platform-driver-x86@vger.kernel.org; luto@kernel.org; > quasisec@google.com; pali.rohar@gmail.com; rjw@rjwysocki.net; > mjg59@google.com; hch@lst.de > Subject: Re: [PATCH v3 4/8] platform/x86: wmi: create character devices when > requested by drivers > > On Sat, Sep 30, 2017 at 07:26:57PM +0000, Mario.Limonciello@dell.com wrote: > > I think what's Darren's most interested in is the that conceptually this is > > an approach you can agree with. > > > > "A WMI vendor driver binds to the WMI bus and requests the WMI bus to > create > > a character device. The WMI bus creates a character device /dev/wmi/$driver > > which the WMI vendor driver will process all various file operations." > > We've been over this before, let's see that actual implementation which > defines the "will process all..." implementation to see if that is > actually an acceptable thing. > > thanks, > > greg k-h I'm working on changes still (that you'll be CC on), but I don't expect this specific concept to change in the future changes: Bus creating character device: https://patchwork.kernel.org/patch/9975283/ Driver requesting character device: https://patchwork.kernel.org/patch/9975263/