Linux-Wireless Archive mirror
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: Ping-Ke Shih <pkshih@realtek.com>, Kalle Valo <kvalo@kernel.org>
Cc: Larry Finger <Larry.Finger@gmail.com>,
	Johannes Berg <johannes@sipsolutions.net>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: [RFC] rtw88: Fix startup problems for SDIO wifi plus UART Bluetooth
Date: Sun, 14 Apr 2024 20:23:22 -0500	[thread overview]
Message-ID: <4d36d201-bb39-469c-9861-5e08c9003c73@lwfinger.net> (raw)
In-Reply-To: <d3141ad7a7a9455f8a6dbcdd3f46eecf@realtek.com>

On 4/14/24 7:45 PM, Ping-Ke Shih wrote:
> Larry Finger <larry.finger@gmail.com> wrote:
>>
>> I originally wondered if there was a power problem when both were simultaneously
>> started, but I see that is not the case. To reiterate, the BT must start first
>> and complete UART initialization before the wifi starts initializing. It seems
>> to me that a suitable msleep() at the start of the SDIO probe routine seems to
>> be a viable workaround even though it is not aesthetically pleasing. A sleep of
>> 150 ms is too short, but 500 seems to work reliably.
> 
> Suggest to apply this workaround but only if UART-BT + SDIO-WiFi, because SDIO
> experts didn't remember they have met this problem. They need real hardware to
> measure signals to know what it is wrong, but unfortunately they don't have
> bandwidth to process this because of limitation of human resources. Sorry
> for that.

The OP at GitHub reported today that there was a DTB error for that chip [1]. I 
am going to drop the patch for the stable kernel, but I will still apply it to 
my rtw88 repo at GitHub.com. That way, users with older kernels will get the 
benefit of the msleep() even though their DTB may not be fixed.

Thanks to you and the SDIO team for your efforts toward a problem that turned 
out to be in the kernel. Sorry for some noise.

Larry


[1] 
https://github.com/ROCKNIX/distribution/pull/63/files#diff-e2de6222b1794f89311bdc1597c1597c76f34503c575ea3f7e7ec9c5376218d6


      reply	other threads:[~2024-04-15  1:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-11  1:26 [RFC] rtw88: Fix startup problems for SDIO wifi plus UART Bluetooth Larry Finger
2024-04-11  2:13 ` Ping-Ke Shih
2024-04-11  2:47   ` Larry Finger
2024-04-11  4:25     ` Ping-Ke Shih
2024-04-11  7:08     ` Kalle Valo
2024-04-11 17:28       ` Larry Finger
2024-04-15  0:45         ` Ping-Ke Shih
2024-04-15  1:23           ` Larry Finger [this message]

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=4d36d201-bb39-469c-9861-5e08c9003c73@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=Larry.Finger@gmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=kvalo@kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=pkshih@realtek.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).