Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp1266135lqo; Thu, 9 May 2024 09:01:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVFHiANUretnspZkMtBsNXnFLC6M1VZJF/tnQfPopwS9xf6zT2gv0L7RlpdUAWD4MYwoxWISzkEWdhDI8nlYW1aqTmQjyuFJc2++MKDmg== X-Google-Smtp-Source: AGHT+IHzMxRzmmA0Mak6++9+urkAQAMJTRltwUlvYd3ZnOunZaAFHPiR3zTpswmOwqxVeLbI4pZw X-Received: by 2002:a17:906:7004:b0:a59:bcfd:d950 with SMTP id a640c23a62f3a-a5a2d5cdbecmr3247066b.46.1715270492800; Thu, 09 May 2024 09:01:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715270492; cv=pass; d=google.com; s=arc-20160816; b=r1Ks0E+sRUFBBnA67pwiYuY54VkWkZEOx6X6EPzKXYLyHRVKtzNbb9qLIfCOXTzqjC cLQ5dnLsiitzW7DDpERri7chYfcj4W6ECDt4N09k2f7jAtrwYLUU/tDYXZzwSs8EynKp xbudBWUYZ+dkOyyoQto/Bh/Xgl47Cf9GdM78ROLpTjC3yvMXcZQduknoH9Aa8/c26T// E459vf8UrPvSrrUcC2PDcjqMZQEkmhjL+CFl/laFHmWSoOdlcXemLxxcjd72Ayu0JJgp i9qjOElR88HJAOmmhCsVkLmtMTK/5D/Rfa+rx9CfBjhS/mcUArVfuQzFhgj/PjYd82UZ /GYw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=3EEhUKWd5c4fSrPq5vSy7n9bU4HdSuxZObxt29tu6T8=; fh=z5fNI4Rel9StiP7Kx6v9o5HcDxef372bMCQb/2v1/SU=; b=LGfwst7dQZwy1AOQk6FBO2ZngovEZmt0loAvFoNtzUJeiieb/70eJvrWmyXIAUIxPA r02ekTmPSEsDXwPg7RPPBmkDbPZEc2n0YVXcQCtvXcvkdGeFulDIK8PnzIdn+d+BWbKs wojo4FTFrB9215oINBWhuNaRq36Tp+dVlUJXTiB6FoU8QYilCLxmg+boFKs6YSV7Mbh4 MtSoOSmsu8jsmUATtsBmSZSbE6jIZWfyWyg6lWpM6R1uWdQtybhBtWQ1Fp5pmhrM6nhJ h3tZHgRZibK/bpStBelo3EiICL00DoQPN3mgyFo6ceg/mqe3ZdH+UzuEHqvSZRGaYy0q Zmlg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=AsulzHJp; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-7395-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7395-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17c042f0si97201866b.904.2024.05.09.09.01.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 09:01:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7395-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=AsulzHJp; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-7395-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7395-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 69ED41F220A5 for ; Thu, 9 May 2024 16:01:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CB8A516F856; Thu, 9 May 2024 16:01:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="AsulzHJp" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 139F616F844 for ; Thu, 9 May 2024 16:01:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715270480; cv=none; b=ZeniOwzcGi3MctL9mxCNGe9NVuddYxHIU7bl4czTL9nulcQSIGfthKBp4WnAW7Mc1eLUpgm0CXaJh/rZEUzi6n2o1LBqmfuoQ5RpnfHWJZapZdy6gyz++9TuC8qOI1Ce61VHrBl9r70e9J+nmQ7iKHr98M0zfXXb4mSyxN7MEhs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715270480; c=relaxed/simple; bh=OJ5Kfyjd/swOPO0PkrC2I1zIRLh5YTl/TVWDhPZsVbM=; h=Message-ID:Date:MIME-Version:Subject:From:To:CC:References: In-Reply-To:Content-Type; b=Nnf/qwooLxttlwvvr00e5IcBPI9W+MJvRTfHzppTQjpo860MvPQj9T77z3xgv98s6R+AWKX+XsyhlnZpMb5Y0eTNk+uF9KdryUnYYoAqIpysiAahBSJGsJH3xfmJFJwcamFjmodWCmph0p09T8chgBZfwihkP2atr4Pe4WJQ+js= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=AsulzHJp; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 449E2fbP011391; Thu, 9 May 2024 16:01:13 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:from:to:cc:references :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=3EEhUKWd5c4fSrPq5vSy7n9bU4HdSuxZObxt29tu6T8=; b=As ulzHJpnEhcsBUq5vi8KZ0fiJeaLU63VbGt1Avq/ZVsSGx4pxcBXEv5jvBkiYkAj7 pHJvmnprz2n4oGU9YD5593rQD4NRtVdadVd++Py7YtDwfIyGoHdUKOe1CiBB8fej DkB4jqxpbnD4aHkA74P2F+nde4PkfzFWsXKn0+63D1M6Y8DPsT1U9GNPioUJwh3k xm+3RE9YgGHzLc3G04hXoGBYtECzucRkp8SkCcdxKquqklPlb1iR0vxFsPYbApvV 7lhClkp/JJRksf/j//qm+OYqe43ie35B5fHxi/dxKEBhzLCR17Iqo6fvJtBmjTQ+ m/qKgfhsVKrZUAuCusKQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3y09nqk0m2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 09 May 2024 16:01:12 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 449G1Adi025014 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 9 May 2024 16:01:10 GMT Received: from [10.110.102.9] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 9 May 2024 09:01:10 -0700 Message-ID: Date: Thu, 9 May 2024 09:01:09 -0700 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] wifi: ath12k: Fix Tx Completion Ring(WBM2SW) Setup Failure Content-Language: en-US From: Jeff Johnson To: Nithyanantham Paramasivam , CC: References: <20240409190922.4180631-1-quic_nithp@quicinc.com> <514da0bc-f9f6-41fb-9e3e-72677394695f@quicinc.com> In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: mMU3UelxEeyU9ecZuigr54pCul7RjuOH X-Proofpoint-GUID: mMU3UelxEeyU9ecZuigr54pCul7RjuOH X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-09_08,2024-05-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=671 priorityscore=1501 bulkscore=0 suspectscore=0 mlxscore=0 impostorscore=0 malwarescore=0 spamscore=0 lowpriorityscore=0 adultscore=0 phishscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405010000 definitions=main-2405090108 On 5/9/2024 7:39 AM, Jeff Johnson wrote: > On 4/18/2024 10:52 AM, Jeff Johnson wrote: >> On 4/10/2024 1:25 PM, Jeff Johnson wrote: >>> On 4/9/2024 12:09 PM, Nithyanantham Paramasivam wrote: >>>> We observe intermittent ping failures from the access point (AP) to >>>> station (STA) in any mode(AP-STA or Mesh) configured. Specifically, >>>> the transmission completion status is not received at Tx completion >>>> ring id-4(WBM2SW ring4) for the packets transmitted via TCL DATA >>>> ring id-3. This prevents freeing up Tx descriptors and leads >>>> to buffer exhaustion. >>>> >>>> Currently, during initialization of the WBM2SW ring, we are directly >>>> mapping the ring number to the ring mask to obtain the ring mask >>>> group index. This approach is causing setup failures for WBM2SW >>>> ring-4. Similarly, during runtime, when receiving incoming >>>> transmission completion status, the validation of the ring number by >>>> mapping the interrupted ring mask. This is resulting in >>>> validation failure. Thereby preventing entry into the completion >>>> handler(ath12k_dp_tx_completion_handler()). >>>> >>>> The existing design assumed that the ring numbers would always be >>>> sequential and could be directly mapped with the ring mask. However, >>>> this assumption does not hold true for WBM2SW ring-4. Therefore, >>>> modify the design such that, instead of mapping the ring number, >>>> the ring ID is mapped with the ring mask. >>>> >>>> According to this design: >>>> 1. During initialization of the WBM2SW ring, mapping the ring ID >>>> to the ring mask will ensure obtaining the correct ring mask group >>>> ID. >>>> 2. During runtime, validating the interrupted ring mask group ID >>>> within the transmission completion group is sufficient. This >>>> approach allows the ring ID to be derived from the interrupted ring >>>> mask and enables entry into the completion handler. >>>> >>>> Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 >>>> >>>> Fixes: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices") >>>> Signed-off-by: Nithyanantham Paramasivam >>> Acked-by: Jeff Johnson >>> >>> >> Please remove my Acked-by. >> >> I've bisected a kernel crash on my laptop to this patch > > While debugging my crash I've determined the issue isn't with this patch, so > restore my: > > Acked-by: Jeff Johnson > > /jeff > OK, I got confused between testing public patches & internal patches. It turns out this version actually does have an issue, and there is a respin coming. So reinstate the NAK on this version.