Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp147034pxh; Tue, 9 Nov 2021 08:33:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJzHVnt7J2bc3FpSYnkrRnwgncxzavLv2FGobIssP2bOUKyow9aOmi2SolIoNqPKPJlyIKs2 X-Received: by 2002:a05:6e02:1d9e:: with SMTP id h30mr6340999ila.138.1636475634876; Tue, 09 Nov 2021 08:33:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636475634; cv=none; d=google.com; s=arc-20160816; b=tzbUEtWPgrleijtJZ2sZ6z8NCEloNWi7/jw9Ruq9ux3VLquW+qXN8E6b40xc244FGq XkRqMYLT/iQaqk5odQbAxjg0Y/6UmWbugtI7VKLKIb2LvTLamKXE6JNI5xWqDxtxeuSL ozZ14k/SYVxLYxcvB4C6KWTEu6LSdBgC/F1I67MU53BcdKt0kdJRMHpEYIXjIiEMRn40 NZSUs2/amy0atR0o5t8x5+d0oIk58lCRBAXTagIZTmHppItTIZo1KCwnvgZiHPyW6Qgs jpCPUo3CfJ/SKl7Hg2pyg5RaROJJeu/43t5Fv6O93MNSAZ79zUdAkIclwi4yRZ3LgZsd TTJw== 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:subject:from:user-agent :mime-version:date:message-id; bh=A0gdL6C0/sOsUOA0ax8sWoFiUUtVgvVLgiR4nQ1oD/w=; b=dDlSbiAMPf1BTjOHmstj3CofuOu3dun7iJDlUKit/TeJnxui4F0v6Dm5WGnGmqsvZw rCu4otiNE0dFFsMFRrm65jt12pRDDdpeTnY7EXYwmZWVXPjKgS7PErYH6ObI/t7X4juh rsOXsJRgQ0pTduvYOenGYEM4BPvIBr5b+HTBOsPBtqHEY0KSMUvpDLT7jkCfaZtPbXHX WTcEHnaK9loF8qCHehVHDJv5hWtIzB2k7Qq1X7pTjJUneA67NU2FmaBSTuVwC/srPpKS aAV1pp0C5QuU22Eapg8VMoW9deU36JjVsGSIGOnPLJMmNku6xJ1nlrET1ZbaIuTNJVLy L+lw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b69si26389178jab.32.2021.11.09.08.33.36; Tue, 09 Nov 2021 08:33:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244592AbhKII4K (ORCPT + 68 others); Tue, 9 Nov 2021 03:56:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244596AbhKII4C (ORCPT ); Tue, 9 Nov 2021 03:56:02 -0500 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [IPv6:2a01:488:42:1000:50ed:8234::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08221C061764 for ; Tue, 9 Nov 2021 00:53:16 -0800 (PST) Received: from ip4d173d4a.dynamic.kabel-deutschland.de ([77.23.61.74] helo=[192.168.66.200]); authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1mkMsU-0004Q1-88; Tue, 09 Nov 2021 09:53:14 +0100 Message-ID: <27297ff6-d970-7b9a-01f0-d5261d553e6b@leemhuis.info> Date: Tue, 9 Nov 2021 09:53:13 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 From: Thorsten Leemhuis Subject: Re: [PATCH] ath10k: abstract htt_rx_desc structure To: Francesco Magliocca , ath10k@lists.infradead.org Cc: linux-wireless@vger.kernel.org, enrico@fracta.dev References: Content-Language: en-BW In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1636447997;a9d42547; X-HE-SMSGID: 1mkMsU-0004Q1-88 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 08.11.21 17:25, Francesco Magliocca wrote: > QCA6174 card often hangs with the current htt_rx_desc > memory layout in some circumstances, because its firmware > fails to handle length differences. > Therefore we must abstract the htt_rx_desc structure > and operations on it, to allow different wireless cards > to use different, unrelated rx descriptor structures. > > Define a base htt_rx_desc structure and htt_rx_desc_qca_old > for use with the QCA family of ath10k supported cards > and htt_rx_desc_new for use with the WCN3990 card. > > Define htt_rx_desc_ops which contains the abstract operations > to access the generic htt_rx_desc, give implementations > for each card and update htt_rx.c to use the defined > abstract interface to rx descriptors. > > Fixes: e3def6f7 ("ath10k: Update rx descriptor for WCN3990 target") > > Tested-on: QCA6174 hw3.2 PCI WLAN.RM.4.4.1-00157-QCARMSWPZ-1 > > Co-developed-by: Enrico Lumetti > Signed-off-by: Enrico Lumetti > Signed-off-by: Francesco Magliocca As a Linux kernel regression tracker let me use this opportunity and say: Thanks for working on a fix for this regression. There is one small detail that could be improved: the commit message would benefit from a link to the regression report. This is explained in Documentation/process/submitting-patches.rst, which recently was changed slightly to make this aspect clearer: https://git.kernel.org/linus/1f57bd42b77c E.g. add something like this, just *without* the leading caret(¹): ^Link: https://lore.kernel.org/ath10k/CAH4F6usFu8-A6k5Z7rU9__iENcSC6Zr-NtRhh_aypR74UvN1uQ@mail.gmail.com/ Francesco, could you please do this in case you need to sent an improved version for other reasons? And if the patch is already good to go: could the subsystem maintainer please add it when applying? Thanks in advance. Let me use this opportunity to explain why I'm asking for this. Yes, that link is not really crucial; but it's good to have if someone needs to look into the backstory of this change sometime in the future. But I care for a different reason. I'm tracking this regression (and others) with regzbot, my Linux kernel regression tracking bot. This bot will notice if a patch with a Link: tag to a tracked regression gets posted and record that, which allowed anyone looking into a regression to quickly gasp the current status from the regzbot webui(²) or its reports. The bot will also notice if a commit with a Link: tag to a regression report is applied by Linus and then automatically mark the regression as resolved then. IOW: this tag makes my life easier, as I otherwise have to tell regzbot manually about the fix. ;-) BTW: feel free to drop me from the CC list after placing the Link tag, as I have no real interest in this. Ciao, Thorsten (¹) I used caret (the "^") before the "Link:" above, as that will make regzbot handle the parent mail as if it had contained a link to this regression and start to monitor this thread. At least I hope so, as I just added this functionally to regzbot, so this is the first test in the field. (²) https://linux-regtracking.leemhuis.info/regzbot/regression/CAH4F6usFu8-A6k5Z7rU9__iENcSC6Zr-NtRhh_aypR74UvN1uQ@mail.gmail.com/