Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp1674691rwl; Mon, 26 Dec 2022 03:06:24 -0800 (PST) X-Google-Smtp-Source: AMrXdXuKGdtIGRubiYypQcsP0ygQQ21sY1SIVRAEyFBgu9B0qobkZy+EWEGk4SgbTRnztkGlDeJn X-Received: by 2002:a05:6402:12d4:b0:45d:66e5:9818 with SMTP id k20-20020a05640212d400b0045d66e59818mr15849829edx.1.1672052784102; Mon, 26 Dec 2022 03:06:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672052784; cv=none; d=google.com; s=arc-20160816; b=wk3wJa8h+cBmqtdcMcrsEOUt1D0wLOwxq8EVBVId4qu9AcsJDqMI7DFrMZKy2+IipW vemzcYMH/zacBwk51FI8IdjGPeht/sx1DqZe6MiRwxPbuMYQ9jVvKdzpneoLNuWH6vvK v1XVqcqBROU2UYS5pyLq4g+y8dXTZtDFpv7QxSOReh1Pd9iWqs4FbOvRc4QSJ76DOyoe 64bXrOoGTLJLMQu/8EGQQ1Gpj+Vim6FxSxk53JFXJw8qR4baygtY9CpVscxYfL/VrMxF zAxm0Rrz+GlLsHOJrHmxEcNhhn91vuWMvxjKspG70au/xkSkjTQ8O9vRWRKv7WUg0GBu t2BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-language:references:cc:to:from:subject:user-agent :mime-version:date:message-id; bh=KZ/isGlzQWilH8V6JIWgoyAUg+C6eIuIasQWz76/tJ8=; b=aoqlHxKh+BdZmBArr3owyQBkgaCuplotuMjKlxVriSc7YOpwC+G966NIdYv8izKnk3 pIGa+RnC1mgMWsUX4owkPCa4yzwSVOYbrgcuOdJrQpR0W4epCRVRMwCA4y2kMQSfjX1r 4SrzyqRmUUVwMa9E5GvDFs8fJgojCoChuGoLZhZNDyQpqvyIme2dpqu/LPIRu8h2DJpz cfQCd9bJr1j1tKYm3TjXsZ2JzRTuXkjlaRDGzV+NgzR2KOt45pgcy8FIRLTMO5fIumdZ Rwbz2+yUQtrIMYEnyxXZuIiLmjKe+YBLR8513b4Sc5nBPtuhUhDq2wcOrtdjrSws8dmD FGbA== 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 c2-20020a50d642000000b0046b5f80f128si8413707edj.193.2022.12.26.03.06.02; Mon, 26 Dec 2022 03:06:24 -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 S229960AbiLZLAH (ORCPT + 67 others); Mon, 26 Dec 2022 06:00:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbiLZLAF (ORCPT ); Mon, 26 Dec 2022 06:00:05 -0500 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C35602EB; Mon, 26 Dec 2022 03:00:03 -0800 (PST) Received: from [2a02:8108:963f:de38:eca4:7d19:f9a2:22c5]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1p9lD5-0007aa-H5; Mon, 26 Dec 2022 11:59:59 +0100 Message-ID: <35c73172-4e06-3877-56bd-133f9192adc3@leemhuis.info> Date: Mon, 26 Dec 2022 11:59:58 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [6.2][regression] after commit cd372b8c99c5a5cf6a464acebb7e4a79af7ec8ae stopping working wifi mt7921e From: Thorsten Leemhuis To: Mikhail Gavrilov , Felix Fietkau Cc: lorenzo@kernel.org, sujuan.chen@mediatek.com, Linux List Kernel Mailing , Linux List Kernel Mailing References: <678adc67-9e46-3eef-f274-c951b121570f@nbd.name> <3cb53fbd-0bee-22f9-bba2-6ac4a87db521@nbd.name> <69ccf9f3-ce2e-600d-00b3-51ccc4a73011@leemhuis.info> Content-Language: en-US, de-DE In-Reply-To: <69ccf9f3-ce2e-600d-00b3-51ccc4a73011@leemhuis.info> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1672052403;98b3c717; X-HE-SMSGID: 1p9lD5-0007aa-H5 X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,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 On 24.12.22 08:55, Thorsten Leemhuis wrote: > > > On 22.12.22 07:47, Mikhail Gavrilov wrote: >> On Wed, Dec 21, 2022 at 10:17 PM Felix Fietkau wrote: >>> >>> Sorry, I worked on a tree that had other pending fixes applied. >>> Please try this: >>> >>> >>> --- a/drivers/net/wireless/mediatek/mt76/dma.c >>> +++ b/drivers/net/wireless/mediatek/mt76/dma.c >>> @@ -205,6 +205,52 @@ mt76_dma_queue_reset(struct mt76_dev *dev, struct mt76_queue *q) >>> mt76_dma_sync_idx(dev, q); >>> } >> [cutted] >>> EXPORT_SYMBOL_GPL(mt76_rx_token_consume); >>> >> >> I confirms after applying this patch the issue was gone (wifi works as >> before commit cd372b8c99c5a5cf6a464acebb7e4a79af7ec8ae). >> >> Tested-by: Mikhail Gavrilov >> > > TWIMC, there are two more reports that at least to my eyes look like > they are about the problem discussed here: > > https://bugzilla.kernel.org/show_bug.cgi?id=216829 Stupid me, this one... > https://bugzilla.kernel.org/show_bug.cgi?id=216839 ...is about 6.1.y and thus likely something else. Apologies. FWIW & for completeness, according to a comment from Lorenzo Bianconi the latter bug report is fixed by: https://patchwork.kernel.org/project/linux-wireless/patch/20221217085624.52077-1-nbd@nbd.name/ ("wifi: mac80211: fix initialization of rx->link and rx->link_sta") Ciao, Thorsten