From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6DB31C4332F for ; Tue, 27 Dec 2022 12:06:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=5LHiqeLynL77VsE/GoSVlk7YcpIs55fn3gYhMzF8/9M=; b=vhOFBUEQhK2UnO2rVHHu1JI0tO rBqifagmm0KyvIc17IooI6rLGq4am0oSVco05LJ/zMu+qGjYkO0icXLq5jC3RxHjsls4BAKmYDaco qIpLUkXiqVanDKqCU5gmi10FEiAVqt91KErHrEOivalmGAD2qAD+SFyMqixVOhhGfO8S+FwnXYCNd 1QcGbMb1kiZEDYe7vfHE7aeUIe1i8d9IcnW7D++qrqC1qpkxluG+Tt/014G3RGu8IGo+z/HwoIsvk Up+ESOtd3vHuw4G1h5QyxR0Mf+8fnRxzZY+SnyExKASU960lWyl2PiyWN8twslh+rVGzaGXlUCiLH lr4+3mBQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pA8hz-00CgWP-Od; Tue, 27 Dec 2022 12:05:27 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pA8ht-00CgTm-Do for linux-mediatek@lists.infradead.org; Tue, 27 Dec 2022 12:05:25 +0000 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 dfw.source.kernel.org (Postfix) with ESMTPS id 183F16106D; 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221227_040521_599975_4DA62A48 X-CRM114-Status: GOOD ( 31.65 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.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--