From: Chris Ball <cjb@laptop.org>
To: Linus Walleij <linus.ml.walleij@gmail.com>
Cc: linux-mmc@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>,
Ghorai Sukumar <s-ghorai@ti.com>,
Nicolas Pitre <nico@fluxnic.net>,
Adrian Hunter <adrian.hunter@nokia.com>,
David Vrabel <david.vrabel@csr.com>,
Kyungmin Park <kmpark@infradead.org>,
jh80.chung@samsung.com
Subject: Re: [PATCH 1/2] mmc: agressive clocking framework v8
Date: Wed, 24 Nov 2010 13:38:24 +0000 [thread overview]
Message-ID: <20101124133824.GA20804@void.printf.net> (raw)
In-Reply-To: <AANLkTimtF1kUEVNbz19x+UpJX+w1yfWZCxHu7wSdOX4f@mail.gmail.com>
On Wed, Nov 24, 2010 at 02:15:57PM +0100, Linus Walleij wrote:
> > [ 10.136067] mmc0: frequency set to 0 in disable function, this means the clock is already disabled.
>
> It didn't use to be like that back when I first wrote the patch, but
> it seems to be like
> that nowadays. So yes.
Hm, okay. Printing the same message seven times in a second is a little
undesirable, but we could leave it in until we're more confident that
the code's all working well. It might help if the message made it
clearer that nothing is wrong, and this is an expected event.
> Did the gating work by the way? No strangeness because of it?
Yep, no strangeness so far.
> It's pr_debug() already in host.c:
> pr_debug("%s: frequency set to 0 in disable function, "
> "this means the clock is already disabled.\n",
> mmc_hostname(host));
>
> pr_debug is only printed when -DDEBUG is set, which is what
> MMC_DEBUG=y does isn't it?
Ah, apologies, I understand now. My linux-next build was too old for
"mmc: protect against clock-gating races", which does s/pr_err/pr_debug/
on that printk, so it was coming out unconditional on MMC_DEBUG. I've
moved up to today's linux-next now.
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child
next prev parent reply other threads:[~2010-11-24 13:38 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-03 9:22 [PATCH 1/2] mmc: agressive clocking framework v8 Linus Walleij
2010-11-08 9:26 ` Linus Walleij
2010-11-08 22:30 ` Linus Walleij
2010-11-09 3:59 ` Chris Ball
2010-11-09 10:18 ` Linus Walleij
2010-11-22 23:27 ` Chris Ball
2010-11-24 13:15 ` Linus Walleij
2010-11-24 13:38 ` Chris Ball [this message]
2010-11-10 9:05 ` Ohad Ben-Cohen
2010-11-10 16:25 ` Linus Walleij
2010-11-10 16:34 ` Chris Ball
2010-11-10 19:22 ` Ohad Ben-Cohen
2010-12-21 20:24 ` Chris Ball
2010-12-22 8:12 ` Linus Walleij
2010-12-22 8:24 ` David Vrabel
2010-12-22 8:50 ` Linus Walleij
2010-12-23 0:09 ` 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=20101124133824.GA20804@void.printf.net \
--to=cjb@laptop.org \
--cc=adrian.hunter@nokia.com \
--cc=akpm@linux-foundation.org \
--cc=david.vrabel@csr.com \
--cc=jh80.chung@samsung.com \
--cc=kmpark@infradead.org \
--cc=linus.ml.walleij@gmail.com \
--cc=linux-mmc@vger.kernel.org \
--cc=nico@fluxnic.net \
--cc=s-ghorai@ti.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).