Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp107418imn; Mon, 25 Jul 2022 11:10:33 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ve53x9FHnND4jUXeA+RluERmFdTYJgjzgWt09rkpcZXB9KLe1mVgJ3tEtVdGpFnrJdd7sX X-Received: by 2002:a17:907:7394:b0:72b:3e52:6262 with SMTP id er20-20020a170907739400b0072b3e526262mr11268888ejc.756.1658772633734; Mon, 25 Jul 2022 11:10:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658772633; cv=none; d=google.com; s=arc-20160816; b=gjnvHikWwfZLTpSYCAVNHpLO+cVtk3Wmr59TOqSQwLbj44nRQt+szbFgJtfTF9CN4J QCBfCXLRgyaMmJatRV5CiRPRq6sNNkKgvaoir7D/2e52xKCo791EMuc85ehfSWpBrpSv Ih0t66IT0WMOcIeL5UN4e5EIcuMp7zAcdQlPbUpnRPMPpbFpitGfixPH7BkGoqDxwgcT DaZYIUpXDGPGl9HiVoXytM/X3xMG1e41EmzvwboMxHu2s7LJ/9xPh1510qPEpnFh4K1k zSHAMeTB+KdwqFB9Jg8wxVzcSOpyTEtkrzXGZbJsZ52C6Pkd5l499+gwAKRnrsV0W/J6 K7bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=feWkt0xfcn7TYDFwAsc8ly2X2eUd/G9xFhqfdg2AgT4=; b=WXmVwSYRASxPujuksqmiKGeP/P/mRuu6FhdgCzEQueHOqJiKhmEhnqwtBsABdEZYo4 Ou3I/VgQWTW72tdcwqUCIPp0PAQmIS5otP4E+xWSON9FKWtoYIM512tBnHEmmyBhnauW p7l9MeXCQEbB4AMauXAVgShFeFWLG5m5w0sEbomCws582OyLRkBzNJQaKBbHuwX8XREN tdRUuyRwV/TgO7Ug+u8r9IGqL+iNXxvrfsdpK7J7Chednk6TrhCFPjfwNOCnA7GCmJF/ qHRXUx+l809aPdLplUuRI9AbbJCmAQpISSYneZ6IPNqb0j97/u9mkwcfkkaPIs4Kmdr9 p4sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RN3bNnf1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 d17-20020a056402401100b0043bc832d514si11887168eda.318.2022.07.25.11.10.07; Mon, 25 Jul 2022 11:10:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=RN3bNnf1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S232727AbiGYR5R (ORCPT + 99 others); Mon, 25 Jul 2022 13:57:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230324AbiGYR5Q (ORCPT ); Mon, 25 Jul 2022 13:57:16 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 229601C90F; Mon, 25 Jul 2022 10:57:11 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 86E84B810A4; Mon, 25 Jul 2022 17:57:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1F17DC341C6; Mon, 25 Jul 2022 17:57:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658771827; bh=cv8NQiE83GOv/DB+wSK/QtVSNmHqEKCAHuhQNzhIfxM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=RN3bNnf1qcACvLhVz3+mrnnm2wSCxhgepF5qQDBMARV1dju+rFw81BgPS0Yl/VIBX fshMJU1Vh88fcTMJBbzmh1Ud1+tJhMPK/CKq9Ainvt5DdoSyC0HoNkpOuUf6BM8A+V 0MuHcJuWokEUpi2ho2CDm5QuE+xVLx9qHpplB8vqSdCZ04E3EpbhXQf1klsZm5bjkl ZbQOvXHIbLxNo03s34bUTcVR/zNrpI7FPFsd7W07Wk1JF7b61PpD1UU8pEmuDupaR1 R5jmscp6n3a2gu+s6n+jHcVbFCkDhGMY5oL2rqFPqLjHIW8RiaEaQZB+p91qjtsxvN 4Uop5zyiUAi3Q== From: Kalle Valo To: Manivannan Sadhasivam Cc: Qiang Yu , quic_hemantk@quicinc.com, loic.poulain@linaro.org, quic_jhugo@quicinc.com, mhi@lists.linux.dev, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, quic_cang@quicinc.com, ath11k@lists.infradead.org Subject: Re: [PATCH v4 1/1] bus: mhi: host: Move IRQ allocation to controller registration phase References: <1655952183-66792-1-git-send-email-quic_qianyu@quicinc.com> <20220624072740.GA12171@thinkpad> <87k08an038.fsf@kernel.org> <20220720093909.GA5747@thinkpad> Date: Mon, 25 Jul 2022 20:57:00 +0300 In-Reply-To: <20220720093909.GA5747@thinkpad> (Manivannan Sadhasivam's message of "Wed, 20 Jul 2022 15:09:09 +0530") Message-ID: <871qu9rs7n.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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-kernel@vger.kernel.org Manivannan Sadhasivam writes: > On Mon, Jul 18, 2022 at 02:15:23PM +0300, Kalle Valo wrote: > >> + ath11k list >> >> Manivannan Sadhasivam writes: >> >> > On Thu, Jun 23, 2022 at 10:43:03AM +0800, Qiang Yu wrote: >> >> During runtime, the MHI endpoint may be powered up/down several times. >> >> So instead of allocating and destroying the IRQs all the time, let's just >> >> enable/disable IRQs during power up/down. >> >> >> >> The IRQs will be allocated during mhi_register_controller() and freed >> >> during mhi_unregister_controller(). This works well for things like PCI >> >> hotplug also as once the PCI device gets removed, the controller will >> >> get unregistered. And once it comes back, it will get registered back >> >> and even if the IRQ configuration changes (MSI), that will get accounted. >> >> >> >> Signed-off-by: Qiang Yu >> > >> > Applied to mhi-next! >> >> I did a bisect and this patch breaks ath11k during rmmod. I'm on >> vacation right now so I can't investigate in detail but more info below. >> > > I just tested linux-next/master next-20220718 on my NUC with QCA6390, but I'm > not able to reproduce the issue during rmmod! Instead I couldn't connect to AP. > > log: https://paste.debian.net/1247788/ I get "Entry not found" for that link. But yeah, there were several regressions in ath11k while I was away. I except that the could not connect to AP bug should be fixed now in wireless-next and linux-next. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches