From: Chris Ball <cjb@laptop.org>
To: Nicolas Pitre <nico@fluxnic.net>
Cc: Jaehoon Chung <jh80.chung@samsung.com>,
Adrian Hunter <adrian.hunter@nokia.com>,
linux-mmc@vger.kernel.org,
Kyungmin Park <kyungmin.park@samsung.com>,
matt@console-pimps.org, Andrew Morton <akpm@linux-foundation.org>,
Marek Szyprowski <m.szyprowski@samsung.com>,
Linus WALLEIJ <linus.walleij@stericsson.com>,
Pierre Ossman <pierre-list@ossman.eu>,
Kukjin Kim <kgene.kim@samsung.com>
Subject: Re: [RFC RESEND] sdhci-s3c: support clock enable/disable (clock-gating)
Date: Thu, 30 Sep 2010 05:09:58 +0100 [thread overview]
Message-ID: <20100930040958.GA3170@void.printf.net> (raw)
In-Reply-To: <alpine.LFD.2.00.1009292334050.1146@xanadu.home>
Hi,
On Wed, Sep 29, 2010 at 11:42:01PM -0400, Nicolas Pitre wrote:
> As I already said here:
>
> http://article.gmane.org/gmane.linux.ports.arm.omap/39411
>
> I find those callbacks rather problematic. Currently,
> mmc_host_disable() is called by the host driver (currently OMAP) and
> that's wrong. Such decision cannot be made in the controller driver --
> it has to be made higher up the stack.
I strongly agree. I hadn't noticed that aspect of this design until
today. It looked like Linus W had a nice core-integrated clocking
framework almost ready to go a year ago, but it lost out. (Something
left to do was to give extra time after a request in case we're on a
broken card which requires the card clock to be present during its
writeback.)
I'm not sure where to go from here -- advice welcome. It would
perhaps be ideal if Linus W and Adrian could work together to make
the current framework look more like Linus' original intent and then
move omap_hsmmc to it as painlessly as possible. Of course I wouldn't
expect this to happen quickly.
In the meantime, I would suggest that we should not accept any more
users of this framework, which would be a NACK to Jaehoon's patch
(which appears to my reading not to achieve any power-saving anyway).
Adrian, I'm sorry that I'm suggesting reverting -- or at least strongly
modifying -- a framework after it's already shipped in a release; if
you think this is unreasonable, I'll consider your argument carefully.
Thanks,
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child
next prev parent reply other threads:[~2010-09-30 4:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-16 6:46 [RFC RESEND] sdhci-s3c: support clock enable/disable (clock-gating) Jaehoon Chung
2010-09-17 13:40 ` Matt Fleming
2010-09-25 8:21 ` Jae hoon Chung
2010-09-28 5:29 ` Jaehoon Chung
2010-09-29 23:37 ` Chris Ball
2010-09-30 3:42 ` Nicolas Pitre
2010-09-30 4:09 ` Chris Ball [this message]
2010-09-30 4:31 ` Kyungmin Park
2010-09-30 7:22 ` Linus Walleij
2010-09-30 13:30 ` Nicolas Pitre
2010-10-05 2:08 ` Chris Ball
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=20100930040958.GA3170@void.printf.net \
--to=cjb@laptop.org \
--cc=adrian.hunter@nokia.com \
--cc=akpm@linux-foundation.org \
--cc=jh80.chung@samsung.com \
--cc=kgene.kim@samsung.com \
--cc=kyungmin.park@samsung.com \
--cc=linus.walleij@stericsson.com \
--cc=linux-mmc@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=matt@console-pimps.org \
--cc=nico@fluxnic.net \
--cc=pierre-list@ossman.eu \
/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