public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] am335x: cpsw: optimize cpsw_recv to increase network performance
Date: Thu, 12 Dec 2013 08:49:02 -0500	[thread overview]
Message-ID: <52A9BECE.6050402@ti.com> (raw)
In-Reply-To: <52A9BDDD.60502@denx.de>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/12/2013 08:45 AM, Stefan Roese wrote:
> On 12.12.2013 14:39, Tom Rini wrote:
>>>> Good point - indeed I had I/D caches enabled for other reasons
>>>> already (md5/sha1 caclulations, ..)
>>>
>>> Hmmm. I expected that caches are enabled already. Since I didn't
>>> see any "D-Cache disabled message" in the startup log.
>>>
>>> If this is not that case, then such cache support would be greatly 
>>> appreciated. :)
>>
>> Check your logs?  Unless you've also got a patched tree you should see
>> "WARNING: Caches disabled" or so, because, yeah, oops, am335x got in
>> with caches disabled, and then I forgot about it.
> 
> This is what I got currently (mainline):
> 
> U-Boot 2014.01-rc1-00165-ge03c76c (Dec 12 2013 - 09:26:20)
> 
> I2C:   ready
> DRAM:  128 MiB
> Enable d-cache
> DFU USB: VID = 0x 908, PID = 0x 2d2
> NAND:  256 MiB
> MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
> Net:   cpsw
> 
> So caches seem to be enabled, right? Or is i-cache still missing?

Ug, the siemens board code enables dcache on its own.  Need to take care
of that.  That said, it's the same one-liner the rest of the patches do,
sans printf.  I think you may need to do more investigation.

- -- 
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSqb7NAAoJENk4IS6UOR1Wa0sQAIDZPzpzMFi43rjUS9aB79m/
+v/sr5ZbZky6h9PRvZ4PRTODLQ5SQkfshgzLQvLORCECdoFqMbrHW7JVwP+m52Oi
WVP9tuyAy6L5LyNBtYyjpTCfOoqJS1XciGtQor8kfVIo9xWuJXC2SxPH1z5jy0UE
z/YQZKF0IZmCVuK1DZ1faQUCx69FAzI7kWZoribWas9z7qc4jIkx+ksWac1YPr7r
aDrcn69r1HSe+AcYbI6Tyfqmp7ve+I3saMPNs/t6b8dAPP4/SkBJI9oM1H4jzah9
DNQoMLO60Ht6o6QFTPp1+GL1Vx/dygsfHPxKEKglmxBumDx5JVDP2YjQxjIS+6Eq
/KVYolam1MY3QOVYXxAIO3TVPdlFZkGry/6nWrUnufGWRS5L3jA7onqLhvulQX5v
OUQUd4QVGmitDOFk07MALZYJiHqAD4nM0nvQeuQFEskMbZMc6I8Vmoy+PIIfBuAZ
gUMy5/DHXxv+29+ca7SyQo0BKhizDhqcQWIgI0IdKbo4FfcviNQTy0LClrLLnEOr
FGnUo85h21G9iTkbiH2BU05Q/oaHdsZS9GAFd5rqOUipE7JbDU4U2Vf1iTSAKG/9
HQHUsIcqx62CWkzR9c3arJC8aXlTuIsRxtKSpLQNtvrvovhIvQ7mKg2MmqJ0GnQ8
yL2GqrvbCwThcoNLM3SY
=56fr
-----END PGP SIGNATURE-----

  reply	other threads:[~2013-12-12 13:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-28  9:38 [U-Boot] [PATCH] am335x: cpsw: optimize cpsw_recv to increase network performance Vladimir Koutny
2013-11-28  9:55 ` Mugunthan V N
2013-12-04 22:05 ` [U-Boot] " Tom Rini
2013-12-12  8:34   ` Stefan Roese
2013-12-12 12:37     ` Tom Rini
2013-12-12 13:20       ` Vladimir Koutny
2013-12-12 13:24         ` Stefan Roese
2013-12-12 13:39           ` Tom Rini
2013-12-12 13:45             ` Stefan Roese
2013-12-12 13:49               ` Tom Rini [this message]
2013-12-12 13:53                 ` Stefan Roese

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=52A9BECE.6050402@ti.com \
    --to=trini@ti.com \
    --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