mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
From: hkallweit1@gmail.com (Heiner Kallweit)
To: linus-amlogic@lists.infradead.org
Subject: call trace on Khadas VIM Pro with AP6255 WiFi
Date: Sun, 4 Jun 2017 21:11:04 +0200	[thread overview]
Message-ID: <cfde91da-9697-ac6c-7614-d56c6c49d459@gmail.com> (raw)
In-Reply-To: <CAG_g8w439G_exFOPtO3sNTdW5KBYJqA5-swL6NsLiGW1qAo2DQ@mail.gmail.com>

Am 04.06.2017 um 17:59 schrieb crow:
> Hi,
> Posting to list as requested. I get call trace when using WiFi on Khadas VIM Pro, which comes with an AP6255. Firstly i wrote about this directly to Martin Blumenstingl, and he pointed me for this to post here.
> This looks like a bug in the meson-gx-mmc.c (SD/SDIO/eMMC) driver [1]. Martin last successful test was with kernel 2.11.
> 
> How to reproduce this:
> mainline kernel 4.12.0-rc3 (using ArchLinuxARM arm8v generic rootfs)
> Khadas VIM Pro nvram file [2]
I have been in contact with others using AP6255-based SDIO WiFi with this driver. After the recent version of the driver
was released I didn't hear back from them so I assume WiFi is working fine for them.

The firmware image you use seems to be for Android. Not sure which firmware the others are using.
This might be a potential reason for the issue.

> Enable WiFI (connected to 5GHZ AP)
> just do an SSH to Khadas VIM Pro device and you will get these call trace [3] , eventually you get login prompt but it is very slow login. 
The log shows that first HW reports a failed write transfer (status 0x0100) and then an unexpected interrupt occurs (host->cmd being NULL).
Apart from the firmware the failed transfer might also be caused by e.g. a too high frequency.

Would be interesting to hear what's the latest kernel version (or even better: a bisect) working for you.

I'm using a Odroid-C2 where SDIO isn't available, so I'm not able to test.

> 
> [1] https://github.com/torvalds/linux/commits/master/drivers/mmc/host/meson-gx-mmc.c
> [2] https://github.com/khadas/android_hardware_amlogic_wifi/tree/Vim/bcm_ampak/config/6255
> [3] https://defuse.ca/b/7htlAdOO
> 

       reply	other threads:[~2017-06-04 19:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAG_g8w439G_exFOPtO3sNTdW5KBYJqA5-swL6NsLiGW1qAo2DQ@mail.gmail.com>
2017-06-04 19:11 ` Heiner Kallweit [this message]
2017-06-04 20:07   ` crow
2017-06-04 20:41     ` Heiner Kallweit
2017-06-04 23:03   ` Martin Blumenstingl
2017-06-05  8:46     ` crow
2017-06-05 16:12     ` Heiner Kallweit
2017-06-05 18:18       ` Martin Blumenstingl
2017-06-05 21:56         ` Heiner Kallweit
2017-06-07 16:16 crow
2017-06-07 21:04 ` Heiner Kallweit
2017-06-08  0:03   ` crow
2017-06-08  5:43     ` Heiner Kallweit
  -- strict thread matches above, loose matches on Subject: below --
2017-06-04 16:07 crow

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=cfde91da-9697-ac6c-7614-d56c6c49d459@gmail.com \
    --to=hkallweit1@gmail.com \
    --cc=linus-amlogic@lists.infradead.org \
    /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

all inboxes | Powered by JetHome®