Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp3081277rwl; Tue, 27 Dec 2022 04:10:52 -0800 (PST) X-Google-Smtp-Source: AMrXdXvNNR3Vflcwq0nC/ctIUJc0WQmy86VuYsQ0q+CI0+fhQTyEgfsc58ixK9UYj0Q4muQM3ell X-Received: by 2002:a17:902:e543:b0:189:a6b4:91ed with SMTP id n3-20020a170902e54300b00189a6b491edmr33015440plf.17.1672143052340; Tue, 27 Dec 2022 04:10:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672143052; cv=none; d=google.com; s=arc-20160816; b=FXZwUbGZycH3Tj0Kx8Q98eesO6tOtTE9ddUT25m2So5MILLI1xuazERDnHMn8he2ga BXeiShiLoFHIqs3J5aRdzHQ6zHpM/HHwZaWBRGU85jmLZQCKKrHydXx5NCPKUH+wrCSW gmaeP0x57Vm+cI6JC9ghUyc+e6wSgudfwPN47ZC9rG+jp71tD3CEyFL4grRo3GTwZ0Y1 PW7w+XkD3d/Ieq0RBW4Tl0mN8IUzmdQ/yR5+rnmJbJXfzUh4XVivLqNxd+vSCYHFbU3R r8jeT3I/lbDoHsF2Iz+NWTYm4XDZ6TaJcwxFBns1BilC3AjvSSKT71tkdmPAS69UAMYc X6Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=5LHiqeLynL77VsE/GoSVlk7YcpIs55fn3gYhMzF8/9M=; b=nDTYc+IUhWUPmNSb0h/4lB4j3uNFFQYVlWZAz1Puu+ubGCwiCe2MQnKWrmEWR1mlmo t41tlUydO+nissAkLhg4vU2cAsM4fWsBbjYtL24MIRCwIra+eq5LYEbBfCBDbIPS84xc o6kbDFIjri7t95Cve/VYkKLndtS08UYy9QVqsGB8ajkKRfH/MuWwAUlegycjc4yZltF2 66a6i/RMZB64O5otd8P5QQ35OJPvtzk3RSMFPh0T1vxZxJI3BytGeEFEeA3swQJ2QGez EwkPaQfTeeGLmzj59QTaq6DMuQJo5V9u1A6NHoHHUMFWxyN/jJo8Oy6V22PMoGtybHzi 0RMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tShXwjDl; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o14-20020a170902d4ce00b001889ad48288si14508229plg.384.2022.12.27.04.10.36; Tue, 27 Dec 2022 04:10:52 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tShXwjDl; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231531AbiL0MFy (ORCPT + 67 others); Tue, 27 Dec 2022 07:05:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231343AbiL0MFb (ORCPT ); Tue, 27 Dec 2022 07:05:31 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CB7FE65 for ; Tue, 27 Dec 2022 04:05:22 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id CAA34B80F91 for ; Tue, 27 Dec 2022 12:05:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20F1CC433EF; Tue, 27 Dec 2022 12:05:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672142719; bh=5LHiqeLynL77VsE/GoSVlk7YcpIs55fn3gYhMzF8/9M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tShXwjDlXzuiHSG5GMl5oy/BOf09ZXBWzQ3K0pCOkkeqRySFYRC/FKJ8P4uyEUGB/ 8gWvGCrUR+VCejM0qsXH0HHJwcoDTpjWtdpJyMKdfWYS7ye16Nj0gGk92fX3NI/iKn LeHoxGxT8yiq4HiLXWkGhn/FWljh77BF4T5K7dO+0k82OTDrN1x4aDhuCEPhIWPgoU 92sLtZlcZfikd4IZr0GmQx7uIlSrRE0/V1n63+6oYei0g3enBOaaWM3y1GIttb3kYw 2bHoU0Z+vpgN/Ff1KJU07kS541swKsslxEuupqEArKD8zNps0Hx5S//uPkTM1769EG PL2z/ktZKpm2A== Date: Tue, 27 Dec 2022 13:05:19 +0100 From: Lorenzo Bianconi To: Nick Morrow Cc: nbd@nbd.name, ryder.lee@mediatek.com, shayne.chen@mediatek.com, Sean Wang , deren.wu@mediatek.com, linux-wireless@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: Re: [bug report} wifi: mt76: mt7612u/mt7610u - 6.1.x hard locking systems Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2DAAM0Odn3zEz+I6" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 --2DAAM0Odn3zEz+I6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > > > Starting with kernel 6.1 rc1, mt7612u and mt7610u are hard locking > > > systems when connection is established. From a report this morning: > > > > > > "So I'm using a MT7610U based adapter and updated to 6.1.1 in Arch > > > Linux and it's a complete lockup a few seconds after connecting as > > > other people have said, I'll use the LTS kernel (5.15) in the > > > meanwhile but this is probably going to get a lot of people that use > > > distros with newer kernels." > > > > > > Background: Problem first discovered with kernel 6.1 rc1. Bug report > > > was seen on linux-wireless around the rc5 timeframe. This is an > > > additional bug report. > > > > > > I don't think additional info is needed as I have tested on several > > > distros with various RC's of 6.1 and the problem is 100% reproducible > > > and unavoidable. This is a show stopper bug and will result in > > > widespread reports as distros upgrade to kernel 6.1. > > > > > > Regards, > > > > Hi Nick, > > > > Can you please try the patch below? > > https://patchwork.kernel.org/project/linux-wireless/patch/2022121708562= 4.52077-1-nbd@nbd.name/ > > > > Regards, > > Lorenzo >=20 > Lorenzo, >=20 > Today, I downloaded kernel 6.1.1, applied the above patch and > compiled. Once installed, I tested with an Alfa ACM mt7612u based > adapter. I no longer see the problem. No system lockups at all. iperf3 > is showing a consistent performance of around 387 Mb/s. dmesg is > clean. The patch appears to have fixed the issue. I can also test with > a mt7610u based adapter if you think it is necessary but since that > patch was not to mt76, I decided testing only with the mt7612u adapter > was probably good enough. Let me know if there is anything else I can > do. no, it is not necessary to test with mt7610u as well. Thanks for testing. Regards, Lorenzo >=20 > Nick > https://github.com/morrownr/USB-WiFi --2DAAM0Odn3zEz+I6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQTquNwa3Txd3rGGn7Y6cBh0uS2trAUCY6rffAAKCRA6cBh0uS2t rFQAAQDBUAU1+aRZXjlYsdB6GSdP6HJXq0VFg3SPTslkxGXWRAEA94QDG/4x4Tcb JrynkYJyY3e7yC1naBRyx+pVM5ndbgw= =Um+x -----END PGP SIGNATURE----- --2DAAM0Odn3zEz+I6--