Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1338872pxp; Thu, 10 Mar 2022 03:39:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJzfpunwAMkXO9RErUg0jej7LP3az76JhgIvfE/tjlQhY3h/op4ltP0hLVEOV8PO38n8w02S X-Received: by 2002:a17:90b:1d04:b0:1bf:48f7:7e73 with SMTP id on4-20020a17090b1d0400b001bf48f77e73mr15425045pjb.31.1646912394923; Thu, 10 Mar 2022 03:39:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646912394; cv=none; d=google.com; s=arc-20160816; b=O340Fwjp9og6WBGZWoiIN0Ga26cZPvw9t+3fF48907K9mD78njucxEfhMKVvho6iNR k7UF9yz3ro3KDOGcmYC8FIkabDX1QvK8aAML/+XtebpthPc7Xg/r2afug8/I9E0Wc7Aj kKnE2k9KOISLos8/NuIxeZ1129nSBqOkAC40KbIqgFFdU+n+kk6D4PDeegdbP7M4Mh+N Ir8o1Nc6UE9+VBLKsSYUDxsm7DV6UmrZyCToj+oLImQi7JIdy68yc0Kp5raQQet8KVAu Sx7q5AznFb5QLSdjqcpQFIbIo0v190DYGvOAtzkqv1V7++9KSFGzrq1StjmWfj7EX/Sm Yc0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date; bh=66bNaATHq6K0ez0uZ1mdwWidrIBKEx0wQanhUt5OccU=; b=NSj59tcfw69E2fyclYeIzBVG3KlkuiyhRRyIlmLNVQdE4KkmJ9tzFhws8v6tdhVwan Bey+PL1C764tTGuenRFoLtBv41+SRBPc0P9mH4Dp2paiwLSasO+xE0l66XxIVL1JC0l7 L4wbS1xbfV4Y4ZmmwIVTHUrBtkljISDbnZL/CTiVlMThQp6zciwOSDK1dux4636NB9Lx m4oYC4UWQdnGYkIXgg72z/ftEh1C0IpJQpjSiOPyUIuBQD6w7MsmShIbn6yOtylqA5Lc rCXtOGGHZywKu+qTz+L4sLZhqQWD1XtiCiFJ0NakpTORDSwybN0SVAh4LS94WOisZ/Wl NTIQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v3-20020a17090a778300b001bf616297e9si4510678pjk.95.2022.03.10.03.39.36; Thu, 10 Mar 2022 03:39:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236669AbiCIT7R (ORCPT + 70 others); Wed, 9 Mar 2022 14:59:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233884AbiCIT7Q (ORCPT ); Wed, 9 Mar 2022 14:59:16 -0500 Received: from bues.ch (bues.ch [IPv6:2a01:138:9005::1:4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 857A4D52 for ; Wed, 9 Mar 2022 11:58:15 -0800 (PST) Received: by bues.ch with esmtpsa (Exim 4.92) (envelope-from ) id 1nS2Rm-0000fe-7p; Wed, 09 Mar 2022 20:58:10 +0100 Date: Wed, 9 Mar 2022 20:57:26 +0100 From: Michael =?UTF-8?B?QsO8c2No?= To: Felix Fietkau , Lorenzo Bianconi , Ryder Lee , Shayne Chen , Sean Wang Cc: linux-wireless@vger.kernel.org Subject: Re: mt7921: Oops in mt76_dma_rx_fill Message-ID: <20220309205726.35337cb7@barney> In-Reply-To: <20220209170550.0a73ebe4@barney> References: <20220209170550.0a73ebe4@barney> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/ulM_q7thZS.d621.36F3Ek5"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org --Sig_/ulM_q7thZS.d621.36F3Ek5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Does anybody have an idea why this driver crashes? I tried to bisect it. But that turns out to be very hard as the intermediate versions are all very unstable, too. For various reasons. Therefore, I aborted my bisect attempt. But if you have an idea what patch I could try, I'd be very happy to do so. --=20 Michael B=C3=BCsch https://bues.ch/ On Wed, 9 Feb 2022 17:05:50 +0100 Michael B=C3=BCsch wrote: > Hi, >=20 > on the latest stable 5.16.8 (df659ebe) the Mediatek WLAN driver > crashes on my machine in a DMA function. >=20 > Please excuse me for the crappy photos. The first one has been > captured out of a video. Therefore it's partially interleaved with the > predecessor frame. >=20 > https://bues.ch/misc/mt7921/mt7921_oops1.jpg > https://bues.ch/misc/mt7921/mt7921_oops2.jpg >=20 > Most of the time the crash happens right during system boot. >=20 > The stable kernel 5.15.y does not crash. (However, I frequently get > connection interruptions. But I'm not sure whether that's related to > the driver.) >=20 > 03:00.0 Network controller: MEDIATEK Corp. MT7921 802.11ax PCI > Express Wireless Network Adapter >=20 > 03:00.0 0280: 14c3:7961 > Subsystem: 17aa:e0bc > Physical Slot: 0 > Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- > ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- > FastB2B- ParErr- DEVSEL=3Dfast >TAbort- SERR- INTx- Latency: 0, Cache Line Size: 32 bytes Interrupt: pin A routed > to IRQ 94 IOMMU group: 11 > Region 0: Memory at 670200000 (64-bit, prefetchable) [size=3D1M] > Region 2: Memory at 670300000 (64-bit, prefetchable) > [size=3D16K] Region 4: Memory at 670304000 (64-bit, prefetchable) > [size=3D4K] Capabilities: > Kernel driver in use: mt7921e > Kernel modules: mt7921e >=20 >=20 --Sig_/ulM_q7thZS.d621.36F3Ek5 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEihRzkKVZOnT2ipsS9TK+HZCNiw4FAmIpBqYACgkQ9TK+HZCN iw6zVBAAlfvgNE3px/tRL0/tBOH5LX97YQxlAsS+4fNdkbnW1ESUfQW4AtNCFbtd E+93BU/77AX3BIpNDVmdnbi3a53iBE1N4bu/UWssHeo2PRrYpK8LOKvgmo2SQ8+B O887TPDxOGFqjS5pY7xtmzu8KpPGzIa58/qf5FYVCw1JJ/zU9Xhg9Fv+FOv8NSnv w4lUBnQZfZROjJnSTyJNxyJSAvmU1rX5AIYD9doWwOeAr5ULX/InPHcsTlgNOQgL OOsifnVrwvJjTqgaPWXETDPgHgvNcEgVseUhEntURH2VRJkLlAYP0D5tYl7a71Tt WlcLr3Vfm4Wq35upWczvODD5zFXW6SSlbnrwvuf05KUi+hnmbKniaAjFJu1q9Oe0 f9+TRIQZ8FfJNmIi6DW51vybtzus7LO6gKfqdSXxtUGRlpUMXs31eLBKYI21Dgg3 b+8jE/E1+wcd6se1uMaJ2/6s4tlwg24hjfEQY7oEpCxYB6Il3kj6BApacx2PesaN HXM4LlDYNQ70xrozgQeFUOuKYROhNrcOgVCHDug0c1kATsPUpbrifHx33/WfXX0h rr1b5ejv+eY+EnmiuPLAZWsFhTH8UjLpFa0+XUm2zVXe+GSfg7Xdm9kxEoUiKAeV Lg/XxLTa6nhfz+bGWxKFLcWGTdQL8oJc5OkdBgJJTIt/Eher4No= =kBPn -----END PGP SIGNATURE----- --Sig_/ulM_q7thZS.d621.36F3Ek5--