Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4B2F5C433EF for ; Thu, 9 Dec 2021 14:13:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235084AbhLIORU (ORCPT ); Thu, 9 Dec 2021 09:17:20 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:56786 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230154AbhLIORT (ORCPT ); Thu, 9 Dec 2021 09:17:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639059225; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=T1S6rtyY8u3x7vV4s9QhxQiYkWds801oT9UBXiBzvq8=; b=BC4Dq4dfioIzbAtWiaNKOL2Zfx3MntoC3gcKhOO9m0ShVVcV6JR64tqOWnAR0xgK97bj2Y wS/W4MYdX4RK23Pv5qnqyhS2kIt1kPdv02S1k0g5Q8FjdCP0Me79OrLZrw6pftCel8xAqA yUnGRFwrzwvWvqVDV+K2K7SpII58mPs= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-575-COPTSruUMkuFYkPj2eZVRg-1; Thu, 09 Dec 2021 09:13:44 -0500 X-MC-Unique: COPTSruUMkuFYkPj2eZVRg-1 Received: by mail-wm1-f71.google.com with SMTP id o18-20020a05600c511200b00332fa17a02eso2549950wms.5 for ; Thu, 09 Dec 2021 06:13:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=T1S6rtyY8u3x7vV4s9QhxQiYkWds801oT9UBXiBzvq8=; b=dx9Xy2P1maT3mSsYk/IQI1zuHyuEnoufwNmTNFW2pQb2qsU1UtGuR643eXpwrzx9wd tSKZ39On+XgFRtsCgMG4KROXee1UYvgvPC0BcBATU/cr/KYFDfmffK6pRrEc6x4cRqeY 7K+6BMr/9w3Jv1+IpxX9XpIW2bCodaN7kUT72lbc6CIEFubqoUpuZqgTL2A2MOhYi2+G q6+0NPFl8zlwI+cYcZh7Z+vpI79vWo7fumECGQPbsjSvuEKf1Y3ptu0BusGNOpEC0V0e yLvKBDOxpKmcTADMpQcBDKklpQAMlJURoyjZWI1p7ZdzC2K0WubzJG0JSmNS/ul+EP/n jqnQ== X-Gm-Message-State: AOAM532qswEv7/O7qpuS97BOl4r4ISzb6Z7bg078btLPN30qMENEvtKX hjEbA+PBp2nHTfAUnO4EeSqFxtoSGQ1aPF6zDFeWzHKHrDjSu6UuhxvFYXiM8hejH+F2VdP0vuZ l02p9DSqnp9hnM35qDMuC48tN X-Received: by 2002:a5d:5147:: with SMTP id u7mr6759859wrt.233.1639059222932; Thu, 09 Dec 2021 06:13:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJxs0t32qLpqOAfF7JuE4spcBzfo3UmhJ71TMoONwX1ETI4ah//+LMIcCd8EGICtAe5qnDS5Gw== X-Received: by 2002:a5d:5147:: with SMTP id u7mr6759814wrt.233.1639059222708; Thu, 09 Dec 2021 06:13:42 -0800 (PST) Received: from localhost (net-37-182-17-175.cust.vodafonedsl.it. [37.182.17.175]) by smtp.gmail.com with ESMTPSA id s8sm6179183wra.9.2021.12.09.06.13.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Dec 2021 06:13:42 -0800 (PST) Date: Thu, 9 Dec 2021 15:13:40 +0100 From: Lorenzo Bianconi To: Sven Eckelmann Cc: jwboyer@kernel.org, dwmw2@infradead.org, ben@decadent.org.uk, Felix Fietkau , Deren Wu , Mark-YW Chen , Sean Wang , Soul Huang , YN Chen , KM Lin , Robin Chiu , CH Yeh , Posh Sun , Eric Liang , jemele@google.com, linux-firmware , linux-wireless , linux-mediatek , linux-kernel , jf@simonwunderlich.de Subject: Re: [PATCH] linux-firmware: update firmware for MT7921 WiFi device Message-ID: References: <67f30cd5235e2065e6c20cfb4662e4ac72ef6395.1639037336.git.deren.wu@mediatek.com> <2314855.OJx0zA1Pyt@ripper> <3841963.FhVex8QpIh@ripper> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zjkU6hzf6ZLTHJOB" Content-Disposition: inline In-Reply-To: <3841963.FhVex8QpIh@ripper> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --zjkU6hzf6ZLTHJOB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > On Thursday, 9 December 2021 10:21:02 CET Sven Eckelmann wrote: > > Tested-by: Sven Eckelmann >=20 > I would like to retract this again because it seems like the firmware is = now=20 > hanging all the time when the default runtime-pm/deep-sleep settings are = used. >=20 > [ 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]=20 > [ 521.684088] mt7921e 0000:05:00.0: WM Firmware Version: ____010000,= Build Time: 20211129210917 > [ 521.723561] mt7921e 0000:05:00.0: Firmware init done >=20 > This doesn't seem to happen that often when I perform a >=20 > echo 0 > /sys/kernel/debug/ieee80211/phy0/mt76/runtime-pm > echo 0 > /sys/kernel/debug/ieee80211/phy0/mt76/deep-sleep >=20 > before setting up the interfaces. >=20 > But even then, on the first "ip link set up dev mon0" (not only for mon0 = -=20 > also for wlan0/...) it will crash with: >=20 >=20 > [ 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]=20 > [ 806.888441] mt7921e 0000:05:00.0: WM Firmware Version: ____010000,= Build Time: 20211129210917 > [ 806.928204] mt7921e 0000:05:00.0: Firmware init done >=20 > But when I then set up the device again then it seems to work. This is th= e=20 > case for monitor and managed interfaces. >=20 > I've used commit 678071ef7029 ("mt76: mt7615: clear mcu error interrupt s= tatus=20 > on mt7663") in mt76.git for this.=20 does it occur with an older fw? Regards, Lorenzo >=20 > Kind regards, > Sven --zjkU6hzf6ZLTHJOB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQTquNwa3Txd3rGGn7Y6cBh0uS2trAUCYbIPFAAKCRA6cBh0uS2t rKx+AP9d7SOcOblztzxdRBXT0mu90H/4HHELZ2txXKAjgURt8AEAivSXJ/gYEtQg Cx4dhBOmhYnSfz4fMWpM3Q9cyw1WiwQ= =2F7f -----END PGP SIGNATURE----- --zjkU6hzf6ZLTHJOB--