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 CD3CEC624DE for ; Fri, 4 Sep 2026 16:07:39 +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:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=lUHoqeCKAd5dqQBOabXNq5LEMkycPX128N4Xo8O5v5I=; b=hAFucdaSxu/BLLtDJv5GhM983x ObG1QsfMzQZ3qkxObzlLaV0n515DF2Gok2FY5yYRTVPaJaxdbc5xSaYrFFq+dO8Z57g7iBY3r/a7z zsFqCT/d1gsOINk7LnzloLVl6AdJixGKquLX3EebGhgo05i+WVNyXUFTopRph0NOYfspY1iXVI2MN h6yRsbS6bBlMsngY17ElgoXvhhFSOl84sJP0KjNcZIEZQ1CPnbvQQuwZF1UEkprWJWzFEu3VuuoBQ 8HSbvVSmSiu0IlGt8QT/nuNdFIPBESYX+ezMjq5NuqHmYigIf9bwbmnAFltlm3mgWMXa8w/SMzoBm Y4omeNCA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x2WS1-00000002g7J-1dRR; Fri, 04 Sep 2026 16:07:37 +0000 Received: from dispatch1-us1.ppe-hosted.com ([67.231.154.164]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x2WRy-00000002g6r-3bKz for linux-mediatek@lists.infradead.org; Fri, 04 Sep 2026 16:07:36 +0000 X-Virus-Scanned: Proofpoint Essentials engine Received: from mail3.candelatech.com (mail.candelatech.com [208.74.158.173]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id A31E68008F; Fri, 4 Sep 2026 16:07:32 +0000 (UTC) Received: from [192.168.100.159] (firewall.candelatech.com [50.251.239.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail3.candelatech.com (Postfix) with ESMTPSA id 02D9D13C2B0; Fri, 4 Sep 2026 09:07:31 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 mail3.candelatech.com 02D9D13C2B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=candelatech.com; s=default; t=1788538052; bh=ri1r9OnJf92OGYlpu54n35ueeIP1GvO4Q8BuBCanV2I=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=qp6LQCR4F0yvQLRKIogLnglDTsF5IwPwyh6O7Zg+JR/jPVFl9o0vgf0Sqmqjpq0qZ 5dN2a2V38PrBwQWfAqBFbRQAPDBr0QhfpsRVKFgS2xH6wRByapv5xQq4WMPkEm+qEb Z9VKSky/zR7UcBtIiXcIoXKRg7q3aDyJE3W9bV3w= Message-ID: <529a79bc-dab7-aa41-00bd-c47ecbefaa00@candelatech.com> Date: Fri, 4 Sep 2026 09:07:31 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [bug] Triple whammy of mt7996e bugs on 7.2+ Content-Language: en-US To: Ilya K , linux-mediatek@lists.infradead.org Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org References: <1767631788532094@64c4e675-cd08-4a74-816f-886742f9bfcd> From: Ben Greear Organization: Candela Technologies In-Reply-To: <1767631788532094@64c4e675-cd08-4a74-816f-886742f9bfcd> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-MDID: 1788538053-BglbB7lMUdBY X-PPE-STACK: {"stack":"us5"} X-MDID-O: us5;at1;1788538053;BglbB7lMUdBY;;6f76c88c2c731de9ad886e575864f8cc X-PPE-TRUSTED: V=1;DIR=OUT; X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260904_090734_960621_C71D04CD X-CRM114-Status: GOOD ( 28.61 ) 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 On 9/4/26 07:28, Ilya K wrote: > Hey folks, > > Not really sure where to report this, but I've encountered some "interesting" issues on my bpi-r4 running kernel 7.2 and up. Hello Ilya, In case you feel like experimenting, I'm interested to know if this kernel works better for you. We have some tx-hang work-arounds for mtk7996, among other things: https://github.com/greearb/linux-ct-7.2 We have not tested on bpi-r4 anytime recently, however, and never used WED as far as I am aware. Thanks, Ben > > The first issue is that after a while the firmware on the mt7996e sometimes seemingly just locks up. > As it usually is with those things, there's not much debug info available, so all I get is > > [58764.004954] mt7996e 0000:01:00.0: Message 00130022 (seq 12) timeout > > This has happened before, but very rarely, and now it seems to happen consistently at least once a day or so, on > the exact same setup that is stable for weeks on end with 7.1. I have not attempted a bisect yet because > 1) I kinda need my network to actually work reliably and 2) it happens so inconsistently that it's hard to > pin down a good commit. > > The other issue is that the kernel then fully explodes trying to recover from this, in two different ways > depending on whether WED is enabled or disabled: with WED on, it tries to double free a page somewhere on the > teardown path, and with WED off it just wedges seemingly all of nl80211 and any process that happened to be talking to it. > > I'm attaching the logs for both cases, hopefully this helps figure out what's going on, and happy to do more testing if > needed. > > For posterity, my current kernel tree is basically vanilla + just enough changes to get bpi-r4 10G ports working on NixOS: > - 7.1 branch: https://github.com/K900/linux/tree/bpi-r4-71 > - 7.2 branch: https://github.com/K900/linux/tree/bpi-r4-72 > > (there are exactly zero *80211/mt76/mt7996e changes). > > Oh, I've also tried pulling the latest firmware from vendor OpenWRT feed and that did not help matters at all. > > Any help in figuring this out would be greatly appreciated! > > - Ilya > > -- Ben Greear Candela Technologies Inc http://www.candelatech.com