mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Chris Lu (陸稚泓)" <Chris.Lu@mediatek.com>
To: "regressions@leemhuis.info" <regressions@leemhuis.info>,
	"luiz.dentz@gmail.com" <luiz.dentz@gmail.com>,
	"Hao Qin (秦浩)" <Hao.Qin@mediatek.com>
Cc: "marcel@holtmann.org" <marcel@holtmann.org>,
	"linux-mediatek@lists.infradead.org"
	<linux-mediatek@lists.infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-bluetooth@vger.kernel.org"
	<linux-bluetooth@vger.kernel.org>,
	"Deren Wu (武德仁)" <Deren.Wu@mediatek.com>,
	"regressions@lists.linux.dev" <regressions@lists.linux.dev>,
	"johan.hedberg@gmail.com" <johan.hedberg@gmail.com>,
	"Steve Lee (李視誠)" <steve.lee@mediatek.com>,
	"marc.payne@mdpsys.co.uk" <marc.payne@mdpsys.co.uk>,
	"tiwai@suse.de" <tiwai@suse.de>,
	"Sean Wang" <Sean.Wang@mediatek.com>,
	"Aaron Hou (侯俊仰)" <Aaron.Hou@mediatek.com>
Subject: Re: [PATCH] Bluetooth: btmtk: Remove resetting mt7921 before downloading the fw
Date: Wed, 30 Oct 2024 11:03:21 +0000	[thread overview]
Message-ID: <d0f70e662f5e9329cff43f92a5c191601cc599f1.camel@mediatek.com> (raw)
In-Reply-To: <75f671b6-ce2a-4404-b662-2c9c7d28a598@leemhuis.info>

Hi Leemhuis,

Let me recap and update the status of this problem.

Marc feedback that he has some problem with MT7921AUN usb module.
Originally, we thought it was caused by the change "Fixes:
ccfc8948d7e4d9 ("Bluetooth: btusb: mediatek: reset the controller before downloading the fw")". The change is mainly for MT7922, we found some problem with MT7921 on specific platform internally. As a result, Hao sent another patch to remove MT7921 from that rule(Bluetooth: btmtk: Remove resetting mt7921 before downloading the fw).

However, Marc also mentioned that BT is able to work if changing back
to an old firmware bin. Based on the clue, we found it was caused by a
firmware change that specific MT7921 model will not able to setup
successfully. (In fact, we didn't expect that MT7921AUN can be get by
normal user.)

Since we can't predict which model user use and Luiz also suggests
MediaTek to fix it if that model can work before, we have prepared a
solution. I've verified the solution locally that MT7921AUN model can
work normally on Ubuntu PC. It will be a firmware modification. We plan
to submit new firmware with this modification in 2024 Nov.

Thanks for your reminder,
Chris Lu

