Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp632227rwl; Wed, 9 Aug 2023 22:00:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF5IhqjMRBTcBaodDYbg6OCVjoEG0tc0w4gbrHzZNbMb+WW++K50g9WkL+ASejJ4YQ7Whl6 X-Received: by 2002:a17:906:5c:b0:99c:ac84:663a with SMTP id 28-20020a170906005c00b0099cac84663amr1008673ejg.65.1691643637684; Wed, 09 Aug 2023 22:00:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691643637; cv=none; d=google.com; s=arc-20160816; b=uhax9itSJipEgRf9jP6B+50Swwb27nxRT+ELNfhGH+NDzlV2HFySQzzEKDcWeR2XGG HFoPNsunEiqMrHy+uu/WrlNBCvkvAm3ephJiIN4XpvdiHgaKYQ4Z5SXIMprA8qhAtfrX LIOyEoNjvgQ97rmJoJWnetJwrrLiOlzi/uMPpxUU5d0Yi7bl3FpcYw/4NahM33R5e/bI sV6T4Pyb9/i9s24Z2en+ArbGIFV2lPhe9SfYpB0To1H7zjRc/33SQN3UCm+lDeP3jb1l fWX8OxmtowePXxh3y1TOp1x79aw/VN6aKVY4OOJr+jXlm2Kz2vRycW497BsrX77e65f1 ycgA== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=80TgkSOn3r8Pny1tEgsCx24DCuBgp5vRLONNgzfdUJE=; fh=tnZu8G6AWWUrCNXsrq43teC53Y0eAqEWbS6mv0xCvkI=; b=e1fouhhR4i1STV0IaVPXyLDrPM7Fyac/9h7qJjBUAxVaYAlxFooQ5/Xm7hec1qPyxv dioy0ym+oT5iJQX7Maz3AlXireEfVQk/PgEjeUIHQoWM9uX21ZL9rPkOwOjPetdb1vjq yzvQbv4Spv6UGE58f5pgsY84Po4w/+6Khn6TLhbCj0UwmFXCRXrBhusqljLUitowjpMR gu0o4kFLWmCFxxGG3CW01VDn55Av9oPnJaY7I1aK0uG6e5Vv9mOyuh2wdu5l3V9Aaus/ g69C39nROJZA3gBnWyAPDrcNQFLnvUZuYo39WgL+LBRNMliTl44u+sRord1mYhVX4STN mlsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=dGUG1FK6; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lj18-20020a170906f9d200b0098e2aa0bb92si754804ejb.137.2023.08.09.22.00.19; Wed, 09 Aug 2023 22:00:37 -0700 (PDT) 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=@quicinc.com header.s=qcppdkim1 header.b=dGUG1FK6; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232062AbjHJErA (ORCPT + 56 others); Thu, 10 Aug 2023 00:47:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229665AbjHJEq7 (ORCPT ); Thu, 10 Aug 2023 00:46:59 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DA101982; Wed, 9 Aug 2023 21:46:58 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 37A4ctEM024311; Thu, 10 Aug 2023 04:46:29 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=80TgkSOn3r8Pny1tEgsCx24DCuBgp5vRLONNgzfdUJE=; b=dGUG1FK6QHlB1hVKPrL2nMv4sz7ugd8isqMYG4jGoLshN79e2gtM8k+z85pyTY9BhX7b Qie1oFqb3CssrW0vZD6UJuYrLotTLAQ38wJkkVXATp56UsWTpsuZMMYtac90qyouxVWI YS27ttZDBWIepDjqV+jVzzDVlXt4IfQQ3CYxS8WK4joKZ5tsWdU4J8Iui0B/bQxt7/Zk x6TCRg3rF8Ao6s3n+nnC4i5cZmOL5di4xEE9OPVrXEFtijqhP5CfiDE1555J925cjuUi M7e42CAPbBVTdo4O4y21Y74Z8vVyPmaDr8nKKCMC3tegkyEElOD435Tr3lNKKe0+N55r eQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3sc1ny2upu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 10 Aug 2023 04:46:28 +0000 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 37A4kSqf028319 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 10 Aug 2023 04:46:28 GMT Received: from [10.204.118.225] (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.1118.30; Wed, 9 Aug 2023 21:46:24 -0700 Message-ID: <25b778d4-81dc-506b-47f1-e9f16d49682f@quicinc.com> Date: Thu, 10 Aug 2023 10:16:21 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH] Revert "Revert "wifi: ath11k: Enable threaded NAPI"" Content-Language: en-US To: Johan Hovold CC: Johan Hovold , Kalle Valo , Jeff Johnson , Bjorn Andersson , Manivannan Sadhasivam , Konrad Dybcio , , , References: <20230809073432.4193-1-johan+linaro@kernel.org> <42f78c02-1ddc-cf1c-694f-abf9059dfb60@quicinc.com> From: Manikanta Pubbisetty In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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-GUID: 6nDj2Hu3oNy2GWeh8iYUNTmCTdfnVwCk X-Proofpoint-ORIG-GUID: 6nDj2Hu3oNy2GWeh8iYUNTmCTdfnVwCk X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-10_03,2023-08-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxscore=0 spamscore=0 bulkscore=0 adultscore=0 suspectscore=0 lowpriorityscore=0 impostorscore=0 malwarescore=0 mlxlogscore=470 phishscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308100041 X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,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 8/9/2023 2:46 PM, Johan Hovold wrote: > On Wed, Aug 09, 2023 at 02:32:37PM +0530, Manikanta Pubbisetty wrote: >> On 8/9/2023 1:04 PM, Johan Hovold wrote: >>> This reverts commit d265ebe41c911314bd273c218a37088835959fa1. >>> >>> Disabling threaded NAPI causes the Lenovo ThinkPad X13s to hang (e.g. no >>> more interrupts received) almost immediately during RX. >>> >>> Apparently something broke since commit 13aa2fb692d3 ("wifi: ath11k: >>> Enable threaded NAPI") so that a simple revert is no longer possible. >>> >> >> This is getting as weird as it would get :) >> >>> As commit d265ebe41c91 ("Revert "wifi: ath11k: Enable threaded NAPI"") >>> does not address the underlying issue reported with QCN9074, it seems we >>> need to reenable threaded NAPI before fixing both bugs properly. >>> >> >> It seems that the revert has actually solved the issue reported with >> QCN9074. >> >> https://bugzilla.kernel.org/show_bug.cgi?id=217536 > > Sure, but it's only a workaround as the underlying cause has not been > identified. > >> We were trying to reproduce the problem on X86+QCN9074 (with threaded >> NAPI) from quite some time, but there is no repro yet. >> >> Actually, enabling/disabling threaded NAPI is a simple affair; I'm >> wondering to hear that interrupts are blocked due to not having >> threaded NAPI. > > It sounds to me like the driver's locking is broken if moving to softirq > processing hangs the machine like this. But I have not had time to try > to try to track it down besides verifying that reenabling threaded NAPI > makes the problem go away. > >> What is the chip that Lenovo Thinkpad X13s is having? > > It's a WCN6855 (QCNFA765). > Also it is worth to give a try with this patch here https://patchwork.kernel.org/project/linux-wireless/patch/20230601033840.2997-1-quic_bqiang@quicinc.com/ . This seems to be fixing some known interrupt issue on WCN6855. Could you pls give a try? Thanks, Manikanta