Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp785651rwb; Fri, 13 Jan 2023 04:14:38 -0800 (PST) X-Google-Smtp-Source: AMrXdXuLqN0i+GwVd3reTeOXdx24hPA/brCNY8DxSzg9ybOfk6+Ovj9jzZoTxUBDY9DL1O5PhlVw X-Received: by 2002:a17:902:7089:b0:192:549b:97c3 with SMTP id z9-20020a170902708900b00192549b97c3mr9847442plk.42.1673612078679; Fri, 13 Jan 2023 04:14:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673612078; cv=none; d=google.com; s=arc-20160816; b=elxySEg+j5tGSPOhMQXLoyAVWpXAW71bSSND4hZzJyTGwyy1IJARo49RwWkyghFGAZ gytZ8SMQ+rLEojK+bJrHB/DGnwyU8tHTB+A/5e56lxJNGIi57S3H1G90oiocQqZgP+J+ hSjjlxzdHLgS92KHp3H32Whj6F7ieMi7cXaZjH8fZtRJcsuQx7kf5IMvX7YBw+q5Jpnx aDyzJ7Kx2qu7n0qyfstKOaDXrlV5yaYnrrendO2Npq16Dyig6fMIbxzDGuiaGDSb2YSg eFJ0PGTWiCCEw1PnuxUGj8VEbNOh1SWhtkmCSEw9RDD0Cc6IK7O9LxiFKIbbZA2DyQor 10YA== 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:reply-to :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id; bh=Vs/ALxIYjHydvJg7QbVJ7Ay9baecuPYYUfwYblJ15Yg=; b=X50P8JxrRvJ2ciyxK+gKx8UOI2m24d9xWdTz380bMUlOyLe230KHXzo3T6/FF26/6C WxxeJJ7ZAoUN9CDvIT+NHQ87Lq1Vv6+7dbEoh9U5SCOOD2MFzY8MltO2UpGEJOsU+TK6 SmD880tD973x8PkOMEdW6SBg6tXu+VZfA26krSuv8qlw3Xt3kJ1uCDvRTRxDmXfv7b6x bT3p2wRbB0OkLJS0tYa0Fb8AKmT+/90As+S0e/wtQh9aBtQ5xlobPv18H1HfF/JkwD6E 7xgvxkjQ0Ihz1SRpo2UaqO2na4OONrWQyuXJDuGs61NZ6mWGaOP//fWg0OMj3laerrGI CC+w== 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 iz17-20020a170902ef9100b00188f0ca6838si17550117plb.569.2023.01.13.04.14.27; Fri, 13 Jan 2023 04:14:38 -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 S241096AbjAMMOJ (ORCPT + 65 others); Fri, 13 Jan 2023 07:14:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241117AbjAMMNV (ORCPT ); Fri, 13 Jan 2023 07:13:21 -0500 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A42AAE7A for ; Fri, 13 Jan 2023 04:07:56 -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 1pGIqh-0007Sr-8b; Fri, 13 Jan 2023 13:07:55 +0100 Message-ID: Date: Fri, 13 Jan 2023 13:07:54 +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: [PATCH wireless 3/3] wifi: mt76: dma: fix a regression in adding rx buffers Content-Language: en-US, de-DE To: Felix Fietkau , linux-wireless@vger.kernel.org Cc: Kalle Valo , Mikhail Gavrilov , Linux kernel regressions list References: <20230113105848.34642-1-nbd@nbd.name> <20230113105848.34642-3-nbd@nbd.name> From: "Linux kernel regression tracking (Thorsten Leemhuis)" Reply-To: Linux regressions mailing list In-Reply-To: <20230113105848.34642-3-nbd@nbd.name> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1673611680;7f227252; X-HE-SMSGID: 1pGIqh-0007Sr-8b X-Spam-Status: No, score=-1.9 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 13.01.23 11:58, Felix Fietkau wrote: > When adding WED support, mt76_dma_add_buf was accidentally changed to set > the skip_buf0 flag for tx buffers on the wrong queue descriptor entry. > Additionally, there is a rxwi leak when rx buffer allocation fails. thx for working on this > Fix this and make the code more readable by adding a separate function for > adding rx buffers. > > Reported-by: Mikhail Gavrilov > Tested-by: Mikhail Gavrilov Many thx for taking care of this. There is one small thing to improve, please add the following tags here to make things easier for future code archaeologists and give proper credit: Link: https://lore.kernel.org/r/CABXGCsMEnQd=gYKTd1knRsWuxCb=Etv5nAre%2BXJS_s5FgVteYA@mail.gmail.com/ Reported-by: Mike Lothian Link: https://bugzilla.kernel.org/show_bug.cgi?id=216829 Reported-by: AngeloGioacchino Del Regno Link: https://lore.kernel.org/lkml/20230112171706.294550-1-angelogioacchino.delregno@collabora.com/ To explain: Linus[1] and others considered proper link tags important in cases like this, as they allow anyone to look into the backstory of a fix weeks or years later. That's nothing new, the documentation[2] for some time says to place such tags in cases like this. I care personally (and made it a bit more explicit in the docs a while ago), because these tags make my regression tracking efforts a whole lot easier, as they allow my tracking bot 'regzbot' to automatically connect reports with patches posted or committed to fix tracked regressions. Apropos regzbot, let me tell regzbot to monitor this thread: #regzbot ^backmonitor: https://lore.kernel.org/r/CABXGCsMEnQd=gYKTd1knRsWuxCb=Etv5nAre%2BXJS_s5FgVteYA@mail.gmail.com/ > [...] Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) [1] for details, see: https://lore.kernel.org/all/CAHk-=wjMmSZzMJ3Xnskdg4+GGz=5p5p+GSYyFBTh0f-DgvdBWg@mail.gmail.com/ https://lore.kernel.org/all/CAHk-=wgs38ZrfPvy=nOwVkVzjpM3VFU1zobP37Fwd_h9iAD5JQ@mail.gmail.com/ https://lore.kernel.org/all/CAHk-=wjxzafG-=J8oT30s7upn4RhBs6TX-uVFZ5rME+L5_DoJA@mail.gmail.com/ [2] see Documentation/process/submitting-patches.rst (http://docs.kernel.org/process/submitting-patches.html) and Documentation/process/5.Posting.rst (https://docs.kernel.org/process/5.Posting.html) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr If I did something stupid, please tell me, as explained on that page.