On Wed, 2024-10-30 at 10:21 +0100, Thorsten Leemhuis wrote:
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
> 
> 
> Hi, Thorsten here, the Linux kernel's regression tracker. Top-posting
> for once, to make this easily accessible to everyone.
> 
> I'm a bit lost here, but maybe I'm missing something.
> 
> Luiz, can you help out here? Is there a reason why this patch is not
> making any process?
> 
> Chris Lu and/or Hao Qin: Can you maybe help out as well as well and
> help
> with resolving some open questions that might or might not be
> relevant
> (see below).
> 
> From Takashi reply, the bugzilla ticket he linked to, and the mail
> from
> the MediaTek folks
> (
> https://lore.kernel.org/lkml/12a344e25b31ec00fe8b57814d43fcb166e71be5.camel@mediatek.com/
> ) it from the outside looks like this patch should really be merged
> rather sooner that later as it fixes regressions for some people.
> Afaics it should get a "Fixes: ccfc8948d7e4d9 ("Bluetooth: btusb:
> mediatek: reset the controller before downloading the fw")" tag, as
> it's
> afaics that commit that causes the regression that is known since
> more
> than three months now
> (https://lore.kernel.org/all/ZsTh7Jyug7MbZsLE@mdpsys.co.uk/ ).
> 
> But note, it seems it does not fix the regression completely
> according
> to Marc's testing.
> https://lore.kernel.org/all/ZuCB98DSdtKCgxaL@mdpsys.co.uk/
> 
> Marc: Is that still how things are with current mainline?
> 
> Ciao, Thorsten
> 
> 
> On 22.10.24 12:56, Takashi Iwai wrote:
> > On Mon, 14 Oct 2024 11:29:40 +0200,
> > Linux regression tracking (Thorsten Leemhuis) wrote:
> > > 
> > > On 20.09.24 08:27, Chris Lu (陸稚泓) wrote:
> > > > On Thu, 2024-09-19 at 23:25 +0100, marc.payne@mdpsys.co.uk
> > > > wrote:
> > > > > 
> > > > > External email : Please do not click links or open
> > > > > attachments until
> > > > > you have verified the sender or the content.
> > > > >  Hi Chris and Luiz,
> > > > > 
> > > > > What were your thoughts on the findings in my email dated
> > > > > 18th
> > > > > September?
> > > > 
> > > > Thanks for your suggestion.
> > > > 
> > > > I've prepared the same environment (Kernel v6.11 + MT7921AUN
> > > > dongle) to
> > > > reproduce the issue, collected necessary logs locally and also
> > > > initiated an internal discussion to clarify the root cause of
> > > > this
> > > > symptom. We'll review the changes between two firmware
> > > > (20230526/20231109) if it's a bug or not.
> > > > 
> > > > It may take some time to investigate. I'll let you know if
> > > > there is any
> > > > progress.
> > > 
> > > Just wondering: Chris Lu, and Marc, what's the status here? From
> > > here it
> > > looks like there was no progress to fix this regression for a
> > > while, but
> > > it's easy to miss something, that's why I ask.
> > > 
> > > Ciao, Thorsten
> > 
> > FWIW, the similar bug was reported for the recent 6.11.x kernel on
> > openSUSE Tumbleweed, and this patch was confirmed to work around
> > the
> > crash at boot:
> >   
> > https://urldefense.com/v3/__https://bugzilla.suse.com/show_bug.cgi?id=1231599__;!!CTRNKA9wMg0ARbw!jYyH2oubBEtIKXmKl9cI2rrmK-7kSdaiIJQ8xH4NZa5i5YCTQDHaoOxCBhMgdAAY6ROIPAoPwbOV-LNeMRJBlR6u-As$
> > 
> > It'd be great if you can go ahead and merge the proper fix to the
> > upstream.
> > 
> > Let me know if you have another patch to test.  Then I can create a
> > test kernel package and ask the bug reporter for testing.
> > 
> > 
> > thanks,
> > 
> > Takashi
> > 
> 
> 

  reply	other threads:[~2024-10-30 11:03 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-22  5:23 Hao Qin
2024-09-10 17:09 ` Marc Payne
2024-09-12  7:09   ` Chris Lu (陸稚泓)
2024-09-17 19:53     ` marc.payne
     [not found]       ` <9bfbbf24ac2480d94d3455f7e33e4b5502b38ced.camel@mediatek.com>
2024-09-18 13:37         ` Luiz Augusto von Dentz
2024-09-19  3:26           ` Chris Lu (陸稚泓)
2024-09-19 22:25             ` marc.payne
2024-09-20  6:27               ` Chris Lu (陸稚泓)
2024-10-14  9:29                 ` Linux regression tracking (Thorsten Leemhuis)
2024-10-22 10:56                   ` Takashi Iwai
2024-10-30  9:21                     ` Thorsten Leemhuis
2024-10-30 11:03                       ` Chris Lu (陸稚泓) [this message]
2024-10-30 11:29                         ` Thorsten Leemhuis
2024-11-01  7:11                           ` Chris Lu (陸稚泓)
2024-11-01 14:22                             ` Thorsten Leemhuis
2024-11-02 10:04                               ` Takashi Iwai
2024-11-11  9:21                                 ` Linux regression tracking (Thorsten Leemhuis)
2025-01-13 22:18                                   ` Sergio Callegari
2025-01-18 16:58                                     ` John Glotzer
2025-01-28  0:04                                       ` Bitterblue Smith
2025-01-29 18:31                                         ` John Glotzer
2024-11-27 23:14                               ` [REGRESSION] bluetooth: mt7921: Crash on Resume From Suspend And Hibernate John Glotzer
2024-12-05 12:59                                 ` Sergio Callegari
2024-12-06  2:29                                   ` John Glotzer
2024-12-21  9:52                                   ` Sergio Callegari
2024-09-18 16:02         ` [PATCH] Bluetooth: btmtk: Remove resetting mt7921 before downloading the fw marc.payne
2025-01-10  9:55 Hao Qin
2025-01-14 17:20 ` patchwork-bot+bluetooth

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=d0f70e662f5e9329cff43f92a5c191601cc599f1.camel@mediatek.com \
    --to=chris.lu@mediatek.com \
    --cc=Aaron.Hou@mediatek.com \
    --cc=Deren.Wu@mediatek.com \
    --cc=Hao.Qin@mediatek.com \
    --cc=Sean.Wang@mediatek.com \
    --cc=johan.hedberg@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=luiz.dentz@gmail.com \
    --cc=marc.payne@mdpsys.co.uk \
    --cc=marcel@holtmann.org \
    --cc=regressions@leemhuis.info \
    --cc=regressions@lists.linux.dev \
    --cc=steve.lee@mediatek.com \
    --cc=tiwai@suse.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

Powered by JetHome