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,
Linus Walleij <linus.walleij@stericsson.com>
Subject: Re: [PATCH 1/2] mmc: agressive clocking framework v8
Date: Mon, 22 Nov 2010 23:27:43 +0000 [thread overview]
Message-ID: <20101122232743.GA27895@void.printf.net> (raw)
In-Reply-To: <20101109035948.GA32119@void.printf.net>
Hi Linus,
Trying out CLKGATE=y on my x86 laptop with sdhci-pci:
<boot, slots are empty>
[ 10.080469] Registered led device: mmc0::
[ 10.080595] mmc0: SDHCI controller on PCI [0000:0d:00.0] using DMA
[ 10.107996] mmc0: frequency set to 0 in disable function, this means the clock is already disabled.
[ 10.122164] Registered led device: mmc1::
[ 10.122237] mmc1: SDHCI controller on PCI [0000:17:00.0] using DMA
[ 10.136067] mmc0: frequency set to 0 in disable function, this means the clock is already disabled.
[ 10.164089] mmc0: frequency set to 0 in disable function, this means the clock is already disabled.
[ 10.192076] mmc0: frequency set to 0 in disable function, this means the clock is already disabled.
[ 10.291095] mmc1: frequency set to 0 in disable function, this means the clock is already disabled.
[ 10.319029] mmc1: frequency set to 0 in disable function, this means the clock is already disabled.
<insert a card, mount>
[ 1569.970580] mmc0: new SDHC card at address d555
[ 1744.842376] mmcblk0: mmc0:d555 SD04G 3.79 GiB
[ 1744.845224] mmcblk0: p1
[ 1745.312968] EXT4-fs (mmcblk0p1): mounted filesystem without journal.
<umount, remove card>
[ 1795.000070] mmc0: card d555 removed
[ 1795.029868] mmc0: frequency set to 0 in disable function, this means the clock is already disabled.
[ 1795.037021] mmc0: frequency set to 0 in disable function, this means the clock is already disabled.
[ 1795.037043] mmc0: frequency set to 0 in disable function, this means the clock is already disabled.
[ 1795.037065] mmc0: frequency set to 0 in disable function, this means the clock is already disabled.
[ 1795.037086] mmc0: frequency set to 0 in disable function, this means the clock is already disabled.
[ 1795.058904] mmc0: frequency set to 0 in disable function, this means the clock is already disabled.
[ 1795.086940] mmc0: frequency set to 0 in disable function, this means the clock is already disabled.
[ 1795.093011] mmc0: frequency set to 0 in disable function, this means the clock is already disabled.
[ 1795.093048] mmc0: frequency set to 0 in disable function, this means the clock is already disabled.
[ 1795.093084] mmc0: frequency set to 0 in disable function, this means the clock is already disabled.
[ 1795.093115] mmc0: frequency set to 0 in disable function, this means the clock is already disabled.
[ 1795.116854] mmc0: frequency set to 0 in disable function, this means the clock is already disabled.
[ 1795.120881] mmc0: frequency set to 0 in disable function, this means the clock is already disabled.
[ 1795.120938] mmc0: frequency set to 0 in disable function, this means the clock is already disabled.
[ 1795.120972] mmc0: frequency set to 0 in disable function, this means the clock is already disabled.
[ 1795.121001] mmc0: frequency set to 0 in disable function, this means the clock is already disabled.
[ 1795.121030] mmc0: frequency set to 0 in disable function, this means the clock is already disabled.
[ 1795.121058] mmc0: frequency set to 0 in disable function, this means the clock is already disabled.
[ 1795.121083] mmc0: frequency set to 0 in disable function, this means the clock is already disabled.
Questions:
* Are we expecting mmc_host_clk_gate_delayed() to be called so often
with host->ios.clock == 0? There's a full log with CONFIG_MMC_DEBUG=y
at http://chris.printf.net/mmc-clkgate-debug in case it helps you see
what's going on.
* If you think the current behavior should stay, we would at least want
to convert it to a dev_dbg so that it's only visible under MMC_DEBUG=y,
right?
Thanks!
- Chris.
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child
next prev parent reply other threads:[~2010-11-22 23:27 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 [this message]
2010-11-24 13:15 ` Linus Walleij
2010-11-24 13:38 ` Chris Ball
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=20101122232743.GA27895@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=linus.walleij@stericsson.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).