From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
To: Manuel Lauss <mano@roarinelk.homelinux.net>
Cc: drzeus@drzeus.cx, linux-mips@linux-mips.org
Subject: Re: [PATCH] au1xmmc: raise segment size limit.
Date: Tue, 29 Jul 2008 02:21:36 +0400 [thread overview]
Message-ID: <488E4670.7090305@ru.mvista.com> (raw)
In-Reply-To: <20080728133120.GB26494@roarinelk.homelinux.net>
Hello.
Manuel Lauss wrote:
> Please apply this patch, as it fixes an oops when MMC-DMA and network
> traffic are active at the same time. This seems to be a 2.6.27-only thing;
> the current au1xmmc code (minus the polling parts) works fine on 2.6.26.
>
> ---
>
> Raise the DMA block size limit from 2048 bytes to the maximum supported
> by the DMA controllers on the chip (128kB on Au1100, 4MB on Au1200).
>
> This gives a small performance boost and apparently fixes an oops when
> MMC-DMA and network traffic are active at the same time.
>
> Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
>
>
[...]
> diff --git a/drivers/mmc/host/au1xmmc.c b/drivers/mmc/host/au1xmmc.c
> index 99b2091..dd414f1 100644
> --- a/drivers/mmc/host/au1xmmc.c
> +++ b/drivers/mmc/host/au1xmmc.c
> @@ -61,7 +61,13 @@
>
> /* Hardware definitions */
> #define AU1XMMC_DESCRIPTOR_COUNT 1
> -#define AU1XMMC_DESCRIPTOR_SIZE 2048
> +
> +/* max DMA seg size: 64kB on Au1100, 4MB on Au1200 */
>
So, it's 64 or 128 KB? KB since k prefix usualy means decimal kilo... :-)
WBR, Sergei
next prev parent reply other threads:[~2008-07-28 22:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-28 13:31 [PATCH] au1xmmc: raise segment size limit Manuel Lauss
2008-07-28 22:21 ` Sergei Shtylyov [this message]
2008-07-29 5:03 ` Manuel Lauss
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=488E4670.7090305@ru.mvista.com \
--to=sshtylyov@ru.mvista.com \
--cc=drzeus@drzeus.cx \
--cc=linux-mips@linux-mips.org \
--cc=mano@roarinelk.homelinux.net \
/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.