From: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
To: Sven Eckelmann <sven@narfation.org>
Cc: jwboyer@kernel.org, dwmw2@infradead.org, ben@decadent.org.uk,
Felix Fietkau <nbd@nbd.name>, Deren Wu <Deren.Wu@mediatek.com>,
Mark-YW Chen <Mark-YW.Chen@mediatek.com>,
Sean Wang <sean.wang@mediatek.com>,
Soul Huang <Soul.Huang@mediatek.com>,
YN Chen <YN.Chen@mediatek.com>, KM Lin <km.lin@mediatek.com>,
Robin Chiu <robin.chiu@mediatek.com>,
CH Yeh <ch.yeh@mediatek.com>, Posh Sun <posh.sun@mediatek.com>,
Eric Liang <Eric.Liang@mediatek.com>,
jemele@google.com, linux-firmware <linux-firmware@kernel.org>,
linux-wireless <linux-wireless@vger.kernel.org>,
linux-mediatek <linux-mediatek@lists.infradead.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
jf@simonwunderlich.de
Subject: Re: [PATCH] linux-firmware: update firmware for MT7921 WiFi device
Date: Thu, 9 Dec 2021 15:13:40 +0100 [thread overview]
Message-ID: <YbIPFIaya1vKF6bM@lore-desk> (raw)
In-Reply-To: <3841963.FhVex8QpIh@ripper>
[-- Attachment #1: Type: text/plain, Size: 1890 bytes --]
> On Thursday, 9 December 2021 10:21:02 CET Sven Eckelmann wrote:
> > Tested-by: Sven Eckelmann <sven@narfation.org>
>
> I would like to retract this again because it seems like the firmware is now
> hanging all the time when the default runtime-pm/deep-sleep settings are used.
>
> [ 521.553436] mt7921e 0000:05:00.0: Message 40000002 (seq 12) timeout
> [ 521.559884] mt7921e 0000:05:00.0: chip reset
> [ 521.661983] mt7921e 0000:05:00.0: HW/SW Version: 0x8a108a10, Build Time: 20211129210838a
> [ 521.661983]
> [ 521.684088] mt7921e 0000:05:00.0: WM Firmware Version: ____010000, Build Time: 20211129210917
> [ 521.723561] mt7921e 0000:05:00.0: Firmware init done
>
> This doesn't seem to happen that often when I perform a
>
> echo 0 > /sys/kernel/debug/ieee80211/phy0/mt76/runtime-pm
> echo 0 > /sys/kernel/debug/ieee80211/phy0/mt76/deep-sleep
>
> before setting up the interfaces.
>
> But even then, on the first "ip link set up dev mon0" (not only for mon0 -
> also for wlan0/...) it will crash with:
>
>
> [ 806.731357] mt7921e 0000:05:00.0: Message 00000046 (seq 4) timeout
> [ 806.737730] mt7921e 0000:05:00.0: chip reset
> RTNETLINK answers: Connection timed out
> [ 806.867666] mt7921e 0000:05:00.0: HW/SW Version: 0x8a108a10, Build Time: 20211129210838a
> [ 806.867666]
> [ 806.888441] mt7921e 0000:05:00.0: WM Firmware Version: ____010000, Build Time: 20211129210917
> [ 806.928204] mt7921e 0000:05:00.0: Firmware init done
>
> But when I then set up the device again then it seems to work. This is the
> case for monitor and managed interfaces.
>
> I've used commit 678071ef7029 ("mt76: mt7615: clear mcu error interrupt status
> on mt7663") in mt76.git for this.
does it occur with an older fw?
Regards,
Lorenzo
>
> Kind regards,
> Sven
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
To: Sven Eckelmann <sven@narfation.org>
Cc: jwboyer@kernel.org, dwmw2@infradead.org, ben@decadent.org.uk,
Felix Fietkau <nbd@nbd.name>, Deren Wu <Deren.Wu@mediatek.com>,
Mark-YW Chen <Mark-YW.Chen@mediatek.com>,
Sean Wang <sean.wang@mediatek.com>,
Soul Huang <Soul.Huang@mediatek.com>,
YN Chen <YN.Chen@mediatek.com>, KM Lin <km.lin@mediatek.com>,
Robin Chiu <robin.chiu@mediatek.com>,
CH Yeh <ch.yeh@mediatek.com>, Posh Sun <posh.sun@mediatek.com>,
Eric Liang <Eric.Liang@mediatek.com>,
jemele@google.com, linux-firmware <linux-firmware@kernel.org>,
linux-wireless <linux-wireless@vger.kernel.org>,
linux-mediatek <linux-mediatek@lists.infradead.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
jf@simonwunderlich.de
Subject: Re: [PATCH] linux-firmware: update firmware for MT7921 WiFi device
Date: Thu, 9 Dec 2021 15:13:40 +0100 [thread overview]
Message-ID: <YbIPFIaya1vKF6bM@lore-desk> (raw)
In-Reply-To: <3841963.FhVex8QpIh@ripper>
[-- Attachment #1.1: Type: text/plain, Size: 1890 bytes --]
> On Thursday, 9 December 2021 10:21:02 CET Sven Eckelmann wrote:
> > Tested-by: Sven Eckelmann <sven@narfation.org>
>
> I would like to retract this again because it seems like the firmware is now
> hanging all the time when the default runtime-pm/deep-sleep settings are used.
>
> [ 521.553436] mt7921e 0000:05:00.0: Message 40000002 (seq 12) timeout
> [ 521.559884] mt7921e 0000:05:00.0: chip reset
> [ 521.661983] mt7921e 0000:05:00.0: HW/SW Version: 0x8a108a10, Build Time: 20211129210838a
> [ 521.661983]
> [ 521.684088] mt7921e 0000:05:00.0: WM Firmware Version: ____010000, Build Time: 20211129210917
> [ 521.723561] mt7921e 0000:05:00.0: Firmware init done
>
> This doesn't seem to happen that often when I perform a
>
> echo 0 > /sys/kernel/debug/ieee80211/phy0/mt76/runtime-pm
> echo 0 > /sys/kernel/debug/ieee80211/phy0/mt76/deep-sleep
>
> before setting up the interfaces.
>
> But even then, on the first "ip link set up dev mon0" (not only for mon0 -
> also for wlan0/...) it will crash with:
>
>
> [ 806.731357] mt7921e 0000:05:00.0: Message 00000046 (seq 4) timeout
> [ 806.737730] mt7921e 0000:05:00.0: chip reset
> RTNETLINK answers: Connection timed out
> [ 806.867666] mt7921e 0000:05:00.0: HW/SW Version: 0x8a108a10, Build Time: 20211129210838a
> [ 806.867666]
> [ 806.888441] mt7921e 0000:05:00.0: WM Firmware Version: ____010000, Build Time: 20211129210917
> [ 806.928204] mt7921e 0000:05:00.0: Firmware init done
>
> But when I then set up the device again then it seems to work. This is the
> case for monitor and managed interfaces.
>
> I've used commit 678071ef7029 ("mt76: mt7615: clear mcu error interrupt status
> on mt7663") in mt76.git for this.
does it occur with an older fw?
Regards,
Lorenzo
>
> Kind regards,
> Sven
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
[-- Attachment #2: Type: text/plain, Size: 170 bytes --]
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
next prev parent reply other threads:[~2021-12-09 14:13 UTC|newest]
Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-09 8:24 [PATCH] linux-firmware: update firmware for MT7921 WiFi device Deren Wu
2021-12-09 8:24 ` Deren Wu
2021-12-09 9:21 ` Sven Eckelmann
2021-12-09 9:21 ` Sven Eckelmann
2021-12-09 14:04 ` Sven Eckelmann
2021-12-09 14:04 ` Sven Eckelmann
2021-12-09 14:13 ` Lorenzo Bianconi [this message]
2021-12-09 14:13 ` Lorenzo Bianconi
2021-12-09 14:59 ` Sven Eckelmann
2021-12-09 14:59 ` Sven Eckelmann
-- strict thread matches above, loose matches on Subject: below --
2026-03-13 0:56 JB Tsai
2026-03-13 6:25 ` Dmitry Baryshkov
2026-01-19 6:33 Allan Wang
2026-01-19 7:42 ` Dmitry Baryshkov
2025-07-03 5:14 Allan Wang
2025-07-06 16:16 ` Josh Boyer
2025-06-06 2:45 Allan Wang
2025-06-06 19:20 ` Josh Boyer
2024-11-12 1:43 Allan Wang
2024-11-12 12:37 ` Josh Boyer
2024-08-30 9:35 Deren Wu
2024-09-03 11:19 ` Josh Boyer
2023-11-16 8:18 Deren Wu
2023-11-27 13:55 ` Josh Boyer
2023-04-07 1:40 Deren Wu
2023-04-18 11:54 ` Josh Boyer
2023-03-03 1:10 Deren Wu
2023-03-07 14:37 ` Josh Boyer
2023-01-19 2:21 Deren Wu
2023-01-20 13:14 ` Josh Boyer
2022-11-10 1:57 Deren Wu
2022-11-16 13:52 ` Josh Boyer
2022-11-09 14:02 Deren Wu
2022-11-09 17:55 ` Josh Boyer
2022-11-10 1:38 ` Deren Wu (武德仁)
2022-09-20 5:59 Deren Wu
2022-09-23 11:57 ` Josh Boyer
2022-06-21 12:31 Deren Wu
2022-06-21 13:24 ` Josh Boyer
2022-02-10 15:15 Deren Wu
2022-02-10 15:15 ` Deren Wu
2022-02-18 15:45 ` Josh Boyer
2022-02-18 15:45 ` Josh Boyer
2022-01-14 6:51 Deren Wu
2022-01-14 6:51 ` Deren Wu
2022-01-14 9:52 ` Sven Eckelmann
2022-01-14 9:52 ` Sven Eckelmann
2022-01-18 14:51 ` Josh Boyer
2022-01-18 14:51 ` Josh Boyer
2021-12-24 7:16 Deren Wu
2021-12-24 7:16 ` Deren Wu
2021-12-29 13:43 ` Josh Boyer
2021-12-29 13:43 ` Josh Boyer
2021-10-18 5:11 Deren Wu
2021-10-18 5:11 ` Deren Wu
2021-10-18 13:24 ` Josh Boyer
2021-10-18 13:24 ` Josh Boyer
2021-05-20 9:04 sean.wang
2021-05-20 9:04 ` sean.wang
2021-06-09 12:00 ` Josh Boyer
2021-06-09 12:00 ` Josh Boyer
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=YbIPFIaya1vKF6bM@lore-desk \
--to=lorenzo.bianconi@redhat.com \
--cc=Deren.Wu@mediatek.com \
--cc=Eric.Liang@mediatek.com \
--cc=Mark-YW.Chen@mediatek.com \
--cc=Soul.Huang@mediatek.com \
--cc=YN.Chen@mediatek.com \
--cc=ben@decadent.org.uk \
--cc=ch.yeh@mediatek.com \
--cc=dwmw2@infradead.org \
--cc=jemele@google.com \
--cc=jf@simonwunderlich.de \
--cc=jwboyer@kernel.org \
--cc=km.lin@mediatek.com \
--cc=linux-firmware@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
--cc=nbd@nbd.name \
--cc=posh.sun@mediatek.com \
--cc=robin.chiu@mediatek.com \
--cc=sean.wang@mediatek.com \
--cc=sven@narfation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.