Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp49846rwj; Wed, 21 Dec 2022 22:51:44 -0800 (PST) X-Google-Smtp-Source: AMrXdXsAM9g2YwKrr2xGlr7HEaKcAv770qAV5wbdRD4qzgQ7EO6+hNFHlKUQohWfChye3UV4ex4J X-Received: by 2002:a05:6402:12d4:b0:45c:835c:c6d3 with SMTP id k20-20020a05640212d400b0045c835cc6d3mr3630259edx.4.1671691903835; Wed, 21 Dec 2022 22:51:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671691903; cv=none; d=google.com; s=arc-20160816; b=izKN6j1pjaJoNhlnfCkPaoEaYF8+oGfE6TEjZveB2fXZSiSFuI0bcDQLD0MX1ua5Wk Ww92Sf+dOI+wgY0Z/pZRyNxpZJzCNJRMLReHUEqSdrkLvQqHziqkK/SvsQD87GGpzXWG 3TgcdMKd2/pNQFL0S+SNGBPMnuV+GFlSA29QsDwiFah5P85M0MWgeSaBnDcKz4QGl9zg UQRMIy+t1fN9HNUifVlGlnF6FOndYx5z1SoAwObUwgQ3iRuO6zIAs3E4zWvNrTqcoS+T F/Z5kbvh98M3/8m7MIZBcdUiUrhSd9eB9RiKNZOsEh5Xs4eOc2pKiSYG9G3gD3Ne2bO+ hY0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=D+ihXgDkeg4pVKq7FuFaMDZy+mecm/Oqo0hFC0OXH2w=; b=IEo6Jex2MTP7veUTLVxhSxVTJbImuCxNsAs2Do0Nkkno9somJnsYmXpyNu0UlHsqZC xrg3kjCiUrBsahtcmZSXAtMukVp/wW7lB29O1YNgYr9wya9UB/TDF8KuBg/IKyH1tNiw KWiQL2HPCWLlegVh0/MOFLWkHwPXXJ2jDvWjeTctAdGSG/p6yyznJU9LLY6N7Ra+w33J ED9OBZbi/ft1N8o38xNW9mlltfoREoOC1nID6kVcbvnBmPglmr7TitLi4m2SSiGT+Dkm N932E13VJkQMXb/Y4eacg3+Cfr4JunxbO6TadiIzSI4XBeBOb7CiXG/4gPD44rXMeK/c SPzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="Yponx0/s"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g25-20020aa7c599000000b0047381ef74c7si35030edq.222.2022.12.21.22.51.22; Wed, 21 Dec 2022 22:51:43 -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=@gmail.com header.s=20210112 header.b="Yponx0/s"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235152AbiLVGra (ORCPT + 66 others); Thu, 22 Dec 2022 01:47:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234973AbiLVGr3 (ORCPT ); Thu, 22 Dec 2022 01:47:29 -0500 Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8774CE9F; Wed, 21 Dec 2022 22:47:28 -0800 (PST) Received: by mail-qt1-x82c.google.com with SMTP id z12so742171qtv.5; Wed, 21 Dec 2022 22:47:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=D+ihXgDkeg4pVKq7FuFaMDZy+mecm/Oqo0hFC0OXH2w=; b=Yponx0/suKNA+Qo3mfMuMNxBvOCHq0U7moWdM77a+oj6XxWZV9j6cjmrxknQMZaDhu gSpWWNLF81MFHd4kpbk1liLzqMb1xjiUq6Vy+bQkw4gVnpEAUqfIm5iqOC+m6hszwxNy GKRA0dWuc/uUVrLzJInViLfOd4ruUoSLchF/ARKHapHNJBBAfd+OnxgiZDlWK1Cmn6XV 8HInSMvGFjlN03VpZvr5Zrj9yAGFOj6SWga3+42Ftn5xD8VeVuNPQmmt4h8LHcSzx9s9 ojKiZyiQmb+ueZiQ1jTq2H1cEEpsgIdaA3pka5/F004t0/gOzZ5+J8VIxutmcpQXttmS IZrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=D+ihXgDkeg4pVKq7FuFaMDZy+mecm/Oqo0hFC0OXH2w=; b=OyG0fYiXfyXQXPfXv96G3kvV6YYmTuMQZCPob4Z9ca+ImpUOkPJv+C2gCfZjZOMNYn oJgwjawyGCnTs3lMvfCYjgHnSqPCnzo3VuNjx8XKLHJoB6I64Npmml9CX0A8OyXqUnA0 x2yX+wXNOB70foM+qQ0bBFdZh3pb8coYkKcu5sD/PVIvmrTgVzZ1JE5kTvu7p0W/zKvf bAHNL9/efgKi5R5T2Nbnuysm7flj/3+RKb4BoHLgF+bux3rLcFSiBBVaczeOcrjtA9mG 0qt9ljZr5N0lmSZwSONswE04YASVXix2540TdIJY1e86ary8LPT4N4GFRljiPBCQHhiX I0mg== X-Gm-Message-State: AFqh2kq151G6LDCs6er194YTdz1MtqIVsOKlyFNxdiRnsafBa6axqPyI sE47yOZ99JfbwDppNYN49qyLiJo+IP26wKyrZLP2IbF5lN+2ZOO1TcA= X-Received: by 2002:ac8:4412:0:b0:3a8:2d2d:3944 with SMTP id j18-20020ac84412000000b003a82d2d3944mr114901qtn.519.1671691647514; Wed, 21 Dec 2022 22:47:27 -0800 (PST) MIME-Version: 1.0 References: <678adc67-9e46-3eef-f274-c951b121570f@nbd.name> <3cb53fbd-0bee-22f9-bba2-6ac4a87db521@nbd.name> In-Reply-To: <3cb53fbd-0bee-22f9-bba2-6ac4a87db521@nbd.name> From: Mikhail Gavrilov Date: Thu, 22 Dec 2022 11:47:16 +0500 Message-ID: Subject: Re: [6.2][regression] after commit cd372b8c99c5a5cf6a464acebb7e4a79af7ec8ae stopping working wifi mt7921e To: Felix Fietkau Cc: lorenzo@kernel.org, sujuan.chen@mediatek.com, Linux List Kernel Mailing , Linux List Kernel Mailing Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, 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 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 -- Best Regards, Mike Gavrilov.