Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp1636851rdb; Sat, 26 Aug 2023 10:33:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE7RSsRQlVxa8X4eL/hwUdccfUA05toJg5nQnE046+6rPCm587ePl7sUTennFj9+BpSUZOp X-Received: by 2002:a05:6512:3f09:b0:4ff:7e04:7575 with SMTP id y9-20020a0565123f0900b004ff7e047575mr17260881lfa.14.1693071189155; Sat, 26 Aug 2023 10:33:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693071189; cv=none; d=google.com; s=arc-20160816; b=tNuLPIHR34Hw71C9NsbdAf9E5j7aODQD+c1yXrIr68xsOQD37FdmM8YmaOPYHd0F/O 0al9bLVaPUTrs+hbtY7mtCmAQCxSU5bjPDD/CI3/CiPcx6/9YQ7An5yLnp60KtLRO4O1 gTgztYczZuJRv0cIvAcfV3H6KkAA1zIgy+h5Hu6sq5RdZsPBS1LxZ9/ZIJB3IU/WSqMv T7WMzhrzNgfHAZaUOHFm0z1VCFYHBF8HkHqUBrl8vd1ywZyJpvdiVn3qaEsF9cieqqWo 6o1k+9gHmt8ewpcHPbwfZBuT2eBwvfkCMxLJe3pOJtFMFA8HjZp6AHkHnmh5Zsmy44qk Ol/w== 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=sVjq0oAd7UaIE1Q4MPk3BwWtmhK2Cb85A1FYmRgj3sg=; fh=mPY+Sz6vklsTtXk/FnUZz+ybKMPhCYpUYZqPY97iv1Y=; b=vHjJxP9ANzbg7H2QLliHGaF5uI1O+eRdDgfI/HrAzzGQU7J6nRPH3l4J4vjRhirEk/ HGVxSPQvIKVFWVOf7gboJ3zFE5ITo25AHdBsEUhHT7ZFRrb4RrXS22bP+ifYdKgWmwcb tDuGqFxiJV96mb3U3LOBsTnvjtzwwQp3iX7rG0VmkbG9xVPidt3WmLdu694MUvrrYJBD Lvv2/vDbFUdYNfzfNXZMA2SBKlPnlOF5s00iNY2LBP6Rjlfqjyr2I40wdq5Zf8FQLprQ Wi/2GIl5/9hf7Jepc+lGTP/8UQs0eepsdUnmgmLjY2D7XFhuaTA8D8e12YVZsEjTTJX3 CurQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oWeC7YdL; 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 ay8-20020a056402202800b00525761581ddsi2509070edb.25.2023.08.26.10.32.43; Sat, 26 Aug 2023 10:33:09 -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=oWeC7YdL; 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 S229695AbjHZPxb (ORCPT + 44 others); Sat, 26 Aug 2023 11:53:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229776AbjHZPxS (ORCPT ); Sat, 26 Aug 2023 11:53:18 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87D121BCC; Sat, 26 Aug 2023 08:53:16 -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 1D3F360A1D; Sat, 26 Aug 2023 15:53:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8408FC433C7; Sat, 26 Aug 2023 15:53:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1693065195; bh=jRp5J5zfBMQENdgSowokFSlTIvvrIvYSssKqh8Hw7C0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oWeC7YdLlOfWmW9hf4SWWtktwWX8R7IW/D5JH/PvI7Yd51paYleLvUIvzA2QCIUbW 06Z5bcXAFTj3y8Ur04h4ew+JcDSB7hrkVZv8RT+vlWPiaxEKGyUPghLlCjahtQRD6K SHEDpNidSXNPPR8vP2zIkX2CIj+esuy/SMsoXlLyZ3ofuteWHh3Re10WJmOQd3e4Ym LXAalMWJFXf4OM95urH+pJDtYhugleVYvBu+LI4WHLutS0koLb7uPJlImSMrs1Nqib nU9yLCDLkX5nD+Sp0ARk/tRvwuF8jQ2Wk7vE4HlcdGFVxUpQRozb/mH9lkmAjEeLt0 oVXq9iHyNQG1A== Received: from johan by xi.lan with local (Exim 4.96) (envelope-from ) id 1qZvbA-0000QB-0P; Sat, 26 Aug 2023 17:53:16 +0200 Date: Sat, 26 Aug 2023 17:53:16 +0200 From: Johan Hovold To: Kalle Valo Cc: Jeff Johnson , Bjorn Andersson , Manivannan Sadhasivam , Konrad Dybcio , Manikanta Pubbisetty , 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> <87o7izi6br.fsf@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 Tue, Aug 22, 2023 at 03:44:45PM +0200, Johan Hovold wrote: > On Tue, Aug 22, 2023 at 03:56:24PM +0300, Kalle Valo wrote: > > Johan Hovold writes: > > > On Wed, Aug 09, 2023 at 09:34:32AM +0200, Johan Hovold wrote: > > > > > >> Disabling threaded NAPI caused a severe regression in 6.5-rc5 by making > > >> the X13s completely unusable (e.g. no keyboard input, I've seen an RCU > > >> splat once). > > > > Any chance we can get the offending commit reverted before 6.5 is > > > released? > > > > The problem here is that would break QCN9074 again so there is no good > > solution. I suspect we have a fundamental issue in ath11k which we just > > haven't discovered yet. I would prefer to get to the bottom of this > > before reverting anything. > > Sure, ideally we can find and fix the underlying issues these next few > days, but since this regression was introduced in rc5 in an attempt to > address the QCN9074 issue which has been there since 6.1 I think we > need to revert otherwise. I've managed to track down what causes the hang on the X13s after disabling threaded NAPI. Turns out to be a severe regression in the genirq code that causes the software resend tasklet to loop indefinitely. I've just sent a fix here: https://lore.kernel.org/lkml/20230826154004.1417-1-johan+linaro@kernel.org/ I've also made some progress on the QCN9074 hang, but keeping the threaded NAPI revert for now is indeed the right thing to do. Johan