Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp5375106rwb; Wed, 9 Aug 2023 03:15:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEqZMR7KjM5PaLHuch+WUPi1luc3JEabMFQbsTf1P5fILYMawsHzkUHBbWXgl+2kmJpUBhO X-Received: by 2002:a17:902:f801:b0:1b1:7362:9a18 with SMTP id ix1-20020a170902f80100b001b173629a18mr1766348plb.27.1691576123872; Wed, 09 Aug 2023 03:15:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691576123; cv=none; d=google.com; s=arc-20160816; b=lCfFTzJhSNzHavedhSy1yTtpDJQ/OK+/OrGSflTfRxvOxLltO1LQL4EcxSv5EMvOUL gEo5sMHGW4DHSp6uaxRbUhQ2KOwj0lHFUPK4D2SIEsYZ9j5XbRYSLnUO4SNXemNrpyzg +mRoy0ZO7KO7cKwcaxcBzFhdq2IW+yMcMrw3bdm7eeujBFtOgCdTrCoKtdpxPORJ2pil DJrBRfQt0azRRZ0dglo6hf+IZ9hWIjgzUYs2ucksHGB/qeI1OifYCL6AC346LxNTw59h i7WpXM635P3fBmpqMxhHo/Wn1XHAsxzHT0fOLlj3COHA8QPF/NuRrm5VUVXDN1om+Jw+ StOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=gKtjwNrgOD1ZZ/Yw8Sk/i6/klei34dMMDdRrSjvudho=; fh=d+s+hYJHI3zMU5E4YGBf+CkKDcilTrd/LL6CL36hnT8=; b=PLmFLNnXGOD711BN9QYBuawTXgi7JZAWiTEcLXECFyw1eWoJ+n7MaHb2+/GzTE7uhm sNWVmRGlAVfuGL0sU9Wrd6pp1/LEozzCUlWO8LcLolGvj5deD1tUQK7bVCoWvTyGOo41 VXG9A1MhV7HDGtAu6XrADfFYaElWPdbgQ0X3cK/3cHZurPgccZZoViriaONcE5PRn5kL 08Qe6l9aWBMBlpPsA4sh6mtnnEMasqilxVXhtentzxGxa5kTVqcUkc4gqQUzOUeawe+T fPBqFnVsHmB+u+Mi3iGKxLXCjsUGGrVRfPSQQvcP28XRew+UI7rBrZ4MlcF4j/HTP6um HqhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="plM/dt4F"; 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 q18-20020a17090311d200b001a6f0eab385si9319878plh.55.2023.08.09.03.15.16; Wed, 09 Aug 2023 03:15:23 -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=@kernel.org header.s=k20201202 header.b="plM/dt4F"; 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 S231944AbjHIJQL (ORCPT + 56 others); Wed, 9 Aug 2023 05:16:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231902AbjHIJQK (ORCPT ); Wed, 9 Aug 2023 05:16:10 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FC8C1FCE; Wed, 9 Aug 2023 02:16:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 891346309A; Wed, 9 Aug 2023 09:16:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF4BDC433C7; Wed, 9 Aug 2023 09:16:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691572569; bh=9V4zZTiTx/OUaeehWA5kos6hj9j4FO0wAOEIeQtMA0M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=plM/dt4FUnY/BBMbowR2boeB0PV2QPQxyJhZWIUWFBYzFaHbWiSy0uAVukIIRxIJj Qbs5YH5fxisix6kwrqU+A9qH+YaVPi4wvt2UXE5876MpaOutCmLxqZdvV5X6XmHYj0 pPNm1/Ov+grRbI7yNXDvXz38ZTXsEkRFEV3dN+1n+w6Ztvj4vJqYsHe7yYksDl5ELw CjG7hf1UbkWJXvJZLmUt/qXmb8XuuW6q0qAsEzAKpOHQGJw/gNiIg6zwtD0w6Vzv5z JKedvArhKS0Gt0WXPkoZcRrMjMJbrLG7vMPGQCpNUb0ajckB5MiyhxHRYKgeN/SYCX lEuAGgjvQAe6w== Received: from johan by xi.lan with local (Exim 4.96) (envelope-from ) id 1qTfIU-0002lc-1l; Wed, 09 Aug 2023 11:16:06 +0200 Date: Wed, 9 Aug 2023 11:16:06 +0200 From: Johan Hovold To: Manikanta Pubbisetty Cc: Johan Hovold , Kalle Valo , Jeff Johnson , Bjorn Andersson , Manivannan Sadhasivam , Konrad Dybcio , ath11k@lists.infradead.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Revert "Revert "wifi: ath11k: Enable threaded NAPI"" Message-ID: References: <20230809073432.4193-1-johan+linaro@kernel.org> <42f78c02-1ddc-cf1c-694f-abf9059dfb60@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42f78c02-1ddc-cf1c-694f-abf9059dfb60@quicinc.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, 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 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). Johan