From: Chris Ball <cjb@laptop.org>
To: Jaehoon Chung <jh80.chung@samsung.com>
Cc: "linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>,
will.newton@imgtec.com, Kyungmin Park <kyungmin.park@samsung.com>
Subject: Re: [PATCH 1/3] dw_mmc: set fixed burst in BMOD register
Date: Thu, 17 Mar 2011 14:24:07 -0400 [thread overview]
Message-ID: <m31v25ppvc.fsf@pullcord.laptop.org> (raw)
In-Reply-To: <4D670F0D.8020102@samsung.com> (Jaehoon Chung's message of "Fri, 25 Feb 2011 11:08:13 +0900")
Hi Will,
On Thu, Feb 24 2011, Jaehoon Chung wrote:
> This patch is applied fixed burst.
> If use internal DMA controller, i think that need to set this bit.
>
> I tested when set this bit or not. I found that increase performance with IDMAC
>
> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> ---
> drivers/mmc/host/dw_mmc.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
> index 58476c1..46e5a89 100644
> --- a/drivers/mmc/host/dw_mmc.c
> +++ b/drivers/mmc/host/dw_mmc.c
> @@ -315,7 +315,7 @@ static void dw_mci_idmac_stop_dma(struct dw_mci *host)
>
> /* Stop the IDMAC running */
> temp = mci_readl(host, BMOD);
> - temp &= ~SDMMC_IDMAC_ENABLE;
> + temp &= ~(SDMMC_IDMAC_ENABLE | SDMMC_IDMAC_FB);
> mci_writel(host, BMOD, temp);
> }
>
> @@ -384,7 +384,7 @@ static void dw_mci_idmac_start_dma(struct dw_mci *host, unsigned int sg_len)
>
> /* Enable the IDMAC */
> temp = mci_readl(host, BMOD);
> - temp |= SDMMC_IDMAC_ENABLE;
> + temp |= SDMMC_IDMAC_ENABLE | SDMMC_IDMAC_FB;
> mci_writel(host, BMOD, temp);
>
> /* Start it running */
Any thoughts on this patch?
Thanks,
- Chris.
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child
next prev parent reply other threads:[~2011-03-17 18:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-25 2:08 [PATCH 1/3] dw_mmc: set fixed burst in BMOD register Jaehoon Chung
2011-03-17 18:24 ` Chris Ball [this message]
2011-03-17 20:28 ` Will Newton
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=m31v25ppvc.fsf@pullcord.laptop.org \
--to=cjb@laptop.org \
--cc=jh80.chung@samsung.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-mmc@vger.kernel.org \
--cc=will.newton@imgtec.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