lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3841963.FhVex8QpIh@ripper>
Date:   Thu, 09 Dec 2021 15:04:24 +0100
From:   Sven Eckelmann <sven@...fation.org>
To:     jwboyer@...nel.org, dwmw2@...radead.org, ben@...adent.org.uk,
        Felix Fietkau <nbd@....name>,
        Lorenzo Bianconi <lorenzo.bianconi@...hat.com>,
        Deren Wu <Deren.Wu@...iatek.com>
Cc:     Mark-YW Chen <Mark-YW.Chen@...iatek.com>,
        Sean Wang <sean.wang@...iatek.com>,
        Soul Huang <Soul.Huang@...iatek.com>,
        YN Chen <YN.Chen@...iatek.com>,
        Deren Wu <Deren.Wu@...iatek.com>, KM Lin <km.lin@...iatek.com>,
        Robin Chiu <robin.chiu@...iatek.com>,
        CH Yeh <ch.yeh@...iatek.com>, Posh Sun <posh.sun@...iatek.com>,
        Eric Liang <Eric.Liang@...iatek.com>, jemele@...gle.com,
        linux-firmware <linux-firmware@...nel.org>,
        linux-wireless <linux-wireless@...r.kernel.org>,
        linux-mediatek <linux-mediatek@...ts.infradead.org>,
        linux-kernel <linux-kernel@...r.kernel.org>,
        Deren Wu <deren.wu@...iatek.com>, jf@...onwunderlich.de
Subject: Re: [PATCH] linux-firmware: update firmware for MT7921 WiFi device

On Thursday, 9 December 2021 10:21:02 CET Sven Eckelmann wrote:
> Tested-by: Sven Eckelmann <sven@...fation.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. 

Kind regards,
	Sven
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