From: Greg KH <gregkh@linuxfoundation.org>
To: Vadim Pasternak <vadimp@mellanox.com>
Cc: "dvhart@infradead.org" <dvhart@infradead.org>,
"davem@davemloft.net" <davem@davemloft.net>,
"geert@linux-m68k.org" <geert@linux-m68k.org>,
"akpm@linux-foundation.org" <akpm@linux-foundation.org>,
"kvalo@codeaurora.org" <kvalo@codeaurora.org>,
"mchehab@kernel.org" <mchehab@kernel.org>,
"linux@roeck-us.net" <linux@roeck-us.net>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"platform-driver-x86@vger.kernel.org"
<platform-driver-x86@vger.kernel.org>,
"jiri@resnulli.us" <jiri@resnulli.us>
Subject: Re: [patch v1] drivers/platform/x86: introduce support for Mellanox hotplug driver
Date: Thu, 22 Sep 2016 15:53:12 +0200 [thread overview]
Message-ID: <20160922135312.GA13047@kroah.com> (raw)
In-Reply-To: <AM5PR0501MB2097867B8A822E1026D33CB1A2C90@AM5PR0501MB2097.eurprd05.prod.outlook.com>
On Thu, Sep 22, 2016 at 01:50:28PM +0000, Vadim Pasternak wrote:
>
>
> > -----Original Message-----
> > From: Greg KH [mailto:gregkh@linuxfoundation.org]
> > Sent: Thursday, September 22, 2016 4:43 PM
> > To: Vadim Pasternak <vadimp@mellanox.com>
> > Cc: dvhart@infradead.org; davem@davemloft.net; geert@linux-m68k.org;
> > akpm@linux-foundation.org; kvalo@codeaurora.org; mchehab@kernel.org;
> > linux@roeck-us.net; linux-kernel@vger.kernel.org; platform-driver-
> > x86@vger.kernel.org; jiri@resnulli.us
> > Subject: Re: [patch v1] drivers/platform/x86: introduce support for Mellanox
> > hotplug driver
> >
> > On Thu, Sep 22, 2016 at 01:01:46PM +0000, Vadim Pasternak wrote:
> > >
> > >
> > > > -----Original Message-----
> > > > From: Greg KH [mailto:gregkh@linuxfoundation.org]
> > > > Sent: Thursday, September 22, 2016 3:31 PM
> > > > To: Vadim Pasternak <vadimp@mellanox.com>
> > > > Cc: dvhart@infradead.org; davem@davemloft.net; geert@linux-m68k.org;
> > > > akpm@linux-foundation.org; kvalo@codeaurora.org; mchehab@kernel.org;
> > > > linux@roeck-us.net; linux-kernel@vger.kernel.org; platform-driver-
> > > > x86@vger.kernel.org; jiri@resnulli.us
> > > > Subject: Re: [patch v1] drivers/platform/x86: introduce support for
> > > > Mellanox hotplug driver
> > > >
> > > > On Thu, Sep 22, 2016 at 01:14:27PM +0000, vadimp@mellanox.com wrote:
> > > > > From: Vadim Pasternak <vadimp@mellanox.com>
> > > > >
> > > > > Enable system support for the Mellanox Technologies hotplug
> > > > > platform driver, which provides support for the next Mellanox basic
> > systems:
> > > > > "msx6710", "msx6720", "msb7700", "msn2700", "msx1410", "msn2410",
> > > > > "msb7800", "msn2740", "msn2100" and also various number of
> > > > > derivative systems from the above basic types.
> > > > > This driver handles hot-plug events for the power suppliers, power
> > > > > cables and fans for the above systems.
> > > > >
> > > > > The Kconfig currently controlling compilation of this code is:
> > > > > driver/platform/x86:config MLX_CPLD_PLATFORM
> > > > > tristate "Mellanox platform hotplug driver support"
> > > > >
> > > > > Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
> > > > > ---
> > > > > MAINTAINERS | 7 +
> > > > > drivers/platform/x86/Kconfig | 10 +
> > > > > drivers/platform/x86/Makefile | 1 +
> > > > > drivers/platform/x86/mlxcpld-hotplug.c | 543
> > > > ++++++++++++++++++++++++++
> > > > > include/linux/platform_data/mlxcpld-hotplug.h | 90 +++++
> > > >
> > > > Why do you need a platform_data .h file for a stand-alone driver?
> > > >
> > >
> > > I have another module mlx-platform, which is reviewed now (I also got
> > > a number feedbacks from you on this matter). I want to activate
> > > mlxcpld-hotplug from this module.
> >
> > Ah. Hm, I thought "platform_data" was depreciated. Really, there is no way to
> > put this in acpi or device tree? This feels so 1990's...
> >
>
> I can't put in ACPI, since we don't have it.
> Regarding device tree - I know how to do it for ARM and PPC, but I didn't find some good examples for x86.
> Maybe you can give me some reference for that?
I have no idea, sorry :(
next prev parent reply other threads:[~2016-09-22 13:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-22 13:14 vadimp
2016-09-22 12:30 ` Greg KH
2016-09-22 13:01 ` Vadim Pasternak
2016-09-22 13:43 ` Greg KH
2016-09-22 13:50 ` Vadim Pasternak
2016-09-22 13:53 ` Greg KH [this message]
2016-09-22 13:58 ` Vadim Pasternak
2016-09-28 12:48 ` Vadim Pasternak
2016-09-28 13:36 ` Greg KH
2016-09-28 15:13 ` Vadim Pasternak
2016-09-28 22:13 ` Darren Hart
2016-10-06 14:21 ` Vadim Pasternak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160922135312.GA13047@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=akpm@linux-foundation.org \
--cc=davem@davemloft.net \
--cc=dvhart@infradead.org \
--cc=geert@linux-m68k.org \
--cc=jiri@resnulli.us \
--cc=kvalo@codeaurora.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=mchehab@kernel.org \
--cc=platform-driver-x86@vger.kernel.org \
--cc=vadimp@mellanox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome