From: Darren Hart <dvhart@infradead.org>
To: Vadim Pasternak <vadimp@mellanox.com>
Cc: gregkh@linuxfoundation.org, andy.shevchenko@gmail.com,
linux-kernel@vger.kernel.org,
platform-driver-x86@vger.kernel.org, linux-leds@vger.kernel.org,
jacek.anaszewski@gmail.com, lee.jones@linaro.org,
robh+dt@kernel.org, jiri@resnulli.us, pavel@ucw.cz
Subject: Re: [patch v3 0/3] drivers/platform: replace module x86/mlxcpld-hotplug with mellanox/mlxreg-hotplug
Date: Mon, 16 Oct 2017 13:42:11 -0700 [thread overview]
Message-ID: <20171016204211.GA14419@fury> (raw)
In-Reply-To: <1505142759-160534-1-git-send-email-vadimp@mellanox.com>
On Mon, Sep 11, 2017 at 03:12:36PM +0000, Vadim Pasternak wrote:
> The patchset modifies x86/mlxcpld-hotplug.c for making it architecture
> independent, renames to mlxreg-hotplug and moves it from
> drivers/platform/x86 folder to new drivers/platform/mellanox folder.
> This modification also introduces regmap interface for mlxreg-hotplug
> driver to allow hotplug event functionality over programmable devices
> logic, when these devices can be attached to different interfaces types,
> like I2C, LPC, SPI.
> Module include/linux/platform_data/mlxcpld-hotplug.h is removed and new
> module include/linux/platform_data/mlxreg.h is to be used instead.
> Driver drivers/platform/x86/mlx-platform.c is updated according to new
> interface.
> Relevant Makefile and Kconfig are updated.
>
Hi Vadim,
This didn't really land under anyone's maintainer domain. Apologies for
the long response time here.
I am happy to include the new platform/mellanox tree within the
platform-driver-x86 purvue, as we have done with platform/chrome. If
anyone objects, or would prefer to take this through their tree - please
let me know.
With respect to the series itself, the patches are not done in a way
that lend themselves to incremental review. The cover letter above says
the mlxcpld-hotplug driver is:
1) made architecture independent 2) renamed to mlxreg-hotplug 3) Moved
to platform/mellanox/
But the series does the following:
1) Create a new platform/mellanox/mlxreg-hotplug driver 2) Modify
mlx-platform to use the new driver 3) Delete mlxcpld-hotplug driver
This makes it very difficult to review the incremental changes to the
hotplug driver. Please refactor the patches to take the follow approach:
1) Use git-mv to move x86/mlxcpld-hotplug to mellanox/mlxreg-hotplug,
add the necessary Kconfig and Makefile entries, and update mlx-platform
to use the correct header. No functional changes. This gives us a
starting point for the next steps.
2) Make mlxreg-hotplug architecture independent 3) Add the new regmap
interface
Give some thought to what the incremental functional changes should be
(2,3 above are just an example). This will become more apparent to the
reviewer once the changes come in after the mv.
You'll want to add Andy and Myself and the platform-driver-x86 mailing
list to the MAINTAINERS file for platform/mellanox as we will still be
responsible for reviewing the patches and submitting the pull requests
to Linus.
Thanks,
--
Darren Hart
VMware Open Source Technology Center
prev parent reply other threads:[~2017-10-16 20:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-11 15:12 [patch v3 0/3] drivers/platform: replace module x86/mlxcpld-hotplug with mellanox/mlxreg-hotplug Vadim Pasternak
2017-09-11 15:12 ` [patch v3 1/3] platform/mellanox: Introduce Mellanox hardware platform hotplug driver Vadim Pasternak
2017-09-11 15:12 ` [patch v3 2/3] platform/x86: mlx-platform: modify hotplug device activation Vadim Pasternak
2017-09-11 15:12 ` [patch v3 3/3] platform/x86: mlxcpld-hotplug: driver removing Vadim Pasternak
2017-10-16 20:42 ` Darren Hart [this message]
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=20171016204211.GA14419@fury \
--to=dvhart@infradead.org \
--cc=andy.shevchenko@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=jacek.anaszewski@gmail.com \
--cc=jiri@resnulli.us \
--cc=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=platform-driver-x86@vger.kernel.org \
--cc=robh+dt@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;
as well as URLs for NNTP newsgroup(s).