Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1492580 > unrolled thread

RE: [patch v1] drivers/platform/x86: introduce support for Mellanox hotplug driver

Started byVadim Pasternak <vadimp@mellanox.com>
First post2016-09-28 14:50 +0200
Last post2016-09-28 19:50 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  RE: [patch v1] drivers/platform/x86: introduce support for Mellanox  hotplug driver Vadim Pasternak <vadimp@mellanox.com> - 2016-09-28 14:50 +0200
    Re: [patch v1] drivers/platform/x86: introduce support for Mellanox  hotplug driver Greg KH <gregkh@linuxfoundation.org> - 2016-09-28 15:40 +0200
      RE: [patch v1] drivers/platform/x86: introduce support for Mellanox  hotplug driver Vadim Pasternak <vadimp@mellanox.com> - 2016-09-28 19:50 +0200

#1492580 — RE: [patch v1] drivers/platform/x86: introduce support for Mellanox hotplug driver

FromVadim Pasternak <vadimp@mellanox.com>
Date2016-09-28 14:50 +0200
SubjectRE: [patch v1] drivers/platform/x86: introduce support for Mellanox hotplug driver
Message-ID<smmtb-6EM-13@gated-at.bofh.it>

> -----Original Message-----
> From: Greg KH [mailto:gregkh@linuxfoundation.org]
> Sent: Thursday, September 22, 2016 4:53 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: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 :(

Hi,

I'd like to kindly clarify whether the patch I sent could be applied, or I need to modify something?

Best regards,
Vadim.

[toc] | [next] | [standalone]


#1492603

FromGreg KH <gregkh@linuxfoundation.org>
Date2016-09-28 15:40 +0200
Message-ID<smnfz-7mO-11@gated-at.bofh.it>
In reply to#1492580
On Wed, Sep 28, 2016 at 12:48:37PM +0000, Vadim Pasternak wrote:
> 
> 
> > -----Original Message-----
> > From: Greg KH [mailto:gregkh@linuxfoundation.org]
> > Sent: Thursday, September 22, 2016 4:53 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: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 :(
> 
> Hi,
> 
> I'd like to kindly clarify whether the patch I sent could be applied,
> or I need to modify something?

Let the subsystem maintainer catch up with their pending patch review.

thanks,

greg k-h

[toc] | [prev] | [next] | [standalone]


#1492798

FromVadim Pasternak <vadimp@mellanox.com>
Date2016-09-28 19:50 +0200
Message-ID<smr9w-1mc-11@gated-at.bofh.it>
In reply to#1492603

> -----Original Message-----
> From: Greg KH [mailto:gregkh@linuxfoundation.org]
> Sent: Wednesday, September 28, 2016 4:37 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 Wed, Sep 28, 2016 at 12:48:37PM +0000, Vadim Pasternak wrote:
> >
> >
> > > -----Original Message-----
> > > From: Greg KH [mailto:gregkh@linuxfoundation.org]
> > > Sent: Thursday, September 22, 2016 4:53 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: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 :(
> >
> > Hi,
> >
> > I'd like to kindly clarify whether the patch I sent could be applied,
> > or I need to modify something?
> 
> Let the subsystem maintainer catch up with their pending patch review.
> 

OK,
Thanks, Greg, for reply.

Vadim.

> thanks,
> 
> greg k-h

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web