public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 9/9] net/designware: Reduce DMA burst length
Date: Mon, 28 Apr 2014 07:55:16 +0200	[thread overview]
Message-ID: <201404280755.16316.marex@denx.de> (raw)
In-Reply-To: <CAGb2v65_1raWGKv2e8ftrbrpXZ3Dnf2n9U=8FNcUZbdsXToP+Q@mail.gmail.com>

On Monday, April 28, 2014 at 07:51:49 AM, Chen-Yu Tsai wrote:
> On Mon, Apr 28, 2014 at 2:08 AM, Marek Vasut <marex@denx.de> wrote:
> > On Sunday, April 27, 2014 at 05:29:29 PM, Chen-Yu Tsai wrote:
> >> On Sun, Apr 27, 2014 at 11:25 PM, Ian Campbell <ijc@hellion.org.uk> wrote:
> >> > On Sat, 2014-04-26 at 20:28 +0200, Marek Vasut wrote:
> >> >> On Friday, April 18, 2014 at 08:05:50 PM, Ian Campbell wrote:
> >> >> > From: Jens Kuske <jenskuske@gmail.com>
> >> >> > 
> >> >> > The GMAC module in Allwinner sunxi SoCs seems to have problems with
> >> >> > burst lengths > 8.
> >> >> 
> >> >> Is there any explanation for the problems please ?
> >> > 
> >> > Jens or Wens, can you answer this?
> >> 
> >> IIRC, with burst lengths > 8, GMAC doesn't work, no ping, no DHCP.
> >> I don't remember if it was TX or RX that suffered, or even both.
> >> 
> >> Hope this clarifies things a bit.
> > 
> > No, it does not at all, sorry. What you describe are symptoms, but what I
> > want to know is what is the root cause of those symptoms. You did not
> > explain that.
> 
> I can not offer much more explanation. The value was hardcoded in
> Allwinner's code. The datasheets don't offer much, except this line
> might be related:
> 
>   (DMA) Descriptor architecture, allowing large blocks of data transfer
>   with minimum CPU intervention; each descriptor can transfer up to
>   4 KB data.
> 
> Also probably related:
> 
>   4KB TX FIFO for transmission packets and 16KB RX FIFO for reception
>   packets.
> 
> I'm not an expert in hardware. We could ask Allwinner, but given past
> inquiries from the linux-sunxi community, I'd say getting a reply on
> hardware specifics is unlikely to happen.
> 
> So my guess is that this is limited by the DWMAC IP Allwinner licensed
> from Synopsys.

+CC Alexey

Best regards,
Marek Vasut

  reply	other threads:[~2014-04-28  5:55 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-18 18:05 [U-Boot] [PATCH v3 0/9] sunxi: initial upstreamining effort Ian Campbell
2014-04-18 18:05 ` [U-Boot] [PATCH v3 1/9] sunxi: add sun7i clocks and timer support Ian Campbell
2014-04-26 18:31   ` Marek Vasut
2014-04-18 18:05 ` [U-Boot] [PATCH v3 2/9] sunxi: add sun7i pinmux and gpio support Ian Campbell
2014-04-26 18:33   ` Marek Vasut
2014-04-18 18:05 ` [U-Boot] [PATCH v3 3/9] sunxi: add sun7i dram setup support Ian Campbell
2014-04-26 18:35   ` Marek Vasut
2014-04-18 18:05 ` [U-Boot] [PATCH v3 4/9] sunxi: add sun7i cpu, board and start of day support Ian Campbell
2014-04-18 18:05 ` [U-Boot] [PATCH v3 5/9] sunxi: add support for Cubietruck booting in FEL mode Ian Campbell
2014-04-26 18:38   ` Marek Vasut
2014-04-18 18:05 ` [U-Boot] [PATCH v3 6/9] sunxi: add gmac Ethernet support Ian Campbell
2014-04-26 18:41   ` Marek Vasut
2014-04-27 16:33     ` Ian Campbell
2014-04-27 18:10       ` Marek Vasut
2014-04-27 18:35         ` Ian Campbell
2014-04-27 19:15           ` Marek Vasut
2014-04-18 18:05 ` [U-Boot] [PATCH v3 7/9] sunxi: mmc support Ian Campbell
2014-04-26 18:43   ` Marek Vasut
2014-04-18 18:05 ` [U-Boot] [PATCH v3 8/9] sunxi: non-FEL SPL boot support for sun7i Ian Campbell
2014-04-26 18:46   ` Marek Vasut
2014-04-27 17:00     ` Ian Campbell
2014-04-27 18:07       ` Marek Vasut
2014-04-27 18:38         ` Ian Campbell
2014-04-27 19:15           ` Marek Vasut
2014-04-27 19:29             ` Ian Campbell
2014-04-27 23:58               ` Marek Vasut
2014-04-28  9:06                 ` Ian Campbell
2014-04-18 18:05 ` [U-Boot] [PATCH v3 9/9] net/designware: Reduce DMA burst length Ian Campbell
2014-04-26 18:28   ` Marek Vasut
2014-04-27 15:25     ` Ian Campbell
2014-04-27 15:29       ` Chen-Yu Tsai
2014-04-27 18:08         ` Marek Vasut
2014-04-28  5:51           ` Chen-Yu Tsai
2014-04-28  5:55             ` Marek Vasut [this message]
2014-04-28 20:18               ` Alexey Brodkin

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=201404280755.16316.marex@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.denx.de \
    /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