Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2449149pxb; Tue, 9 Mar 2021 02:51:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJyRT1yq5J1DudkXnIFUA3f9zNhBHgCk7pcWqYU0pT5Z02Rh4ww66LLXyllqzJuSUvuW9Bbv X-Received: by 2002:aa7:c9c9:: with SMTP id i9mr3268185edt.160.1615287068281; Tue, 09 Mar 2021 02:51:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615287068; cv=none; d=google.com; s=arc-20160816; b=QaQlR/+wdZZBOKMDot07CiwKafhpfF/rt2PjKF6Z0YKbEY9ikbEzI5vqIZFfvm6z3Y tvWduepaRNrXPIdlV4JkY4tI7dxjvaLulMm/QO/L3kLKtwoMztJXjeLAufEF4bjBZDH5 f13BanvQUOM4wWHYu8qzq+pYkEtcAKihPYYWmyiNJb/LJVGKaog5OsPQCKY6yXHY3Xo3 eEhwIFU7sX7QcCkBAr1HaihDHI+TRFYngT4Wr0IYDGZfQ2+e6H00VjWZTUepw2kB2rH7 4uO/RCb/928On7bOlx7gAriH+3vGryv5gc9tIwVO1szp9EziE7JhkyPznsUsJs65vQN5 KfwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dmarc-filter:sender:dkim-signature; bh=262kPBkfPskEU7H8i6yK0y3xXTvs+et/XQylcPjZ9UU=; b=W1rIxJCmAQRuyMm4RhpR2ZtZRrRtEtjlVJfMwdZ7H6pbBHYK5312SO5OKJZm8Kd7K0 FX8MUIog7OFmIFjv+nDoAczzV1bW05uhGIdGDKJNvJ5Fzu3p/Fi9plVXWBCVGqtDx1Bi MaX9RmtAzKwpsrjsqNOAPEQspCz6Rjlds6DG4D8Yjqs6FaKTyzdUFa9D//CNu0myoNTI aAZtWLb36CnGC4i9MMy585iWHPT1tQfZQIEVzLzbLyerPq2PH/BdHJX8+X8uPb8iu4S0 2BdTfL0s3SdgLD6fMD0GxLLH4nWIESylt+kwo+n4WrQcCA6DeABc6uh1WoHa/LvQLZVp vOkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=pHp5jDaD; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ji4si9098057ejc.235.2021.03.09.02.50.42; Tue, 09 Mar 2021 02:51:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=pHp5jDaD; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230143AbhCIKuK (ORCPT + 99 others); Tue, 9 Mar 2021 05:50:10 -0500 Received: from m42-2.mailgun.net ([69.72.42.2]:31457 "EHLO m42-2.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229980AbhCIKti (ORCPT ); Tue, 9 Mar 2021 05:49:38 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1615286978; h=Date: Message-Id: Cc: To: References: In-Reply-To: From: Subject: Content-Transfer-Encoding: MIME-Version: Content-Type: Sender; bh=262kPBkfPskEU7H8i6yK0y3xXTvs+et/XQylcPjZ9UU=; b=pHp5jDaDqE4ZxeUTxHYS7Uc1bOvh4CEc47zLvU3mQh0Cis28uXM1WS2n+GC9ZDKkpuxy1mvD ben5kBB1eQqeNaGYW0HyT47CmPsBxCxr5OgOt8UHqlw0D/YV4+mIcLSRJ3V+eJUmujWMhnIa 3La8a1/+jrFPBecB/PFC/JSfYqk= X-Mailgun-Sending-Ip: 69.72.42.2 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n05.prod.us-east-1.postgun.com with SMTP id 604752bff842f723a9da3fad (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 09 Mar 2021 10:49:35 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 155B5C433ED; Tue, 9 Mar 2021 10:49:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,BAYES_00, MISSING_DATE,MISSING_MID,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id B3619C433CA; Tue, 9 Mar 2021 10:49:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org B3619C433CA Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v3] ath10k: skip the wait for completion to recovery in shutdown path From: Kalle Valo In-Reply-To: <20210223142908.23374-1-youghand@codeaurora.org> References: <20210223142908.23374-1-youghand@codeaurora.org> To: Youghandhar Chintala Cc: ath10k@lists.infradead.org, ath10k-review.external@qti.qualcomm.com, davem@davemloft.net, kuba@kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kuabhs@chromium.org, dianders@chromium.org, briannorris@chromium.org, Youghandhar Chintala User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.5.2 Message-Id: <20210309104935.155B5C433ED@smtp.codeaurora.org> Date: Tue, 9 Mar 2021 10:49:35 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Youghandhar Chintala wrote: > Currently in the shutdown callback we wait for recovery to complete > before freeing up the resources. This results in additional two seconds > delay during the shutdown and thereby increase the shutdown time. > > As an attempt to take less time during shutdown, remove the wait for > recovery completion in the shutdown callback and added an API to freeing > the reosurces in which they were common for shutdown and removing > the module. > > Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 > > Signed-off-by: Youghandhar Chintala > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 018e3fa8e7ff ath10k: skip the wait for completion to recovery in shutdown path -- https://patchwork.kernel.org/project/linux-wireless/patch/20210223142908.23374-1-youghand@codeaurora.org/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches