From: James Hogan <james@albanarts.com>
To: Shashidhar Hiremath <shashidharh@vayavyalabs.com>
Cc: Will Newton <will.newton@gmail.com>, Chris Ball <cjb@laptop.org>,
Jaehoon Chung <jh80.chung@samsung.com>,
Shawn Guo <shawn.guo@linaro.org>,
Wolfram Sang <w.sang@pengutronix.de>,
Philip Rakity <prakity@marvell.com>,
Zhangfei Gao <zhangfei.gao@marvell.com>,
Will Newton <will.newton@imgtec.com>,
James Hogan <james.hogan@imgtec.com>,
Kyungmin Park <kyungmin.park@samsung.com>,
Matt Fleming <matt@console-pimps.org>,
linux-mmc@vger.kernel.org,
Sandeep Pendharkar <sandeep@vayavyalabs.com>,
Rayagond Kokatanur <rayagond@vayavyalabs.com>
Subject: Re: [PATCH 1/1] [PATCH v4 1/1] mmc: Support of DUAL BUFFER DESC[ring] mode for dw_mmc
Date: Sat, 19 Nov 2011 01:34:35 +0000 [thread overview]
Message-ID: <20111119013435.GA19582@balrog> (raw)
In-Reply-To: <CANYdXnpdHVWFbXnSR2wGVOF4zKMxxmEMTfC+1x10NCpvmPNXDQ@mail.gmail.com>
Hi Shashidhar,
On Mon, Nov 14, 2011 at 09:32:25PM +0530, Shashidhar Hiremath wrote:
> Hi Will,
>
> Just following up since i did not see any response from you on my
> earlier mail.. In previous mail, im not sure whether i gave you enough
> context/background.. So here it goes (apologies in advance if this
> turns out to be a lengthy mail...):
>
> 1>At Vayavya Labs, our work is to make sure that drivers for SNPS
> designware IP is available in kernel.org. One of the
> mandates/requirements from SNPS is that the driver submitted to
> kernel.org should support all the features/configurations of the IP.
> The bigger picture being that once this is done, SNPS customers dont
> have to write code for any specific feature/configuration since it is
> already available in the driver and they can start using it
> immediately...
> 2>As such, it is required that code for dual descriptors be also
> present in the driver submitted to kernel.org.. In future there, there
> could be some person wanting to use this feature of the IP..
> 3>Also note that in kconfig, there does not have to be a choice
> between this mode and chained mode since the default will always be
> chained mode. STM Ethernet MAC driver already has such a kind of
> support.. If this is not acceptable, do you feel the code should be
> wrapped in some totally different preprocessor directive with comments
> in the driver explaining the same?
> 4>With regards to your points on performance, I am open to look at it
> and see where we can make improvements in the driver (if any... if its
> a hardware thing, there is not much we can do)
Can I suggest you try running mmc_test with and without the dual
descriptor mode. It has a bunch of performance tests in it.
Cheers
James
>
> Do let me know your views.
>
> best regards
> --Shashidhar Hiremath
>
> On Fri, Nov 4, 2011 at 12:36 PM, Shashidhar Hiremath
> <shashidharh@vayavyalabs.com> wrote:
> > Hi Will,
> > I agree with you that it should not be merged unless it improves
> > the performance. But I still feel that there might be some reason for
> > which the IP Vendor has provided an additional feature. So will this
> > not be a good feature to have as it will help in IP Validation for
> > different modes.
> > As far as the Kconfig option is concerned, the user need not always
> > modify it since the default case will still be Chained Mode. Also Such
> > Kconfig options for selecting mode is already used for stmmac
> > Ethernet Drivers.
> >
> > On Thu, Nov 3, 2011 at 8:48 PM, Will Newton <will.newton@gmail.com> wrote:
> >> On Thu, Nov 3, 2011 at 12:35 PM, Chris Ball <cjb@laptop.org> wrote:
> >>> Hi,
> >>>
> >>> On Thu, Nov 03 2011, Shashidhar Hiremath wrote:
> >>>> Hi Chris,
> >>>> Can this patch be accepted by criteria that its an additional
> >>>> feature supported by the hardware and hence good to have the support
> >>>> in the driver.Also note the patch has been tested.
> >>>
> >>> I think Will and James should make the call on that.
> >>>
> >>> My own opinion is that it's not usually a good idea to merge code that
> >>> increases complexity for no performance gain; if the feature is actually
> >>> important, someone should find a way to finish it and measure a
> >>> performance gain (the gain can be in any of bandwidth, memory, or
> >>> lower CPU utilization) with it, to prove that the change is worthwhile.
> >>
> >> I'm inclined to agree. I don't want to feel like I am blocking
> >> inclusion of anyone's hard work, but unless there is a clear advantage
> >> for one option over the other I can't see a good reason for merging
> >> it. At present it adds a question to the Kconfig that is pretty much
> >> impossible for the user to answer (do I turn this feature on or off?
> >> what is the advantage of choosing each option?).
> >>
> >
> >
> >
> > --
> > regards,
> > Shashidhar Hiremath
> >
>
>
>
> --
> regards,
> Shashidhar Hiremath
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-11-19 1:34 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-27 11:39 [PATCH 1/1] [PATCH v4 1/1] mmc: Support of DUAL BUFFER DESC[ring] mode for dw_mmc Shashidhar Hiremath
2011-10-05 2:14 ` Jaehoon Chung
2011-10-05 4:54 ` Shashidhar Hiremath
2011-10-05 5:07 ` Jaehoon Chung
2011-11-03 11:47 ` Shashidhar Hiremath
2011-11-03 12:35 ` Chris Ball
2011-11-03 15:18 ` Will Newton
2011-11-04 1:43 ` Jaehoon Chung
2011-11-04 7:06 ` Shashidhar Hiremath
2011-11-14 16:02 ` Shashidhar Hiremath
2011-11-19 1:34 ` James Hogan [this message]
2012-01-11 11:27 ` Shashidhar Hiremath
2012-01-17 13:46 ` Shashidhar Hiremath
2012-01-19 10:29 ` Will Newton
2012-01-19 10:34 ` Shashidhar Hiremath
2012-04-12 5:01 ` Shashidhar Hiremath
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=20111119013435.GA19582@balrog \
--to=james@albanarts.com \
--cc=cjb@laptop.org \
--cc=james.hogan@imgtec.com \
--cc=jh80.chung@samsung.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-mmc@vger.kernel.org \
--cc=matt@console-pimps.org \
--cc=prakity@marvell.com \
--cc=rayagond@vayavyalabs.com \
--cc=sandeep@vayavyalabs.com \
--cc=shashidharh@vayavyalabs.com \
--cc=shawn.guo@linaro.org \
--cc=w.sang@pengutronix.de \
--cc=will.newton@gmail.com \
--cc=will.newton@imgtec.com \
--cc=zhangfei.gao@marvell.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.