Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp3405236rwb; Mon, 16 Jan 2023 07:36:29 -0800 (PST) X-Google-Smtp-Source: AMrXdXtjTi5AQDdSy/OmSwLZ8/Tzm/CXAYF32gJWmaGLYeii0GP0dhGWFXMNlJEgh5KHmU1ffLGm X-Received: by 2002:a17:906:2813:b0:829:59d5:e661 with SMTP id r19-20020a170906281300b0082959d5e661mr77943160ejc.29.1673883388696; Mon, 16 Jan 2023 07:36:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673883388; cv=none; d=google.com; s=arc-20160816; b=lGuto0h6eTX0d2Gz3Utg9UJNaaTsPxNlnW3qzhi1V59nm1d0F7y2a8eljV9HLkxpO7 2x/4ULsmhi3mPDGYVaPHB6pAdHzMeg2vGm/zOGRi7PbMa7kbBabX9heLNKe8Mays7A50 wZda9W9TUUUEjIq9/gPVQuSLXSR3Jx4DaW8xoAttEszZxB9pqTrb4CnvPBLAbl5dGE5X dZsREZVXSp/Hd9Fy8dV+m3s/3+e8x1nggZkPm7N7LCCBT8pIXF/HpSuWWmsNZuG7blh9 ME54TBAqGozX0iGkjYaWtxfRxB08s0ZC+B61OzuYv4bM9SN5TjJzNZvVLAy0WTBiQQMG Qn0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=/H17LVat7PBTonmFuvYtM/JmWpFq8DYAH00xgBFhBWY=; b=0xQlip5YnerwO9NOsyqKGFMOqtK+rBMLxpjYn++qXKX8xw+H8VEFGKiIyOLwDRUzD8 TiH70ps4Y+YOrpcNrdivnAk+6oq8f7effMx+rxV5Irrrdi3mK7ROJbhBGLp55eYpMZnj TQuXvQbORN+swX5qFSx3eoQLFd6OSvgSXYMrSC3rVWdRKIXz2ZvmoWUJiP00Ahf4PxAf AN/W4qXOf8nqXQ7+AWWEDRxmDI0bt85wwuXKlomtNXe6qZ7i4TesGA7MiehFGXCoAHFA ONaHfENT8V+RaKHHBxRLxrb8na6v907fw/NJLAP7XfBLN/E9ANlj30KPoQVht1cq4yB2 LqWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rH1rhjgv; 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 ht8-20020a170907608800b0086f510007e6si6207903ejc.908.2023.01.16.07.36.11; Mon, 16 Jan 2023 07:36:28 -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=rH1rhjgv; 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 S231195AbjAPPct (ORCPT + 63 others); Mon, 16 Jan 2023 10:32:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229543AbjAPPcY (ORCPT ); Mon, 16 Jan 2023 10:32:24 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C6F116AFB for ; Mon, 16 Jan 2023 07:27:42 -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 35B23B80FEF for ; Mon, 16 Jan 2023 15:27:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1CA8AC433D2; Mon, 16 Jan 2023 15:27:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673882859; bh=Zk7GE3Il4lxMYXyzndGj1Jxf/Pyj1fx7KVtHRNSl/5Q=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=rH1rhjgv3JSZdwUrAuFncYHlK9afwNv7tUnwWWw9c+WS2FMtdgljDNnQCCzEPHBXd CswzM4UnDBCWwcUG50S0A7ekskOJ1dgzGOW6wMn6QNubuZzBv1bDgrk86PDcukg+96 /AiBZz7naczKMw2ZVI0cGK6x1NyWIo0kds5qqKSCWNOfrtQ8+kOq368a4eLRZW9eps pChdC/y9vnAYYi6ZowpAIVNVrSopR+adWkTtP07slpQrbM7z5mgMi62luQ6bBKhGzs 0R3dlyKWcxJPA9WWmqBu7zoQ1qEEZ+WTQ6RPLglLXHu7hytanHFcyMOWL0uZtC6MR8 vTI3WLsN/N3qw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH wireless 1/3] wifi: mt76: dma: do not increment queue head if mt76_dma_add_buf fails From: Kalle Valo In-Reply-To: <20230113105848.34642-1-nbd@nbd.name> References: <20230113105848.34642-1-nbd@nbd.name> To: Felix Fietkau Cc: linux-wireless@vger.kernel.org, Lorenzo Bianconi User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <167388285630.25993.8694081633392719567.kvalo@kernel.org> Date: Mon, 16 Jan 2023 15:27:38 +0000 (UTC) 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 Felix Fietkau wrote: > From: Lorenzo Bianconi > > Do not increment queue head if mt76_dma_add_buf fails for Wireless > Ethernet Dispatcher rx queues. > > Fixes: cd372b8c99c5 ("wifi: mt76: add WED RX support to mt76_dma_{add,get}_buf") > Signed-off-by: Lorenzo Bianconi > Signed-off-by: Felix Fietkau > (cherry picked from commit fe13dad8992be0b26c1be390bcd111acf9892c17) 3 patches applied to wireless.git, thanks. 1132d1c834d6 wifi: mt76: dma: do not increment queue head if mt76_dma_add_buf fails e5c3ac895750 wifi: mt76: handle possible mt76_rx_token_consume failures 953519b35227 wifi: mt76: dma: fix a regression in adding rx buffers -- https://patchwork.kernel.org/project/linux-wireless/patch/20230113105848.34642-1-nbd@nbd.name/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches