Linux Renesas SOC kernel development
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa@the-dreams.de>
To: linux-renesas-soc@vger.kernel.org
Cc: Magnus Damm <magnus.damm@gmail.com>
Subject: Testing SDIO with UHS speeds
Date: Tue, 15 Nov 2016 15:40:00 +0100	[thread overview]
Message-ID: <20161115143959.GA10334@katana> (raw)

[-- Attachment #1: Type: text/plain, Size: 2462 bytes --]

Hi,

I put the test procedure how I tested SDIO with UHS speeds to the elinux
wiki. You can find it here:

http://elinux.org/Tests:SDIO-with-UHS

While the task description only mandated H3 and a AC-180M SDIO card, I
also did some extra tests on M3-W and an EMMY-W1 SDIO card (which has
the same SD8887 chipset from Marvell) to have better comparison.

Quite some remarks coming from this setup:

A) A seperate branch is needed, merging SDHI-DMA support into ren-drivers
and adding 5 more little patches. 2 are aleady on their way upstream and
one will be taken care of by mwifiex maintainers. One remaining is a
workaround for a race condition when enabling SDIO irqs. This surely
needs further investigation. And one has to do with TDSEL settings
again. I plan to write up my TDSEL findings and experiences next Monday.

B) Operating at 100MHz for SDR50, it is no surprise that line lengths and
other line characteristics are heavily influencing the result:

  1) my M3-W seems to be more stable than my H3 (ES 1.0)

  While testing transfer speeds, H3 gave me occasional "timeout waiting
  for SD bus idle". M3-W did not, with the same pinctrl settings.

  2) on H3, CN14 seems to be more stable than CN13

  ?? Line length issues?

  3) the EMMY-W1 module seems to be more stable than the AC-180M

  AC-180M already has problems loading the firmware. The supplied antenna
  gives way worse signals than EMMY-W1. AC-180M does not really fit into
  CN14 due to its size and needs to be held in position manually.
  AC-180M couldn't be tuned with SDR104 unlike EMMY-W1.

  But I really hope that at least the antenna issue is only local for
  me and there will be better results with the other cards in Japan.

C) UHS is faster than non-UHS, 802.11ac than 802.11n, but just a little

For the more stable EMMY card, SDR50 gives more throughput than standard
hi-speed, but more could be expected. Same goes for switching from
802.11n to 802.11ac.


Further notes:

Tests have mainly been done with SDIO irqs. Occasional tests with
polling did not make a difference in performance. The only notable
difference was experiencing the race condition mentioned above and
worked around in the git repo.

All tests have been done with 4 bit bus width. When aiming for UHS
speeds, 1 bit bus width didn't seem feasible.

Hotplugging worked fine. Whenever a stable pinmux setting was found
(TDSEL!), un- and replugging the SDIO card worked flawlessly.

Thanks,

   Wolfram


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

                 reply	other threads:[~2016-11-15 14:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20161115143959.GA10334@katana \
    --to=wsa@the-dreams.de \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.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